PIC C Programming Featured Image

PIC C Programming

In this article I’ll show you how to program Microchip PIC microcontrollers using HI-TECH PICC compiler and basic PIC development board. The board consists of PIC16F876A, LED bar graph and 20MHz oscillator. PICKIT3 compatible programmer was used to download the ...
INA219-current-sensor-with-Arduino-Featured-Image

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 ...
Arduino-Base-Converter-with-4x4-Keypad-and-I2C-LCD-20X4-Featured-Image

Arduino Base Converter with 4×4 Keypad and I2C LCD

Arduino hexadecimal to binary Base Converter is a simple design that can be built using 4×4 Keypad and I2C LCD display module. Arduino MEGA board was chosen as a target device. This circuit will wait for a single digit to ...
Arduino-Thermometer-LM35-Featured-Image

Arduino Thermometer LM35

LM35 is a temperature sensor that outputs a voltage proportional to the surrounding temperature in centigrade. In this post I’ll show how this device can be connected to Arduino MEGA board to build a thermometer that shows the current temperature ...
PIC Development Board Featured Image

PIC16F Development Board

In this post I'll show a more general approach for circuits prototyping. Instead of building each individual design to validate its operation why not to design a basic PIC16F877A based Development Board. Current design have all the necessary features of ...
Fading-LED-with-PCF8591-Arduino-I2C-Featured-Image

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 ...
Interfacing-MCP4725-DAC-with-Arduino-Featured-Image

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 ...
PIC16F Stepping Motor Interface Featured Image

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 ...
PCF8591 I2C 8-bit ADC and DAC Featured Image

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 ...
Thermocouple-Amplifier-MAX31855-with-Arduino-Featured-Image

Thermocouple Amplifier MAX31855 with Arduino

Interfacing a Thermocouple with Arduino platform can be easily done by integrating a MAX31855 to your project. This IC is a Cold-Junction Compensated Analog to Digital Converter amplifier especially design for use with a Thermocouple. The converter provides 14-Bit of ...