First of all, really sorry if this question was asked. Also sorry for my bad english. Anyway, here it goes.
ATmega328/ATTiny85 + nrf24l01 + Solid state relay = Home automation
Is this possible?
if no, can you suggest other hardware materials? but i really want to use NRF24L01 because i want to explore it. it really interest me.
If ATmega328/ATTiny85 + nrf24l01 + Solid state relay = Home automation is possible,
what is more advisable, ATmega328 or ATTiny85?
can i use one voltage source for ATmega328 and nrf24l01 and the relay? like connecting one 220V outlet to supply both ATmega328 and nrf24l01 to turn on or off a lamp (the lamp also uses the same outlet)? (if you didnt understand this question, please tell me cause i have a feeling that i didnt explain it well.)
i want to build this to enhance my skills. i really want to learn using ATmega328/ATTiny85 and NRF24l01. Dont worry about the 220V AC, i have experience in dealing with this voltage and i will take every precautions.
If i didnt explain it clearly, please let me know. really want to learn good day and thank you
as for power, as long as the circuit has the correct DC voltage and currents you should be fine. Since you already go from 220VAC to your power supply to power the Arduino, there is no real change to your 220VAC by adding this SSR.
I am really thankful that you replied. I will update this thread whether if i encounter problems or not. I will try to post pictures too. Thanks and have a good day.
I said before i want the ATmega328 to have the same voltage source as for the bulb that i want to manipulate so i would only have one "box" and plug it into the source. If i want my bulb (for example) to be turned on or off wirelessly, i will plug the bulb to the "box". (i hope you understand it)
So i was thinking to use transformer to step-down the VAC to a voltage that would not fry but supply the ATmega328. I really dont know if i can get to supply the SSR and nrf24l01+ by the ATmega328. So, can anyone suggest how to build this circuit? if possible, i want to make it more compact or smaller. When i dont have anymore doubts, i will buy the materials. Good Day and thank you.
Sir, because you are asking the question means that your experience with live voltage and arduinos is not good enough to give this community the confidence to jump in and offer suggestions.
what you are asking for is a circuit that could kill you or anyone who touches the lamp.
we are reluctant to offer you a way to hurt anyone.
buy a wall power supply that has 5v output.
buy an enclosure, install a plug, plug in the wall wart.
run an extension cord out so you can plug your lamp in.
this way you are keeping as much of the high voltage away as you can.
I am not after home automation, but I want to use nrf24l01 with an ATTiny85, I have tried several times without success.
What I want to know is :
What are the working libraries to drive the nrf from the attiny85 ?
when using the attiny85, only 5 pins are available (after vss/vcc/reset), can the nrf be driven with only 4 lines and the 5th line used to drive a lamp etc (see attached pic which uses a servo)