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

Nano
Uno
Mega

- 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
 
Arduinos
connections (click to enlarge)
- Need additional accessories:

LDP211211: Blinker with 2 outputs and 4 setting time. Impulse1 + Pause1 + Impulse2 + Pause2 - TryHex
The offered code enables: Start on S1: Impuls1:Out1=ON & Pause1(Out1=Out2=OFF) & Impulse2:Out2=ON & Pause2(Out1=Out2=OFF) (while S1 is closed)
For Arduino boards: NANO -- UNO -- MEGA
 
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...): LDP211211try-m328 - Try version! Time1-Time4 limited settings to 0-10,0sec.
2. uc AtMega2560 (Mega(ATMEGA2560).....): LDP211211try-M2560 - Try version! Time1-Time4 limited settings to 0-10,0sec.
 
Final (no limit) Hex Code: Make a Donation and then send us an Email with next content: LDP211211 (FHC=FinalHexCode)

User guide manual:
After applying to the power (or reset), the display shows (----) about 3 sec. During that time:
DEFAULT reset settings: Press both buttons (PB1+PB2) and when the screen turns off release. Be sure to do it (only once) after uploading the hex code in Arduino! Default values: P10=5 P12=0
PRESET values settings: Press the PB1 button and when the screen turns off release:
P10: Display brightness intensity (0-7)
P12: no function yet
Additional preset values have no function in this project!
 
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 (while S1 is closed):
Out1=Active for fime t11
Out2=Active for time t22