Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Self - study project 1 This is a simulation exercise in Tinkercad. Use the temperature sensor TMP 3 6 with the following circuit to measure

Self-study project 1
This is a simulation exercise in Tinkercad.
Use the temperature sensor TMP36 with the following circuit to measure the temperature and
transmit the measured temperature in \deg C via UART to the Serial Monitor(using Serial.print()).
You can change the temperature by clicking on the sensor during simulation so that the shown
temperature scale is shown.
Use the data sheet of the sensor TMP36 to familiarize yourself with the sensor (the data sheet is
easily found via any internet search engine). Use the data sheet or make experiments to find the
relationship between measured voltage and temperature.
Task2
Convert a digital number to be passed to the function as parameter to a
temperature and return the temperature (whole number between -40 and 125). Use
the following prototype:
int8_t calculate_temperature(uint16_t digital_value);
Measure a temperature by initiating an analog to digital conversion and calling the
function from above (calculate_temperature()). Use the following prototype:
int8_t measure_temperature(void);
Send a temperature value formatted to the serial monitor. Use the following prototype:
void transmit_temperature(int8_t temperature)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions