Please help me! I have a program for arduino that turns it into keyboard, and it works just fine but i wont somthing more compact. But i don't understend how to make that chip (ATmega328p) act like HID device. Could you pleas point me to place where i can find step by step tottorial for V-USB?
Hey Ray. I like your project and am developing a "HIDprint" console tool of a similar nature. Will contact you when released. Especially clever to limit the output to 8 byte chunks ... the maximum transferable in the description structure to save RAM. However, I am attempting to use a loop buffer instead to smoothly blast data out. One problem with your system is that the AVR sketch blocks when it fills that 8 byte buffer, and the Java monitor is not running. Inheriting the Print class was a great idea.
How does the Arduino USB mouse sample work? If the FTDI chip is just USB to 232 how does it register and function as a mouse?? I've always been curious about that
I make project with java and RFID card, I start learning arduino 5days ago and make it running well. But I figure that placing Uno as RFID scanner is too expensive. I love to try your awesome tutorial..
Ola, tudo bem? Sei que se trata de uma postagem bem antiga, mas gostaria de saber se conseguiu com que aparecesse como um dispositivo MIDI. Tenho um projeto de controlador autonomo e não queria usar placas nem softwares para conversão USB.
Hi Ray! Great Stuff! Would it be possible to get 14 buttons on an attiny45 or an ATmega328p (solo chip, no extra chip through USnoobie ),and have it working as an arcade hitbox?
ATmega328 probably yes, you can use all digital pins as well as analog pins (which can also function as digital pins). ATtiny45 would be tricky -- you will need at least 8 gpio pins to form a scan matrix (4x4), but tiny45 only has 6 gpio pins in total.
thanks for making this. I have my own pcb with an atmega640 and ftdi. I'm. just looking for a way to make it hid compliant so i can pass down what the receiver thinks is a mouse scroll. is this the library I want? am I right in thinking the hid compliant demo makes the computer think your mcu is a keyboard?
can you make a video about a circuit with a servo and lights, connected to PC via USB and controll that servo to move and the light to turn on. "without using a ARDUINO please" i want to know how to make the circuit. please help thanks
"without using a ARDUINO" Means the circuit is a Custom micro-controller. the idea is an application from your pc will try to move those servo in real time via custom micro controller if that makes any sense.
lorenzo garcia You should look into buying an AVR ISP programmer and download the Atmel Studio AVR IDE. This will enable you to create "custom" microcontoller circuits. As for USB communication, you would need to buy microcontrollers with built in USB functions, otherwise you would still need to use the V-USB library when programming. There should be many AVR tutorials online. Is this what you meant?
+lorenzo garcia if you want to start thing simple, i suggest you to readup learn.adafruit.com/trinket-fake-usb-serial its core library is also base of V-USB assembly. working with a bare AVR mcu + arduino IDE make things really simple for beginners, at least this is how i get into the AVR ecosystem. you don't need much of a design to make things work. an AVR mcu say ATMEGA328 is basically all you need. but you must really understand ohm's law current & voltage relationship in order not to burn anything.
Maybe it is the Arduino IDE software that is the problem. It keeps giving errors upload.tool error when the board is selected as 12mhz USnooBie and uploaded
I am really desperate getting this to work and want to pay if you can help me :) At 3:34 you said that you 'pre-flashed the microcontroller with the Usnoobie bootloader'. But how did you exactly "flash it"? I mean, step by step, like what software/hardware did you use and what did you do? I dont think the original project website is helping me much step by step ( eleccelerator . com /usnoobie)
I am very late to the party, but I would like to know as well. Nicely step by step. Does anyone here know about some tutorial? Noone ever mention this, like it is absolutely common knowledge or something. But there are bazilion steps in read me files etc. I do not understand that well. :/
hope its not too late, but you need a USB to UART adapter, it's a device that converts code to machine code you connect power and ground respectfully, and TX to RX and vice versa TX is Transfer Data and RC is Recieve Data you ideally want a CP210x series as an alternative is no longer supported by windows above XP
Is there any way to make this work faster? I tried your library, wrote an application in C# to communicate with the Atmega via HID Reports but the speed was terrible. What could I do about it?
I've maken thí circuit but when i connect my atmega328p to the Pc.I've gotten a MSG " USB Device not recognize!!!" I'm trying to setup VUSB but it's still not active..!!!Can you give me some idea!!!! Or can you give me your facebook.I'll show you my incorrect!!!!
i didnt get idea for this i can serial communicate arduino board now and burn new sketch, but if you say i can make 100 button custom joystick without write drivers. show me :)
Hello Ray is that Java code? I started learning pic microcontrolers but i was disiponted becouse microchip dont have free lib. and free programing software. What AVR microcontroler and programing software do you suggest for noobies?
This is very useful. You did a good job here. I'm currently developing HID for STM32 on linux. But I will pursue the AVR as well. Thanks.
Excellent. Your ability to explain this is outstanding.
You video is a treasure to me, thank you so much
Well set up! Into, body, outro. I really hope I can get this to work on my AtMega162
men, this is so cool, will try it out
This was great tutorial! Thank you so much for sharing
Please help me!
I have a program for arduino that turns it into keyboard, and it works just fine but i wont somthing more compact. But i don't understend how to make that chip (ATmega328p) act like HID device. Could you pleas point me to place where i can find step by step tottorial for V-USB?
Hey Ray. I like your project and am developing a "HIDprint" console tool of a similar nature. Will contact you when released. Especially clever to limit the output to 8 byte chunks ... the maximum transferable in the description structure to save RAM. However, I am attempting to use a loop buffer instead to smoothly blast data out. One problem with your system is that the AVR sketch blocks when it fills that 8 byte buffer, and the Java monitor is not running. Inheriting the Print class was a great idea.
Thank You
This work will be important when I get more experience.
Good job.
Thank you.
How does the Arduino USB mouse sample work? If the FTDI chip is just USB to 232 how does it register and function as a mouse?? I've always been curious about that
I make project with java and RFID card, I start learning arduino 5days ago and make it running well. But I figure that placing Uno as RFID scanner is too expensive.
I love to try your awesome tutorial..
would you happen to know how to change the cdc to show up as a MIDI device.
very nice project by the way
Ola, tudo bem? Sei que se trata de uma postagem bem antiga, mas gostaria de saber se conseguiu com que aparecesse como um dispositivo MIDI. Tenho um projeto de controlador autonomo e não queria usar placas nem softwares para conversão USB.
Nice. I wonder how difficult would it be to build a USB rfm69hw or rfm12 adaptor
Have you already tried with your USB-HID device to send a Shutdown to the computer or a reboot ? That would be interesting.
Not yet. But it should be possible with a program that detects HID command and issues a reboot or shutdown.
It can use for any programming like for tx rx
Hi Ray! Great Stuff! Would it be possible to get 14 buttons on an attiny45 or an ATmega328p (solo chip, no extra chip through USnoobie ),and have it working as an arcade hitbox?
ATmega328 probably yes, you can use all digital pins as well as analog pins (which can also function as digital pins). ATtiny45 would be tricky -- you will need at least 8 gpio pins to form a scan matrix (4x4), but tiny45 only has 6 gpio pins in total.
thanks for making this. I have my own pcb with an atmega640 and ftdi. I'm. just looking for a way to make it hid compliant so i can pass down what the receiver thinks is a mouse scroll. is this the library I want? am I right in thinking the hid compliant demo makes the computer think your mcu is a keyboard?
can I flash an AVR chip so computer recognize as a joystick or gamepad? I want to make my own controller.
Yes you can.
can you make a video about a circuit with a servo and lights,
connected to PC via USB and controll that servo to move and the light to turn on.
"without using a ARDUINO please"
i want to know how to make the circuit. please help thanks
+lorenzo garcia Maybe you could clarify what you mean by "how to make a circuit". It really doesn't make any sense.
"without using a ARDUINO" Means the circuit is a Custom micro-controller. the idea is an application from your pc will try to move those servo in real time via custom micro controller if that makes any sense.
lorenzo garcia You should look into buying an AVR ISP programmer and download the Atmel Studio AVR IDE. This will enable you to create "custom" microcontoller circuits. As for USB communication, you would need to buy microcontrollers with built in USB functions, otherwise you would still need to use the V-USB library when programming. There should be many AVR tutorials online. Is this what you meant?
+lorenzo garcia if you want to start thing simple, i suggest you to readup learn.adafruit.com/trinket-fake-usb-serial
its core library is also base of V-USB assembly.
working with a bare AVR mcu + arduino IDE make things really simple for beginners, at least this is how i get into the AVR ecosystem.
you don't need much of a design to make things work.
an AVR mcu say ATMEGA328 is basically all you need.
but you must really understand ohm's law current & voltage relationship in order not to burn anything.
what is the speed of the serial comunication?
Hi! How did you flash the Usnoobie bootloader onto the atmega328p ? I really need your help thanks!
You can use any AVR ISP programmer, like USBasp, USBtiny, AVRISP etc.
Maybe it is the Arduino IDE software that is the problem. It keeps giving errors upload.tool error when the board is selected as 12mhz USnooBie and uploaded
I am really desperate getting this to work and want to pay if you can help me :)
At 3:34 you said that you 'pre-flashed the microcontroller with the Usnoobie bootloader'. But how did you exactly "flash it"? I mean, step by step, like what software/hardware did you use and what did you do?
I dont think the original project website is helping me much step by step ( eleccelerator . com /usnoobie)
I am very late to the party, but I would like to know as well. Nicely step by step. Does anyone here know about some tutorial? Noone ever mention this, like it is absolutely common knowledge or something. But there are bazilion steps in read me files etc. I do not understand that well. :/
hope its not too late, but you need a USB to UART adapter, it's a device that converts code to machine code
you connect power and ground respectfully, and TX to RX and vice versa
TX is Transfer Data and RC is Recieve Data
you ideally want a CP210x series as an alternative is no longer supported by windows above XP
Is there any way to make this work faster? I tried your library, wrote an application in C# to communicate with the Atmega via HID Reports but the speed was terrible. What could I do about it?
Hi , i have the same trouble. are you solve this
Great video thanks
I've maken thí circuit but when i connect my atmega328p to the Pc.I've gotten a MSG " USB Device not recognize!!!" I'm trying to setup VUSB but it's still not active..!!!Can you give me some idea!!!! Or can you give me your facebook.I'll show you my incorrect!!!!
I suggest you go to VUSB website to check the common reasons for 'USB device not recognized'.
Dude, nice
from where do you buy your components?
i didnt get idea for this i can serial communicate arduino board now and burn new sketch, but if you say i can make 100 button custom joystick without write drivers. show me :)
ATTiny 85也可以刷arduino的firmware吗?
可以
Hello Ray is that Java code? I started learning pic microcontrolers but i was disiponted becouse microchip dont have free lib. and free programing software. What AVR microcontroler and programing software do you suggest for noobies?
Great video thanks