The rest is as in normal components: The GND to GND on arduino and VCC to 5 volt power supply. The RX pin should be connected to TX on the arduino, while the TX pin should be connected to RX on the arduino. The labels are given on the back of the HC-05 bluetooth module. The image is an accurate representation of the connections. For this project, we will only need to use the middle 4 pins. There are 6 pins on the bluetooth module. I will demonstrate the app making process.įirst, the connections are important. You have to create an app in order to control the LED using bluetooth. So, the main way to do this is by using the bluetooth module and the MIT app inventor too. If you do not want to use these pins, you will have to use the Software Serial library. However, you can change it to send whatever you'd like.Ī bluetooth module can be connected to via bluetooth, and can be communicated with via serial communication. In this case, I have chosen to send text of '0' or '1'. We can use the MIT App Inventor to choose what signal gets sent. Then, we can program the arduino to act based on this signal. Then, there is a signal sent to the arduino uno via bluetooth communication, and the arduino receives the signal. The main way this is going to work is when you click a button on the app on your phone. You need almost little to no programming knowledge to do this-there are just blocks which you have to move around. The MIT App Inventor is created by MIT to allow easy app creation. To do this, you do not really need much of prior knowledge at all, and is very easy to do. Also, it is quite nice to be able to switch on and off an LED using a mobile app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |