Hey guys,
Ill try and keep this as simple as possible.
I’m currently working on a project. It’s basically a home made soft drink dispenser, similar to one of the ones you see behind the various fast food outlets. What I'm doing is having 4 valves controlled by 4 solid state relays. These relays are controlled by a picaxe which connects wirelessly (those 433 transmitters and receivers from jaycar electronics) to another picaxe to control these valves via a "remote control" sort of connection.
So that’s a very quick run down on what I’ve planned. Now here is the part I'm having problems with. I have 3 temp sensors, 2 Dallas ds18b20 and a ds18b20+. I also have these connected to the Picaxe (28X) which will send this data over to the other picaxe (28X) wirelessly also. I understand you can't execute 2 lines of code at the one time, but can someone give me a basic idea of what I need to write so that I can control these relays as well as send the temp's from the sensors back to an LCD (same as the picaxe website’s) screen when not controlling these valves.
For example, when controlling the valves, the LCD screen changes to a message say “Now dispensing COKE” and when it’s not dispensing it should display on the top line “Current temp’s:……” and on the bottom line “Please select drink” or something similar. I have got no idea where to start, but that’s all I really need – just a start as I have some knowledge of picaxe/picaxe programming.
Any help would be great.
Cheers.
Ill try and keep this as simple as possible.
I’m currently working on a project. It’s basically a home made soft drink dispenser, similar to one of the ones you see behind the various fast food outlets. What I'm doing is having 4 valves controlled by 4 solid state relays. These relays are controlled by a picaxe which connects wirelessly (those 433 transmitters and receivers from jaycar electronics) to another picaxe to control these valves via a "remote control" sort of connection.
So that’s a very quick run down on what I’ve planned. Now here is the part I'm having problems with. I have 3 temp sensors, 2 Dallas ds18b20 and a ds18b20+. I also have these connected to the Picaxe (28X) which will send this data over to the other picaxe (28X) wirelessly also. I understand you can't execute 2 lines of code at the one time, but can someone give me a basic idea of what I need to write so that I can control these relays as well as send the temp's from the sensors back to an LCD (same as the picaxe website’s) screen when not controlling these valves.
For example, when controlling the valves, the LCD screen changes to a message say “Now dispensing COKE” and when it’s not dispensing it should display on the top line “Current temp’s:……” and on the bottom line “Please select drink” or something similar. I have got no idea where to start, but that’s all I really need – just a start as I have some knowledge of picaxe/picaxe programming.
Any help would be great.
Cheers.