Arduino Forum

Development => Other Hardware Development => Topic started by: 4ntoine on May 01, 2013, 11:08 am

Title: How to identify Arduino Nano board as USB device?
Post by: 4ntoine on May 01, 2013, 11:08 am
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)
Title: Re: How to identify Arduino Nano board as USB device?
Post by: CrossRoads on May 01, 2013, 09:24 pm
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.
Title: Re: How to identify Arduino Nano board as USB device?
Post by: 4ntoine on May 02, 2013, 03:06 am

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
Title: Re: How to identify Arduino Nano board as USB device?
Post by: CrossRoads on May 02, 2013, 05:14 am
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.
Title: Re: How to identify Arduino Nano board as USB device?
Post by: 4ntoine on May 02, 2013, 05:24 am

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.
Title: Re: How to identify Arduino Nano board as USB device?
Post by: CrossRoads on May 02, 2013, 07:23 am
Nano supports 8 Analog inputs, Duemilanove only does 6?
Title: Re: How to identify Arduino Nano board as USB device?
Post by: 4ntoine on May 02, 2013, 08:32 am

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.