Accelerometers are widely used in modern devices such as phones and tablet for orientation sensing. In this article we will learn more about them and their interfacing with microcontrollers.
Microcontroller Interfacing Examples
Each article in this section describes how to interface a specific item like sensors, displays, storage, communication modules etc. with common microcontrollers like AVR series from Atmel or PIC series from Microchip.
The articles are written for novice audience who don't have much technical experience. Thus they are made as easy as possible to follow and understand.
Each article comes with demo application code showing the interface in real action! If possible we also try to show this through videos.
Proteus simulation files are also provided wherever possible so that user can try the demo by simulating it on their PC without having to make any prototype hardware.
Source code of library and application are also provided.
In this article, we will discuss the complete process of generating sine wave signals from a digital microcontroller like Atmel's AVR ATmega8 and others which has PWM feature.
This article introduce you to the popular and low cost HC-SR04 ultrasonic distance measurement module and also guide you through the development of C program to interface it with PIC16F877A microcontroller.
DHT11 is a low cost humidity sensor module, here we will learn how to interface it with PIC MCU and show humidity readings on LCD module.
Here I will show you how to interface a tri colour (RED/GREEN/YELLOW) LED matrix display with a 32bit ARM Cortex M0 based microcontroller.