uc: Arduino Uno - Page 39 of 40

398 articles found.

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 ...

Ultrasonic Sensor Simulation in Proteus

Button-controlled ultrasonic sensor simulation schematic, Arduino Uno, HC-SR04 simulation, distance control

Hello friends! In the Ultrasonic Sensor Library for Proteus tutorial, we installed the model and printed distance readings with an Arduino Uno. Now we will use that same interface in three practical simulations: selecting test distances with buttons, producing a proximity indication, and stepping through test conditions with a switch. Libraries Libraries used in this tutorial Ultrasonic Sensor Library for Proteus: V1.0 (2015, used in this tutorial) · latest version: V2.0 (October 2026) Helping Tools The central idea is simple. Our legacy sensor model has an additional analog control input that represents the simulated environment. Buttons, an adjustable source or a selector can change that input. Arduino still measures the sensor's Echo pulse; it does not need to know which control you used to generate the simulated distance. We will keep the original schematics and project downloads, then improve the explanation with timeout handling, a clear threshold rule and a repeatable test procedure. The printed sketch is a revised teaching example. The historical archives remain attached and may contain older code, so compile the printed version separately when following its behavior. Install the ultrasonic package before opening these examples. The original library uses UltrasonicTEP.LIB, UltrasonicTEP.IDX and UltrasonicTEP.HEX. Assign the sensor HEX to the ultrasonic component's Program File property. The Arduino requires its own separately compiled firmware. Connect Arduino D7 to ...

Ultrasonic Sensor Library for Proteus

Ultrasonic Sensor Library for Proteus, HC-SR04 model, Arduino Uno interface, distance simulation

Hello friends! Today I will show you how to install our Ultrasonic Sensor Library for Proteus and use it with an Arduino Uno. We will begin with the library files, place the sensor on a schematic, connect its simulation input and then read the distance through the Virtual Terminal. This is the original HC-SR04-style library introduced in this tutorial. An ultrasonic distance module sends sound toward an object and measures the time associated with the returning echo. In Proteus, we cannot place a physical obstacle in front of a symbol, so this library provides an additional analog control pin. Changing that input changes the simulated distance response. It is a simulation control, not an extra pin on a real HC-SR04. We will keep that difference clear throughout the example. The simulation helps you understand trigger pulses, echo timing and Arduino processing. A real installation also depends on target angle, surface material, temperature and acoustic interference. Once the basic model is working, you can move to our hardware interfacing tutorial. The transmitter emits an ultrasonic burst and the receiver detects reflected sound. For the familiar HC-SR04 interface, the controller starts a measurement through Trig and measures a pulse on Echo. The pulse width represents the sound's outward and return travel time. We divide by two because the required distance is only the outward journey. The basic relationship is distance = speed of sound × elapsed time / 2. If we assume 343 ...

Microcontroller Programming Services

Microcontroller programming services at The Engineering Projects, embedded firmware, microcontroller programming, project development

Hello friends! If you are developing an embedded project and need help with its firmware, The Engineering Projects can discuss your microcontroller programming requirements with you. Your project may involve a new prototype, a circuit that is not responding correctly or an existing program that needs a clearly defined improvement. Useful programming work starts with understanding the hardware and the required behaviour. A sentence such as “control a motor with a sensor” describes an idea, but it does not yet define a complete system. We need to know which motor, which sensor, how quickly the controller must respond and what should happen when a signal disappears. This page explains the types of work you can discuss with us, the information to prepare and the deliverables to agree before development begins. For a project-specific discussion, use our Contact Us page. Availability, scope, cost and delivery dates should be confirmed for your particular project. Microcontroller firmware connects a program to physical inputs and outputs. It reads switches and sensors, exchanges messages with other devices and controls indicators or driver circuits. Good firmware also defines timing, startup behaviour and recovery from expected faults. A project can require several different tasks. Sometimes the main need is writing a peripheral driver. In another case, the driver already works, but a blocking delay prevents the application from handling other events. We should identify the actual ...

Getting Data From Webserver using Arduino Wifi

Arduino UNO and original WiFi Shield for web control, Arduino UNO, WiFi Shield, web controlled LEDs

Hello friends! In this tutorial, we will learn how to get data from a web server using an Arduino UNO and the original Arduino WiFi Shield. We will use that data to switch two LEDs, so you can see how a command stored on a server becomes an action on a microcontroller. There are two parts to this project: a web page that changes a command file, and an Arduino client that reads the file periodically. We will discuss both parts in the same order as the original project, with clearer wiring, a defined response format and checks that prevent an incomplete response from becoming an LED command. This is a legacy-shield tutorial. The WiFi library and pin assignments described here belong to the original shield, not every board with WiFi in its name. We will first run the demonstration on a trusted local network; using it across the public internet requires a secure gateway or a suitable modern networking implementation. The Arduino acts as a client. It opens a connection to a server, requests a small resource and reads the response. The server does not need a direct incoming connection to the Arduino. This polling arrangement is useful when the board is behind a home router, although it introduces a delay between clicking a button and seeing the result. Our original interface had four buttons: LED 1 ON, LED 1 OFF, LED 2 ON and LED 2 OFF. Each button saved a command in a text file. The Arduino then translated that command into a digital output. We will preserve this simple command ...