read analog pin ()

read analog pin

Read analog pin () is a reporter block found in evive blocks, Arduino Uno blocks, Arduino Mega blocks, and Arduino Nano block. The block returns the value of analog pins available in the connected hardware. Analog reading is of 10 bit resolution, hence the range of value is 0 to 1023. This range is mapped to the voltage of the pin (normally 0 to 5V). If the value received is 512, the voltage value will be around 2.5V.

Available pins:

  1. evive: 10 analog pins available for the user, A0 to A5 & A12 to A15
  2. Arduino Uno: 6 analog pins available for the user, A0 to A5
  3. Arduino Mega: 6 analog pins available for the user, A0 to A5
  4. Arduino Nano: 8 analog pins available for the user, A0 to A7
evive Notes Icon
Note: This block is available in both Upload mode and Stage mode.

Example

  1. Displaying the analog value of potentiometer 1 in stage mode.
    potentiometer example
  2. Controlling servo motor connected to channel 1 of evive using the potentiometer 1.
    potentiometer example 2
This helped
This didn't help

Content is available under CC BY-SA 4.0 unless otherwise noted.

Related Tutorials, Projects & Documentation

Interfacing Joystick module with evive

In this tutorial we will interface joystick module with evive and we will move rectangular box drawn on TFT display according to the movement on joystick module

How to interface Water Flow sensor with evive

In this tutorial, we will discuss how to interface water flow sensor with evive. How water flow rate, current water flowing and output water changes? The water flow rate in liters per hour, current water flowing and output water flowing data flowed since starting is displayed on the screen. All the answers are given in this tutorial.LET'S BEGIN...
Smartphone Controlled Plant Watering 600px

Plant Monitoring System

This project demonstrates how to track parameters like moisture of the soil, sunlight, humidity, and temperature of the plant environment and display it on evive display.

All articles loaded
No more articles to load
PictoBlox Supported Boards
Extensions
Close Menu
×

Cart

No mo #FOMO on the coolest project-making app out there!

Check it out RIGHT NOW on Product Hunt!
Launch-Pop-Up
Dabble is trending on Product Hunt!
Check it out and let us know what your favorite feature is. 😉
x