2025-01-24 (F) Weekly Summary

I hunted for a program that ran on an ESP32 chipset and control WS2812 lights. The example program I tried did not work, and many online examples expected more traditional microcontrollers. I found one in the FastLED library examples, then reprogrammed it to make a blue seconds hand and a yellow light that was supposed to make a one-second loop, but the timing was off.
Blue second tracker

I enjoyed the motion of the yellow light that counted 1/60 second, but it was distracting while working, so I added serial commands to toggle the visibility of the second hand and sixtieth indicator. Since I could switch, I set the default to off.
Available commands

I found a helpful code example on Random Nerd Tutorials for getting the current time from the internet. I wanted to display the time through the serial port, even though I only needed the minutes and maybe seconds. I had to scour the code and experiment to find the right calls to find the correct combination to display the date and time.
Startup serial feedback including time

The first functional mode I wanted to complete was for the clock to change one LED at a time from green to red as the hour passed. I made it the default mode, and it boots without serial input and displays the correct time.
Approximately 11:40

I struggled through some old example code that promised to convert incoming serial data from characters to integers, but it was clunky and would require more troubleshooting. I found updated commands so I could change the colors for future minutes, elapsed minutes, and seconds. The second dot does not appear in the picture.
Color changes through serial commands

I went on Critical Affection again. This time, we discussed Avatar: The Last Airbender. The trickiest part of the show was finding critical things to say since the host, Sarah, and I both enjoyed it so much.
Critical Affection: Avatar: The Last Airbender (1:27:00)

The rest of the summary posts have been arranged by date.
First time here?

Completed projects from year 1
Completed projects from year 2
Completed projects from year 3
Completed projects from year 4
Completed projects from year 5
Completed projects from year 6
Completed projects from year 7
Completed projects from year 8
Completed projects from year 9
Completed projects from year 10
Completed projects from year 11

Disclaimer for http://24hourengineer.blogspot.com and 24HourEngineer.com

This disclaimer must be intact and whole. This disclaimer must be included if a project is distributed.

All information on this blog, or linked by this blog, is not to be taken as advice or solicitation. Anyone attempting to replicate, in whole or in part, is responsible for the outcome and procedure. Any loss of functionality, money, property, or similar, is the responsibility of those involved in the replication.

All digital communication regarding the email address 24hourengineer@gmail.com becomes the intellectual property of Brian McEvoy. Any information contained within these messages may be distributed or retained at the discretion of Brian McEvoy. Any email sent to this address, or any email account owned by Brian McEvoy, cannot be used to claim property or assets.

Comments to the blog may be utilized or erased at the discretion of the owner. No one posting may claim property or assets based on their post.

This blog, including pictures and text, is copyright to Brian McEvoy.

Comments