what's up my friends welcome back okay so had a lot of radio controllers on this channel with me like five or six radio controllers so we used the an erect only 480 modules we use the AC poverty modules and also these very cheap 433 megahertz radio modules and so on but this was always part from a bigger project so it was very difficult for you to understand only how the radio module works and that's because we always had a lot of more connections because we had the battery charging circuit we have more push buttons the joysticks the potentiometers and so on so what I want today is to talk about the specification of these radio modules and show just a simple example with each and show how it works and nothing more so this will go like this if you go below this video you'll find an example code and also an example schematic very simple schematic for each of these radio modules and first I will tell you some information about the module and then we'll make a very simple example and a connection between two Arduinos for example we will push a button in one side and turn on an LED on the other side or maybe use a potentiometer to dim the light in this way the connection will be very simple the code and the schematic will be very simple and we will have less errors and once you know how to send a simple data you will be able to make your radio controller just by adding more buttons more potentiometers maybe a display and so on or maybe just send data around your house using the radio connection or you could make a weather station and stuff like that okay guys so first we look at the error F 24 in the module very fast because we already seen this a bunch of times we will also test the lower module which is a module that I bought recently so I haven't tested too much then we'll have the HC 12 ready module which is very easy to use just a zero communication between two arduino s I have also bought some CC 1 1 0 1 ready modules so you will also test those out and we'll also make a simple connection with those 433 megahertz radio modules and finally we'll also look at the booted modules because believe it or not Bluetooth and Wi-Fi are still radio connections so guys let's start with this video but before we start make sure that you hit the subscribe button and also the notification bell because otherwise you might miss my videos when I post them also a huge thank you to my patterns for the support so let's get started [Music] [Applause] [Music] [Applause] [Music] [Applause] [Music] [Applause] [Music] video sponsored by jl CPCB they have a new PCB batch production factory more than ten thousand orders per day and six hundred thousand customers worldwide and now offering the best prices ordering PCBs is very easy upload the Gerber's select your settings and order PCBs for just $2 what's up my friends welcome back we start this video with the well-known an arrive Tony for ADA module I've used this module for years but it had some bad parts as well so let me tell you a little bit about this module you could get this with the PCB antenna which basically means that it has a small wire on the PCB and that will begin Tanna but in this case you could also find the SMD version for the same module and this is a lot smaller and you could solder this directly to the PCB I've used this very small module for my last brush drawn project but if you want to send the data to a longer range you might need to buy the module with the amplified antenna this module uses the same radio chip but it also has an amplifier onto the board and also has this antenna the module has eight pins and those are for power ground and external interruptions and five more pins for the eighth page serial communication and for that we need a chip enable the chipset the mossy and missile and the clock pins having an SPI communication makes this module very fast usually SPI is a lot faster than I Square C or word communications so that's a plus for this module but at the same time this module needs a lot more pins so if you are short of pins you might consider a module that uses word or I square C that only needs one or two connections with this module I was able to change the date with good connection up to 700 meters using my Arduino base radio controller for our previous videos the only thing I don't like about this module is that it seems to be quite sensible to noise if I use some long wires between the Arduino and the module I almost never be able to get a good connection I also had to wind the ground around the mossy and the miso pins in order to reduce the noise for the SP communication so it's not the radio connection that is sensible to noise is the SP communication between the module and the microcontroller for my projects when I design the board I usually add short tracks I remove the other planes from below or above these tracks I add capacitors at the input I place it on the outside of the board and I also try to place it far from the DC motors or power converters and so on and that's another thing I don't like this module works at 3. 3 volts the Arduino usually has a 300 volt supply but for example with the Arduino Nano I always had problems using the onboard regulator it doesn't have enough current output so I always had to add an external tripping to vods voltage regulator you could use the same module as receiver or transmitter or even place them in a constellation and make them talk one to each other okay so now connect these modules to the Arduino as in the schematic and download the NRF Tony for example code from below you have the receiver and the transmitter example code so upload the transmitter code to the Arduino with the potentiometer and the receiver code to the Arduino with the LED so as you can see I rotate the potentiometer on one side and I change the brightness of the LED on the other side read the comments in the code as always in order to understand more and you will see how easy is to use these modules with the NRF 24 library that you could also download from below and finally the price for these modules is run $2 on eBay make sure you won't buy this copy of this module I've tried this with the same library and they don't work even if the eBay and RF 24 modules are a Chinese copy they will work ok if you buy these ones okay guys now let's see the HD 12 radio module this one is capable of making a long-range wireless communication between multiple Arduino boards with distances up to 1. 8 km so first let's take a closer look at the HC 12 where is communication module and for that here are some specifications the operating voltage for this module is from two point two volts up to five volts and for more stable work it is recommended to use a decoupling capacitor and an external power supply but for today example I will use the PC USB as a power supply and they had no problems the working frequency is between 433 and 473 megahertz and that could be divided in 100 channels each with 400 kilohertz steps in between the maximum operating current is 100 milli amperes in order to use it we have a word serial communication the factory bout rate of the serial communication is 9000 and 600 pounds per second but you could increase that up to 150,000 200 bouts to configure this module you'll have to use the 80 commands and changed about rate change the channel from 1 to 100 or you could change the transmission mode and more here we have a table with all the 80 commands for this module ok so connect these modules to the arduino as in the schematic the code is more than simple since all we have to do is to use the serial communication just as we were to bring the values onto the serial monitor of the arduino so download the code from below and the name for that will be HC 12 example 4 receiver and transmitter once again upload the transmitter code to the Arduino with the potentiometer and gather code to the one with the LED and as you can see I can set the analog value to control the brightness of the LED using the radio connection so why you should use this instead of the NRF 24 well first of all the address 24 won't be able to work up to one kilometer or more but at the same time the HC 12 will be slower when sending data so if you want a fast control like for example for a drone the end of 24 module will be better also needing only 2 wires to control these modules using the sir communication and no needed library makes this very easy to work with finally the price for this module is around 4 and 5 dollars so this is a little bit more expensive than the enwrapped only 4 ok guys now let's take a look at the Laura module as I said before I've used this module for very short time laura is robust its low-power long-range wireless protocol developed by Sam Tech it could operate at 433 megahertz or 950 megahertz according to his datasheet it could get up to six kilometers and I say according to the datasheet because I haven't made any range tests and I only use this module below 100 meters but I never had problems with it I'm using the Alaura module with the SX plus 78 chip which is this tiny SMD IC and we have to add this antenna designed for 433 megahertz as well to the antenna port the price on ebay for this module is around 4 dollars as well and the module will also include the antenna to communicate with this module we will use once again an SP communication but this time we need a few more pins again we need the miso and mossy pins the clock but we also have a reset pin enable data input and output ground and 3.
3 volts in this case even if it uses a 220 volts input the module has low power and it work ok with the arduino nano till now so I first saw the wires and pins to both modules in order to be able to use this on the breadboard now I make all the connections to the Arduino as in the schematic and once again I say that these are a lot of connections compared with the HC 12 so download the examples from below with the name of Laura example transmitter and receiver and upload those to the Arduinos add the potentiometer and the LED and test if it works and as you can see again I can send the analog data using the radio connection to use this module you will need a lower library that you could also download from below and install that to the arduino ide use the library functions to send or receive data and that's it read the comments in the code for more so you should use this module in case that you want a very long range connection as far as five kilometers also if you need a low-power connection in case that you're using batteries you need a lot of pins but the range is great and again the speed is a lot lower than the NRF 24 with delay of 100 milliseconds between each sent packet sometimes I had some skip values so be careful okay guys now let's move to the CC 1 1 0 1 radio module there are different modules with different frequencies the most popular and the most used band is the 70 centimeter band again the module will be used with an SPI interface you might find that the module cannot be connected directly to the SP pins because of the 2. 5 volts operating voltage and basically that is true however during my test I'd used this with my Arduino and had no problems it has a maximum operating speed of 500 kilobits per second and according to the user manual it could send the data up to 500 meters but that depending to the environment the antenna and the baud rate there are also some small power amplifiers that you could use to increase the transmission power up to 5 watts with power amplifiers you could get up to 15 kilometers and that's according to some internet polls that I found for this module you will need the CC 1 1 0 1 library that you could also find below make the connections for the modules as in the schematic for breadboard connections you will need these jumpers that I've made using some female and male pins download the example code from below and upload those to the Arduino you have the transmitter and receiver examples and again the transmission is working and I can control the LED using the radio connection but this modules could be both transmitter and receivers and that could be changed in the code so I've made another small example that you could download from below this will make a small chat between the modules and that for any amount of modules so just upload the same code to both arduino and open the serial monitor now insert your name and start a chat you could use this to create a chat with your neighbors ok finally you could buy this module for six or seven dollars from ebay so this is a little bit more expensive the range is not that good it uses a lot of pins for the ESP connection and is not ultra low power neither ok guys now we have this very cheap module that works at 433 megahertz or sometimes four hundred and fifty megahertz the range will depend on the voltage connected to the module but also the antenna that we use at five volts and with a stock antenna of this module the range will be around 2 meters but supply the transmitter at 12 volts and with a small copper antenna the outer range could reach up to 300 meters now the best thing about these modules is that the communication is simplex single and only directional channel and they have a low transmission speed around 2000 and 400 bps it basically works by SK modulation amplitude shift keying they don't have a filter or Hardware ID so if you want a robust communication we have to implement that by software the connection is very simple first we power the module by connecting VCC and ground at 5 volts and ground from the Arduino as you'll see in the code we will have to use the virtual wire library which will work with any digital pin so simply connect the data pin to any digital pin from the Arduino as in the schematic go below and the load example calls from transmitter and receiver with the name of 433 megahertz example upload a code to the Arduino and give it a test and once again we can control the LED now this is a good module because it's very simple and very cheap maybe by using different resistors we could increase the range which is quite low you also need two transmitters and two receivers in case that you want a two-way connection but you could buy five pairs of these modules from eBay for just four dollars or less this small radio modules are good for short-range projects such as temperature monitoring around the house open your garage doors and so on okay guys so finally we have the hc-05 or the HD zero six Bluetooth modules we've used these modules a lot as well in many projects you could use these modules with each other or connect your Arduino to a smart phone you could configure the settings with 80 commands once again and the module is using Awards your communication with just two pins Rx and TX and here we have a table with all the 80 commands for these modules it could be supplied at 5 volts but the digital pin would work at 3. 3 volts the default baud rate is nine thousand and six hundred and by default the module is configured as a slave since we have the are X and DX pins we could receive and send data with the same module this is like having a serial connection between two arduino x' and all you have to do is to use the server right and the sir it functions in the arduino code the device will have an output power of 2 point 5 millivolts and the range of about 10 meters the good part about these modules is that they use bluetooth and that is compatible with our smartphones and you could use it as a transmitter or receiver they are easy to use with just two wires and using the zero communication in the arduino code and yes the range is not very long you could buy one of these for around four dollars on ebay so guys this were all the radio modules for this video if you have any suggestion for a different module leave a comment below so which one you will use for the next project read all the comments for each code see all these Kemetic s' and read all the details on my webpage a little news.