BotronikS - Final code for all types of Arduino and PC users: -- HOME -- email: botronik@gmail.com

 
5P101: Test comm with ID on PC-USB only
Download the HEX codes below, unpack, and upload to the proper Arduino board (Use a free net tool for example XLoader)
1. For NANO, UNO, MEGA: Hex5P101-ID1-Try - Try version limited on 2h (then restart)! Contact us for the price of the no-limit version.
Available ASCII (TEXT) commands (Baud 9600,8 Data bits, None Parity,1 Stop Bit): Test uploaded code using some free serial software such as Termite.TextCommamd format: ID (device identifier (shown as id)) + TextCommand + ENTER
idAT - attention command (return ID&OK)
idOxH - set OUTx (x=0-4) at HI(5V) level - example for ID=1: 1O1H (Note: OUT0=D13=internal LED on PCB)
idOxL - set OUTx (x=0-4) at LO(0V) level - example for ID=1: 1O1L (Note: OUT0=D13=internal LED on PCB)
idAxA - return idADC value (x=0-3) - ADC=0=0V ADC=1023=5V
idAxB - return id% value (x=0-3) - 0V=0% 5V=100%
idAxC - return id%dp1 value (x=0-3) - 0V=0.0% 5V=100.0%

 

 

 

 

 

 

 

 

 


BAC16out: Status control of up to 16 Arduino outputs by AT commands (from PC, PLC...)

connections (click to enlarge)

XLoader exsample

Termite test...

Useful accessories:  
RelayShield1
SSR module:
 
 
 
 
 
 
All offered codes here are FREE to use! Source codes and Your special requests are available via email!
 
Download the HEX codes below, unpack and upload to the proper Arduino board (Use a free net tool for example XLoader)
1. ATmega328-16MHz (MINI,NANO,UNO...): BAC16out-m328
2. AtMega2560 (Mega(ATMEGA2560)........): BAC16out-m2560
 
Based on the offered AT commands, you can develop your own PC, PLC ... communication code and applications...
Avaliable AT commands (Baud 9600,8 Data bits, None Parity,1 Stop Bit): You can test the uploaded code using some free serial software such as Termite (select: Append CR):
AT - attention command (return OK)
ATI - code info
OA - reading status of all outputs
Ox - reading status of single output x (x=1-16 H=5V L=0V)
OxH - set single OUTx at HI(5V) level - example: O1H
OxL - set single OUTx at LO(0V) level - example: O2L
OAH - set all outputs at high (5V) level
OAL - set all outputs at low (0V) level
 
Arduino code example (only 4 outputs): ACodeEx
 
See corresponding PC SCADA: BScada16out