In this project, we will implement a Proportional Derivative (PD) controller to
control temperature using the Romeo MCU board and the Temperature Control Board
(TCB) . All code must be written in C and must compile using
AVR software.
Hardware required
Kits:
● Romeo Microcontroller Kit: (Kit1)
● Temperature Control Board from the PID Controller Kit, (Kit5).
Additional Hardware: - Tin foil/Aluminum, Tap - Thermometer (optional)
Project details This project is broken into three sections
1) Controlling the heat source –
For this project, we are using the incandescent bulb on the TCB as a heat
source. We are going to use the motor driver on the Romeo board to direct
power to the bulb. On the TCB, there are 2 pins labeled bulb. Connect them to
either M1 or M2 on the Romeo board (polarity does not matter). Connection is
shown in Figure 1. Implement a Pulse Width Modulation (PWM) to control the
power to the bulb. We must implement 2 functions
void initPowerControl (void) //Initialize Counter 0 for PWM output
void PWM(uint8_t) //Change duty cycle
Warning: the power adapter that comes with the kit is a 12VDC supply, and the
bulb requires 6VDC. Therefore, the maximum duty cycle of the PWM signalshould be 50%.
Figure 1
2) Reading temperature –
On the TCB there is a label “sensor” which is a thermistor. A thermistor is a type
of resistor whose resistance changes with temperature. Connected to the
thermistor is a 10K resistor. Together they make a voltage divider. There are 3
pins on the TCB labeled Vcc, GND and S. Connect Vcc and GND to the Romeo
MCU accordingly and connect S to one of the analog ports. The analog value
that the MCU reads can be converted into resistance and then converted into
temperature using the Steinhart-Hart equation.
Implement a function that takes in raw analog value as input and returns the
temperature in Celsius as a float.
float analogToTemp(uint16_t)
Warning: If the participants follow the tutorial by Adafruit, note that the tutorial
setup the voltage divider differently than the TCB (see Figure 2), hence either the
code needs to account for this or a simpler solution would be to swap the Vccand GND connections on the TCB.
Figure 2
Testing This particular setup should provide a reasonably accurate
temperature reading. The accuracy test will be done using a piece of ice as
shown in Figure 3. Using the configuration shown in Figure 2 the temperature
output should be within 5 degrees C of 0.
Figure 3 - Temperature test configuration3) PD Controller – 20 Marks
Participants must implement a PD controller to control the temperature output by
the light bulb on the TCB. For better heat conductivity press the thermistor
against the light bulb then wrap a small piece of aluminum foil or tape around it
(see Figure 4).
Figure 4 - PD Controller setup
Warning: Because such that the aluminum foil does not short out the terminals
of the bulb. Put some electrical tape as shown on Figure 4.
Write a C program that performs the following tasks. Starting with a cooled down
system at room temperature, the program reads in the ambient room
temperature. The target temperature is set to be 25 degrees above room
temperature. The PD controller must change the power output of the bulb to
bring the temperature up to the target temperature as fast as possible and
maintain it there without overshooting it. All the data should be displayed through
the serial console as shown in Figure 5
Welcome Sir
I can help you in successfully completing your project. I am an expert in the Arduino field. I have done many similar projects for this work. Send me all the details.
Here are some of my work
I unveiled an integrated Arduino smart control system at Nestle Ice Cream Company
I made a car robot that avoids obstacles
I made a Bluetooth controlled robot and showed me its location on the phone
I made a Wi-Fi-controlled robot
I made an integrated smart control in a mini city
I made a robot that is used for protection and it shows me the temperature and humidity of the place and it also shows me the percentage of gas in the place and can send me the percentage of lighting in the place and the distances around it
-c/c++
-Drones
circuit Design
-fritzing
-proteus
-Tinkercad
-PCB design
-plc
-cad
Hello. I read your description carefully. I understood what to do. I am a Software and Hardware Engineer. I mastered various control programmes for PIC, ATMEGA, ARM and FPGA with C and VHDL/Verlog HDL. I have deep knowledge about PID controller. I can do it perfectly. Pleas discuss more details on chat. Best Regards.
Hi , i will develop the project which ll achieve our desire output with very less cost by selecting good and cheap part by comparing from different supplier . As i have very good experience in design and as well as in VAVE
Hi.
I am based In BC Canada.
Need at least 8 to 10 hrs man power which include off shore development with bring up. I can work on your setup provided you spare the setup including dev kit and bare the shipping cost and I am confident on this task.
Timeline: 1 to 2 weeks. Part time.
And if you look for only software development/delivery, I can work on it in a lower budget which will be under your budget.
Santhosh
hello
My name is Mohamed , with working experience with AVR Microcontrollers and proven record of projects using Real time OS
and implementing my own Small operating system I think this project fits me perfectly
as it requires knowledge in real time systems , also I was previously developing a project with similar specs it was multiplexing 8 channels of ADC in Atmega32a
Projects like : Small Operating system
In this project i have built a small operating system (SOS) that creates tasks and run it on a low performance Micro controller (Atmega32a )
Timer Management Unit
In this project i built a driver that controls multiple Timers and this driver was essential to be able to build Small operating system .
Basic Communication Module
This drivers controls Both SPI , Uart
Communication Modules and make a stack for the info received or transmitted by Communication Modules All details of this
I am interested in your project. I am an experience embedded engineer who worked on varieties of controllers, including multicore with safety critical system
I hope I can give the best to you.
Thanks & Regards
Partha Sarathi Mishra