Tuesday, April 10, 2018

WEEK 7: pH SENSOR

This time the pH sensor has arrived after a lot of problems faced during the delivery process where the shop assistant does not update the order status of the item. The pH sensor comes with the pH probe, pH module and the buffer pH solution. I have to wait until the buffer pH solution arrived first in order to test the pH sensor because somehow there is no buffer pH solution in the parcel received. 

I have informed the shop assistant about this problem. The shop assistant said that the cost of the delivery will be covered by them and the calibration solution will be arrived in 1-2 working days. 

pH probe.

pH module.
Pin configuration of the pH module.

WEEK 6: DS18B20 WATER TEMPERATURE SENSOR

The DS18B20 water temperature I oredered from Cytron Technologies has arrived.

DS18B20 water temperature sensor.

The hardware used :

  • DS18B20 water temperature sensor
  • 2.7k resistor


Connection:


Connection between the DS18B20 and CC3200 board

The DATA pin is connected to the pin 10 of the board.

The 2.7k resistor is connected to the VCC and DATA pin of the DS18B20.

I refer to the DS18B20 Testing in circuit constructing and testing where OneWire protocol is used in the providing calibrated digital temperature readings directly which is why the DATA pin is connected to the CC3200 digital pin. For more information about the OneWire protocol can be found here.

The OneWire program can be found in the example tab on the Energia IDE to test the DS18B20 sensor.

Choose the DS18x20_Temperature program from the OneWire tab.

OneWire program.
The output for the program is as shown below. It displays the temperature measured by the DS18B20 water temperature sensor when uploaded into the CC3200 board.

The temperature measured is displayed on the Serial Monitor.


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.