Juno BCR 2.0 - Part 2b - Final Library Test - Juno Button Advanced Core 3.0 Interrupt-based

Channel:
Subscribers:
585
Published on ● Video Link: https://www.youtube.com/watch?v=0s2Vq5nfz5U



Duration: 2:20
14 views
0


Part 1: High Voltage Regulation (well done)
Part 2: C-library driver (well done)
Part 3: 24 Neon Lamp clock (Getting Started)

The algorithm for the Juno Button Advanced Core 3.0 Interrupt-based had been developed for a long long time, but it's never been implemented in a real application. A button can be extremely complicated when high code and speed efficiencies are the goal. Here, the 4 buttons' edge detections and debounce delay are done automatically by 3 types of hardware-based interrupt. This saves a lot of CPU power for other task.

The library also synchronizes with DS1302 2 times every second, refreshes the 24 neon lamps 30 times every second, and 4 precise toggles at 4 different rates for various tasks.

features:
-5 responsive levels of brightness control for 24+1 neon lamp flickering free, buzzing free and high efficient
-Hardware-level button code with a high quality DS1302 library
-Dummy-proof, easy to use library, 2k bytes for this sample program

PS. The sample program works fine, but the automatic (free running) neon lamp updating feature is not as organic. Having a way to control when the data is sent is better. It's easier to blink the neon lamp precisely this way.

PPS. The DS1302 is actually encoded with BCD, but my DS1302 library decodes the data to normal decimal number which is not ideal for outputting the binary neon lamp. The final clock will switch back to BCD. This clock will also support 12 and 24 hour.

PPPS. The working clock program is basically done. It's really simple to code a clock, but to make it really pretty, need more time. Every tiny detail is considered, and new ideas and coding techniques are developed and tested.




Other Videos By Flyandance


2023-01-26Juno ABC - Advanced Button Core - TTP223 Attiny10 AVR - LED watchdog Sleep PWM Timer
2023-01-23Art of a button - Advanced AVR 3.0 Core - Sleep, watchdog, interrupt
2023-01-08Juno Binary Retro 2.0 Color - Neon Lamp Clock - Nixie tube alternative RTC MCU AVR
2023-01-03Light Guard 1.0 - Final product - 3D Printed Casing PIR MCU LED Sleep Low power AVR Dimmer PWM
2023-01-01Advanced AVR 3.0 Core - Light Guard 1.0 - 3D-printed PIR LED light with built-in Charger - Sleep
2022-12-31Advanced AVR 3.0 Core - Sleep, software and hardware-based power button Double click
2022-12-28Advanced AVR 3.0 Core - Watchdog - Timer Sleep button Power Switch
2022-12-14Fixing a Power supply On a Bionaire BCH9214RE Heater
2022-11-30Juno BCR 2.0 - Part 3 (Final Product) Neon Lamp Clock - Nixie tube alternative RTC MCU AVR DC-DC Kit
2022-11-26Juno BCR 2.0 - Part 3a - Draft 1: 24 Neon Lamp clock - Nixie Tube alternative
2022-11-25Juno BCR 2.0 - Part 2b - Final Library Test - Juno Button Advanced Core 3.0 Interrupt-based
2022-11-22Juno BCR 2.0 - Part 2 - Lib Test - 5 Neon Lamp Brightness level
2022-11-21Juno BCR 2.0 - Part 1b - Advanced load-based feedback loop DC-DC MCU High Voltage
2022-11-20Juno BCR 2.0 - Part 1 - High Voltage Regulation with a MCU
2022-11-18Juno Binary Clock Retro 2.0 - 24+1 Neon Lamp Clock - Hardware test Preview RTC MCU AVR high voltage
2022-11-17Light Guard 1.0 - 3D-Printed Casing - LED PIR lens Diffuser High precision MCU dimmer Power charger
2022-11-16Juno star chaser retro 1.1 - 60 neon lamp clock - avr smd - nixie tube alternative led high voltage
2022-11-15Getting High voltage with a 555 and a tiny sot-23 NPN 170v timer CMOS the correct and cheap way 5v
2022-11-14Custom-made Laser-printed 4 plates Triangle Solo Wood burning Stove (Final Product)
2022-11-14Advanced sound to light - Transistor NPN amplifier test for up coming project - High sensitive
2022-11-10Fixing the loop - Error Amplifier Compensation 500kHz - DC-DC high voltage 165V 4.7uH 10uH