Botroniks Arduino codes for everyone = PCC1010A: Status control of up to 4 Arduino outputs from PC - FREE!

BotronikS - Final code for all types of Arduino and PC users: -- HOME -- CONTACT


- L1-L4 (SSR): (link) 1--2
- L1-L4 (RelayModule 4way): (link) 1--2
misc: Wires: (link) 1--2--3
connections (click to enlarge)
- Need additional accessories:

PCC1010A: Status control of up to 4 Arduino outputs from PC - FREE!
After updating the offered Arduino code and PC Application, it is possible to directly control the operation of up to 4 outputs with a PC
For Arduino boards: NANO -- UNO -- MEGA
Arduino pins are used: D4=OUT1 D5=OUT2 D6=OUT3 D7=OUT4 (Active output state (Hi): ON = 5V OFF = 0V)
Electrical note: (Recommendation:Use the following accessories for testing as well as for later use: Lnk1 - Lnk2 )
Take care that the current load per each output Arduino pin does not exceed 20mA!
Other output elements can also be used, but take care the power supply prescribed by the manufacturer user guide...
Note: Only the power supply of the Arduino from the PC USB (total current consumption less than 500 mA) is recommended here!
Download the FreeHEX codes below, unpack and upload to the proper Arduino board (Use a free net tool for example XLoader)
1. uc ATmega328-16MHz (NANO,UNO ....): PCC1010A-M328
2. uc AtMega2560 (Mega(ATMEGA2560)..): PCC1010A-M2560
You can test the uploaded code using some free serial communication software such as Termite
Description of code commands:
AT command (ASCII characters) - 9600 Baud ,8 Data bits,None Parity,1 Stop Bit - AT commands must be uppercase, lowercase invalid
AT - attention command (returns OK)
AT+INF - software code info (returns ucAppName)
AT+AOH - set all outputs at high (5V) level (returns OxH (x=1-4))
AT+AOL - set all outputs at low (0V) level (returns OxL (x=1-4))
AT+AOR - reading all outputs status (returns OxX x=1-4 X=H/L)
AT+OxH - set OUTx at HI(5V) level (returns OxH (x=1-4))
AT+OxL - set OUTx at LO(0V) level (returns OxL (x=1-4))
For those familiar with ArduinoIDE programming (source code): PCC1010A - PCC1010Azip
PC Application(s):
PC Application(s) (for WINDOWS): In order for the offered PC applications to work, it is necessary to download and install (only first time): VB6RunTimePlus2.2
Download the PC application, unpack and start (allow windows to start applications - how) enter the COM port number where the Arduino is connected and use that.
PC App1: PCC1010A-PcApp1
PC App2: PCC1010A-PcApp2