HC-SR04

Can I get I get a HC SR04 sensor that can measure up to 100metres and what type of microcontroller can be used for it?

Question by Miccokams 1 year ago


HC-06 Capabilities

Hello, I am doing some experimenting with the HC-06 and the Arduino/Leonardo. I have the basic setup working to a terminal emulator on my PC. I would like to go one step further now and have the Leonard/HC-06 communicate with a PC application like Word or a browser. In short, I'm trying to have the Leonardo/HC-06 function like a Bluetooth keyboard. Is that possible, or is the HC-06 limited to talking to only a terminal emulator? Thanks, George

Topic by GTF1 3 years ago


SENSOR- Ultrasonic HC-SR04 (Interfacing HC-SR04 with 8051)

Hi friends, I am doing a project based on obstacle detector. It is a outdoor project hence i choose to buy an ultrasonic sensor to work efficiently on both bright sun light as well as dark nights. Now my problem is i am not able to interface this sensor with my controller. Anyone please tell me what input i must give to trig input of that sensor and what kind of output i get form the echo pin. also tell me how can i interface this sensor with the AT89S52. i have attached the user manual which i downloaded from internet.  Please help me with your valuable comments, Thanks in advance.

Topic by knachuthan 4 years ago  |  last reply 3 years ago


Can an HC-05 Bluetooth module be used as an audio receiver? Answered

Of course there are specific BT audio receivers, but I like to save money.... 

Question by DangerousTim 4 years ago  |  last reply 4 years ago


Interfacing HC 05 with Atmega?

Somebody please tell me the code to turn ON and OFF a Led on atmega8 board using hc 05 Bluetooth module Some what like this

Question by Mayoogh_Girish 3 years ago  |  last reply 1 year ago


Bluetooth (HC-06) with ATtiny85

Hi everyone,      I've been playing around with the HC-06 Bluetooth module for a while now and have had great success with it so far.  However, I have been using the Arduino Uno and Pro Mini, which have quite a few unused pins in my applications.  In order to downsize I'm trying to use the Atmel ATtiny85 chip.  I have used it many times in the past so I'm at least a bit familiar with its functions and limits.  For some reason I cannot get the Bluetooth module to work with the ATtiny85.  After many long and frustrating hours spent in vain, I decided to ask you all for help.  Does anyone know of any good tutorials or code for using the ATtiny85 with the HC-06 module?  It would be great if I could use the app Ardudroid to control the ATtiny85, but any help would be greatly appreciated.   Thanks ~Dudes

Topic by dudes 3 years ago  |  last reply 3 years ago


Hc-05 and Arduino connection

Hello to everyone.I have make a bleutooth robot which i can control it via android(tablet) and i have a problem with the code.I want from the robot to stop when connection lost or bluetooth disconnected.Now when the connection lost the robot go ahead and falls on the objects.How to add this line on the code?Can you help me please?The STATE pin of HC-05 when is HIGH is connected and when is LOW is disconnected.I put this on my code but it doesn't stop.Thank you for your time The bluetooth that i use is HC-05 My code: #include Servo SERVO_1; // Initialize Servo1 // Motor Control Variables int PWM1 = 9; int ENABLE1 = 8; int PWM2 = 5; int ENABLE2 = 7; int PWM3 = 3; int ENABLE3 = 4; int PWM4 = 6; int ENABLE4 = 12; int STATE=2; void setup() {   SERVO_1.attach(10);   Serial.begin(9600);   pinMode(ENABLE1, OUTPUT);  //Δήλωση όλων των μεταβλητών ως έξοδος   pinMode(ENABLE2, OUTPUT);  //Δήλωση όλων των μεταβλητών ως έξοδος   pinMode(ENABLE3, OUTPUT);  //Δήλωση όλων των μεταβλητών ως έξοδος   pinMode(ENABLE4, OUTPUT);  //Δήλωση όλων των μεταβλητών ως έξοδος   pinMode(STATE, INPUT); } void loop() {    if(digitalRead(STATE)== HIGH)   // see if there's incoming serial data:   if (Serial.available() > 0) {     // read the oldest byte in the serial buffer:     int incomingByte = Serial.read();     // action depending on the instruction     // as well as sending a confirmation back to the app     switch (incomingByte) {       case 'F':         moveForward();         Serial.println("Going forward");         break;       case 'L' : // Case 'L' is received,         SERVO_1.write (180); // Στρίψε Αριστερά.         SERVO_1.attach(10);         break;       case 'N':         turnright();         Serial.println("Turning right");         break;       case 'M':         turnleft();         Serial.println("Turning left");         break;       case 'O' : // Case 'L' is received,         SERVO_1.write (0); // Στρίψε Αριστερά.         SERVO_1.attach(10);         break;       case 'B':         moveBackward();         Serial.println("Going forward");         break;       case 'P':         SERVO_1.write(90); // Στρίψε Αριστερά.         SERVO_1.attach(10);         break;       case 'S':         moveNone();         Serial.println("Stopping");         break;       default:         // if nothing matches, do nothing         break;     }   } } void moveForward() {   // turn the driving motor on to go forwards at set speed   digitalWrite(ENABLE1, HIGH);   digitalWrite(ENABLE2, HIGH);   digitalWrite(ENABLE3, HIGH);   digitalWrite(ENABLE4, HIGH);   analogWrite(PWM1, 255);   analogWrite(PWM2, 255);   analogWrite(PWM3, 255);   analogWrite(PWM4, 255); } void moveBackward() {   // turn the driving motor on to go backwards at set speed   digitalWrite(ENABLE1, LOW);   digitalWrite(ENABLE2, LOW);   digitalWrite(ENABLE3, LOW);   digitalWrite(ENABLE4, LOW);   analogWrite(PWM1, 255);   analogWrite(PWM2, 255);   analogWrite(PWM3, 255);   analogWrite(PWM4, 255); } void turnright() {   digitalWrite(ENABLE1, HIGH);   digitalWrite(ENABLE2, HIGH);   digitalWrite(ENABLE3, LOW);   digitalWrite(ENABLE4, LOW);   analogWrite(PWM1, 255);   analogWrite(PWM2, 255);   analogWrite(PWM3, 255);   analogWrite(PWM4, 255); } void turnleft() {   digitalWrite(ENABLE1, LOW);   digitalWrite(ENABLE2, LOW);   digitalWrite(ENABLE3, HIGH);   digitalWrite(ENABLE4, HIGH);   analogWrite(PWM1, 255);   analogWrite(PWM2, 255);   analogWrite(PWM3, 255);   analogWrite(PWM4, 255); } void moveNone() {   // turn the driving motor off   digitalWrite(ENABLE1, 0);   digitalWrite(ENABLE2, 0);   digitalWrite(ENABLE3, 0);   digitalWrite(ENABLE4, 0);   analogWrite(PWM1, 0);   analogWrite(PWM2, 0);   analogWrite(PWM3, 0);   analogWrite(PWM4, 0);   SERVO_1.detach(); }

Question by dimitrakis1992 2 years ago  |  last reply 2 years ago


Arduino + Wifishield + buzzer + hc sr04

Hey, i started a project, i will explain it: i will try to measure a distance mit an arduino and a hc sr04 and sending the distance information to an monitor/pc/smartphone. Has anyone done something like this yet? thanks for helping.

Topic by MaximilianS2 3 years ago


Help regard ESP 8266 or HC 05? Answered

Hi guys! :3 So I'm in need of some help regarding this project https://www.instructables.com/id/Make-A-Simple-Bidepal-Humanoid-Robot/ According to the project, you need to reprogram the robot for every function but it would be very tedious and time consuming to program it again and again. So, I thought that it would be nice to use a HC 05 or ESP 8266 (along with arduino) with a program to control whether it's walking, kicking or dancing etc. so I could control it through my mobile. The problem is that I have zero skills on developing software for the mobile, arduino or esp. I would love it if anyone could help me by making a small program. Also, would it be better to use the Bluetooth module or ESP? I would prefer ESP as it's cheaper but not by alot so if the Bluetooth module has benefits, I can buy that. Thanks in advance. :)

Question by SA-DIY 2 years ago  |  last reply 2 years ago


How to reduce range on HC-05 BT module to 3 feet only?

I'm trying to design and build a rf shield to encase the hc-05 bluetooth module in order to reduce the range adjustably. For the first use I want to reduce the range to around 3 feet. Any tips?

Question by dmagryta124 3 years ago  |  last reply 3 years ago


Can I control a robot with a wireless controller with bluetooth modules?

I'm working on a Hexapod right now, but I haven't found a way to control it wirelessly. I have tried working with nrf24L01 modules but just can't find a way for it to work.... Right now I have 2 HC-05 and 1 HC-06, can I do it? My plan is to control the hexapod (controlled by an Arduino) with a controller with another Arduino that has a joystick, along with 2 buttons to switch mode or rest mode. I'm still relatively new to Arduino so I have no idea how to search the way to control Arduinos using the 2 pins TXD and RXD. Also, which information can I send on these bluetooth modules (integer, boolean, etc)? I really appreciate if someone can help me start on how to use these things

Question by Shizen 2 years ago  |  last reply 2 years ago


Arduino servos not being supplied enough power by 9V battery?

Hey guys, I'm working on my first instructable which is an robotic snake which you control via the HC-06 bluetooth module and an arduino. I'm using an arduino bluetooth app on my smartphone, but this isn't the problem. There are three servos which I am supplying power to, two continuous rotation servos for movement and one ordinary servo. I'm powering it through a 9V battery thing I got off of the adafruit store, which has the plug that goes into the power supply. When I try to control it like this, the servos twitch and barely move. The ordinary one doesn't as far as I can tell. However, when I supply power through my computer cable, the bluetooth still works from my phone, and the servos go at an ordinary rate. I'm supplying the two continuous rotation servos and the normal one through the 5 volt pin, and the bluetooth module through the 3.3 volt one. Can anyone tell me why it isn't working, or an alternate technique of powering it?

Question by RedCthulu 4 years ago  |  last reply 4 years ago


Need help controlling two servos using arduino, bluetooth, and android.

Hi folks.  I am back.  I haven't been very active on here for the past several months, but I did move to a different continent.  Anyway, I need a little help from of those smart arduino folks out there.  I am looking for an app and arduino code to control two servos using an android device via Bluetooth.  There are a ton of instructables on controlling motors via Bluetooth, and there are also several tutorials on controlling one servo via Bluetooth, but what I want to know, is how to control two servos.  I am looking for something like this but able to control two servos.  I did try an app that uses an accelerometer to control two motors, but I want to be able to control them by a slide or nob.  If someone knows of a link that could be the solution to my problem I would be grateful for it. Any help would be greatly appreciated.  Thanks, th3_jungle_inv3ntor  -   actually I left the jungle :(

Topic by th3_jungle_inv3ntor 4 years ago  |  last reply 3 years ago


How to send information between 2 HC-05? Answered

I need to send a number from 1 Arduino to another using 2 HC-05. I have followed the AT setup and connection in this video https://www.youtube.com/watch?v=hyME1osgr7s. I have successfully connected 2 HC-05 module but I can't get the master to send a relatively large number to the slave. I uploaded my code and result--serial command is the slave's (Basically I want the slave to receive the number and print onto serial screen, but it doesn't happen) Another question is if I want to send 3 integers in a row (Like 23, 34, 56) and let the other receive as 3 different integers (int1=23, int2=34, int3 = 56), how do I do that? Btw, how do I suppose to upload the files to Arduino properly? When I have the TX->RX0; RX->TX1 (Bluetooth pin to Arduino pin), I can't upload the file. I have to disconnect and upload, then it seems to upload but doesn't work properly. Thanks in advance.

Question by Shizen 2 years ago  |  last reply 2 years ago


How to use Bluetooth Module - HC-05 Device as audio receiver?

I want to connect Bluetooth Module - HC-05 (or HC-06) to my home theater to receive stereo audio signal from laptop. please give me the full guidelines.

Question by smandal13 4 years ago  |  last reply 3 years ago


What does the "state" pin do on the HC-05 Bluetooth module?

Hi all, What is the function of the state pin on the HC-05 6-pin serial bluetooth module?

Question by dmagryta124 3 years ago  |  last reply 1 year ago


My HC-05 module is not converting AT command mode?

My HC-05 module is not converting in AT command mode and I am making a project Bluetooth controlled car using Arduino 16x2 lcd and HC-05 Bluetooth module and a Bluetooth controller android app  but it is still not working in my project any help?

Question by Aroojk 1 year ago


Are the JY MCU and the HC 05 bluetooth module the same?

If not, how are they different? do they works with all android phones? what librabries or software do i use for controlling these with arduino???

Question by DangerousTim 4 years ago  |  last reply 4 years ago


My camera says it takes SD-HC memory sticks, will it accept SD?

Its in the title

Question by redsuit09 9 years ago  |  last reply 9 years ago


"HC Off-Line Occured" while Interface Sysmex Xp100 machine using serial cable

We are Interface Sysmex XP100 Hematology machine, but we got "HC Off-Line Occured" error. We are using Serial Port 9-pin female pins (2-->3, 3-->2, 5-->5) Our Code To Open Serial Port: SerialPort comport = new SerialPort(); comport.BaudRate = int.Parse(cmbBaudRate.Text); comport.DataBits = int.Parse(cmbDataBits.Text); comport.StopBits = (StopBits)Enum.Parse(typeof(StopBits), cmbStopBits.Text); comport.Parity = (Parity)Enum.Parse(typeof(Parity), cmbParity.Text); comport.PortName = cmbPortName.Text; comport.Open(); Port successfully open, but when XP100 machine send output, it shows "HC Off-Line Occured" error. Please provide possible solution.

Topic by vishal2 1 year ago  |  last reply 1 year ago


What is the program code for arduino obstacle avoiding robot it has IR remote and receiver module with HC-SR04 sensor?

It has HC-SR04 ultrasonic sensor , arduino uno R3, L293D motor driver , and Infrared remote and Infrared receiver module.

Question by KodakH1 1 year ago  |  last reply 1 year ago


Fire fighting Robot controlled wirelessly via hc-12 using a Joystick

Hi all!I would like share videos of my project "fire fighting Robot". Here are the links ! Enjoy!!!

Topic by weFwe123 5 weeks ago


How to power servo without driver/arduino?

Hi, I'm trying to make a servo motor spin without using a driver or micro controller, I just want to power it directly. It doesn't need to move a specific distance, or be precise. How would I wire this up? The idea is to power it on by using a HC-05 Bluetooth module, either directly, or by optocoupler. It would have to trigger the servo on whenever a Bluetooth device that has already been paired connects to the HC-05 module (in wireless range), and then off when a Bluetooth device disconnects (out of range). My idea is to use an app that automatically plays an audio file through the HC-06 when it connects (this app already exists), and that audio file happens to be the correct frequency to act as a PWM signal. Is this even possible?

Question by dmagryta124 3 years ago  |  last reply 1 year ago


help me

How can you increase a bluetooth module range(hc 05)???i know it range around 10m.I want it to be 50m because i need it for a rc plane project.

Topic by Alexander heron the inventor 2 years ago  |  last reply 2 years ago


Can you tell me the code for arduino robot that has HC-SR04 Ultrasonic sensor , L293D , IR receiver module and remote?

It is a arduino obstacle avoiding robot , that has arduino uno R3 , L293D motor driver , HC-SR04 ultrasonic sensor , IR remote and receiver module on 2wD chassis.

Question by KodakH1 1 year ago  |  last reply 1 year ago


Can a 9V battery power a Bluetooth module (HC-05)?

I am trying to power Bluetooth module and the Arduino using a 9V battery. So tried to use a voltage regulator (KA7805) with 25volt 100miro farad and 63V 1 micro farad capacitors. I checked the circuit connecting these components using multimeter, it showed 5.06V as the output. But the problem comes when I connect the Bluetooth module to this output, which turns off after quickly. I checked the voltage at the bluetooth which is reducing quickly from 5V-2.5V in a matter of seconds and since the operating voltage of Bluetooth module HC-05 is 3.6V-7V, it turns off. I am not clear why this circuit behaving this way. Same output when I connected to the Arduino, it works seamlessly. Please let me know what are the mistakes that I need to rectify for this work. Thanks in advance

Question by Bhanu Kishan 4 years ago  |  last reply 4 years ago


arduino ultrasonic communication

I was thinking about using the ultrasonic  module (hc-sr04) for communication for two or more arduino.the way i was thinking of do to turn a 8 bit number into single bits(i have no idea on how to do that) and send them one at time(with delay) to a another arduino which turn it back into a number also  has a master arduino  and slave arduinos 

Topic by act casual 7 years ago  |  last reply 6 years ago



Arduino bluetooth HC-05 game controller to control Android games

I got a new project to make a pretty unconventional (fitness) game controller using Arduino to control Android games. The ideea is the following: using the Android VR technology (Cardboard or Dive) it was pretty simple to create a basic game (3d world to walk around) using Unity3D and Dive SDK. If you put on the Google Cardboard, the VR experience begins. But still so few devices are on the market, which give you back the control over your smartphone, which now is fixed in front of your eyes. I want to use this and make a fitness app which will be controlled by running on a treadmill (or using a workout bike). Something like the old Nintendo Wii and the running game from Sports. Or a game like Temple Run, in which running the treadmill faster, gets you faster in the game. For this I would like to create a game controller which records the leg movements, direction, body position, etc. which would then influence the actions in the game. A lot of details I still need to work out. So the question is, does anybody know of a guide or tutorial on how to create a game controller like this, using an Arduino a bluetooth module like HC-05. The controller should not be bound to a specific game or 3rd party app, should work like a usual game controller for android (connecting to some bluetooth android game profile?). There are many android game controllers out there which dont need a special android driver/3rd app to control any game. So this has to work somehow. So how can I programm an Arduino to send (once paired) the same events a bluetooth gamecontroller (or bt keyboard or mouse) sends, which doesn't need any 3'rd party Android app to be able to send basic key pressed events to a random game. Best regards, F

Topic by fcfelix 4 years ago  |  last reply 1 year ago


robot that talks back ?

Hi so i'm building a Robot controlled by voice using my android phone and HC-05 Serial Bluetooth Module(Hi so i'm building a Robot controlled by voice using my android phone and HC-05 Serial Bluetooth Module so my question is how can i make the robot talk back to me ) so my question is how can i make the robot talk back to me simple things for exemple when i talk to the robot using my phone it will say YES SIR or tell jokes 

Question by omarb22 3 years ago  |  last reply 3 years ago


Control Living Room Lights Through The Wall Switch With An Arduino And HC-06?

I Want To Control My Living Room Lights Thourgh The Wall Switch With An Arduino? If possible please mention how to do it i want to know about how can i use relays and arduino to control a wall switch with a HC06 and arduino to control my living room lights with ardudroid thanks in advance PS 220v 50/60Hz is my mains voltage

Question by TheGreatResistor 3 years ago  |  last reply 3 years ago


Code for controlling the brightness of LED using Bluetooth module HC-05-v1.0?

I am using arduino ATmega328 micro-controller. i tried some analog coding to control the brightness via Bluetooth module but the output value of the LED is constant. The code I used is, int ledPin = 5;  int fadeValue = 0; void setup() {     pinMode(ledPin,OUTPUT);     Serial.begin(9600);     delay(100); } void loop() {   // fade in from min to max in increments of 5 points:     if (Serial.available() > 0)     {            fadeValue = (int) Serial.read();            Serial.println(fadeValue-48);            for(int i=0;i<=fadeValue;i+=5)                analogWrite(ledPin, i);                    } }

Question by santhoshpl3 4 years ago  |  last reply 4 years ago


About RN-42 bluetooth (with two arduino MICRO and one laptop)

Hi, there. I have a question about RN-42 bluetooth module. I want to make a bluetooth HID device (keyboard and mouse) and ,because of my direction of team project, it has two pieces. One arduino MICRO (using RN-42) is going to be master and the other MICRO (using HC-05) is going to be slave. Actually their roles can be changed! The goal is to connect RN-42 to my laptop while RN-42 is also connected to HC-05 and use this as a bluetooth keyboard. Now, Is it possible that RN-42 module has multiple connections?

Topic by 태현김3 2 years ago  |  last reply 2 years ago


Voltage Regulator circuit

I am trying to power Bluetooth module and the Arduino using a 9V battery. So tried to use a voltage regulator (KA7805) with 25volt 100miro farad and 63V 1 micro farad capacitors. I checked the circuit connecting these components using multimeter, it showed 5.06V as the output. But the problem comes when I connect the Bluetooth module to this output, which turns off after quickly. I checked the voltage at the bluetooth which is reducing quickly from 5V-2.5V in a matter of seconds and since the operating voltage of Bluetooth module HC-05 is 3.6V-7V, it turns off. I am not clear why this circuit behaving this way. Same output when I connected to the Arduino, it works seamlessly. Please let me know what are the mistakes that I need to rectify for this work. Thanks in advance

Topic by Bhanu Kishan 4 years ago


I need help with R4DS and a micro sd card!!!!

I downloaded the starting progams to a 4 gb mirco sd hc card, it wouldn't even load. ("loading" was the only thing that would appear.) I used to have 2 gb micro sd that worked. Is there a program I need to add?

Question by crc09 9 years ago  |  last reply 7 years ago


How can I use a digital camera to obtain DSLR looking footage?

I recently bought a new video camera, the Panasonic HC-V750. Don't get me wrong, its an amazing camera and I love it, but I made the mistake of spending 500 bucks on this instead of a DSLR. I am trying to make a short film and want it to look professional. However, I know that this is almost always achieved using a DSLR and nifty editing/lighting techniques. I have the editing and lighting techniques down, but is there any way to adjust my video camera so that I can get DSLR-like quality? Like adjusting shutter or something? I know that the advantages of a DSLR are their large sensors and supreme ability to capture light using these sensors. Can I achieve this, at least a little, with my video camera? I can adjust the white balance, shutter, iris, and focus, on my camera. Any links and/or help is greatly appreciated!

Question by Adum24 4 years ago  |  last reply 4 years ago


Back that Arduino Up

Hello instructables, I am a student at High Tech High North County and we are working with arduinos in our Engineering class. Our project is to create a reverse sensor for a motor vehicle, we are having trouble finding a way to set up the sensor with the arduino. The sensor we are using is HC-SR04 Ultrasonic Ping range sensor. If you have any idea on how to do this, please reply. Thanks.

Topic by hthnc-student 6 years ago  |  last reply 6 years ago


Blue tooth, extra values

When using HC-05 and a bluetooth App to transmit a string like “hello” to an Arduino, I get the reading as * 12|99|99|hello# Any reason why I am getting those initial values before the string hello? How is this extra values getting into the buffer? The code is while (Serial.available()) { char inChar = Serial.read(); inputString += inChar; } Serial.println (inputString); inputString=””;

Topic by zigblue 4 years ago  |  last reply 4 years ago


Arduino bluetooth control

So, I've been on a project where i am trying to use a generic bluetooth gamepad to control dc motors through a HC05 bluetooth module connected to an arduino. I have no idea on where to start. I did some research about it but there dosent seem to be much information thats appropriate for this project. here is what im using now: -ipega bluetooth controller -arduino mega 2560 -HC-05 bluetooth module

Topic by thomasmanman 3 years ago  |  last reply 3 years ago


mini drone wiring

Hello guys i'm building my first drone using the arduino pro mini , i'm following this tutorial https://www.instructables.com/id/SpeechVoice-Controlled-Arduino-Drone/ on how to build it but i have a problem with the wiring , i've connect the battery to the arduino and also the hc-05 but i'm having problem with wiring the rest i've uploaded a picture of my wiring so far can someone please help me wiring the rest. http://imgur.com/dK4cRFy thanks!

Topic by omarb22 1 year ago


sketch for arduino obstacle robot using seed motor shield v2.0?

Hi everybody, im barely started writing sletch so i need help, i build a obstacle robot and i used  arduino uno r3 seeed motor shield v2.0 one servo tamiya twin motor gear box hc-sr04 sensor  so i dont really know how to start writind the sketch.....

Question by salvador.lopez1 4 years ago  |  last reply 4 years ago


Arduino Bluetooth to Visual Forms

He folks I have a problem I am trying to send data with my arduino via a hc-06 bluetooth module to my pc and display the data with visal forms, my problem is how do I get the data into Visual studio/forms? the data is a 10 cell integer array wich should be displayed as 10 textboxes. or is there a better software to create a GUI thank you in advance

Topic by Red-Fox 3 years ago  |  last reply 3 years ago


Arduino Bluetooth to Visual Forms

Hey folks I hav a problem: I am trying to make a GUI in visual forms which displays Data received from an Arduino via Arduino sent with a HC-06 Blutooth module, the data is a 10 cell integer array which should be displayed in 10 textboxes. my problem is how do I retrieve the data from the computer's bluetooth in Visual Forms/Studio. thank you for your help

Topic by Red-Fox 3 years ago  |  last reply 3 years ago


How to connect Android 4.1.2 with arduino

I made some programs for arduino and android to connect android with arduion via blutetooth. There are the programs  http://pastebin.com/i6h7RA1Y http://prntscr.com/5fstug(programs made in MIT app inventor,ony for switching on and of diode). This program work on HUAWEI G730-U00 with older android version,but on Sony Xperia GO with 4.1.2 android i can't connect phone and bluetooth module HC-06. Someon know what is the problem?

Topic by bojan851 4 years ago  |  last reply 4 years ago


How can i separate mac & store memory in arduino ''+INQ:1D:FE:720479,7A020C,7FFF"

I want to make Door lock in a different way.please anybody suggest me,when i come back in my room, it is self unlock the door lock, use arduino & HC 05,my Bluetooth run at command mode ,at first collect the last pair Bluetooth mac and it is compared with +inq mac address ,if my phone mac is available then unlock the door automatically .

Question by nazmulmilon 2 years ago  |  last reply 2 years ago


How to stop a servo using conditional if?

I'm using an Arduino Uno, Ultrasonic sensor (HC-SR04) a Servo motor (SG90 Tower Pro). I would like to rotate the servo continuously from 0 to 180 and back to 0. I would like to stop the servo whenever the ultrasonic sensor detects an object  at a distance of 40 cm or less. I know how to rotate the servo and how to detect an object using the ultrasonic sensor, but I couldn't combine the two. Can you kindly help me on how to do so?

Question by iSmartov 1 year ago  |  last reply 1 year ago


music shield V2 with bluetooth can't receive message

I wnat to receive messages from phone and add variable to change songs. Why the program can't receive message.Can't enter the while loop when I send message. How can I change the program? (mega2560,HC-06 Bluetooth and music shield V2) music shield V2 must include Music_Shield-master library #include #include #include #include #include SoftwareSerial BTSerial(10, 11); // RX | TX char a; int i=0; void setup() {    Serial.begin(9600);             BTSerial.begin(9600);  // HC-06 current bound rate (default 9600)                         player.begin();                      //will initialize the hardware and set default mode to be normal.    player.setPlayMode(PM_REPEAT_ONE); //set mode to repeat playing a song    player.playOne("1.aac");          //play a song with its name                 player1.begin();                      //will initialize the hardware and set default mode to be normal.    player1.setPlayMode(PM_REPEAT_ONE);    player1.playOne("2.aac");         player.digitalControlEnable();                        Serial.println("Let's DEMO");         } void loop() {                if(i%2==0)         {           player.play();           Serial.println("player play");           delay(5000);         }         else         {           player1.play();           Serial.println("player1 play");           delay(5000);         }       //////////bluetooth         while(BTSerial.available())         {             byte inByte = BTSerial.read();             a=inByte;                 }                 if(a=='g')         {              Serial.print("receive g message");              i++;              //delay(1000);         }         if(a=='t')         {              Serial.print("receive t message");              i++;              //delay(1000);         }               }

Question by 竣凱詹 4 years ago


40kHz Ultrasonic Receiver Wanted

I'm looking for a breakout board, module, etc that is basically a 40kHz ultrasonic receiver, where if it detect a 40kHz signal it puts a pin high sort of thing (volume level as a PWM whatever, I just need to know when there is a 40kHz signal near by). I was thinking of using a HC-SR04 Ultrasonic Range Finder but they only receive for a very short time after the trigger pin goes high, I need it to constantly be sensing.Ideally works with a Raspberry Pi (ie 3.3 volts output, but 5v just means I add a voltage divider not a biggie)Thanks

Question by Duke Nukem 11 months ago


newbie - how does a qaudcopter work?

Hey there, I am thinking of building a quad copter, but am not quite sure, how they work, hopefully someone can clarify this for me.  Do all the motors connected run at the same speed, then  to move directions you increase the speed of the motor that deals with that direction. For example left control button will increase the speed for the left motor causing it to move left? Also will I be able to get a working prototype using those components below? 4 x 7mm Brushed Motors 4 x propellers. 1 x Arduin UNO  1 x HC-05 Arduino bluetooth module Am planning on dealing with the controls by writing a android app that sends command to the Bluetooth module on the arduino. 

Topic by Raphael1 5 years ago  |  last reply 5 years ago


How to make a app and program that triggers 3 led modes... on/Off , Blink , Fade ?

I have makes an Avengers Infinity War style Iron Man Arc Reactor From Arduino Uno R3, 21 Blue LEDs, Some Cardboard , Acrylic Glass/Plexiglass (To Make An Glowing Arc Reactor , And I Am A Noob and want to make an Android app that Control my Arc reactor in 3 ways Blink,FADE,On/Off via Bluetooth Please Help And I Have All 3 Codes To Run Individually (Blink/Fade/On/Off) but I can't figure out how to run them from android appAndroid app can Be Made With MIT App Inventer

Question by ANIKET JOSHI 1 year ago