Go Down

Topic: individual modules with RF and logic (Read 513 times) previous topic - next topic


Nov 13, 2012, 07:35 pm Last Edit: Nov 13, 2012, 07:56 pm by Maks Reason: 1
hello everyone,

at the moment i have and arduino mega 2560 and im using it to try to control the light switchs at home, atm i have an encoder, an RF transmitter connected to the arduino, and a individual board with a decoder, RF receiver and a relay to change the state of the light switch, so far so good, now im facing a problem...
I want to know the true state of the light, cause at the moment, if i turn on the light using the board and then turn off the light using the switch, on the software i get that the light is still on but in reality it is off.
i've been told that i could use an opto-coupler so i can know if its on or not, but i need to find a way to transmit it to the arduino. the size of the board is a problem, i need it to be the smaller as possible.
I've thought about a board with a micro-controller, an opto coupler and the nRF24L01+, something like this

You think this is doable? will it be big? im planning on having this around the house, so we're talking about quite a few (around 14)


One option... use a relay in series with the light bulb and the contact connected to the microcontroller... that means you'll use two relays for the same purposee.

Another option might be something like this: http://www.fairchildsemi.com/ds/MI/MID400.pdf the problem is that the lightbulb will draw quite some current and you might end up dissipating lots of power on that resistor.

The other is an LDR, but that might be strange to implement in a house.

Is it that important to know that you have power in the house or that the lightbulb is not broken?
Eu não sou o teu criado. Se respondo no fórum é para ajudar todos mediante a minha disponibilidade e disposição. Responder por mensagem pessoal iria contra o propósito do fórum e por isso evito-o.
Se realmente pretendes que eu te ajude por mensagem pessoal, então podemos chegar a um acordo e contrato onde me pagas pela ajuda que eu fornecer e poderás então definir os termos de confidencialidade do meu serviço. De forma contrária toda e qualquer ajuda que eu der tem de ser visível a todos os participantes do fórum (será boa ideia, veres o significado da palavra fórum).
Nota também que eu não me responsabilizo por parvoíces escritas neste espaço pelo que se vais seguir algo dito por mim, entende que o farás por tua conta e risco.

Dito isto, mensagens pessoais só se forem pessoais, ou seja, se já interagimos de alguma forma no passado ou se me pretendes convidar para uma churrascada com cerveja (paga por ti, obviamente).



its not important to know that the light bulb is broken...
its important to know if the lights are on or not and be able to turn on/off remotely...

In my head what i'm asking looks easy but hardware speaking i don't know...

About jeenode, it looks basically that it could cover the part of communication, but not the most important part at the moment, that is, know the actual state of a lamp


The JeeNode has an Arduino on board, so you can use it to read the voltage and current at
the loads.


Nov 14, 2012, 08:44 pm Last Edit: Nov 15, 2012, 02:15 am by Maks Reason: 1
I want to control the lights too, not to measure the current...

Go Up