Programming Archive

433MHz MX-RM-5V receivers and antenna attachment

Posted November 4, 2018 By Landis V

I’ve been playing with Arduino (technically, ESP-M3) and a cheap 433 MHz receiver I picked up from eBay, model MX-RM-5V (also marked 080408).  I managed to get a basic program working that used RCSwitch and PubSubClient to push message information to my MQTT server when I pressed a button on an inexpensive Spigen 433MHz doorbell I had purchased, but unfortunately the range was limited to only about a yard.  I understood that adding an antenna to these receivers had the potential to significantly increase the range, but everything I found suggested that the receiver I was working with was slightly different than the standard MX-RM-5V receiver, and that my antenna attachment pad actually sat between the two contacts for the induction coil.  I tested the attachment of an antenna here, and found that it didn’t work.  Every picture I could find of this receiver showed a different induction coil than what I had.

Today, it finally occurred to me that maybe my receivers had been made incorrectly.  Since I’d ordered a four pack, I dug through the other three, and sure enough, two of them have the three coil inductive loop seen on every picture of these on the Internet, and connected to the pads they are typically connected to.  The other two – including the one I happened to chose to work with – have an eight coil inductive loop, which bears a suspicious resemblance to the inductive coil present on the transmitter.  Looks like I just happened to be the lucky guy who received the components assembled by the new guy on the production line.  Wanted to share this in case a similar issue comes up for anybody else.

The four receivers, and a transmitter (top right). You can see that the inductive coil on the top two (problematic) receivers looks suspiciously like the one installed on the transmitter. This was taken after attaching my antenna to one of the correctly made receivers and testing.

Once I connected an antenna (see https://www.instructables.com/id/433-MHz-Coil-loaded-antenna/) to one of the properly made receivers, my reception increased from a yard to maybe 30 feet, and also gave me the capability to receive signal through an exterior wall which is what I really wanted.

Close-up of the properly made receiver with the antenna attached, with an improperly made receiver above.

Be the first to comment

Trying to build a useful home calendar

Posted April 25, 2016 By Landis V

One of the things I’ve been planning/intending to do is build a home calendar that shows all of our events at a glance, and to run it on a tablet or something similar.  We use Google calendars for most of our events, and since the intent is to show us everything that is going on, we’ll need to be able to authorize and authenticate to multiple calendars, pull the events, and display them.

One of the threads that either got me started thinking about this or was one of the first things I ran across when I had the idea was this one on Reddit.  I have a couple of Pi’s, and had generally planned on using one of them (and may yet for a similar design on a TV with a little more functionality), but ended up picking up an RCA Cambio tablet at Wal Mart for around a Benjamin, so I didn’t really need to fiddle around with adding a screen, mounting, network connectivity, etc.

The above thread led me to what I believe will work for the dashboard interface – freeboard.io.  While I have a distant familiarity with JSON and XML, I don’t work with it enough to be particularly good at it, and I’m pretty much completely unfamiliar with the Google APIs and how to call them, so I wanted to note a few links that were helpful as I was working through the process.

Code that actually ended up working to pull the basic info from a public calendar (just grabs “id” now):

 

Be the first to comment

http://www.computerworld.com/s/article/9247455/Data_manipulation_tricks_Even_better_in_R

Interesting walk through comparing R with Excel, and looking at how to do some of the same things, with additional links to a quick start on the language.

Be the first to comment

Couple of things to note today

Posted September 25, 2013 By Landis V

Kali Linux – successor to BackTrack – http://www.kali.org/

Should probably spend some time playing around with Ruby a little bit.

DbVisualizer – looks very handy for quick analysis of databases – http://www.dbvis.com/

Be the first to comment

BerkeleyX edX courses

Posted January 12, 2013 By Landis V

https://www.edx.org/courses/BerkeleyX/Stat2.1x/2013_Spring/about – Introduction to Statistics:  Descriptive Statistics

https://www.edx.org/courses/BerkeleyX/CS191x/2013_Spring/about – Quantum Mechanics and Quantum Computation

Ran across these while looking at Scratch as something my kids might be interested in at some point.  I’ve always wanted to take a statistics course… this might be just the opportunity I have been looking for (if I can find the time 🙁 )

Be the first to comment