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 ...
Stepper Motor Interface PIC16F
This article shows a basic interface between PIC16F microcontroller and a unipolar stepping motor using an assembly code. For programming the MCU you'll need PICKIT2 or PICKIT3 device. Similar design for Arduino platform can be found at this link. Instead ...
Raspberry Pi 3 Digit LED 7-Segment Countdown Timer
Multiplexing 7-Segment display scheme with Raspberry Pi as described here can be used as a basis for more complex projects. By adding 4x4 keypad matrix and replacing individual 7-Segment displays with a common anode 4 digit 7-Segments module a simple ...
Raspberry Pi and 74HC595 Shift Register
Raspberry Pi I/O capabilities can be expanded by adding one or cascading a number of shift registers. In this design 74HC595 example is shown. 74HC595 is a very popular and relatively cheap IC. There are assembled modules based on this ...
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 ...
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 ...
Fading LED with PCF8591 Arduino I2C
Controlling LED brightness with Arduino is one of the basic circuits you can built. Fade sketch is even included in the basic examples in the Arduino IDE. However on Arduino boards it’s done by pulse width modulation, changing the duty ...
Infrared UART
Wireless Infrared UART prototype can be built by using two PIC16F876A controllers. One as IR receiver with dedicated Infrared decoder like SFH505A, SFH506 or similar IR receiver IC and other microcontroller as a transmitter via IR LEDs. This is relatively simple ...
Interfacing MCP4725 DAC with Arduino
In this post I’ll show you how a 12 bit DAC model MCP4725 can be connected and controlled by Arduino or a compatible board. Similar design based on Raspberry Pi platform can be found at this link . Wire.h and ...
Arduino 4-Digit 7-Segment LED Voltmeter MAX7219
Here is another version of Arduino based voltmeter. This time it uses 4-digit 7-Segment LED display and MAX7219 Display Driver. For similar design with 2x16 LCD display click this link. Also you can look at PIC16F876 implementation in my previous ...