Archives for Arduino
Analog to Digital converters allow analog continuous voltages to be converted into a discreet digital numbers inside the microcontroller as the microcontroller can only process digital numbers. This can enable the Arduino to be connected to analog sensors such as temperature sensors, pressure sensors, humidity sensors, optical sensors, and power sensors. Any sensor which can generate a voltage between 0V and a maximum 5V can be used.
LCDs are alphanumeric (or graphical) displays, which are frequently used in microcontroller based applications which require some information to be displayed to the user. There are many devices in the market which come in different shapes and sizes. Some LCDs have 40 or more character lengths with the capability to display several lines. Some other LCD displays can be programmed to display graphic images. Some modules offer color displays, while some others incorporate back lighting so that they can be viewed in dimly lit conditions. In this tutorial we will see how to interface a 16×2 Character LCD display with Arduino. Arduino provides built in libraries for interfacing HD44870 compatible LCDs.
Push buttons and Switches are digital inputs and are widely used in electronic projects as most systems need to respond to user commands or sensors. Reading a push button is very useful because a push button is widely used and can also represents a wide range of digital devices in real world like switches, limit sensors, level switches, proximity switches, keypads (a combination of switches) etc. In this case, we’re going to use the simplest form of sensor: a push button switch. In this tutorial we are going to learn Arduino functions to read a switch connected to Digital Inputs pins.
A Light Emitting Diode (LED) is a semiconductor light source, when forward biased, it emits light. LEDs are used mainly to indicate the status of electronic circuits, for example to indicate that power is on or off but nowadays they are used in many applications including lighting and beam detection. All of us start learn a new programming from Hello World. In microcontroller fields the Hello World example is usually blinking an led, in this article we will learn how to Blink an LED with Arduino.
Arduino is the open source electronics prototyping platform. It has become popular in the world of hobbyists, students, artists, programmers and professionals. Arduino was born as an easy tool for fast prototyping, aimed at students without a background in electronics and programming. All Arduino boards are completely open-source, empowering users to build them independently and eventually adapt them to their particular needs. The software, too, is open-source, and it is growing through the contributions of users worldwide.
Microcontrollers have become very useful in embedded design as they can easily communicate with other devices, such as sensors, switches, LCD displays, keypads, motors and even other microcontrollers. A microcontroller is basically used as the brain or intelligent processing unit to control other devices connected (interfaced) to it in embedded systems just like a PLC in industrial automation. To interface a device to a microcontroller simply means to Connect a device to a microcontroller. This article will make it easier to anybody with very limited experience in electronics to learn how to interface commonly used devices like an LED, a switch, a transistor, a relay, a display, a keypad, a buzzer and so on to a PIC microcontroller.