While I realise that there are lots of products available off the shelf for this, my view is this: "If someone else can do it, I can too - even if it's not as good"
So.. my project is that of home automation.
There are three components to the project:
The Host
This will be a RasPi, with an off the shelf RS232 RF Transceiver module, I will write the software for this.
The host will send commands out to a number of slaves telling them what to do, and will recieve status updates from the slaves informing the host of what they have done.
The Slave
This is currently where my project has hit it's stumbling block.. (Microcontroller programming and associated circuitry is the one subject of electronics which I did not to very well at in college)
The slaves need to receive RS232 communication from a RF Transceiver matching that in the host.
When a command is received, this will output on a number of output pins and confirm the change with a status update over RS232 to the host.
The slaves will need to have an ID stored in some way (preferably in such a way that each individual slave doesn't have to be specifically programmed in software, maybe jumpers or DIP switch) so that it will only act on commands meant for it.
When a change is detected on a number of input pins, the slave will then push this change to it's output pins and send a status update over RS232 to the host.
IO Modules
The output modules will take the output logic from the slave and convert it to some desired output - be it dimming a light, or turning a stepper motor, or simply switching a relay.
Also, when the user interacts with the output module, the change will be sent into the slave's input pins to be communicated back to the host.
The idea behind this is so that I can manufacture a generic slave circuit and simply plugin in cheaper IO modules to change the purpose of the slave, even if the purpose of the IO module is simply a sensor - such as temperature.
In summary..
The host - I can manage myself
The IO modules - I can manage myself
The Slave - I don't know where to start...
Components chosen so far...
- RasPi
- RF Module - Datasheet Here
Any ideas or help would be appreciated (constructive or otherwise)
Cheers
ripzay







