Hello i`m working on automatic climate control for my car.
I`m using 2 boards with a 18F452.
The main task of board 1 wil be:
Control a GLCD 320x240 with Touch screen.
- 2x pwm
- DS18B20-par for external temp.
- 4 outputs..
- 2 inputs.
board 2:
- 4 servo`s
- 2 PWM
- 10 outputs
- 6 inputs
- 5x DS18S20
For communication between the pics i wanted to use the hardware uart of the 452`s.
Now the question is what is the best approach to complete this?
Is Usart the best option or is there a better way?
the following needs to be transmitted:
- Fan speed 0% > 100% or Auto Pic1 > pic2
- Servo Flaps position pic1 > pic2
- Desired cabin temp Pic1 > pic2 (pic2 will then deal with getting to that temp.)
- outside temp. Pic1 > pic2
- On request the readings from the DS18S20`s Pic2 > pic1
- Ac on / off / auto Pic1 > pic2
- Recirculate
- Rear defogger
- dome light 0% 100% Pic1 > pic2
- 4 door contact inputs pic2 > pic1
Anyone a idea?
Ooh... Another question pops up..
I`m runnig @ 40mhz but i`m not happy with the speed my LCD refreshes.. Its so slow.. How can that be?
Thanx in advance!
Greetz, Gert
Need a little help with my climate control project! *noob*
Moderators: David Barker, Jerry Messina
-
- Posts: 42
- Joined: Fri Jan 18, 2008 10:39 am
- Location: Emmen/ Netherlands
-
- Posts: 42
- Joined: Fri Jan 18, 2008 10:39 am
- Location: Emmen/ Netherlands