I just received the first PCB prototype for the “Room Node”. Since this is the first version i’m counting on being forced to revise the layout multiple times before get satisfied with the result.
The heart of the Room Node is a Atmel Atmega328 microprocessor which is connected to the RS485 Home Automation bus and working in a slave mode with a Linux server as master.

I call it the “Room Node” since the idea is to have one of these in each room to be able to monitor:
- Temperature (with Maxim 1-wire DS18B20)
- Ambient Light (with a simple photocell)
- Movement / Motion (with an external IR/Microwave motion detector)
I am also planning for a number of “User Interaction” possibilities:
- LED Indicator (To indicate status / alarm state)
- Buzzer (as a complement to the LED)
- Temperature control (a linear rotary potentiometer)
Jag har länge velat kontrollera bland annat mina fönsterlampor från datorn och på så vis kunna fjärrstyra dessa mottagare från när och fjärran.
Jag har sedan tidigare ett antal billiga PROOVE mottagare (samt några dyrare NEXA mottagare) monterade för alla fönsterlampor i huset, så det hela handlade om att komplettera med en sändare som kunde kopplas till datorn.
När jag initialt började fundera på detta så hittade jag lite grundläggande information angående NEXA-protokollets uppbyggnad, men jag kom aldrig till skott att bygga en lösning för det hela. En tid senare så hittade jag en produkt från telldus.se som heter tellstick, denna produkt stöder flertalet protokoll däribland NEXA/PROOVE. Efter att jag hade sett denna produkt började jag bygga på en prototyplösning för att kunna kontrollera dessa mottagare via RS232 porten på min Linux server.

Prototyp av RS232 baserad Nexa sändare
Efter att ha byggt en proof-of-concept lösning på en labbplatta så snickrade jag snabbt ihop en “prototyp” på ett labb-kort. Konstruktionen bygger på en MAX232CPE interfacekrets kopplad till en Atmel ATtiny2313 mikrokontroller som i sin tur skickar styrdata med hjälp av en 433MHz sändarmodul med ASK modulering.