Technology 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

https://all3dp.com/1/common-3d-printing-problems-troubleshooting-3d-printer-issues/

Be the first to comment

Polyholes in 3D prints

Posted January 20, 2018 By landisv1

https://hydraraptor.blogspot.ca/2011/02/polyholes.html

Interesting read

Be the first to comment

Mounting VirtualBox RAW disks

Posted December 2, 2017 By Landis V

Cleaning up some VMs this evening and wanted to mount a RAW disk partition I’d been using with an old VM. Surprised to find that a simple ‘mount’ wouldn’t do the trick. Fortunately pretty easy thanks to the info at the following link – use parted to get the offset and add that as one of the mount options.
https://askubuntu.com/questions/236263/browse-img-without-mounting

Be the first to comment

Forwarding multicast on Ubiquiti

Posted October 30, 2017 By Landis V

May be relevant to some things I’d like to try.

https://community.ubnt.com/t5/EdgeMAX/mDNS-bonjour-forwarding/td-p/414093

Be the first to comment

TP-Link HS-100/HS110 Wifi Smart Plug Stuff

Posted December 3, 2016 By Landis V
Be the first to comment

hostapd in a VM for device testing

Posted November 27, 2016 By Landis V

While working with my Chamberlain MyQ Garage Door Opener the other day, I ran into issues getting hostapd to work on Kali with the chap ass Netis WP2120 nano USB adapter I had (based on the RTL8192cu chipset/driver).  I need to clear off a few browser tabs and eventually see if I can get hostapd working with this adapter on a different box (VM) for testing.  A few of the links I worked with unsuccessfully, but provide some useful information.

 

More notes

Installed usbutils for lsusb
Installed hostapd
Installed iw
Installed lshw
Ran through steps at https://adamscheller.com/systems-administration/rtl8192cu-fix-wifi/, minor issue with “linux-headers-generic”, skipped it for now.

Did receive a modprobe error, “could not insert ‘8192cu’: Device or resource busy”. lsmod shows the old rtl8192cu drivers active. Did a reboot. Correct driver modules now listed, though no device listing in ‘iw list’. Does appear in ‘lshw -c network’, and appears as wlan0 in ‘ip link list’.

Started in with hostapd steps from http://sarumait.blogspot.com/2013/11/ubuntu-wireless-hotspot-using-edimax-ew.html and from my previous testing on the Chamberlain page.

Attempted to start hostapd service which seemed to work, but didn’t see my SSID. Ran it interactive debug and got an “invalid/unknown driver ‘8192cu'”.

Instructions at https://github.com/pritambaral/hostapd-rtl871xdrv
Git cloned the above repository and the w1.fi repository listed. Got hostapd to build after installing dependencies (below).

apt-get install apt-file libnl-3-dev libnl-genl-3-dev pkg-config libssl-dev
apt-file not needed, but handy for looking up files that resulted in failures during make.

Ran the patch process noted at https://github.com/pritambaral/hostapd-rtl871xdrv

Ended up having some success after doing a ‘make dkms’ in the rt8192cu directory cloned from https://github.com/dz0ny/rt8192cu and setting the driver in my hostapd.conf to the rtl871xdrv

Pages helpful in getting it to work

2 Comments so far. Join the Conversation