hIOTron
Created April 23, 2021 © GPL3+

Program Arduino Wirelessly over Bluetooth

In Arduino, we have to use the Bluetooth module to program it wirelessly

6
Program Arduino Wirelessly over Bluetooth

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
HC-05 Bluetooth Module
HC-05 Bluetooth Module
×1
Resistor 1k ohm
Resistor 1k ohm
×1
Resistor 2.21k ohm
Resistor 2.21k ohm
×1
Ceramic Disc Capacitor, 0.1 µF
Ceramic Disc Capacitor, 0.1 µF
×1
Test Accessory, Power Adapter
Test Accessory, Power Adapter
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Code

Run a Program

Arduino
#include <SoftwareSerial.h> 
SoftwareSerial HC05(2,3);
void setup()
{
Serial.begin(9600);
Serial.println("Enter AT commands:");
HC05.begin(38400);
}
void loop()
{
  if (HC05.available())
    Serial.write(HC05.read());
  if (Serial.available())
    HC05.write(Serial.read());
}

Credits

hIOTron

hIOTron

78 projects • 2 followers
hIOTron is an internet of things based company that offers an IoT Platform, products, IoT Solutions, and IoT Training.

Comments