In: Electrical Engineering
Design the hardware connection of the SEN-11931, reuse the 4-bank 7-segment LED connection from Lab 4 for the mbed to read the temperature from the SEN-11931 and display the temperature in Fahrenheit degrees on the LED display in the format of xxx.x. Build your circuit and include all the required information about your hardware design in your lab report. You will also need to make the decision on whether pull-up resistors are needed.
What is SEN-11931 ?
SEN-11931 is a Breakout Board or sensor which is used to measure the temperature. This sensor is also known an TMP102. This sensor must be Normally connected to the Microcontroller PIC16F1829 or similar microcontrollers.
Note: You can use the microcontroller which is trained or used in your laboratory. ( since no information about the microcontroller is given in the question).
Do We really Need Pull up Resistors?
actually this board has an inbuilt 4.7Kohm pull up resistors for the I2c communications and thus we dont be requiring any of the external pull up resistors provided the board works from 1.4V to 3.6V.
HardWare Connection:
The connection of SEN-11931 breakout board to the 4 banks of & segment LED display is given as,
Here we need to display the temperature reading in fahrenheit, but the breakout board will read the temperature in celcius hnce we need to convert the temperature from celcius to the fahrenheit degrees.
The mbed Program to display the temperature reading in fahrenheit is shown as,