3 ms·
I'd take the femtoduino over the digistump in this case. The atmega328p is vastly superior to it's low pin cousin, attiny85. I'm sure you could engineer the a
by veemjeem 13y ago
I'd take the femtoduino over the digistump in this case. The atmega328p is vastly superior to it's low pin cousin, attiny85. I'm sure you could engineer the atmega328p to also talk directly to usb as well as it's merely using the V-USB project.
- Balgair 13y agoFT232R chip with a few resistors and caps will get the serial to USB set-up. Its fairly simple and in the 232R datasheet.
- conesus 13y agoIs the FT232R (an FTDI chip) the least expensive way to get USB to Arduino? I'm trying to hookup a wireless nrf24L01+ to USB (which talks to another nrf24l01+ and an atmega328p), and I'm looking at PIC chips which are around $2, whereas the FT232R is $4.
- makomk 13y agoIt's not even close to the least expensive way - various Chinese-made USB-to-serial chips are cheaper, as is the Atmega8u2 used on more recent Arduinos. The Atmega8u2 is a fully-programmable microcontroller too, as are the larger chips in the range.
- veemjeem 13y agoYou don't even need that. The attiny85 is sufficient. See https://github.com/Bluebie/micronucleus-t85 https://github.com/Bluebie/micronucleus-t85 It's a bootloader that detects usb in the boot process. If usb is hooked up, you can upload programs, then it will run whatever code is loaded. This bootloader is the same one used on the digistump. You need 3 diodes and 2 resistors along with the attiny85 chip to make your own usb to serial converter.
- veemjeem 13y agoBut you don't even need that. If you glance at the V-USB wiring examples, all you need is a few diodes & crystal depending on the freq you want. For my projects, I do use the attiny85 and use the built-in oscillator. I use 16mhz for usb communication, but drop down to 1mhz after the boot procedure.