Showing posts with label tutorials. Show all posts
Showing posts with label tutorials. Show all posts

Friday, 15 May 2026

Smart ESP32-CAM Attendance System with WhatsApp Alerts

Smart ESP32-CAM Attendance System with WhatsApp Alerts

Attendance systems are still handled manually in many classrooms and offices. Teachers call out names, students respond one by one, and records are written down manually. It works, but it wastes time and can easily lead to mistakes. This ESP32-CAM Attendance System solves that problem by automating the entire process using Wi-Fi, image capture, and WhatsApp notifications.

The project ESP32-CAM attendance system is built using an ESP32-CAM, an OLED display, and a rotary encoder. The ESP32-CAM acts as both the controller and camera module, making the setup compact and affordable.

How the System Works

Circuit Diagram of Attendance System

Once powered on, the ESP32-CAM connects to Wi-Fi and synchronizes the current time using an NTP server. The OLED display then shows a list of stored student names.

A student uses the rotary encoder to:

  • Scroll through names
  • Select their name
  • Choose either “IN” or “OUT”

After selection, the system starts a short countdown and captures an image using the ESP32-CAM. The captured image, along with the student’s name, entry/exit status, and timestamp, is then sent through the CircuitDigest Cloud API.

Within seconds, a WhatsApp message is delivered to the registered phone number with complete attendance details and photo proof.

Components Used

Components Required for Attendance System

The hardware setup is simple and beginner friendly.

Main components:

  • ESP32-CAM
  • SSD1306 OLED display
  • Rotary encoder
  • Perfboard
  • Project enclosure

If you are using a standard ESP32-CAM without onboard USB, an FTDI programmer is required for uploading the code.

Why This Project Is Useful

Unlike traditional attendance systems, this project provides image verification along with accurate timestamps. That makes the records more secure and reliable.

Some advantages include:

  • Faster attendance process
  • Reduced manual work
  • Real-time WhatsApp alerts
  • Automatic timestamp recording
  • Compact and low-cost hardware

This system can be used in:

  • Schools and coaching centres
  • Offices
  • Hostels
  • Libraries
  • Event check-in systems

Future Improvements

The project can be expanded further with advanced features like:

  • Face recognition
  • RFID or fingerprint authentication
  • Cloud database storage
  • GPS tracking
  • Mobile app support

These upgrades can make the system even smarter and more secure.

This ESP32-CAM Attendance System is a practical IoT project that combines automation, image capture, and cloud communication into one compact setup. Instead of relying on paper registers and manual verification, the system records attendance instantly and sends updates directly through WhatsApp.

It’s an excellent project for beginners and makers who want to explore IoT, ESP32 programming, cloud APIs, and real-world automation applications. 

https://circuitdigest.com 

Robotics Projects |Arduino Projects | Raspberry Pi Projects|

Thursday, 19 March 2026

Arduino Whatsapp Notification – Simple IoT Alert System

Send WhatsApp Messages from Arduino Uno R4

Sending real-time alerts from your electronics projects has become an essential part of modern IoT systems. Whether it’s monitoring distance, detecting motion, or tracking environmental data, getting instant updates on your phone makes projects far more useful.

Arduino Whatsapp Notification project is done without using a GSM module or complex APIs. Instead of dealing with SIM cards or expensive integrations, this method uses CircuitDigest Cloud WhatsApp API, allowing your Arduino to send messages over WiFi using a simple HTTPS request.

What This Project Does

The idea is simple. The Arduino reads data from a sensor, checks a condition, and sends that data to the cloud. The cloud then converts it into a proper WhatsApp message and delivers it instantly.

To demonstrate this, we use an HC-SR04 ultrasonic sensor. When an object comes closer than a defined distance (for example, 20 cm), the Arduino sends the distance value to the cloud, which then triggers a WhatsApp alert.

This setup creates a real-time proximity alert system that can be used for safety, automation, or monitoring applications.

Components Required

Whatsapp-API-Arduino-UNO-R4-Components-Used

The hardware setup is minimal and beginner-friendly:

  • Arduino UNO R4 WiFi
  • HC-SR04 Ultrasonic Sensor
  • Breadboard
  • Jumper Wires
  • USB Cable

The UNO R4 WiFi is important here because it has built-in WiFi capability, allowing direct internet communication.

How the System Works

The workflow is straightforward and happens in a loop.

First, the Arduino connects to your local WiFi network. Once connected, it continuously reads distance values from the ultrasonic sensor.

When the measured distance crosses a predefined limit, the Arduino prepares a small JSON payload. This payload includes details like your phone number, template ID, and sensor value.

The Arduino then sends this data securely to the cloud using an HTTPS POST request.

From there, CircuitDigest Cloud takes over. It verifies your API key, formats the message using a pre-approved WhatsApp template, and sends it to your registered phone number.

The key advantage here is that Arduino doesn’t directly talk to WhatsApp. The cloud handles all the complex parts like authentication, formatting, and delivery.

Circuit Connections

Whatsapp-API-Arduino-UNO-R4-Circuit-Diagram

The wiring is very simple and requires only four connections:

  • VCC → 5V
  • GND → GND
  • TRIG → Digital Pin 9
  • ECHO → Digital Pin 10

Once connected, the ultrasonic sensor can measure distances from about 2 cm up to 4 meters.

Arduino Code Overview

The code handles three main tasks: WiFi connection, sensor reading, and API communication.

First, the Arduino connects to WiFi using your network credentials. Then, it continuously triggers the ultrasonic sensor and calculates distance based on the echo time.

If the distance goes below the threshold, the code checks a cooldown timer to avoid sending too many messages. If allowed, it sends a request to the cloud API.

The payload includes dynamic values like the measured distance, which gets inserted into a WhatsApp message template automatically.

Testing the System

Once the code is uploaded, open the Serial Monitor to verify WiFi connection and sensor readings.

Place an object close to the sensor. When the distance drops below the set limit, a WhatsApp message will be sent instantly to your phone.

The message typically includes:

  • Device name
  • Event type (e.g., intrusion detected)
  • Measured distance
  • Location

The cooldown feature ensures that repeated alerts are not sent continuously.

Real-World Applications

This project can be extended into many practical use cases:

  • Intrusion detection systems
  • Smart parking alerts
  • Industrial safety monitoring
  • Home automation notifications
  • Distance-based automation triggers

Since it uses WiFi instead of GSM, it’s cost-effective and easy to scale.

Conclusion

This Arduino Whatsapp Notification project is a great example of how IoT projects can be made smarter with cloud integration. By offloading complex messaging tasks to the cloud, the Arduino only focuses on collecting and sending data.

The result is a simple, reliable, and efficient system that delivers real-time alerts directly to your phone. With just a few components and minimal setup, you can add instant WhatsApp notifications to almost any Arduino project.

https://circuitdigest.com 

Robotics Projects |Arduino Projects | Raspberry Pi Projects|

Wednesday, 11 March 2026

Arduino Automatic Toll Gate System Project with RFID Payment and Servo Control

Automatic Toll Gate System Project using Arduino

Toll collection is a common process on highways where vehicles stop to pay a fee before continuing their journey. Traditional toll booths often require manual payment, which can lead to traffic delays and long queues. Automation helps solve this problem by making the process faster and more efficient.

In this project, we build an Automatic Toll Gate System using Arduino that detects vehicles, reads RFID cards, verifies payment, and opens the gate automatically. This project is a great introduction to real-world automation using sensors, RFID technology, and microcontrollers.

It is especially suitable for students, beginners, and Arduino enthusiasts who want to understand how simple electronics can automate everyday systems.

What is an Automatic Toll Gate System?

Circuit Diagram Automatic Toll Gate System using Arduino

An automatic toll gate system allows vehicles to pass through a toll booth without manual payment handling. Instead of cash transactions, the system uses RFID cards that store user information and balance.

When a vehicle approaches the toll gate, an IR sensor detects its presence. The driver then places an RFID card near the reader. The system scans the card and checks if it is valid and has enough balance to pay the toll.

If the card is valid and the balance is sufficient, the toll amount is deducted automatically. The gate then opens using a servo motor, allowing the vehicle to pass. After the vehicle crosses the gate, another sensor detects its exit and the gate closes again.

This process makes toll collection quick, automatic, and contactless.

Components Required

Components Automated Toll Gate RFID

The project uses simple and easily available components, including:

  • Arduino Uno
  • RFID RC522 Reader Module
  • RFID Cards or Tags
  • Two IR Sensor Modules
  • SG90 Servo Motor
  • Red LED and Green LED
  • Breadboard and Jumper Wires
  • 5V Power Supply or USB Power

The Arduino acts as the central controller, while the RFID module verifies the card. IR sensors detect vehicles, and the servo motor controls the gate.

Working of the Automatic Toll Gate System

Block Diagram

The system works in a sequence of simple steps.

First, the toll gate remains closed while the system waits for a vehicle to arrive. When a vehicle approaches, the entry IR sensor detects it and signals the Arduino to begin the authentication process.

Next, the driver scans the RFID card. The RFID reader reads the card’s unique ID and sends it to the Arduino. The program compares this ID with stored card IDs and checks the available balance.

If the card is valid and has enough balance, the toll amount is deducted. The green LED turns on, and the servo motor rotates to open the gate.

The vehicle then passes through the gate. When the vehicle crosses the exit IR sensor, the Arduino receives a signal indicating that the vehicle has left the toll area. The servo motor then moves back to close the gate, and the system resets for the next vehicle.

If the card is invalid or the balance is insufficient, the red LED lights up and the gate remains closed.

Arduino Code Overview

The Arduino code controls the entire toll system. It starts by including libraries required for SPI communication, RFID reading, and servo motor control.

In the setup section, the Arduino initializes all connected hardware components, including the RFID reader, sensors, LEDs, and the servo motor.

The loop function continuously checks whether a vehicle is detected by the entry IR sensor. When a vehicle is detected, the system waits for an RFID card scan.

If the scanned card matches a stored card and has sufficient balance, the Arduino opens the gate. Otherwise, access is denied.

Real-World Applications

Although this is a learning project, the concept is widely used in real life. Automatic toll collection systems are used on highways to reduce congestion and speed up vehicle movement.

Similar RFID-based systems are also used in parking lots, office buildings, gated communities, and industrial facilities to control vehicle access.

Conclusion

The Automatic Toll Gate System using Arduino is a simple and practical project that demonstrates how automation works in real-world applications.

By combining RFID technology, sensors, and motor control, the system can detect vehicles, verify payments, and operate a toll gate automatically. This project helps beginners learn important concepts such as Arduino programming, sensor integration, and RFID communication.

With further improvements like IoT connectivity or LCD displays, this project can easily be expanded into a more advanced smart toll management system.

https://circuitdigest.com 

Robotics Projects |Arduino Projects | Raspberry Pi Projects|

Friday, 9 January 2026

Build a Raspberry Pi WiFi Router with RaspAP


Raspberry Pi Wi-Fi Router with RaspAP

Over the years, many of us end up with spare Raspberry Pi boards sitting unused in drawers. Instead of letting them collect dust, this project shows how to give them a practical second life by turning a Raspberry Pi into a fully functional WiFi router with network-wide ad blocking

Using RaspAP’s pre-built image, you can quickly convert a Raspberry Pi into a Raspberry Pi WiFi Router with RaspAP  making it wireless hotspot that shares internet access and blocks ads at the DNS level. The result is a compact router that works for laptops, phones, smart TVs, and IoT devices—without installing ad blockers on each device. Since the Pi can also run from a power bank, it doubles as a portable travel router, making it ideal for hotels, hostels, or road trips.

Why Use RaspAP Instead of OpenWrt?

OpenWrt is powerful and highly configurable, but on a Raspberry Pi it often requires extensive manual setup. RaspAP, on the other hand, is designed specifically for Raspberry Pi users who want quick results.

RaspAP provides:

  • A clean, modern web interface
  • Sensible default settings
  • A pre-built image that works out of the box

With RaspAP, you can have a working Raspberry Pi WiFi router running in under 30 minutes, making it ideal for beginners and hobbyists.

Components Required

To build this Raspberry Pi WiFi router, you’ll need:

  • Raspberry Pi (Pi 3, Pi 4, or Pi 5 recommended)
  • microSD card (8GB or larger)
  • Stable power supply
  • Ethernet cable or upstream WiFi connection
  • PC or laptop for flashing the SD card
RaspAP-Over-OpenWRT


Optional additions like a USB WiFi dongle or USB phone tethering can further expand functionality.

Understanding Raspberry Pi Network Interfaces

RaspAP uses standard Linux network interfaces, making the setup flexible:

  • eth0 – Internet input via Ethernet
  • wlan0 – Built-in WiFi used as hotspot
  • wlan1 – Optional USB WiFi adapter for repeater mode
  • usb0 – Mobile data via USB tethering

A common setup uses Ethernet as the internet source and the built-in WiFi to broadcast the hotspot.

Setting Up the Raspberry Pi WiFi Router

Flashing the RaspAP Image

Start by flashing the RaspAP pre-built image onto a microSD card using Raspberry Pi Imager. Insert the card into the Pi and power it on.

After booting, the Pi automatically creates a WiFi network. Connect to it using the default credentials.

Accessing the Web Dashboard

Once connected, open a browser and access the RaspAP web dashboard. From here, you can manage hotspot settings, view connected devices, and monitor bandwidth—just like a commercial router.

Customising WiFi Settings

Change the default WiFi name and password, select the appropriate country code, and choose a less congested WiFi channel to improve performance and reliability.

Enabling Network-Wide Ad Blocking

One of the standout features of RaspAP is its DNS-based ad blocking. Unlike browser extensions, this blocks ads before they even reach connected devices.

Once enabled:

  • Ads are blocked across phones, laptops, TVs, and consoles
  • Tracking domains are filtered automatically
  • No extra software is needed on client devices

This approach works even where browser-based blockers struggle, such as smart TVs or mobile apps.

Real-World Performance

While it won’t replace a high-end WiFi 6 router, a Raspberry Pi WiFi router performs surprisingly well for everyday use. For home labs, small networks, or travel scenarios, it offers stable speeds with the added benefit of ad blocking and monitoring.

These features make RaspAP suitable not just as a hotspot, but also as a learning platform for networking.

This Raspberry Pi WiFi Router with RaspAP  setup  is a great way to reuse old hardware and explore practical networking concepts. With RaspAP, setting up a router with ad blocking, monitoring, and VPN support becomes accessible even to beginners.

Whether you use it as a travel router, secondary home network, or learning tool, RaspAP transforms the Raspberry Pi into something far more useful than its size suggests. It’s a simple project with real-world value - and a perfect example of how much potential still lies in these tiny boards.


Thursday, 25 December 2025

Interfacing SD Card Module with Raspberry Pi Pico Using SPI




Adding external storage to a microcontroller project opens up many possibilities, from data logging and configuration storage to saving time - stamped sensor readings. The Raspberry Pi Pico SD card module is a simple and reliable way to achieve this using a standard microSD card and the SPI communication protocol.

In this project, we are Raspberry Pi Pico SD card module and demonstrate how to create, read, write, and delete files using an interactive Serial Monitor menu. This setup provides a clear understanding of how embedded systems handle external storage using the FAT32 file system.

Overview of the Project

The Raspberry Pi Pico communicates with the SD card module using the SPI interface. Most SD card modules include a built-in 3.3V regulator and basic level shifting, making them safe to use directly with the Pico’s 3.3V logic levels. Once connected, the Pico can access gigabytes of storage for logging sensor data, storing text files, or saving device settings.

To make the learning experience more interactive, this project uses a Serial Monitor menu that allows users to perform file operations in real time by sending simple commands.

Components Required

  • Raspberry Pi Pico
  • SD card module 
  • microSD card 
  • Breadboard and jumper wires
  • USB cable for power and programming

SD Card Module Pin Configuration for Raspberry Pi Pico

SD Card Module Pin Configuration for Raspberry Pi Pico

How It Works

The SD card module connects to the Pico’s default SPI0 pins. The Arduino SD and SPI libraries handle communication, file creation, reading, writing, and deletion. Once powered on:

  • The Pico initializes the SD card
  • A menu appears on the Serial Monitor
  • Users select actions like creating a file, writing text, reading data, or deleting files
  • All operations are executed instantly and displayed in real time

This makes it easy to understand how SPI communication and file handling work internally.

Circuit Diagram 

Circuit diagram Interfacing SD Card Module with Raspberry Pi Pico


SD Card Preparation Tips

For reliable operation:

  • Format the SD card to FAT32
  • Use a single MBR partition
  • Avoid exFAT or GPT formatting
  • Prefer standard Class 4 or Class 10 microSD cards

Improper formatting is the most common reason for SD card initialization failures.

Applications of Raspberry Pi Pico SD Card Interface

  • Sensor data logging
  • Configuration and settings storage
  • Offline data recording
  • IoT and embedded monitoring systems
  • Long-term data collection projects
for further in-depth details : Raspberry Pi Pico SD card module

Thursday, 18 December 2025

How to Install Windows 11 on Raspberry Pi

Install Windows 11 on Raspberry Pi Devices

You can run a lightweight Linux-based operating system on a Raspberry Pi Board, but there is a way to quickly turn a Raspberry Pi board into a small "Windows 11 PC" using the Raspberry Pi hardware and with some necessary components. If you are able to find the appropriate components and are willing to work at it, you can use Windows 11 (ARM Edition) on Raspberry Pi Compatible Models. This project outlines the steps necessary to get you to the point of starting your system and booting to the Windows Desktop.

Why would you want to run Windows 11 on Raspberry Pi? Although running Windows 11 is not officially supported and will not perform the same as a full-size laptop or desktop, you will be able to learn about the ARM OS, how to create boot firmware, and how storage devices are configured to run Windows 11. You will also observe how Linux and Windows can run on the same Raspberry Pi hardware configuration of Raspberry Pi and Linux, allowing you to see the versatility of Raspberry Pi hardware and learn more about how both types of systems work together.

What You Will Need

Hardware

  • Raspberry Pi board 
  • Storage device
  • USB keyboard and mouse
  • HDMI-compatible display
  • Network connection
A Windows PC to prepare and flash the image
Software Tools
  • Windows on Raspberry (WoR) Imager tool
  • Windows 11 ARM64 image
  • UEFI firmware

Step-by-Step Installation

Raspberry Pi Boot Screen


1. Prepare the Windows 11 ARM Image

First, download a Windows 11 ARM64 build suitable for Raspberry Pi. Use an ESD image downloader to get the ARM-compatible Windows files and save them on your Windows PC.

2. Flash Windows to Storage

Use the WoR Imager tool to flash the Windows image onto your chosen storage:

  • Run the WoR Imager on your Windows PC.
  • Select the storage device (microSD or SSD) you will use with the Raspberry Pi.
  • Choose the correct Raspberry Pi model in the tool.
  • Point the WoR Imager to the Windows 11 ARM image and pick the edition you want (Home or Pro).
  • Start the installation process - this can take 15 - 45 minutes depending on storage speed.

3. Set Up UEFI Firmware (Pi 5 Only)

Raspberry Pi 5 requires UEFI firmware to boot Windows. Download the UEFI files and place them on a small microSD card formatted to FAT32. Insert this card along with your Windows SSD into the Pi 5 before powering on.

4. (Optional) Update the Raspberry Pi Bootloader

For Pi 3 and Pi 4, it’s recommended to update the bootloader firmware using the Raspberry Pi Imager tool before installing Windows. This can improve boot reliability and support USB boot if you’re using an SSD.

Booting Into Windows 11

Once everything is in place:

  • Insert the prepared storage devices into your Raspberry Pi.
  • Power it on and wait for the Windows setup to begin.
  • Follow the usual Windows configuration screens (region, keyboard layout, account setup).
  • If you run into network requirement screens during setup, there are built-in workarounds to proceed without an internet connection.

After setup completes, you’ll see the Windows 11 desktop appear on your Raspberry Pi. It’s a unique experience to have Microsoft’s modern operating system running on such a small board.

for complete tutorial : Install Windows 11 on Raspberry Pi Devices


Thursday, 18 September 2025

How to Interface a Thermal Printer with ESP32 – Print Receipts, QR Codes & Image


Want to add printing to your ESP32 projects, receipts, invoices, barcodes, even logos—without using a full PC? Using a thermal printer like the PNP-500 with an ESP32 lets you do just that. Thermal printers are popular because they print quietly, need no ink, are simple to interface, and work fast. In this guide, you’ll learn how to wire up a thermal printer to an ESP32, use ESC/POS commands, print text, images, barcodes & much more.

What Is a Thermal Printer & Why Use It?

Thermal printers use heat on special thermal paper to produce text or graphics. Since there are no rollers or ink cartridges, they’re cheaper in maintenance and more compact. You’ll often find them in:

  • Receipt printers in shops
  • Label printers for barcodes
  • Small embedded displays in IoT devices

With ESP32 thermal printer, you can create custom printing applications, say a QR code receipt printer, smart home logs, industrial data logs, and so on.

Hardware You’ll Need

  • ESP32 Development Board 
  • PNP-500 thermal printer module
  • 2 Push Buttons 
  • 2-cell Li-ion battery 
  • Resistors 


How to Wire the Printer to ESP32

  • Use the TTL (UART) interface of the printer. This is simpler than RS232 in many cases.
  • Connect the TX/RX pins of ESP32 UART2 to the printer’s RX/TX pins.
  • Power the printer from a stable voltage (around 7-9V preferred; 5V works for simple text).
  • Optionally, add buttons: one button to move through demo image printing, another for full format/demo prints.


Make sure to use pull-ups on signal lines if wires are long to reduce noise, and common ground.

Applications & Use Cases

Here are some ideas where an ESP32-thermal printer combo can be useful:

  • Printing sales invoices / receipts
  • IoT monitoring dashboards that print logs spontaneously
  • Barcode/QR code tickets or labels
  • Smart lockers or access control systems printing QR codes
  • Portable printing for outdoor data collection

Monday, 14 April 2025

Build GPS Tracker Using ESP32 and Visualize Data on Map



Simple GPS Tracker Using ESP32

This project shows how to create a GPS tracker using an ESP32 and NEO-6M GPS module. The tracker reads your current location and displays it on GeoLinker API, its a free API at Circuit Digest Cloud. It is a good starting point if you're interested in IoT or location-based tracking systems.

What is GPS Tracker

A GPS tracker is a device that uses satellite signals to determine the real-time location of a person, vehicle, or object. It is commonly used in navigation, safety, and tracking systems, and can be easily integrated into IoT projects using modules like the NEO-6M and ESP32.

How This Device Works

This project uses an ESP32 and NEO-6M GPS module to create a simple GPS tracker. The ESP32 sends location data to the GeoLinker API via HTTP, where it is plotted on a live map. It also stores data offline when there is no internet and syncs it once the connection is restored.
Working of GPS Tracker Using ESP32 and GeoLinker

ESP32 GPS Tracker Circuit Diagram

ESP32 GPS Tracker Circuit Diagram

Components Needed

You’ll need the following parts:

  • ESP32 development board
  • NEO-6M GPS module
  • Jumper wires
  • Breadboard
  • USB cable
  • Wi-Fi connection (for viewing maps)

Components Needed for making Simple GPS Tracker Using ESP32 and GeoLinker


Applications of GPS Trackers

  • Vehicle tracking
  • Pet and child tracking 
  • Fitness devices 
  • Asset tracking 
  • Navigation systems 

This simple GPS tracker project gives you a clear understanding of how to collect and display location data using the ESP32 and GPS module. It is a practical, entry-level project for anyone exploring IoT or GPS-based applications.

For full code, circuit diagram, and detailed instructions see the tutorial: Simple GPS Tracker with ESP32

Wednesday, 22 September 2021

Getting Started with Raspberry Pi Pico - Basic Tutorials to Learn Working with Raspberry Pi Pico Board

Recently Raspberry Pi Foundation introduced us to a microcontroller board, the Raspberry Pi Pico which comes with the Raspberry Pi Foundation's own silicon chip RP2040. The Raspberry Pi Pico is a low-cost microcontroller and its price is $4. Because it has a Dual-Core ARM processor along with GPIO & Digital/Analog peripherals, we can easily create micro to small-scale embedded applications.




Here is a list of tutorials to get started with the raspberry pi pico development board.

1. Getting started with Raspberry Pi Pico using MicroPython
This tutorial covers basic specifications and features of pico board and setting up micropython on the board.

2. Interfacing an OLED Display with the Raspberry Pi Pico Using Micropython
In this tutorial, we are going to interface an OLED display module with the Pico board. You will be able to perform an I2C communication on Raspberry Pi Pico at the end of this tutorial. Here, we are going to display some strings on an OLED display by using Micropython

3. Interfacing Ultrasonic Sensor with Raspberry Pi Pico and Displaying the distance on OLED display Using MicroPython
In this tutorial, we will interface an ultrasonic sensor with the pico board and we are going to measure the distance of an object and then we will display the distance on the OLED display module using MicroPython.

4. ADC on Raspberry Pi Pico using MicroPython - Reading ADC Value and Displaying on OLED Display Module
In this tutorial, we will use the Pico board to perform an ADC conversion. The Raspberry Pi Pico has four 12-bit ADC channels, but one of them is connected to the internal temperature sensor. The remaining ADCs are located at GPIO26, GPIO27, and GPIO28 as ADC0, ADC1, and ADC2, respectively.

5. Interfacing LCD Display with Raspberry Pi Pico using Micropython
In this tutorial we are going to interface a Liquid Crystal Display (LCD) module with the Raspberry Pi Pico using Micropython. By the end of this tutorial, you will be able to display strings, characters on the LCD using Micropython. 

For more Raspberry pi Pico tutorials and interesting projects, visit: raspberry pi pico tutorials section

Sunday, 9 August 2015

Basic tutorials to get started with arduino

Here are few basic arduino tutorials to learn working with the board.
1. How to blink an LED with Arduino:
ARDUINO UNO is an ATMEGA controller based board designed for electronic engineers and hobbyists. Arduino based program development environment is an easy way to write the program when compared to other environment development programs. Check out the tutorial to learn how to blink an LED with arduino uno board.

In this tutorial we are introducing concept of ADC (Analog to Digital Conversion) in ARDUINO UNO. Arduino board has six ADC channels, as show in figure below. Among those any one or all of them can be used as inputs for analog voltage. The Arduino Uno ADC is of 10 bit resolution (so the integer values from (0-(2^10) 1023)). This means that it will map input voltages between 0 and 5 volts into integer values between 0 and 1023. So for every (5/1024= 4.9mV) per unit.

In this tutorial we are going to interface a seven segment display to ARDUINO UNO. The display counts from 0-9 and resets itself to zero.

In this tutorial we are going to interface a 16x2 LCD with ARDUINO UNO. Unlike normal development boards interfacing a LCD to a ARDUINO is quite easy. Here we don’t have to worry about data sending and receiving. We just have to define the pin numbers and it will be ready to display data on LCD.

Now for some applications we need more than 30 pins, say if we want to design a 5x5x5 LED CUBE, so for this we need 5x5+5=30pins. For such cases we use serial to parallel converter chips or shift register. A shift register chip takes data from UNO board serially and gives output in 8 bit parallel configuration.

Arduino UNO has 6PWM channels, so we can get PWM (variable voltage) at any of these six pins. In this chapter we are going to use PIN3 as PWM output.

Here we are going to interface a DC motor to Arduino UNO and its speed is controlled. This is done by PWM (Pulse Width Modulation). This feature is enabled in UNO to get variable voltage over constant voltage.

For more such basic arduino tutorials and interesting projects, visit circuitdigest.com