Search on blog

Follow us on facebook

Top sellers

Information

The onboard Potentiometer of the IoT Proto Shield Plus

Published : 03/11/2022 08:37:07
Categories : IoT Proto Shield Plus , Proto Shield Plus


The on-board POTentiometer of the IoT Proto Shield Plus


The IoT Proto Shield Plus comes with one on-board POTentiometer, it is useful to quickly setup a variable analog input for testing.


POT Section of the IoT Proto Shield Plus
POT section of the IoT Proto Shield Plus

POT section of the IoT Proto Shield Plus


Schematic of the IoT Proto Shield Plus POT Section
Schematic of the POT section of the IoT Proto Shield Plus


Default connections


Default connection of the POT section of the IoT Proto Shield Plus


Sample Sketches


The sample sketches are very easy, they let you read the analog value of the POTentiometer.
Download the sample sketches by clicking here.

Location: IoTPSP_Sample_SketchesIoTPSP_POT

According to the board you are using and the signals routing, the sketches read the analog value of the POT and print it to the serial monitor.

Use the IoTPSP_POT_NANO sketch to test the POT with ARDUINO NANO boards.
Use the IoTPSP_POT_ESP32 sketch to test the POT with ESP32 boards.
Use the IoTPSP_POT_ESP8266 sketch to test the POT with ESP8266 boards.


Using the POT with different GPIO pins


According to the above picture of the schematic, POT is routed to the default GPIO pin by means of JP12.
To disconnect POT from its default GPIO pin, you must open JP12 (cut it in the middle).
Solder a header on J7 and, by means of some jumper wires, connect it to another GPIO pin according to your needs.
Please check the default signal routing of the IoT Proto Shield Plus to  avoid conflict with other default connections.


Share this content