BLOG, Controller & Sensor

Tutorial of update controller SN number

Things to prepare

Hardware

  1. Controller PCB
  2. RS485 <-> UART
  3. DC 12V Power supplier

Software

  1. z0a.zip

Software Architecture

file/folder Comment
lib Python lib
config.ini config the serial port
device_id.csv Serial number file
z0a.exe main exe file

Steps

Step 1, update the COM port to config.ini

  1. insert the RS485 -> USB devcie to USB port.
  2. open (device manager)
  3. find the COM name.
    1. The name of the com port may not be the same as in the screenshot, please use the name on your computer.
  4. update the config.ini file

Step 2, prepare the new serial number

  1. open device_id.csv by excel or others text editor.
  2. input the serial number(Decimal numbers) in SN colum, max:65535(0xFFFF)

Please refer to the device_id.csv file in the compressed package

Step 3, update the serial number

  1. Open a cmd window in the current directory and enter
  2. run z0a
    1. connect the contoller to RS485
    2. choose the Serial Number you already prepared in device_id.csv file
    3. disconnect the current controller and start the process of connecting to the next controller

 

Leave a Reply

Your email address will not be published. Required fields are marked *