Thanks for the suggestion, but what do I need specifically? Do I need a breakout board or ribbon cable etc? Or just some wires and the RF Module.joan wrote:I suggest one of the top two of these starter kits.
http://www.smart-elex.co.uk/RaspberryPi ... CCESSORIES
That 433 device is SMT which means it is tiny and impossible to solder unless you are pretty competent.
You can get rx/tx pairs in breakout board format on eBay for a few pounds.
Code: Select all
remote power switch site:raspberrypi.org
I looked through the search page, and there still isn't anyone specifically explaining how to do it, some people just tell you what pins to connect to, some assume you already have the Module setup, and some just look like a bodge...Hove wrote:Google this:- loads of hits on the forums. I tried the same for Nexar and got zero hits, so you definitely need to look in detail about how others have done it.
Code: Select all
remote power switch site:raspberrypi.org
I have read through some of the magazines and *still* can't find someone that can tell me how I connect to these pins!Hove wrote:I suggest you read through the MagPi magazine http://www.themagpi.com (free online) - that has projects from the very basic connecting to GPIO pins, through to advanced projects akin to your household power management. You need to know about the basics before you even think about the details of the advanced project like remote household power management. Once you understand the GPIO stuff, then the many articles about household power remote control on the forum will make a lot more sense and you'll be able to make progress successfully by yourself and learn a lot of interesting stuff along the way, and perhaps have fun rather than just getting frustrated.
boyoh wrote:Learning electronics is a must if you want
Use the Pi to It's full potential. But you
Must start from the bottom . Reading
And building circuits on a bread board
Is the only way to learn. Remember
The Pi is useless unless you have
Something to program The project
Must be designed , before you
You write the program to run the project
To connect to Pi GPIO pins you can use
26 pin ribbon cable from the Pi to a
A bread board with a adapter .
It is possible to connect directly to
Pi out put pins ,using jumper leads
You can get them with Male to Male
Male to Female / Female to Female
Ends on them. But I don't recommend
To a beginner
Learning electronics there is no Magic Formula
Other than reading and building
By the way do you live in the Uk If so Maplins for the jumper wires
Ah okay, I think I understand. But ifboyoh wrote:This might help you under stand how to
Set a GPIO in/put pin to receive a
A input signal, And why 10k resistor
Why is the resistor needed on GPIO in/put
There is a logic state called Tri-state (3-state) logic
State ( 1 ) called floating neither 1 or 0 .
To use it to receive a Active 1( High )
You must fit a 10k hold down resistor
From the GPIO to 0v- .
To use it to receive a Active 0 ( low )
You must fit a 10k resistor from the
GPIO to 3.3v+
When using a GPIO in/put pin, it must not be left floating
The Adafruit site does look quite useful, but ideally I don't want to have to solder anything. I don't have much experience doing it, and don't have any soldering equipment in the area I intend work on the project. Can I buy a board that doesn't need soldering and comes premade so I can just plug it in?scotty101 wrote:
http://learn.adafruit.com/adafruit-pi-c ... t/overview
I would suggest something like the Adafruit pi cobbler. It uses a ribbon cable to connect to the raspberry pi and it breaks out the signal on to a breadboard where you can construct any circuits you wish to build.
The tutorials on the Adafruit website are excellent and should give you enough information to start with your basic single LED all the way up to more advanced projects.
I have seen that before, as my Nexa plugs should be coming today, I think I'll give it a go! Think it may need a wire to act as an aerial though, but if it works on a short range without it then that would be great!toxibunny wrote:OHere's an interesting link, OP : http://www.skagmo.com/page.php?p=projects/22_pihat
Pros: no soldering or any additional components *needed* to make it work.
Cons: possibly illegal. ;P
Have you watched any YouTube tutorials on connecting stuff to the gpio, OP?
There could be a magic answer though! If someone replied and said 'All you need to do is connect a jumper lead into the pins (it literally plugs in), then wrap the other end of the wire around the hole in the transmitter, and it is connected! Then pair it with the Nexa, and your done!' I honestly can't imagine it being too much more difficult than that.boyoh wrote:I think you are waiting for a Magic answer to your project
I'm sorry there is no answered ,that you seem to understand.
Forget complicated projects that you don't understand yourself
You seem to want to launch a Rocket with out a launching pad
You said you have had the Pi for 2 years , that is a long time
My advice is build a few simple circuits on a breadboard
Using a few resistors / led's / Transistors
Get that projects book of simple circuit from Maplins
And get building
Regards BoyOh Selby UK
Thank you, the thing is though I don't really have time to experiment and learn the basics of electronics etc. as this isn't actually for me, and I need to get it done as soon as possible.toxibunny wrote:1. Get a pi cobbler, breadboard, 10 LEDs and resistors, and a couple of breadboard-friendly push buttons. Get them from the shop and ask them to show you how you'd use them.
2. Do a small thing on the breadboard involving flashing leds, buttons, and pull-up and pull-down resistors. Write your own code for it. Make sure you succeed at this first before moving on.
3. At this point you'll grok how to use GPIO. For your wireless automation project, you should use the ready-made modules you can get cheaply on ebay. For a finished project of any sort, you will need a soldering iron and stripboard/perfboard/prototyping PCB...
Keep it *very* simple to start off with - one LED lit safely is a good start. Electronics is an absolute morass and it's easy to spend weeks and weeks and weeks reading theory without getting anything done because it's just too complex.
Why do you have so many connections though?boyoh wrote:This is a photo of my lay out
I designed the Interface board
To work between the Pi and the
Bread board, All 26 pins are
Fitted on the interface board
An are numbered, Also I fitted
4 opto Isolators to separate
The different signal voltages
Opto Isolators give total Isolation
Between differ signal levels
The board is Vero board / strip board
All pins soldered
Could be a project for you later on
Thank you.Si. wrote:Hi, I have some material about using the serial port in my "Raspberry Pi Cookbook". I also blogged a bit about using it to connect to an Arduino, here: http://www.doctormonk.com/2012/04/raspb ... duino.html Although this uses the USB port, the principal is the same (as is the Python).
The electronic connections are pretty straight forward, assuming the transceiver is 3V, then Rx to Tx and vice versa and anything coming out of the serial port will also be transmitted. To control RF switches, you probably only need to transmit. If this is the case, then you can connect the TXD of the Pi even to a 5V RF transmitter's Rx pin without the need for level conversion.
The problem is knowing the protocol that the RF remote uses to control the RF switches. If you can find a datasheet and see what it is expecting then great. Its quite likely to be proprietary and so that may not be possible. If this is the case, then one option is to use the receiver to sample what happens when you press a button on the existing RF remote and record the signal for later playback, but you will either be guessing at baud rates, or bypass the serial port entirely and just write code to sample the receiver RF command on a digital input, save it in to an array for later playback (quite advanced).
A real low tech approach is to 'hack' the existing remote hardware and wire relay contacts across the button. Not elegant, but it works! Then all you have to do is activate the relay from a GPIO pin. Controlling a relay from GPIO is something that I cover in the Raspberry Pi Cookbook (recipe 9.5).
Also, just to chime in on the general breadboard and bits thread within a thread, I designed this kit which also contains a raspberry leaf to pop over your GPIO pins and make life much easier:
http://www.monkmakes.com/#!/~/product/c ... d=32645469
Hope some of this helps.