RadioHead VS MySensors

Compare RadioHead vs MySensors and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
RadioHead MySensors
9 8
245 1,289
- 0.5%
0.0 4.6
over 1 year ago about 1 month ago
C++ C++
GNU General Public License v3.0 or later -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

RadioHead

Posts with mentions or reviews of RadioHead. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-17.
  • RF modules can't receive multiple signals?
    1 project | /r/arduino | 28 Jan 2023
    //Transmitter code /* Reference: https://lastminuteengineers.com/433mhz-rf-wireless-arduino-tutorial/ http://www.airspayce.com/mikem/arduino/RadioHead/ */ #include #include // Not actually used but needed to compile RH_ASK driver; char xData[32] = ""; char yData[32] = ""; String msgX, msgY; void setup() { Serial.begin(9600);  // Debugging only if (!driver.init()) Serial.println("init failed"); } void loop() { // for debugging int xAxis = analogRead(A1);  // Read Joysticks X-axis int yAxis = analogRead(A0);  // Read Joysticks Y-axis Serial.print("X-axis: "); Serial.print(xAxis); Serial.print("\n"); Serial.print("Y-axis: "); Serial.println(yAxis); Serial.print("\n\n");   msgX = analogRead(A1);   msgY = analogRead(A0);   // X value msgX.toCharArray(xData,5); driver.send((uint8_t *)xData, strlen(xData)); driver.waitPacketSent(); delay(10);   // Y value msgY.toCharArray(xData,5); driver.send(yData, strlen(xData)); driver.waitPacketSent(); Serial.println(xData); delay(1000); }
  • School Project - Using one raspberry pi and having info send from multiple Arduinos
    1 project | /r/RASPBERRY_PI_PROJECTS | 5 Oct 2022
    If you do not use WiFi (though I would) and have to fall back to 433Mhz or similar RF signalling then look at the Radiohead library rather than reinventing the wheel.
  • Wireless communications
    1 project | /r/raspberry_pi | 27 Aug 2022
    These 433 style boards are the ones I would look at (range being a possible limit) - maybe using the RadioHead library and front end the Pi with a dedicated receiver board if you cannot find a compatible Pi library.
  • Is there a standard for transmitting unencrypted plain text data? (Strings)
    2 projects | /r/RTLSDR | 17 Apr 2022
    You need a networking stack. There are some good examples out there; I remember the RadioHead library from years back. I think someone said it sucks and use this other thing instead but I can't remember what the other thing was. You'd write a driver that performs modulation with the HackRF, then use the rest of the stack to do the packetizing and retransmission and stuff.
  • I want to build a personal gateway. No LoraWAN or TTL.
    4 projects | /r/Lora | 14 Mar 2022
    As mentioned, chirpstack works well if you still want to use LoRaWAN. Alternatively, you can use a system such as https://www.mysensors.org/ which builds its own protocol on top of lora. Finally, you can write everything from scratch using radio libraries (eg: https://www.airspayce.com/mikem/arduino/RadioHead/)
  • Is there a way to combine Toit with traditional Arduino/ESP32 libraries?
    1 project | /r/toit | 24 Feb 2022
    I have a project where I use LORA with the Radiohead-library (http://www.airspayce.com/mikem/arduino/RadioHead/) to gather data from various locations, and then publish that to the web.
  • Recommendation for mesh library (other than PainlessMesh)
    1 project | /r/esp8266 | 7 Dec 2021
  • What Networking Protocol Should I Use to Create a Reliable Sub-GHz Network of Sensors and Actuators in an Industrial Campus Environment?
    1 project | /r/embedded | 26 Nov 2021
    I would take a look at https://www.airspayce.com/mikem/arduino/RadioHead/. I have not personally used this and it is not free for commercial use, but it is one option for providing higher level network functions.
  • I am building a CanSat using arduino, I ran through a problem with my tranceivers.
    3 projects | /r/arduino | 25 Mar 2021
    You also need to determine if there is any kind of a conflict between these various packages you are using such as a pin number, etc. See RH_RF69 send hang due to waitPacketSent failed · Issue #12 · PaulStoffregen/RadioHead (github.com) So you need to be able to do testing with status messages to Serial so that you can see those logs.

MySensors

Posts with mentions or reviews of MySensors. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-28.
  • Ask HN: How have you engineered the shit out of your home's front entrance?
    2 projects | news.ycombinator.com | 28 Nov 2023
    Engineering implies working within constraints. Most people in this realm only have to deal with the spouse acceptance factor as a limiter.

    Went from openhab -> homeassistant -> Node-RED. Then sprinkle in MySensors, Frigate, and Double-Take, but not on just the entrance, go for the perimeter then defense in depth.

    https://www.mysensors.org/

    https://frigate.video/

    https://github.com/jakowenko/double-take

  • Meshtastic and LoRa are “dangerous” (YouTube)
    1 project | news.ycombinator.com | 18 Sep 2023
    Mestastic has been doing fine work. I'm not a fan of the CLA though.

    MySensors, IM(very)HO is a better system if you are building your own gear. They too have CLA requirements.

    https://www.mysensors.org/

  • How to connect my coffee machine
    2 projects | /r/arduino | 25 Mar 2023
    /** * The MySensors Arduino library handles the wireless radio link and protocol * between your home built sensors/actuators and HA controller of choice. * The sensors forms a self healing radio network with optional repeaters. Each * repeater and gateway builds a routing tables in EEPROM which keeps track of the * network topology allowing messages to be routed to nodes. * * Created by Henrik Ekblad * Copyright (C) 2013-2015 Sensnology AB * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors * * Documentation: http://www.mysensors.org * Support Forum: http://forum.mysensors.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * ******************************* * * DESCRIPTION * * Simple binary switch example * Connect button or door/window reed switch between * digitial I/O pin 3 (BUTTON_PIN below) and GND. * http://www.mysensors.org/build/binary */ // Enable debug prints to serial monitor #define MY_DEBUG // Enable and select radio type attached #define MY_RADIO_RF24 //#define MY_RADIO_RFM69 #include #include #define CHILD_ID 3 #define BUTTON_PIN 3 // Arduino Digital I/O pin for button/reed switch Bounce debouncer = Bounce(); int oldValue=-1; // Change to V_LIGHT if you use S_LIGHT in presentation below MyMessage msg(CHILD_ID,V_TRIPPED); void setup() { // Setup the button pinMode(BUTTON_PIN,OUTPUT); // Activate internal pull-up digitalWrite(BUTTON_PIN,LOW); // After setting up the button, setup debouncer debouncer.attach(BUTTON_PIN); debouncer.interval(5); } void presentation() { // Register binary input sensor to gw (they will be created as child devices) // You can use S_DOOR, S_MOTION or S_LIGHT here depending on your usage. // If S_LIGHT is used, remember to update variable type you send in. See "msg" above. present(CHILD_ID, S_DOOR); } // Check if digital input has changed and send in new value void loop() { debouncer.update(); // Get the update value int value = debouncer.read(); if (value != oldValue) { // Send in the new value send(msg.set(value==LOW ? 1 : 0)); oldValue = value; } }
  • Stromversorgung für ESP32 & Co.
    1 project | /r/selbermachen | 31 Oct 2022
  • I've got a old raspberry pi3 used for gaming but no.longer use it , has anyone got.any cool or unique ideas to use it for ?
    3 projects | /r/RASPBERRY_PI_PROJECTS | 31 Aug 2022
    If you like the idea of a smart home but worried about the S in IOT check out MySensors.
  • DIY TV-box project (Advice requested)
    2 projects | /r/diyelectronics | 2 Jul 2022
    I have had great fun and good use of MySensors, that could be a place to start. It’s a very friendly and supportive community.
  • I want to build a personal gateway. No LoraWAN or TTL.
    4 projects | /r/Lora | 14 Mar 2022
    As mentioned, chirpstack works well if you still want to use LoRaWAN. Alternatively, you can use a system such as https://www.mysensors.org/ which builds its own protocol on top of lora. Finally, you can write everything from scratch using radio libraries (eg: https://www.airspayce.com/mikem/arduino/RadioHead/)
  • Choosing between LoRa 868MHz and Xbee 2.4GHz for long-range comms
    1 project | /r/diyelectronics | 6 Mar 2022
    If you haven't already defined your sensor modules, have a look at the MySensors framework. It works via a tree network where every node works as a repeater so you can easily build a large and sparse network with encryption at very low cost. It also integrates seamlessly with Home Assistant and most other HA controllers. I've used it at home with good results and it supports the RFM69 radio using India frequency bands.

What are some alternatives?

When comparing RadioHead and MySensors you can also consider the following projects:

RadioLib - Universal wireless communication library for embedded devices

esphome - ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.

arduino-LoRa - An Arduino library for sending and receiving data using LoRa radios.

MPU9250 - Arduino sketches for MPU9250 9DoF with AHRS sensor fusion

amodem - Audio MODEM Communication Library in Python

Temper-ESP8266 - Temper is a compact temperature sensor based on ESP8266 and SHT30 with large 13x7 pixel led display.

MPU9250 - Arduino library for MPU9250 Nine-Axis (Gyro + Accelerometer + Compass) MEMS MotionTracking™ Device

BluePillDemo - A collection of small example projects tailored for the Blue Pill board created in STM32CubeIDE. No further updates.

PlatformIO - Your Gateway to Embedded Software Development Excellence :alien:

Polaron - A DIY drum machine for the teensy microcontroller (hardware / software)