DS1307 Real-Time Clock notes

RTC – Real-Time Clock. Counts Seconds, Minutes, Hours, Date of the Month, Month, Day of the Week, and Year with Leap-Year. Compensation Valid Up to 2100. 24-hour or 12-hour format The contents of the time and calendar registers are in the BCD format. BCD – binary-coded decimal I2C serial interface. Slave device. Operates in theContinue reading “DS1307 Real-Time Clock notes”

Pi Pico 2 Sensor Project

Project started November 13, 2025. I gradually added material as the project progressed. Goal I need a sensor that can detect whether an object is in the desired location or not. Must use 24V input voltage, common in industry. Pass the signal on to either another microcontroller or a robot. The user must be ableContinue reading “Pi Pico 2 Sensor Project”

CH32V003 GPIO/Pin modes

Output modes There are two different output modes: Input modes There are four different input modes: Alternate functions The GPIO can also be configured as an “alternate function”. Used for specific hardware functions like pulse width modulation (PWM) or serial peripheral interface (SPI). The modes for alternate functions can be: Speed There are three-speed options:Continue reading “CH32V003 GPIO/Pin modes”

CH32V003 Analog Reading

ADC (Analog-to-Digital Converter): Converts an analog signal (such as a voltage) into a digital value that can be processed by a microcontroller. The conversion process typically involves sampling the analog signal at a specific rate and quantizing the signal to produce a digital representation. CH32V003 ADC has a 10-bit resolution. Values 0-1023. DMA (Direct MemoryContinue reading “CH32V003 Analog Reading”

How to install EdSim51DI on Pop OS or Ubuntu

EdSim51DI is an 8051 microcontroller simulator, developed by James Rogers. 2. Check if OpenJDK JRE was properly installed: 3. Download the EdSim51DI simulator from: http://www.edsim51.com/installationInstructions.html 4. UnZip file 5. Give permission to execute the “jar” file as a program. 6. Open the terminal and navigate to the folder and run: And it works!

LED Valgusti WS2811 kiipidega

Üks LED valgusti 15 LEDiga. LEDe juhitakse läbi WS2811 kiipide, mis lubab kõikide LEDide heledust kontrollida individuaalselt. Tahaküljele saab kinnitada ka Seeedstudi XIAO arendusplaadi. Või siis kontrollida eraldi oleva mikrokontrolleriga. Mina kasutan siin ESP32te. Neid valgusteid saab ka järjestiku mitu tükki üksteise järgi. PCBd valmistas ja printis PCBWay. Komponendid jootsin ise. PCB läbimõõt 10cm.

ESP-IDF install on Linux

IDF – IoT Development Framework ESP-IDF is Espressif’s official IoT Development Framework for the ESP32, ESP32-S, ESP32-C and ESP32-H series. It provides a self-sufficient SDK for any generic application development on these platforms, using programming languages such as C and C++. Install Prerequisites Visual Studio Code Install the ESP-IDF Extension. In Visual Studio Code, selectContinue reading “ESP-IDF install on Linux”

Tauno Monitor

I have released a new version of the serial monitor application “Tauno Monitor” for Linux and added a “Clear” button and timestamps display option. The goal is to keep it simple and minimal. Available at Flathub https://flathub.org/apps/art.taunoerik.tauno-monitorand Snap Store https://snapcraft.io/tauno-monitorSource code at GitHub https://github.com/taunoe/tauno-monitor

Photocoupler PC817 circuit

My photocoupler (optocoupler) board design. I added four resistor places to combine them with different input and output voltages. Also added a diode for reverse voltage protection. Does the output side need it? Any other suggestions? Updated version Update version with a two-way communication.