Arduino bluetooth control device

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

For HC05/06 & HM10. This android app makes you control your Arduino projects like RC car or any IOT applications using your mobile phone thru bluetooth. (click readme.md for more info)

License

engrpanda/Arduino-Bluetooth-Controller

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

ArduBT-Controller plus ULTRA

Arduino-Bluetooth-Controller plus ULTRA

  • HC 05 Bluetooth Classic Module
  • HC 06 Bluetooth Classic Module
  • HM 10 Bluetooth Low Energy Module
  • SWITCH ON/OFF MODE
  • GAMEPAD MODE
    • 4 Arrow button and 4 diagonal for omnidrive
    • Analog joystick button
    • IP CAM Video VIEWER

    ok why plus ultra? cuz im a big fan of all might(Plus ultra means go beyond your limit). 🙂

    So there’s a lot of arduino bluetooth controller in googlestore(play store) but there’s limited buttons, functions and also limited to hc05 only or hm10 only. So i made this app to circumvent those problems whehe. This app is for those who has two types of bluetooth module and dont want to download each app specifically for that BT module.

    This app makes you control your Arduino projects like RC car or any IOT applications using your mobile phone thru bluetooth.

    All the files (apk, circuit, program, codes) are all provided) 🙂

    Compatible with android 4.4.4 (API 19) to android 10(API 29).

    Compatible from Bluetooth 2.0 to Bluetooth 5.0.

    This app is under beta test. Any bugs or error can be reported or send to my email. (engrpandaece@gmail.com)

    • Table Of Contents
    • PROGRAM
    • FRITZING CIRCUIT CONNECTIONS
    • APP
    • 1 SWITCH ON OFF MODE
      • Sample Connection of Simple LED Bluetooth control
        • FOR HC 05 or 06 led
        • FOR HM10 led
        • Serial Code to Arduino switch
        • FOR HC 05 or 06 relay
        • FOR HM10 relay
        • Serial Code to Arduino switch
        • Sample Connection of RC Car Bluetooth control
          • FOR HC 05 or 06 car
          • FOR HM10 car
          • Serial Code to Arduino car

          Источник

          Arduino Bluetooth Control Device

          Настройка и управление подключенными устройствами Bluetooth

          Приложения, рекомендуемые для вас

          Genshin Impact icon

          WPS Office icon

          PUBG MOBILE icon

          Threads icon

          Pinduoduo icon

          Uptodown App Store icon

          CapCut icon

          Terraria icon

          Больше информации

          Похожие на Arduino Bluetooth Control Device

          Uptodown App Store icon

          Google PLAY icon

          VPN.lat icon

          Google Play Services icon

          Vanced microG icon

          SHAREit - Connect & Transfer icon

          APK Editor Pro icon

          AnTuTu Benchmark icon

          Откройте для себя Инструменты приложений

          Easy Scanner icon

          Love Knocks icon

          File Manager by Xiaomi icon

          Smart Tools icon

          Sender Share icon

          Firefox Nightly icon

          Источник

          Arduino Bluetooth Controller Easy Step-by-Step Tutorial

          Don’t worry if you have no experience in programming microcontrollers. In this post, I will show you how to create simple Bluetooth communication between our Android phone and Arduino.

          Arduino is an open-source electronics platform based on easy-to-use hardware and software. This is absolutely for everyone who would like to build their own creative toys involving hard electronics and software skills.

          Professionals would say that this is good for early prototypes.

          arduino bluetooth controller

          Arduino Bluetooth controller advantages

          1. Community, which willingly shares their knowledge and complete projects on the web, so it is easy for us to start.
          2. Unlike most previous programmable circuit boards, the Arduino does not need a separate piece of hardware (called a programmer) in order to load new code onto the board – you can simply use a USB cable.
          3. Additionally, Arduino IDE uses a simplified version of C++, making it easier to learn how to program.
          4. Many programmers give up their interests in microcontrollers due to fear of electronics. At the beginning, electronics is not a big deal. The Arduino community likes to share their projects on the web. They also share simplified electronic schematics like in the picture below. To find schematics like this, you only need to tap in the name of the sensor or module plus Arduino and then go to Google Graphics, and the proper schema should be there. If you would like to develop more complicated devices and create your own printed circuits (PCB), then you should dig into electronics.

          In my opinion, Arduino will be the best choice to start programming microcontrollers.

          What is Bluetooth?

          An interesting part of Bluetooth is its name. It derives from the nickname of the Viking, Danish king Harald Blatand. The English translation of Blåtand is – you guessed it – Bluetooth. Around 970, he was able to unite the fighting Danish and Norwegian tribes in a non-violent way. Similarly, Bluetooth technology has united technologies that differ from each other significantly.

          Bluetooth is the standard for short-range, wireless communication between various electronic devices such as mobile phones, tablets, PC, headphones and even pressure cookers, which allow for adjusting the cooking timer and temperature through an app via Bluetooth.

          Android bots MasterChef

          Arduino part

          Let’s get into the code. But first, I have a small question for you. What do you think?

          How many lines of code are needed to send a text every second via Bluetooth?

          Let the text be SoftwareHut. Just shoot some numbers.

          Bluetooth Test on the Arduino

          That’s it… All we need is seven lines of code! Notice that I do not even use any external libraries.

          All of the magic is hidden in the hardware. From the perspective of code, sending anything wirelessly is exactly the same as sending data by wire.

          The only difference is that, in the first option, we plug the Bluetooth module into the proper pins in Arduino, and in the second we don’t.

          Arduino code syntax

          This is a good occasion to briefly explain Arduino’s code syntax.

          As you can see, we have two main methods here. First setup(): in this method, we initialize serial transmission at baud rate 9600. Baud rate is the maximum number of chars that we can send in one second. The higher the baud rate, the more sensitive the transmission becomes to noise. We set it to that specific number because our HC-06 Bluetooth module is configured to that number by default.

          The only thing that is important from the start is that we should set the same baud rate on Arduino and on the Bluetooth module’s side.

          The second method, loop(), is an infinite loop of a program. So here we use the serial transmission to send text SoftwareHut and add a one second delay. And that’s it! Nothing more. For me personally, it’s like magic. You can achieve such a great thing like the wireless transmission with almost no effort.

          Receiving data

          Receiving data is also not complicated. Here, we just have a Hello World that is a little more advanced. In microcontrollers, Hello World is just an LED blinking. Here, we will change the state of a LED according to the Bluetooth data received.

          Let’s get back to the setup() method, we set pin 13 as an output because we would like to steer this LED not get information from it. Its Arduino’s onboard led. Of course, we also initialize serial transmission here.

          In the loop method, we check if we received any data via serial. We can assitn this to a variable, if the result is ‘yes’. If we receive 1, then we change the state of the LED to high so it will light up. If we receive 2 then we change the state of the LED to LOW so it will go out.

          Источник

          Arduino – Bluetooth device control on HC-06

          This tutorial explains how to control devices using HC-06 bluetooth module.

          1.1 HC-06 Module:

          A widely available bluetooth module that has capability to enable your project with bluetooth. It has got 6 pins interface. But we are interfacing it by using its four pins only. We are using-

          1. VCC – To supply +5V
          2. GND – To make it Ground
          3. TXD – Data TX pin
          4. RXD – Data Rx Pin

          It has got one LED, Which shows its state. If it is blinking that means it is not connected. If it is staying in glowing condition that means it is connected. There is a pin STATE that is connected to this state LED. You may use this pin in your project to determine the state of BT module. This module look like this –

          2. Required Hardware

          Following Hardware will be required to perform this sketch of shift register.

          S.No. Item Quantity
          1. R-Board with FTDI or Arduino Board 1
          2. HC-06 Bluetooth Module TTL 1
          3. Male to female Jumpers 4

          3. Building Circuit

          Make following circuit with the help of above mentioned components. We have included two examples here both of them use the following circuit.

          3.1 You may go with Robo India’s R-Board(UNO Compatible)-

          3.2 You may go with original Arduino UNO Board-

          4. Programming:

          Once we are done with circuit part, here is our programme to this circuit. Every command of the following programme is explained in the comment section.

          // Bluetooth Tutorial By Robo India // Bluetooth module used - HC-06 #include SoftwareSerial.h> SoftwareSerial BlueTooth(5, 6); // (TXD, RXD) of HC-06 char BT_input; // to store input character received via BT. void setup()  pinMode(13, OUTPUT); // Arduino Board LED Pin BlueTooth.begin(9600); > void loop()  if (BlueTooth.available())  BT_input=(BlueTooth.read()); if (BT_input=='a')  digitalWrite(13, HIGH); BlueTooth.println("Now LED is ON"); > else if (BT_input=='b')  digitalWrite(13, LOW); BlueTooth.println("Now LED is OFF"); > else if (BT_input=='?')  BlueTooth.println("Send 'a' to turn LED ON"); BlueTooth.println("Send 'b' to turn LED OFF"); > // You may add other if else condition here. > > 

          6. Application on Phone:

          Download any Bluetooth Terminal on your smart phone. We have tested this with “Bluetooth Terminal” By QWERTY.

          1. Download Bluetooth terminal application.

          2. Pair your phone with HC-06. for doing this go to Settings->Bluetooth->Scan device->select HC-06 and pair it. Pass code to pair is ‘1234’.

          3. Open Bluetooth Terminal software, go to options and select ‘connect a device – secure’ option. It ask for pass code enter 1234. Here is the screen shot of phone with this application.

          If you send ‘a’ it will make to LED (Connected on D-13) ON and if you send ‘b’ it will make the LED OFF. The Arduino code also sends the current state of LED also. If you send ‘?’ it will send the instruction. The following video will clear these understandings.

          6. Output:

          Here is the output of the above code and circuit.

          If you have any query please write us at support@roboindia.com

          Thanks and Regards
          Content Development Team
          Robo India
          http://roboindia.com

          Leave a Reply Cancel reply

          You must be logged in to post a comment.

          Categories

          • Android on MIT App Inventor 5
          • Arduino 168
          • Arduino Builders Kit 18
          • Arduino Nano 5
          • Arduino Nano Starter Kit 5
          • Arduino School Learning Program 2
          • Arduino UNO Multipurpose Kit 1
          • Assembly Guides 7
          • Basics of Electronics 9
          • Bluetooth 10
          • Blynk 9
          • DIY Kit 41
          • ESP-01 (ESP8266) 6
          • ESP32 – Wifi, Bluetooth Board 3
          • ESP8266 Builders Kit 14
          • ESP8266 Wifi Module 20
          • Finger Print Sensor 2
          • Motors & Drivers 13
          • NodeMCU on Arduino IDE 38
          • NodeMCU Starter Kit – Basic 13
          • NodeMCU Starter Kit – Neo 13
          • NodeMCU Starter Kit – Professional 14
          • Raspberry Pi 10
          • Sensors 30
          • The Arduino Robotic Kit 7
          • Uncategorized 12
          • USBASP Programmer 2
          • Wireless 1
          • Zigbee (X BEE) 1

          Recent Tutorials

          Categories

          • Android on MIT App Inventor
          • Arduino
          • Arduino Builders Kit
          • Arduino Nano
          • Arduino Nano Starter Kit
          • Arduino School Learning Program
          • Arduino UNO Multipurpose Kit
          • Assembly Guides
          • Basics of Electronics
          • Bluetooth
          • Blynk
          • DIY Kit
          • ESP-01 (ESP8266)
          • ESP32 – Wifi, Bluetooth Board
          • ESP8266 Builders Kit
          • ESP8266 Wifi Module
          • Finger Print Sensor
          • Motors & Drivers
          • NodeMCU on Arduino IDE
          • NodeMCU Starter Kit – Basic
          • NodeMCU Starter Kit – Neo
          • NodeMCU Starter Kit – Professional
          • Raspberry Pi
          • Sensors
          • The Arduino Robotic Kit
          • Uncategorized
          • USBASP Programmer
          • Wireless
          • Zigbee (X BEE)

          Recent Tutorials

          Contact us:

          Technical enquiry: support@roboindia.com

          Business enquiry: info@roboindia.com

          Источник

          Читайте также:  Мышка блютуз не двигается
Оцените статью
Adblock
detector