Giter Site home page Giter Site logo

arduino-programmer-via-hc-05's Introduction

Arduino-Programmer-via-HC-05

Step 1

First of all, you need to configure your HC-05 module. Sketch is below.

void setup() {

  Serial.begin(38400);
  delay(500);

  Serial.println("AT+NAME=ArduinoNano-Flasher");
  delay(500);

  /*Use this baudrate if using for Arduino Uno, Bluino and Mega2560*/
  //Serial.println("AT+UART=115200,0,0");

  /*Use this baudrate if using for Arduino Nano, Leonardo, Micro, Pro Mini 3V3/5V and Duemilanove */
  Serial.println("AT+UART=57600,0,0");
  delay(500);

  Serial.println("AT+POLAR=1,0");
  delay(500);

  //Set the password
  Serial.println("AT+PSWD=0000");
  delay(500); 
}

void loop() {

} 

copy/paste it and flash it onto your arduino. Sketch file is also available in the repo.

Step 2

Hardware:

  • Capacitor 1uf/16v
  • Arduino Nano
  • Bluetooth HC-05 module
  • Mini breadboard
  • Jumper wires
  • Resistor 100 ohm

Time to setup our HC-05. At step 1 you have flashed arduino with sketch that will set up bluetooth module.

  • Press and hold KEY button on HC-05 module
  • Plug USB cable to power on arduino
  • Keep holding the button, wait about 5 seconds
  • Unplug and re plug USB for reset from AT command mode

If everything went well - after replug you should be able to discover a bluetooth device named "ArduinoNano-Flasher". Also red led will be blinking fast on HC-05 module.

Step 3

Open your bluetooth software pair with flasher and setup a com-port. I'm not giving any details here as the process differs in operating systems. I guess macos and linux users will find solution easily. For windows - just a hint: Once you setup a pairing, two virtual COM-ports will be created automaticaly. One is inbound and antoher one is outbound. You have to use outbound oneto flash.

Once all done, try flashing a blink a example via bluetooth.

Notes

arduino-programmer-via-hc-05's People

Contributors

vladborovtsov avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.