RadioHead
RadioLib
Our great sponsors
RadioHead | RadioLib | |
---|---|---|
9 | 5 | |
245 | 1,307 | |
- | - | |
0.0 | 9.6 | |
over 1 year ago | 3 days ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | MIT License |
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.
RadioLib
-
APRS
I don’t actually think this is true. The flipper uses a CC1101 for sub-ghz and this library looks to have implemented APRS with it. https://github.com/jgromes/RadioLib
-
You can tell it's real because it looks so fake
I hooked up the radios to some microcontrollers and used this Arduino library along with some other custom code.
-
Hub 2245-222 Online Reverse Engineering Efforts
Hi Insteon friends, I started to work on this in fear that this day might come and actually got decoding of Insteon rf packets working on an ESP32+CC1101. NorthernMan54 has ported rtl_433 to the ESP32 here: https://github.com/NorthernMan54/rtl_433_ESP, however due to limited memory on the ESP32 I had to merge in changes to some of the methods from https://github.com/obones/rtl_433. All of that said, the range of the CC1101 is really short so probably not a viable option (I know very little about RF, so maybe someone can optimize that?). After that I went down the path of using an RFM69HCW which should have better range and using RadioLib https://github.com/jgromes/RadioLib but ran out of time to dedicate to it. Hopefully someone with more RF knowledge can make this a reality. Happy to upload the code that I used for the CC1101.
-
I want to build a personal gateway. No LoraWAN or TTL.
Your network, your rules. You can use whatever radio parameters you want, and you can use a frequency not used by popular LoRaWAN networks.TTN does not use great parameters for long range anyway. I use https://github.com/sandeepmistry/arduino-LoRa library its easy enough to use and understand. https://github.com/jgromes/RadioLib is good but a bit more complex to implement.
-
Lora with Pi Pico
Radiolib seems to used by mature projects I have looked at - Meshtastic for example. The author added tentative support for Pico, although he doesn't have hardware see here: https://github.com/jgromes/RadioLib/issues/361
What are some alternatives?
arduino-LoRa - An Arduino library for sending and receiving data using LoRa radios.
MySensors - MySensors library and examples
rtl_433_ESP - Trial port of the rtl_433 Library for use with OpenMQTTGateway on a ESP32 and a CC1101 Transceiver
MPU9250 - Arduino sketches for MPU9250 9DoF with AHRS sensor fusion
amodem - Audio MODEM Communication Library in Python
rtl_433 - Program to decode radio transmissions from devices on the ISM bands (and other frequencies)
MPU9250 - Arduino library for MPU9250 Nine-Axis (Gyro + Accelerometer + Compass) MEMS MotionTracking™ Device
LoRa_PiPico
LoRa_E32_Series_Library - Arduino LoRa EBYTE E32 device library complete and tested with Arduino, esp8266, esp32, STM32 and Raspberry Pi Pico (rp2040 boards). sx1278/sx1276
insteon-terminal - A simple tool to allow modification of an insteonplm or a insteonhub