Classicnewcar.us


433mhz Weather Raspberry Pi html Autos Weblog

433mhz Weather Raspberry Pi html Autos Weblog

Personal weblog about technology, Open Source, perl, GNU etc... One of simplest home automation projects is to control power sockets. Back in the old days, this involved relays and parallel port, but nowadays you can buy ready made power sockets with remote control which work on 433 MHz IMS band. So next logical step is to replace remote control with computer controlled 433 MHz module. In this post, I will explain how to do it using Arduino or Raspberry Pi. For this project I decided to try out two different types of power sockets available at our local hardware shop. As you can see they are quite different, but any of then will work fine. On the other hand, big bulky square ones have much more useful indicator on then which lights up then they are enabled, while smaller round ones have light which just denotes that they are plugged into electricity but doesn't show status of relay inside of them. If you want to communicate with these devices you will need some kind of radio modems. For this project, I decided to use cheap 433 MHz radio modules which come in pair: one of them is sender while another is receiver. On picture you can see modules with attached antenna. I can't stress enough need for antenna. Although modules will work without it, they will have a really poor range of just few centimeters. Antenna should be 172 mm (1/4 of wavelength), and according to my friend who knows something about this things, it's equally bad to have longer or shorter antenna than that. I added 3 mm more for solder joint and it did improve reception and sending range dramatically. You can use any wire for antenna, in my case, I used wire used for wrapping power cords which was long enough to make two antennas. As a first step, I decided to hook them to Arduino Uno to see some waveforms and test rc-switch library. Sure enough it worked on first try. I added project to my ~/Arduino/libraries/RCSwitch directory and used ReceiveDemo_Advanced example to capture signals. Another example, SendDemo enabled me to send signals back to power sockets and turn them on or off. Success on the first try. With a little bit of tweaking I created RF433_Sockets.ino which allows receiving signals, turning sockets on or off or sending raw binary data to test protocols. As you can see on picture, I also connected cheap logic yzer clone to see signals and Bus pirate to monitor signal levels using Bus Pirate oscilloscope python script to make sure that I can connect it to 3.3V level device in next step and I got signals like this on receive pin: Having verified that signal receiver is generating 3.3V signals (up to 3.6V is OK and mine is 3.46V - electronics isn't exact it seems :-), I decided to hook it up to Raspberry Pi so I will have Internet connected control over my power sockets. Following link on rc-switch site to port for Raspberry Pi didn't end up all that well. This version of code doesn't support receiving of data, and sending code generates segfaults. However, after a little bit of searching I found blog post about Adding 433 to your Raspberry Pi from NinjaBlocks which inclues link to github repository with code which works fine. Both versions of code use WiringPi library which is nice way to port Arduino code to Raspberry Pi. When sending signals to 5V devices 3.3V Raspberry Pi GPIO will be usually fine, but when receiving singals, make sure that they are 3.3V or you will fry your Raspberry Pi. Less than $10 and few hours of work... Having said all that, it's really easy to create your own home automation system. So I don't see a reason not to do so... Parts list: (assuming you already have Arduino or Raspberry Pi) 2 sets 433Mhz RF transmitter and receiver kit for Arduino US $2.77 40PCS Dupont Wire Color Jumper Cabl 2.54mm 1P-1P Male to Female 20cm US $2.57 (for Arduino) 40PCS Dupont wire 20cm cable Line color 1p-1p pin connector US $2.68 (for Raspberry Pi) Hi, i'm trying to do the same, but using homeeasy.eu sockets. I'm very new to uno and Rpi. I have rcswitch library added and uploaded sketch ReceiveDemo_Advanced, on pressing a button on my remote nothing is outputted to the serial monitor. Do I need to have both receiver and transmitter connected to the uno to have the signal captured? (i know the remote works as can control sockets directly)I know the transmitter is working from using libraries from http://playground.arduino.cc/Code/HomeEasy. as can control one socketSuspecting my receiver is DOA.. any suggestions?It seems that HomeEasy sockets use different protocol which isn't supported by rc-switch which might explain why you don't see any output when using ReceiveDemo_Advanced which leads me to another note: it's not enough to have 433 MHz device - you also have to use right library for your device.I did have both receiver and trasmitter connected to Uno at the same time, and to make that work, I had to enable transmit as you can see at http://git.rot13.org/?p=Arduino;a=blob;f=RF433_Sockets/RF433_Sockets.ino#l17 because without that receiver didn't work.However, if HomeEasy is using different protocol, rc-switch won't work for you, sorry.Nice article.Just to be sure: you powered the receiver with 5V (and the data goes up to 3.46 only)?Yes, I powered it with 5V, but it does work from 3.3V also.Leave a comment Reply to comment Remember personal info? Subscribe to this blog's feedThis blog is licensed under a Creative Commons License.Powered by Movable Type



= "300"; _height = "250"; _crid = "307215474"; _versionId = "3111299"; Put an 433mhz With Pi.html amid the SUV pods and uninteresting sedans of today’s website visitors and it stands out like a Kandinsky painting at a lawn sale. Sharply creased, using a reduced roof and little slits for ­windows, the 433mhz With Pi.html is sinewy and taut as a result of the midsection and bulging for the wheels. It’s an auto that seems to obtain been pushed straight off an auto-show turntable and on to the freeway. And nevertheless, when it’s slicing past the dawdlers, to presents off a distinctly retro vibe.Presumably it helped the development procedure which the 2.0-litre turbocharged motor is surely an evolution on the very last a particular, instead of something that essential generating from scratch, however, you also perception this automotive has long been forged in fireplace by a Honda that’s identified to show some extent. The warmth associated in such a procedure can also reveal the slightly melty browsing rear bumper.A considerable amount of 433mhz With Pi.html owners stay faithful into the nameplate when it arrives time and energy to purchase a new automotive, but a savvy shopper owes it to him or herself to check out the competition. The current 433mhz With Pi.html is actually a reliable automotive, as well as lineup comprises of some tempting new alternatives, like being an attainable hatchback as well as performance-oriented.Simply because what's a hot hatch for you? Can we describe the category as encompassing any compact household holdall using a major motor including a tweaked chassis, or will need to the theory be far more tightly described than that? Does an appropriate hot hatch have any particular driving traits? Ought to its overall look be subtle for stealth, or will need to it's unashamed and shout about it? 433mhz With Pi.html - Raspberry pi als fileserver - raspberry.tips, Raspberry pi als fileserver einrichten. wer gene daten mit anderen benutzern teilen oder zentral zugängliche machen möchte für den ist ein nas (network attached. Deutsches raspberry pi forum | die rpi community, This is an international subforum. preferred language is english, but everyone and every language is welcome.. Learning python raspberry pi - raspberry pi, I of course like to think you’ll get a lot out of learning python with raspberry pi. learn python the hard way is also excellent if it matches your learning style.. Simple intuitive web interface raspberry pi, The raspberry pi is an amazing 35 dollars mini-computer. it allows you to do everything you could do with a regular linux computer (connecting to the internet. Complete diy raspberry pi weather station software: 7, Back in late february i saw this post on the raspberry pi site. http://www.raspberrypi.org/school-weather-station-they had created raspberry pi weather station. ='600'; _height= '250'; _crid='880163168'; Funksteckdosen mit dem raspberry pi schalten Rpi tutorials elinux Raspberry pi als fileserver raspberry.tips Deutsches raspberry pi forum die rpi community Learning python with raspberry pi raspberry pi Simple and intuitive web interface for your raspberry pi Complete diy raspberry pi weather station with software 7 About Us  |  Privacy Statement  |  Terms of Service  |  DMCA Compliance  |  Contact Us





#Contact US #Terms of Use #Privacy Policy #Earnings Disclaimer