Tuesday, April 3, 2018

WEEK 5: ANALOG READING- POTENTIOMETER



This is the task that I did to test the board to read the analog input and display it on the serial monitor. A potentiometer is a simple mechanical device that provides a varying amount of resistance when its shaft is turned. By passing voltage through a potentiometer and into an analog input of the board, the amount of the resistance produced by the potentiometer can be measured as an anlog value. The value of the potentiometer resistance is monitored after the serial communication between the CC3200 board and the Energia IDE software on the computer has been established.

Hardware Used :
  • CC3200 board
  • 10k Potentiometer



Connection : 



Connection between the potentiometer and CC3200 board    

The three pins from the potentiometer is connected to the board where the connection to the board is based on the pin description shown on the picture above. The +5V connected to the 5 volts, the ground is connected to the ground and the signal or also known as data pin is connected to the analog pin on the board where I'm using the pin 2 on the board.

I'm using the program "Analog Read Serial" from the example menu and the output is as shown below.

The program and the output display of the potentiometer resistance value.




No comments:

Post a Comment