Go Down

Topic: How to identify Arduino Nano board as USB device? (Read 1 time) previous topic - next topic

4ntoine

May 01, 2013, 11:08 am Last Edit: May 02, 2013, 08:33 am by 4ntoine Reason: 1
Hello.

I'm working on Arduino Nano boards support in ArduinoCommander and ArduinoDroid app and i wonder how can i detect Arduino Nano as USB device. My Nano v3 board (not original) has vendorId=0x0403 and productId=0x6001. Is it correct for all Nanos? What is vendorId and productId for your Nano board? (if you have one)

CrossRoads

Nanos all use FTDI chip for USB interface, yes?
vendorID/productID is built into the FTDI chip, nothing to do with the '328 that makes the board an Arduino.
See page 15.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

4ntoine


Nanos all use FTDI chip for USB interface, yes?

Don't know, i can't see any separate chip as on Duemilanove f.e.
Quote

vendorID/productID is built into the FTDI chip, nothing to do with the '328 that makes the board an Arduino.
See page 15.

Sorry, page 15 of what?
If it's so then i will not be able to distinguish Duemilanove (also uses FTDI) and Nanos. I hope it's not correct and vid/pid are different

CrossRoads

Can't see seperate chip? Did you look on the bottom.
Page 15 of the .pdf file I attached.
I have no reason to believe FTD VID/PID is any different between chips.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

4ntoine


Can't see seperate chip? Did you look on the bottom.

Oh, yes, i see - FTDI FT232RL

Quote

Page 15 of the .pdf file I attached.
I have no reason to believe FTD VID/PID is any different between chips.

Thanks! I will take a look. So is there any possibility to distinguish Duemilanove and Nano? It seems that there is no.

CrossRoads

Nano supports 8 Analog inputs, Duemilanove only does 6?
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

4ntoine


Nano supports 8 Analog inputs, Duemilanove only does 6?

Probably you're right. But it can not be detected automatically - for app it's just usb device.

Go Up