arduino mini pro crashes when receiving bluetooth data - arduino

im using arduino mini pro 3.3v and the hc-06 to send and receive data between android app and arduino.
The problem is when i send data to the arduino it crashes (restarts).
This project was working fine for some time. I have the HC-06 connected directly to the rx and tx as it is a 3.3v mini.
I have tried an other HC-06 and the same thing happens. Im guessing its the mini that is at fault. this isn't as easy to change as its soldered to a pcb circuit.
it sends data back to the app no problem and everything else seems ok.
Any thoughts would be appreciated.

Related

I2C with ESP8266 is not working with another microcontroller except arduio uno

I am trying to communicate my esp8266 nodemcu board with a microcontroller which is not arduino. I have tried I2C scanner which is working perfectly and gives out the address or the slave. The problem is that no data is transfered between the two. Same code is working properly with arduino uno. I have no idea what is the problem here. Can anyone tell me the problem and the solution is any?
I configured my esp8266 as master and an another microcontroler as slave. I ran the scanner on esp8266, and it works fine. Then I was trying to communicate between them which is somehow not happening. The data that are printed on the Serial monitor are garbage values. I want to know what is the problem. I was using he arduino's Wire library which is bit not working in case of esp8266 but working fine with arduino uno.

USB connection to move a Servo Motor

I want to know how to connect a phone to an arduino via usb and then have a servo motor move once the arduino recognizes that it is a phone. I'm very very new to arduino but I think it is an arduino uno.
We haven't tried anything yet because we don't know if out school has the proper hardware. Any guidance would be greatly appreciated.
There isn't a way for the Arduino to just "know" what it's connected to. The USB connection is handled with the USB to TTL converter on the board and thats what the computer sees. The rest of the Arduino board is simply rxing or txing serial data if there is any and there wont be unless you send something. You would have to send some serial data from the phone using an app to identify the phone.
If you give more detail, then maybe we can figure out some other way to solve the problem.

NodeMCU (Arduino IDE) - after power off, sketch doesn't start

I made a project that will send GPS coordinates to a MySQL database through NodeMCU wifi. I have no problem with this, but now, in the last few steps before showing it to the company owners, I have problems when I try to reboot NodeMCU after power off.
NodeMCU does not recognize the sketch inside. It is like it was deleted.
I already pulled up gpio0 and gpio2 with 2.2K Ohms resistors and pulled down gpio15 with the same resistor, something recommended by builders.
Has anyone had the same problem?
Thanks
(Sorry for my English, I need to practice more.)
You need to connect GPIO0 to 3V with a pulldown resistor once you have finished to flash your sketch. This action is setting the NODEMCU devkit to run the sketch, instead of entering in FLASH new sketch mode.
Are you using Esp8266-01 or esp8266-12E with Nodemcu development board...?
If you are using esp-01 ,after the sketch upload you need to make it Boot from the flash, to load thw sketch

Arduino micro not recognized

Today I have an Arduino micro for some time and everything always worked well. Today, when I was uploading a code on this board using Arduino IDE, I accidentally started the Arduino Board update and the upload failed. After a while I retried again and again and again but upload always failed. Now my PC doesn't recognize my board and, looking in "device manager", when I connect my board, appears this screen. What should I do? Have I to reflash bootloader? Thank you!
I used to have same thing but i figured out my cable was not original so i used samsung micro then windows saw my arduino on SERIAL PORT, COM5.Everythin is working correct now, all errors about cable go change the cable.

GSM Module code Not Working On GSM breakout board

I'm in a situation and need some advice.
Scenario 1:
Arduino Uno/Genuino +
ICOMSAT SIM900 Module(http://www.itead.cc/icomsat.html)
(placed the jumpers such that Digital Pin 2 is rx and 3 is TX on the shield)
Code Used: The send receive SMS example code in the arduino website.(
(https://www.arduino.cc/en/Tutorial/GSMExamplesReceiveSMS)
Everything Works fine without a glitch.
Scenario 2:
Arduino Uno/genuino +
GSM breakout board(https://www.google.co.in/search?q=sim900A&espv=2&biw=1600&bih=717&source=lnms&tbm=isch&sa=X&ved=0CAYQ_AUoAWoVChMIqd748qb8yAIVYXumCh2s2Aaq#tbm=isch&q=sim900a+gsm+module&imgdii=9zJcFQBaoLAKzM%3A%3B9zJcFQBaoLAKzM%3A%3B7eDw6qGc3qZjMM%3A&imgrc=9zJcFQBaoLAKzM%3A)
Had loads of issues with softwareSeial.h library and ended up cross connecting the default on board rx/tx with GSM board's RX/TX and everything worked fine. (though I didn't liked the fact that everytime during programming I had to change connections to upload a sketch)
code used is from here (http://www.theengineeringprojects.com/2014/06/send-sms-with-arduino-uno-and-sim900d-using-at-commands.html)
Now my Problem:
Since the shields are very costly, I decided to settle on the cheaper boards for my project. But the Code used for the GSM shield was so easy to understand (since the library was doing all the heavy lifting) I tried to use that. I connected Rx of GSM board to pin 3 and TX to pin 2 of arduino and uploaded the same code I used for the GSM shield scenario. But the code won'r work, I tried to tinker a few blocking things like the enable pin code where the shield is brought up etc. but no luck. Can anyone put some light on it, has this been tried before, is it not supposed to work the was i want it to ?
Thanks a lot in advance.

Resources