Sine Wave with MCP4725 and Rasperry Pi
Generating Sine wave is a relatively simple task. It can be done by adding MCP4725 12bit DAC to Raspberry Pi. For Arduino version based on PCF8591 IC click this link. This setup is based on I2C interface and works by ...
LED Controller
Light emitting diode (LED) Controller was built using PIC microcontroller and LM317 regulator. Comparing to traditional light sources led illumination should provide more efficient lighting also giving you a possibility to choose desired wavelength. 48 white diffused LEDs connected in parallel ...
LCD Countdown Timer Arduino
This post is about building a 3-digit countdown timer based on Arduino MEGA. Up/Down counter also available at this link. The timer will wait for 3-digit number to be entered via 4x3 keypad and then start counting down to zero ...
Running LED with PIC16F877A
In this post I'll show a simple running LED circuit. Currently only 2 patterns are available but additional effects can be easily added by slightly modifying the code. This design uses only 16 LED's however PIC16F877 has 5 I/O ports ...
LED Blinking STM32L011K4
All my previous project were based on PIC microcontrollers or Arduino board, however recently I’ve been experimenting with STM32 MCU. For this simple project a NUCLEO board based on STM32L011K4 MCU was used. The STM32 Nucleo-32 board provides a simple ...
Fading LED with PIC microcontroller
This article shows how to create a fading/dimming effect of the LED using PIC micro-controller. For similar design based on Arduino click this link.Controlling LED brightness using PWM is a relatively simple task and can be accomplished by configuring PIC16F877 ...
BCD to 7 Segment Display Decoder
In this post I'll show how you can drive 7 Segment LED display with PIC16F876A. Instead of using a dedicated IC’s like 4511 we’ll program the micro controller to convert BCD input code 0 – 9 to a 7 Segment LED ...
7-Segment LED Display PCF8574 I2C Arduino
Adding a serial data transfer capability to a 7-Segment LED Display can be done by using PCF8574 I/O Port expander with I2C interface. Arduino UNO controls the PCF8574 by sending display codes for each segment. Similar circuit based on PIC16F876 ...
INA219 current sensor with Arduino
Measuring current is a relatively simple task that can be done by connecting a shunt resistor in series with the load and measuring the voltage on this resistor. The voltage is proportional to a load current according to Ohm’s law ...
4-Digit LED Dot Matrix Clock Arduino
Here is another digital clock design based on Arduino platform. This time it uses 4-Digit LED Dot Matrix module to show the time. Similar design with LCD display is available here. The Dot Matrix module consists of four MAX7219 chips ...