Sine wave generator PCF8591 I2C Arduino
The topic of this post is building sine wave generator based on Arduino UNO and PCF8591 8-bit A/D and D/A converter. For similar design with PIC micro-controller look at this link. Raspberry Pi version based on MCP4725 DAC available at ...
Temperature Controlled Fan
Here is another fan controller design based on PIC microcontroller, this time it's temperature controlled and can be used to monitor Hard Drive temperature and adjust the fan speed accordingly or as a case fan controller. This post following recently ...
7-Segment Display with SPI PIC16F876A
For this project two PIC16F877 MCU's were used, see project schematics below. Slave PIC runs LEDs decoding and multiplexing code on data received from Master. 7-Segment inputs connected to PORTC,B and common digits anodes to PORTB,A via 2N3906 collectors for ...
PCF8591 I2C 8-bit A/D and D/A converter
In this short tutorial we’ll learn how to control PCF8591 I2C 8-bit A/D and D/A converter with PIC microcontroller. PCF8591 was already used in a number of recently published projects like Function Generator, also I’m planning to add it to ...
Basic Arduino Frequency Counter
Basic frequency counter capable of measuring 0-5V square wave up to 100kHz can be built using just 2 components: Arduino MEGA board and 2x16 LCD display. For PIC16F876 version click here. Frequency counter code is also very simple. It uses ...
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 ...
Arduino Digital Level MPU-6050
In this post a 1 axis basic digital level design will be presented. This circuit is based on Arduino UNO board and MPU6050 accelerometer and gyroscope chip. The communication is done using I2C interface. MPU6050 module address can vary depending ...
10Bit 7-Segment Digital Voltmeter 0-24V
This is an upgrade to recently published Simple Digital Voltmeter.Few improvements were done to hardware and software.DVM operating range was slightly increased up to 24 V Max, however the most significant change is that the code now uses full 10 bit of ...
Digital Alarm Clock
Digital Alarm Clock design based on PIC16F876A will be demonstrated in this post. Various modules from earlier project were implemented in current design hardware and source code. For example it uses the same 7-Segment Display and multiplexing routing as in ...
Digitally Controlled Power Supply 2
This is an update to a recent post on a subject of building a Digitally Controlled Power Supply. In part 1 a basic configuration was presented. In this version a numbers of modifications were made to software/hardware to produce a more advanced ...