Pages: [1]   Go Down
Author Topic: individual modules with RF and logic  (Read 483 times)
0 Members and 1 Guest are viewing this topic.
Portugal
Offline Offline
Full Member
***
Karma: 0
Posts: 113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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)
« Last Edit: November 13, 2012, 01:56:20 pm by Maks » Logged

'round the world...
Offline Offline
Faraday Member
**
Karma: 42
Posts: 3260
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

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).

the land of sun+snow
Offline Offline
Faraday Member
**
Karma: 159
Posts: 2916
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Check out the JeeNode too, small and Arduino compatible,

http://shop.moderndevice.com/products/jeenode-kit
Logged

Portugal
Offline Offline
Full Member
***
Karma: 0
Posts: 113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

the land of sun+snow
Offline Offline
Faraday Member
**
Karma: 159
Posts: 2916
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Portugal
Offline Offline
Full Member
***
Karma: 0
Posts: 113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to control the lights too, not to measure the current...
« Last Edit: November 14, 2012, 08:15:50 pm by Maks » Logged

Pages: [1]   Go Up
Jump to: