BotronikS - Final code for all types of Arduino and PC users: -- HOME -- email: botronik@gmail.com |
Timer with settings Time1 & Time2 (0,1-999,9sec.) started on S1 and 2 outputs |
||
connections (click to enlarge) |
Use accessories: | |
DisplayTube TM1637 4digit | ||
RelayShield1-4Rel | ||
PushButtons | ||
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...): Code-m328 | ||
2. AtMega2560 (Mega(ATMEGA2560)........): Code-m2560 | ||
User guide manual: |
SV1: Set Time1 (x0,1sec.) SV2: Set Time2 (x0,1sec.) |
After applying to the power (or a reset), the display shows (----) for about 3 sec. During that time: |
Do action1: DEFAULT 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! |
Do action2: PRESET settings: Press the PB1 button and when the screen turns off release: |
P10: Display brightness intensity (0-7) |
P12: no function yet |
SETtings (during normal operating - all changes stay memorized): |
SET SV1: Press the PB1(+) button (until the display goes off then release). The value that can be changed on the buttons (PB1/PB2=+/-) is displayed. After 2 seconds of inactivity, the value on the display is stored. |
SET SV2: Press the PB2(-) button (until the display goes off then release). The value that can be changed on the buttons (+/-) is displayed. After 2 seconds of inactivity, the value is stored. |
Status of outputs: |
Out1: Active when push & release PB3(S1) button (for the set Time1). |
Out2: Active after the set Time1 has elapsed (for the set Time2 (if>0)). |