software: Arduino IDE - Page 49 of 51

503 articles found.

Display ADC value on LCD using Arduino

Historical Arduino ADC display with energy meter labels, Arduino Uno ADC, LCD voltage display, Proteus measurement example

Hello friends! Today we will read analog voltages with an Arduino Uno and display both the ADC readings and calculated voltages on a 20 × 4 LCD. We will build the circuit in Proteus, connect the display, write the sketch and work through the conversion from a digital count to volts. Libraries LCD Simulation Libraries Latest library: LCD Library for Proteus V3.0 (October 2026): LCD 16x2, LCD 20x4 and both I2C LCDs in one library, with our own HD44780 model and an Arduino demo One LCD only? LCD 16x2 · LCD 20x4 · I2C LCD 16x2 · I2C LCD 20x4 Helping Tools The central idea is simple: analogRead() returns a number that represents the input relative to the ADC reference voltage. To interpret that number correctly, we need to know the board, ADC resolution and reference. We will also average several readings to make a slowly changing display easier to read. The original article included an experimental energy-meter diagram. We will preserve that material but correct its interpretation: two ADC voltages are not automatically voltage and current measurements, and multiplying them does not create a calibrated power measurement. Our first working exercise uses only low-voltage DC inputs. This tutorial targets the classic Uno R3 with an ATmega328P. Its ADC is 10-bit, giving 1024 possible output codes from 0 through 1023. Other Arduino families can have different ADC hardware, reference voltages and default resolutions, so these numbers should not be applied to every board. With an ideal ...

Installation of Arduino driver in Windows

Historical Arduino driver installation progress, Arduino Uno, Windows driver installation, USB serial connection

Hello friends! Today we will install or troubleshoot an Arduino USB driver in Windows. If you have followed our introduction to what Arduino is, this is the next practical step: making sure the computer can recognize your board before uploading a sketch. Many boards work as soon as they are connected because Windows already has a suitable driver. Others need a board package or a driver for their USB interface. We will first identify which situation applies, then use Device Manager to inspect the connection and complete a small upload test. The screenshots below come from the original Windows tutorial. They remain useful for understanding the manual installation sequence, but their dialog labels and Arduino software version are historical. Follow the corresponding controls in your Windows installation rather than searching for exactly the same screen layout. A USB driver allows Windows to communicate with a device through the USB connection. For many Arduino boards, the useful result is a serial port with a name such as COM4. Arduino software can open that port to communicate with a bootloader or running sketch. The driver does not compile your sketch and does not decide which processor you are programming. Those jobs belong to the development tools and selected board configuration. A working COM port is therefore an important step, but it is not proof that every upload setting is correct. We need to distinguish three things that beginners often call “the Arduino driver”: the ...

What is Arduino ?

Arduino board introduction for beginners, Arduino basics, microcontroller board, beginner electronics

Hello friends! Today we will answer a basic question: what is Arduino, and how do we use it? If you have seen projects that read a sensor, flash an LED or move a small motor, you have probably encountered an Arduino board. This introduction explains the board, the program and the surrounding circuit as separate parts of one system. Libraries Arduino Simulation Libraries Arduino boards: UNO · Mega 2560 · Mega 1280 · Nano · Pro Mini · Mini (V4.0) All six V4.0 boards in one package: Arduino Library for Proteus V4.0 Helping Tools We will use the classic Arduino Uno R3 as our main example because many tutorials in this series use it. Arduino includes many other boards, so the Uno's processor, pin count and voltage must not be assumed to describe the entire platform. This article is the introduction to our Arduino Projects learning guide. By the end, you should understand what a sketch does, how it reaches the board, what the pins can do and how to choose a sensible first project. Arduino combines development boards, programming tools, software libraries and documentation. A board gives you an accessible way to connect a processor to external circuits. The software environment helps you compile a program and transfer it to the selected target. The microcontroller is the chip that executes the program. The development board adds supporting circuitry such as power connections, a clock arrangement, connectors and a programming interface. These reduce the amount of initial circuit ...

Arduino Projects

Arduino project collection and learning guide, Arduino projects, embedded learning, tutorial collection

Hello friends! This page organizes our Arduino projects into a practical learning path. We will begin with board setup and a first sketch, then move through displays, sensors, communication and combined applications. The aim is to help you choose the next useful exercise instead of searching through an unrelated collection of links. Work through the projects actively. Read the circuit, predict the result, run a small example and explain any difference you observe. You can also explore our Arduino projects for beginners and the corresponding PIC microcontroller project guide when comparing learning paths. The collection includes historical boards, software and simulation packages. Keep each tutorial's exact hardware and version requirements in mind. An example written for a classic Uno or an older wireless shield does not automatically apply to every newer board carrying the Arduino name. Use the official Arduino site for board documentation and software references alongside these project explanations. Identify the exact board revision, because supply limits, processors and peripheral assignments vary across the platform. Read the introduction for your exact board before wiring peripherals. The tutorials below concern particular classic designs; names such as Uno and Nano now describe families with more than one processor or electrical arrangement. Introduction to ATmega328 provides context for a processor family used in several classic boards. Distinguish the precise part, ...

Interfacing of Seven Segment with Arduino in Proteus

Seven-segment digit animation for the Arduino simulation, Arduino Uno, Proteus simulation, seven segment display

Hello friends! Today we will interface a seven-segment display with an Arduino Uno in Proteus. We will build a single-digit counter, load the Arduino program into the simulated board, and check that the display counts from zero to nine before returning to zero. This tutorial uses our Arduino Library for Seven Segment Display. That is a sketch library, while the Arduino Library for Proteus supplies a board model for the simulator. They belong to different applications and cannot replace one another. We will retain the original circuit images and downloadable project, but correct the counting logic and explain the electrical details that a simple simulation can hide. The objective is to understand how a requested digit becomes seven output signals, not merely to watch an animation. A seven-segment LED display arranges seven illuminated bars into a shape that can represent decimal digits. The usual labels are a at the top, b at the upper-right, c at the lower-right, d at the bottom, e at the lower-left, f at the upper-left and g across the middle. To display zero, illuminate a through f and leave g off. To display one, illuminate b and c. Eight uses all seven bars. A decimal point, if provided, is an additional LED and is not included in those seven labels. This is an LED display, not an LCD. Its segment current, polarity and drive requirements follow the LEDs inside the package. The physical terminal numbers vary between components, so the letters in a schematic should be ...

Arduino Library for Seven Segment Display

Single-digit seven-segment display for the Arduino library, Arduino library, common cathode display, decimal digit counter

Hello friends! Today I am sharing our Arduino library for a single seven-segment display. The original library was written for a small project that needed to show decimal digits without introducing a complicated display framework. Its interface is deliberately simple: assign seven Arduino pins, then pass the character you want to display. We will keep that straightforward approach while explaining the actual capabilities of the download. A library can choose which LEDs should light, but the display type, segment wiring and current-limiting resistors still determine whether the circuit works correctly. We will install the library, examine its two public operations and build a corrected counting example. For the complete simulator circuit, continue with Interfacing a Seven-Segment Display with Arduino in Proteus. A seven-segment LED display contains seven independently controlled illuminated bars. Conventionally, a is the top bar, b the upper-right, c the lower-right, d the bottom, e the lower-left, f the upper-left and g the middle. Different combinations form the digits zero through nine. The downloaded TEP implementation drives seven GPIO pins directly. It does not communicate with an I2C display module or a serial display controller. It also does not multiplex several digits, format a decimal number or control a separate decimal-point LED. Those limits are useful to understand before choosing it for a project. One directly driven digit is a good teaching exercise. A ...

Temperature Sensor 18B20 with Arduino

DS18B20 temperature sensor and Arduino project overview, DS18B20 temperature sensor, Arduino Uno, LCD thermometer

Hello friends! Today we will connect a DS18B20 temperature sensor to an Arduino Uno and display its reading in the Serial Monitor and on a 20 x 4 LCD. This is a useful first project when you want a digital temperature measurement without building an analog amplifier or calculating an ADC reference voltage. The original project used the Dallas 18B20 name and demonstrated the result on real hardware. We will retain those photographs and the demonstration video while making the wiring, library installation and measurement handling clearer. In particular, we need to distinguish a sensor's resolution from its accuracy and explain why its power connection matters. We will begin with one externally powered sensor on Arduino pin D2. Once that works reliably, the same data line can support several individually addressed sensors. If you are following the simulation series, you can also read How to Use 18B20 in Proteus ISIS. The DS18B20 measures its own temperature and returns a digital result through a 1-Wire interface. The name describes the communication signal, not the total number of connections in every circuit. Our arrangement uses a data conductor, ground and a separate supply conductor. The manufacturer's DS18B20 datasheet specifies a measurement range of -55 to +125 degrees Celsius, with an accuracy specification of ±0.5 degrees Celsius over -10 to +85 degrees Celsius. Its programmable resolution is 9 to 12 bits. These are different specifications: small numerical steps do not ...

Interfacing of Multiple Ultrasonic Sensor With Arduino

Three HC-SR04 sensors connected to Arduino Uno, multiple HC-SR04 sensors, Arduino Uno wiring, sequential distance measurement

Hello friends! Today we will connect three HC-SR04 ultrasonic sensors to an Arduino Uno. A single forward-facing sensor is useful for a basic distance demonstration, but a robot may also need information from its left and right sides. The original project used this arrangement to discuss obstacle detection and movement between two walls. If you have not yet obtained stable readings from one module, begin with Interfacing an Ultrasonic Sensor with Arduino. Here we will build on that measurement function while addressing the main new issue: several sensors can hear one another. Adding more input pins does not automatically create independent acoustic measurements. We will preserve the original right, left and front pin assignments, trigger the sensors sequentially and report whether each result is valid. We will also calculate the time needed for a complete set of readings. Those timing details matter when a robot moves between measurements. Each HC-SR04 has a trigger input and an echo output in addition to power and ground. Arduino requests a measurement through Trig and measures Echo pulse duration. With three modules, we need three trigger signals and three separate echo inputs for this straightforward arrangement. Keep a fixed relationship between each physical sensor, its pin pair and its printed name. A correct distance labeled Front when it came from the left side is still wrong information for a navigation algorithm. Label jumper wires and sensor positions before ...

Interfacing of Ultrasonic Sensor With Arduino

HC-SR04 connected to Arduino Uno for distance measurement, HC-SR04 interface, Arduino Uno, distance measurement

Hello friends! Today we will connect a real HC-SR04 ultrasonic sensor to an Arduino Uno and display distance on the Serial Monitor. Our earlier Proteus library tutorial introduced the simulated sensor, and the simulation examples explored different input conditions. This article moves to the four-pin physical module and the practical details of a measurement. Libraries HC-SR04 Simulation Libraries Latest library: Ultrasonic Sensor Library for Proteus V2.0 (October 2026): HC-SR04 with real TRIG and ECHO timing, Simple and Advance devices, test tools and an Arduino demo Other distance and motion sensors: JSN-SR04T · Sharp IR · TF-Luna LiDAR · VL53L0X · PIR HC-SR501 · RCWL-0516 · IR Obstacle FC-51 Helping Tools The wiring is short, but there is more to a useful distance reading than dividing a number. We need the correct signal directions, a clean trigger, an echo timeout and a target that reflects sound back toward the receiver. We also need to distinguish a valid distance from the absence of a usable echo. We will preserve the original D8 trigger and D7 echo connections, improve the sketch and work through the timing calculation. Then we will examine measurement limits, compare readings with a ruler and discuss simple filtering. The code is a learning example; the retained circuit images are not a report of newly performed hardware tests. The HC-SR04 estimates the distance to a reflecting target by transmitting an ultrasonic burst and measuring its return. Ultrasound is a ...

Receive SMS with AT Commands using Sim900 and Arduino

SIM900 SMS receiving tutorial overview, SIM900 modem, Arduino serial reception, SMS parsing

Hello friends! Today we will receive SMS messages with a SIM900 modem and an Arduino. In the earlier SMS sending tutorial, Arduino initiated a command and supplied message text. Receiving is different because a message can arrive at any time, including while the program is handling another modem response. Libraries SIM900 Simulation Libraries Latest library: SIM900A Library for Proteus V1.1 (October 2026) Other GSM modules: SIM800L · SIM800C · SIM808 Helping Tools We will begin by checking the serial connection, configure text-mode notifications and inspect the sender and message body. Then we will look at the mistakes that make a receiver unreliable: incorrect line endings, searching for single letters instead of complete responses, fixed character positions and unbounded waiting loops. The original screenshots remain as examples of the historical project. The serial bridge below is a new diagnostic sketch that lets you inspect the modem directly. It deliberately does not operate relays or other equipment. Establishing a reliable message boundary comes before using incoming text as an application command. Use an Arduino Uno, a SIM900-based board, a suitable antenna, a supported SIM and an appropriate power supply. SIM900 is a GSM/GPRS-generation device. Confirm that the local operator still offers a compatible network and SMS service for the selected SIM; the presence of a newer mobile network does not establish compatibility with this older modem. A SIM900 module and a ...