Electronics 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

Bought an Arduino kit recently and have done just a little bit with it, but not much.  One of the projects I’m looking at uses an ATTiny85 to reduce CPU for a 433MHz receiver (https://github.com/pilight/pilight_firmware), so I bought some ATTiny85’s and will need to program them.  That can be done using Arduino 1.6 – reference article here.

Be the first to comment

I hate it when I’m away from home and either the ISP or some of my equipment glitches, necessitating a reboot or two.  I have enough systems in place that I should be able to automate this process.  To do so, I need to get some remotely controllable equipment, create the state diagram (not good if I power cycle one of the network components required to reach the remote switch and it doesn’t come back up!), and write the scripts to run the logic.

I’d also like to have easily accessible power switches in my data closet so I can power cycle the devices without having to pull them down and unplug the power from the back of them.

Hardware components I’ve looked at

SainSmart 16 channel web relay – at Amazon.  This could work if installed between the transformer block and the switches.

Ethernet relay on eBay, claims to be AC250V @ 10A, though that would probably be pushing it.  Would have to look up the specs on the relays they used.  For the watt draw on the AC, depending upon the size, might be able to install it inside a large surge protector housing and wire the outlets through it.

Controllable Four Outlet Power Relay Module – at Adafruit.  Not network connected, and would require some other device to control it.  But most likely UL listed and designed to handle AC.

Ended up finding a Digital Loggers LPC-3 on eBay for $57 shipped that should do the job nicely.  Manual is here.

Be the first to comment

More 434MHz stuff to look at later

Posted August 20, 2016 By Landis V

Acurite #0899 self emptying rain gauge – at Amazon

Blog post on reversing the signal from Acurite temperature sensors; may be similar for the rain gauges.  Also mentions the RTL SDR.  Probably wouldn’t be bad to have.

Another blog post regarding reading the Acurite 5n1 station.  Possible that part of this will already cover the rain gauge.  Also discusses SDR and mentions the rtl_433 tool.

This blog post looks like rtl_433 supports the Acurite 896 decode natively, so if the protocol is similar or the same it may be simple.

RTL Software Defined Radio – at Amazon – seems like it’s probably a decent model, some good reviews.  Looks like there’s a little more to it than just “buy this and set up the software”.

Bought a cheap receiver off of eBay from Hong Kong for $7.31 (original listing).

Also, here was an Instructable about making a cheap combination RF/Bluetooth/433 MHz remote using an Arduino.

Additional Links

Be the first to comment

On Networks N150R Routers

Posted June 13, 2016 By Landis V

Picked up a couple of these from Newegg for free plus a couple of bucks shipping after rebate.  Figured that in combination with a couple of relays on the GPIOs, I could probably use them for switches or work with the serial port for a sensor connection.  Just a few notes on them.

OpenWRT 15.05 Chaos Calmer patched to expose the GPIOs:  https://micu.webserwer.pl/pmwiki/pmwiki.php?n=OpenWRT.Downloads

Forum thread on not flashing direct to 15.05.1; I went to 14.07, then to 15.05.  https://forum.openwrt.org/viewtopic.php?id=51576

OpenWRT Wiki page with device info including GPIOs https://wiki.openwrt.org/toh/netgear/wnr612v2

Controlling the GPIOs

From here, the simple way to control the GPIOs natively is with the “brightness” value for the LEDs.  By example for the LAN1 LED (others are in the same path):

root@OpenWrt:~# echo 0 > /sys/class/leds/netgear\:green\:lan1/brightness
root@OpenWrt:~# echo 1 > /sys/class/leds/netgear\:green\:lan1/brightness

Update 9/18/2016

Finally got the LAN2 LED peeled off of the board, had a heck of a time with it.  After doing so, I discovered that I only get ~2.5v across the pins when the GPIO is active… not enough to drive my 3.3v relays.  I assume they are probably using a voltage divider here.  Measuring the resistance between the positive and negative ends of the LED without power applied, I get about 1580 ohms one direction, and 670 in the other.  There appears to be a ~960 ohm resistor at CA111, but I haven’t figured out exactly how this ties in.

Update 10/9/2016

Spent some time with this again over the past couple of days.  I removed the resistor at CA111, but apparently it is not a divider.  May need to spend some time to see if I can make something work with a 2N7000 MOSFET or something like that, but I’m pretty novice so that will take some effort.

I did test out my 433MHz ASK receiver on the TTL serial port, but without much luck.  This OpenWRT page was helpful in getting stty installed and setting the baud rate on the serial port,

‘stty -F /dev/ttyS0 9600 clocal cread cs8 -cstopb -parenb’ to set the config, and
‘stty -F /dev/ttyS0 -a’ to verify the config

but still didn’t get any output.  I’ll have to give it a shot with my Raspberry Pi just to see if I can get anything out of there.

Be the first to comment

EC/TDS/PPM Meter

Posted May 27, 2015 By Landis V

http://www.octiva.net/projects/ppm/

Looks like a fun and interesting project to build one’s own DIY total dissolved solids measurement.

Be the first to comment

http://revision3.com/diytryin/10-relay-board-arduino-or-raspberry-pi-switch-on/

Be the first to comment