RadioHead
MySensors
Our great sponsors
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 | - |
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
-
RF modules can't receive multiple signals?
//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
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
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)
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.
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?
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)
-
What Networking Protocol Should I Use to Create a Reliable Sub-GHz Network of Sensors and Actuators in an Industrial Campus Environment?
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.
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
-
Ask HN: How have you engineered the shit out of your home's front entrance?
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)
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
/** * 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.
-
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 ?
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)
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.
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
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?
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)