Get Chip ID from chipset

Is possible to get unique Chip ID/Number from ASR6501 chipset ?

Bonmis

yes it is:

AT+ChipID=?

will give you the Chip-ID

https://heltec-automation-docs.readthedocs.io/en/latest/general/view_limited_technical_data.html#cubecell-series

OK, works, thank you.
Is possible to get this from arduino code, not serial ? I do not want to use LoRaWAN library and my serial port is used to the connection with GPS module.

Bonmis

The ASR6501 only provided one UART, and it’s already connected to the CP2102 USB-UART bridge. If you use this UART to read GPS data, may cause some problem.

Anyway, @wasn had added a software serial GPS example:

We will update a ChipID read example later.

BTW. Why do you need the ChipID for your GPS application?

I solved to read the gps module serial problem, I know it is rigidly connected to CP2102.
I need to retrieve the device’s unique number to identify it later in the database.
Software Serial is in early implementation, I prefer hardware.
I wait on ChipID read example…

Bonmis

Hi @bonmis

Here is the example:

BTW. Would you like to share the process about how did you solve the GPS connect to hardware UART problem?

Thank you for the code.

Problem is when CP2102 is powered from 5V. If we supply the board with a battery connector the CP2102 is not powered and RX / TX pins can be used and no problem with transmission…
I made a detection system when the 5V power supply is connected and then disconnected the GPS module power supply to use the serial from USB via a bridge.
The second solution is to cut the RX / TX paths between CP2102 and ASR6501 and use jumpers for programming time.
You just have to remember not to use the 5V power supply

Bonmis