Arduino code help
- or -
Post a project like this$$
- Posted:
- Proposals: 9
- Remote
- #1681062
- Expired
Electronics design, analog design, embedded coding ,PCB design and software(CCS,HTML,Javascipt, Java, Python,Matlab, PHP,Wordpress)
Ankara
486797681848782300100885312249261353907150988817265751810963
Description
Experience Level: Intermediate
So bear with me as this is my first post here.
I am building an Arduino Uno R3 based controller for a glycol cooling system.
I have the following:
1 Arduino UNO R3/power supply/proto shield
4 DS18B20 temp sensors ( which I had gotten the addresses noted, all are 5v, using a single 4.7k ohm pull up resistor) for:
-tower temp
-glycol res temp
-return temp
-cooler output temp
5 momentary switches for
-thresholdA up/down
-thresholdB up/down
-clear count
1 dual relay breakout board for pump controlling.
-Relay1 for cooling pump
-Relay2 for circulation
1 4 line LCD for display and monitoring
Basically, the function shall be
if tower temp is above thresholdA and glycol temp is below thresholdB, relay1 activate.
If glycol temp goes above thresholdB by 5 degrees, disactivate relay1
If glycol temp is above thresholdb, relay2 activate.
relay1 should only remain active for 5 second bursts, so maybe a delay and relay1 off then return loop.
As for the display, I want to use the display to show the following
'Tower Temp:' = tower temp sensor
'Tower Temp Goal:' =thresholdA*
*(to replace 'tower temp' on display when adjusting then go back 3 seconds after adjustment is made, each press of either the up momentary or down momentary result in 1 degree change in thresholdA)
'Glycol Temp:' = glycol res temp
'Glycol Temp Goal:' =thresholdB*
*(to replace 'glycol temp' on display when adjusting then go back 3 seconds after adjustment is made, each press of either the up momentary or down momentary result in 1 degree change in thresholdB)
"Cycle Count:" = how many times relay1 has been activated and time in seconds since last cycle
*momentary button to clear above values to zero*
"Cooler Effect:" = (glycol res temp - cooler output temp)
And replace "Cooler Effect" when relay1 becomes active, display (and for 5 seconds after relay deactivates)
"Return Temp:" = return temp
I have a schematic, but it can change based on code requirement (pins etc)
Thanks in advance.
I am building an Arduino Uno R3 based controller for a glycol cooling system.
I have the following:
1 Arduino UNO R3/power supply/proto shield
4 DS18B20 temp sensors ( which I had gotten the addresses noted, all are 5v, using a single 4.7k ohm pull up resistor) for:
-tower temp
-glycol res temp
-return temp
-cooler output temp
5 momentary switches for
-thresholdA up/down
-thresholdB up/down
-clear count
1 dual relay breakout board for pump controlling.
-Relay1 for cooling pump
-Relay2 for circulation
1 4 line LCD for display and monitoring
Basically, the function shall be
if tower temp is above thresholdA and glycol temp is below thresholdB, relay1 activate.
If glycol temp goes above thresholdB by 5 degrees, disactivate relay1
If glycol temp is above thresholdb, relay2 activate.
relay1 should only remain active for 5 second bursts, so maybe a delay and relay1 off then return loop.
As for the display, I want to use the display to show the following
'Tower Temp:' = tower temp sensor
'Tower Temp Goal:' =thresholdA*
*(to replace 'tower temp' on display when adjusting then go back 3 seconds after adjustment is made, each press of either the up momentary or down momentary result in 1 degree change in thresholdA)
'Glycol Temp:' = glycol res temp
'Glycol Temp Goal:' =thresholdB*
*(to replace 'glycol temp' on display when adjusting then go back 3 seconds after adjustment is made, each press of either the up momentary or down momentary result in 1 degree change in thresholdB)
"Cycle Count:" = how many times relay1 has been activated and time in seconds since last cycle
*momentary button to clear above values to zero*
"Cooler Effect:" = (glycol res temp - cooler output temp)
And replace "Cooler Effect" when relay1 becomes active, display (and for 5 seconds after relay deactivates)
"Return Temp:" = return temp
I have a schematic, but it can change based on code requirement (pins etc)
Thanks in advance.
Rye K.
0% (0)Projects Completed
-
Freelancers worked with
-
Projects awarded
0%
Last project
11 May 2024
United States
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies