The Microcontroller Blog

The microcontroller blog keeps you up-to-date with all additions and changes to the best-microcontroller-projects.com Web site.


The TP4056: Lithium Ion/polymer Battery Charger IC

Learn how to use the TP4056 properly. There's a right way, and a wrong way, to use it to safely charge Lithium Ion batteries.

Continue reading "The TP4056: Lithium Ion/polymer Battery Charger IC"

How to use the ADS1115

A tutorial on using the ADS1115 precision 16 bit ADC for low power use.

Continue reading "How to use the ADS1115"

How to use an arduno Nano as an ISP (In System Programmer)

Arduino Nano ISP: How to program an ATmega328P using an Arduino Nano as the ISP programmmer. One common problem: Programming a sketch into the chip without a reset control - solved here.

Continue reading "How to use an arduno Nano as an ISP (In System Programmer)"

The Essential I2C Tutorial: All you need to know about I2C...

I2C tutorial: Learn all about the 2 wire I2C serial protocol. Learn how easy it is to use, how it works and when to use it...

Continue reading "The Essential I2C Tutorial: All you need to know about I2C..."

Arduino joystick tutorial: how to setup and use one on the Arduino

How to test and use an Arduino Joystick including a new library to make it super easy.

Continue reading "Arduino joystick tutorial: how to setup and use one on the Arduino"

How to use the MCP4728, a versatile four channel DAC with built in voltage reference.

The MCP4728 chip is a four channel 12 bit DAC, with memory that outputs voltage that you can use for calibration, anywhere you want a fixed voltage.

Continue reading "How to use the MCP4728, a versatile four channel DAC with built in voltage reference."

Secrets of the Hitachi HD44780 LCD: How to display text and bargraphs.

Find out how to connect the Hitachi HD44780 and use it to display text and graphics in any of your projects.

Continue reading "Secrets of the Hitachi HD44780 LCD: How to display text and bargraphs."

INA219: A voltage and current sensing chip using I2C

INA219: How to use the INA210 for maximum accuracy in current and power measurements

Continue reading "INA219: A voltage and current sensing chip using I2C"

Arduino Oversampling: How to Get More ADC Bits with No Extra Hardware!

Arduino oversampling is a technique to increase ADC resolution by reading more samples then decimating. It really does work!

Continue reading "Arduino Oversampling: How to Get More ADC Bits with No Extra Hardware!"

Arduino Analog Output...Easy analog output generation

Arduino Analog Output: How to create the most accurate PWM analog ouput and how to create analog PWM sine waves.

Continue reading "Arduino Analog Output...Easy analog output generation"

DigitalWrite and equivalent fast macros. Speed up your code!

Find out how digitalWrite() works...Now use 17x Faster macros!

Continue reading "DigitalWrite and equivalent fast macros. Speed up your code!"

The TCS230 Color Sensing Chip: How it works and how to use it.

How to use the TCS230 (/TCS3200) Color detector chip and easily add it to any of your projects.

Continue reading "The TCS230 Color Sensing Chip: How it works and how to use it."

How to use the ADXL345 for movement sensing and more.

With the ADXL345 acellerometer you can detect up to 16g! You can also find out how to use it for tap detection and more.

Continue reading "How to use the ADXL345 for movement sensing and more."

How the HMC5883L 3-axis digital magentomter works

HMC5883L - How make a digital compass, Find out the differences between the HMC5883L and the QMC5883L and whether they are compatible.

Continue reading "How the HMC5883L 3-axis digital magentomter works"

PCF8591: An 8 bit ADC you can easily connect using I2C

PCF8591: A four input ADC with single DAC. How good is this 8 bit ADC, and should you use it in your next project?

Continue reading "PCF8591: An 8 bit ADC you can easily connect using I2C"

How to use the MCP4725, a versatile and tiny (SOT-23-6) analogue output device

The MCP4725 chip is a 12 bit DAC with memory that outputs voltage that you can use for many dfferent purposes. Find out what they are in this page.

Continue reading "How to use the MCP4725, a versatile and tiny (SOT-23-6) analogue output device"

ESP8266 Arduino IDE setup.

Easily use an ESP8266 with the Arduino IDE and program your first sketch into the ESP8266

Continue reading "ESP8266 Arduino IDE setup."

How to use a DS18B20 on the Arduino for easy temperature measurement

How to Easily Use the DS18B20 Maxim One-Wire thermometer with Arduino example code showing external or parasitic power modes.

Continue reading "How to use a DS18B20 on the Arduino for easy temperature measurement"

Secrets of State Machines.

If you are struggling with code that is too complex to manage then State Machine Secrets will sort it out for you.

Continue reading "Secrets of State Machines."

Rotary Encoder - How to debounce them for absolute accuracy.

How to easily use a rotary encoder on an Arduino without lots of complex code.

Continue reading "Rotary Encoder - How to debounce them for absolute accuracy."

Jump from microcontroller blog to

Best-Microcontroller-Projects Home Page

New! Comments

Have your say about what you just read! Leave me a comment in the box below.



Privacy Policy | Contact | About Me

Site Map | Terms of Use