Panel Cookies
Arduino radio chat

Help me by sharing this post


PREVIOUS PART       NEXT TUTORIAL

PART 4 - Code

Below you have the code for the radio chat module. The code is the same for both transmitter and receiver. So, just download it from below and upload it to both Arduinos and then we could make a test and see if it works and we could caht between the modules. But you will need some libraries as well. On th link below you will find those as well for the CC1101 radio module and the OLED display. So download those and install them to the Arduino IDE. Then, uplaod the code.




/////////////////////////Libraries//////////////////////////
#include <ELECHOUSE_CC1101.h>     //Download it here: http://electronoobs.com/eng_arduino_ELECHOUSE_CC1101.php
#include <SPI.h>
#include <Adafruit_GFX.h>         //download here: https://www.electronoobs.com/eng_arduino_Adafruit_GFX.php
#include <Adafruit_SSD1306.h>     //downlaod here: https://www.electronoobs.com/eng_arduino_Adafruit_SSD1306.php
#define OLED_RESET 5
Adafruit_SSD1306 display(OLED_RESET);
int buzz = 3;
.
.
.



PART 5 - Test

In the video below we have the test and as you can see we could send 60 characters and receive the same amount. The top part of the screen is for the sneder and the bottom half of the display is for the received text. You could also set the name first so all other users could know who you are so you could use this with multiple users.







PART 6 - Tutorial video

See the tutorial video below for more information. I hope you like this tutorial and maybe support my work on PATREON. Thank you!








Help me by sharing this post












yt_link
insta_link
fb_link
twitter_link

Radio chat
page 2/2



Affiliate Disclosure

ADVERTISERS



PCBWAY PCB service





Curso Arduino Online nivel bajo