Your shopping cart is empty!
Lesson 4 : Analog Input
- Hussien Jawhar Sathik
- 13 Feb 2023
- Tutorial
- 345
Theory
In this tutorial we shall see how to read the analog value from the potentiometer and display the value in the Blynk web dashboard.
Component Used
Finger Adjust Preset 10K
Breadboard 8.5x5.5cm (400 Holes)
40-Way 10cm Dupont Jumper Wire
Steps
Go to the templates and click the Maker Nano RP2040
Next, click on the web dashboard and click edit.
Find the label widget and drag to the working window.
Click on the Gear button
In the label setting window key in the details as shown in the image below
Next key in the details in the new window as per image below and click create.
In the next window click the show level and click the save button.
Hardware Setup
Code
Remember to replace the wifi user id and password and the authentication key.
Result
From the image, it can be seen that the local value on the serial monitor and the Blynk value are the same. This is just to replicate the analog value. The potentiometer used in this lesson can be replaced with another sensor.