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

BAC16din: Monitorinf of up to 16 Arduino inputs (contacts) by AT commands (from PC, PLC...)

connections (click to enlarge)

XLoader exsample

Termite test...

Useful accessories:  
 
 
 
 
 
 
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...): BAC16din-m328
2. AtMega2560 (Mega(ATMEGA2560)........): BAC16din-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
DA - reading status of all inputs
Dx - reading status of single input x (x=1-16 H/L)
 
Arduino code example (only 4 inputs): ACodeEx
 
See corresponding PC SCADA: BScada16din