Sine Wave with MCP4725 and Rasperry Pi

Generating-Sine-wave-by-MCP4725-DAC-with-Raspberry-Pi-Featured-Image

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 sending 2*Pi radian angle divided by 4096 to a sine function from math.py library. In … Read more

HC-SR04 Ultrasonic Sensor with Raspberry Pi

HC-SR04-Ultrasonic-Sensor-with-Raspberry-Pi-Featured-Image

Using HC-SR04 Ultrasonic Sensor with Raspberry Pi is a relatively easy task. HC-SR04 is a very popular module that can provide the distance to the object by sending ultrasonic bursts at 40kHz and measuring the time it takes for the signal to bounce back. Its interface to any micro-controller platform is very simple and I’ve … Read more

Multiplexing 7-Segment Display with Raspberry Pi

Multiplexing-7-Segment-display-with-Raspberry-Pi-Featured-Image

When working with multiple 7-Segment displays a multiplexing scheme is required in order to simplify the design and save Raspberry Pi I/O pins. Such implementations shown in this design. As can be seen from a schematic diagram 2 7-Segment displays are controlled by Raspberry Pi. All segments are connected in parallel with current limiting transistors … Read more

Raspberry Pi and 74HC595 Shift Register

Raspberry-Pi-and-74HC595-Shift-Register-Featured-Image

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 chip allowing you to control a 7-Segment display or individual LEDs. The interface to Raspberry … Read more

Raspberry Pi LED Bar Graph Display

Raspberry-Pi-LED-Bar-Graph-Display-Featured-Image

Raspberry Pi based LED bar graph display is a relatively simple circuit. It can be easily built using commonly available components. For Arduino version click here. 8 LEDs, 1k potentiometer, ADS1015 ADC module and Raspberry Pi board is all you need for this project. I’ve used 3 groups of colored LEDs to show the rise … Read more