![]() ![]() I am thinking that maybe the USB data+ and data- lines might need to be swapped, but I don't know. I checked USB Pin 1 up on the slave so I know it's getting the 5V.)īut now, when the same firmware attempts to send some bytes over to my USB device, the TX light will not flash and nothing gets transmitted. The firmware flashes the Digital Pin 13 LED, so I know that the firmware is running. (My Arduino board now has an external power supply to provide USB power. This is why you can communicate with the board serially using a USB cable and the Serial Monitor feature of the Arduino IDE. My problem occurs when I disconnect my Arduino's USB cable from the PC and connect to my own USB device - a FTDI compatible USB slave. I can successfully send and receive serial data between the Arduino and the PC using the Arduino software's "Serial Monitor." The Arduino board's TX light flashes for each byte sent up to the PC. The Software I am using is Arduino 1.0 on my PC to write, compile and upload the firmware to the Arduino board. Uses the serial port over the programming port as user interface. Note for any beginners out there, this nice video explains how to do Arduino serial transmission over the USB: Arduino due sketch usb host driver class msc for usb key - GitHub - controlord/dueUsbhost: Arduino due sketch usb host driver class msc for usb key. ![]() The serial communication of UNO and NANO is supported by those smart phones with Android. I am using an Arduino-compatible board with USB host shield to send and receive serial data throught its USB port. USB HOST supported, it can obtain data from another USB equipment. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |