Botroniks Arduino hex code: LDP0202A: Blinker with 2 outputs and 4 setting time. Impulse1 + Pause1 + Impulse2 + Pause2 - TryHex

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


- 7 Segment TM1637 display: (link) 1--2--3
- Push Button: (link) 1--2--3 or Switch:1--2--3
- RelayModule 2way: (link) 1--2--3
- PS9V/1A Power supply unit: (links) 1--2--3
misc: Wires: (link) 1--2--3 -- Resistors: (link) 1--2--3
connections (click to enlarge)
- Need additional accessories:

LDP0202A: Blinker with 2 outputs and 4 setting time. Impulse1 + Pause1 + Impulse2 + Pause2 - TryHex
The offered code enables: Impuls1:Out1=ON Impulse2:Out2=ON Pause1+Pause2:Out1+Out2=0
Required accessories: - see above
For Arduino boards: NANO or UNO or MEGA
Arduino pins are used:
uc ATmega328p (NANO, UNO, ...): see connections
uc AtMega2560 (MEGA,.............): see connections
Electrical and practical notes:
Uses 9V/1A external power supply (VIN/GND) on DC plug (or external 5V/1A on 5V/GND pin).
For stable working use: R1-R3 = 3,3K - 4,7K
Display of the measured value is in the form of one decimal digit.
Use specified type of 7 segments display with decimal points only (not clock dots).
Each output can also drive other type of loads (instead relay module as show on connections) up to 5V/20mA (small or medium power SSR or similar)
Some ideas:
When S1 is closed, before apply power supply, code is activated immediately (while S1 is CLOSE).
You can program the data using (LED display+PB1+PB2), then its can be remove. Then controll of working is with position of S1 and power supply (according to set values).
Download TryHEX codes below, unpack and upload to the proper Arduino board (Use a free net tool for example XLoader)
1. uc ATmega328-16MHz-5V (NANO,UNO...): LDP0202Atry-M328 - Version for try: Limited range of Time tt1-tt4 up to 10.0sec.!
2. uc AtMega2560 (Mega(ATMEGA2560).....): LDP0202Atry-M2560 - Version for try: Limited range of Time tt1-tt4 up to 10.0sec.!
Final HexCode: Settings Range for Time: tt1-tt4=0-999,9sec.
For Final (no-limit) HexCode : Do some donation (HOME) and copy bottom line in Your Email to us (CONTACT). After successful donation You will receive ProjCode on your email soon as possible.
Need of project code: ProjCode-LDP0202A (Final HexCode)

User guide manual:
Default settings: Switch off power supply (or press Arduino RESET button), press the both buttons (PB1(+) and PB2(-)), apply power (or release RESET) and after 5 seconds release both buttons (Recomended to do this before first use - after updating the hex code in the Arduino)
Default values: P10=5 P12=0
SETtings (from "oFF" state only (S1=OPEN) - all changes stay memorized):
SET values: Press the PB1(+) button (until the display goes off then release). The set values that can be changed on the buttons (PB1/PB2=+/-) is displayed. After 2 seconds of inactivity, the value on the display is stored.
t11 xxx: Impulse1 time (Out1=1) 0-999,9sec.
t10 xxx: Pause1 time (Out1=0) 0-999,9sec.
t21 xxx: Impulse2 time (Out2=1) 0-999,9sec.
t20 xxx: Pause2 time (Out2=0) 0-999,9sec.
Status of outputs:
Out1=Active for fime t11
Out2=Active for time t22
PRESET values settings: Switch off the power supply (or press Arsuino RESET button), press the button PB1(+), switch on power (or release Arduino RESET button) and after 5 seconds release button. Then shows preset values which you can modifite on both buttons (all changes stay stored until next change):
P10: Display brightness intensity (0-7)
Additional preset values (P12-P14) has no function in this project!