I know someone else has made a Bluetooth transmitter to a relay so i wanted to ask a few questions about it being possible? I am an almost newbie at electronics but i do know a few things, so first of all I want to power my ATtiny85 from wall power because i want my ATtiny85 inside the wall of my house to control the roof light and i want it to be powered always how would i do that? Second is it possible to switch a 220V AC relay from the ATtiny85 if not would i be better off with an arduino?
Thanx
Control relay from Bluetooth on ATtiny85
arduinoattinybluetoothpower supplyrelay
Best Answer
Yes it is possible.
If you buy a module like HC-05, that needs two pins, TX (Transmit) and RX (Receive).
Example: http://arduinofy.blogspot.se/2013/05/attiny-bluetooth.html
Yes, you need a driver since most 5volt relay needs more current than a ATtiny can handle. A Relay driver is just a couple of discrete components.
Example:
Use the search words "arduino mosfet relay driver" at your favorite search engine and you will find what you are searching for.
No, only if you need more memory and pins.
And as a addon: If you plan to control it from an Android I can recommend "App Inventor form MIT" to program your app or you can have a look at mine ;-)