Raspberry Pi Model A+ Manual


Læs gratis den danske manual til Raspberry Pi Model A+ (4 sider) i kategorien Ikke kategoriseret. Denne vejledning er vurderet som hjælpsom af 63 personer og har en gennemsnitlig bedømmelse på 4.5 stjerner ud af 32 anmeldelser. Har du et spørgsmål om Raspberry Pi Model A+, eller vil du spørge andre brugere om produktet?

Side 1/4
Control wireless mains sockets with Arduino and
Raspberry Pi
Posted by stuartChilds on Tue, Jan 13 2015 16:39:00
LightwaveRF (LWRF) is a range of switches, dimmers and other home automation hardware
that is widely available in the UK and further afield, sometimes sold under other brands such
as Siemens. They are affordable units that are easy to work with.
Working with off shelf products, such as remotely switchable mains sockets, means that -the-
we can concentrate on control without having to deal with mains voltages directly.
A set of 3 switchable mains sockets can be bought for around £20 including a remote that
appears to be compatible with up to 16 switches in total. Here we will replace this remote with
our own wireless hardware, so that we can have programmable control.
The LightwaveRF protocol
One great thing about the LWRF protocol is that it fairly simple and has already been reverse
engineered by people looking to build their own home automation systems. This means that
we can use readily available libraries and examples to quickly interface a microcontroller or
computer with the hardware.
The LWRF system operates on 433 MHz and uses simple On/Off Keying (OOK) modulation,
whereby the carrier is turned on and off to transmit information. Low cost transmitter modules
suitable for use with Arduino and Raspberry Pi are commonly available.
Arduino control
Hardware required:
Arduino (any AVR based model)
Prototyping breadboard
433 MHz transmitter module
Jumper wires
LWRF mains socket
First we will connect the radio module.
The QAM- -TX1 433 module has 4 pins:
ANT (Antenna) a 174mm length of solid core wire makes for a suitable antenna.
VCC 5v from Arduino.
DATA Arduino pin 3 for the unmodified 'lwsend' sketch.
GND ground connection to the Arduino board.
We'll be using the excellent written by Lawrie Griffiths. Add this to your LightwaveRF library
Arduino libraries folder and upload the 'lwsend' example to your Arduino.


Produkt Specifikationer

Mærke: Raspberry Pi
Kategori: Ikke kategoriseret
Model: Model A+

Har du brug for hjælp?

Hvis du har brug for hjælp til Raspberry Pi Model A+ stil et spørgsmål nedenfor, og andre brugere vil svare dig