Hi everyone,
I'm about to lose my mind on this :
My project is to give my moving robot a little bit "graphicness" to it with a projection of what he sees (throughout a HC SR04 sensor) on a translucent plexiglas sheet.
So yesterday, I was trying to get my robot working with
- 1 Ultrasonic sensor (HC SR04)
- 1 Bluetooth module (HC 06)
- 1 Seeedstudio motorshield + motors
- 1 Micro-servo (TowerPro SG90)
(- 1 Protoshield but just for convinience)
And all this with Processing.
I tested everything seperatly and it worked fine, apart from the servo but I think thats my code that isn't right (servo working, sensor too, but wheel that didn't move, but I'll figure this out later)
Anyway, made my HC-06 work with the sensor and processing on COM5 with everything on this website :
http://arduinobasics.blogspot.fr/2012/11/arduinobasics-hc-sr04-ultrasonic-sensor.html
So I thought I should give it a try with the robot moving ! I verified the code, compiled it in my Arduino, closed it, tried to launch my Processing sketch and then... "COM5 port busy" : what ?!
I tried opening / closing Processing and Arduino, rebooting my computer, disconnect and reconnect the bluetooth module etc. nothing worked, so I figured I'd give it a shot with my previous code. Of course, it wasn't working anymore. Com port Busy with this again.
I just don't understand what happened, I changed nothing, I didn't install any other bluetooth module or anything, I tried making it work with Tera Term because it did earlier on and it wasn't anymore (Cannot fin COM5, thing like that)... I'm so desperate...
If anyone has an answer or even a clue of whats going on... I would be really greatful. For the code, I don't think it has any influence on it, but can post it anyway if needed. Or you can find the first one I used on the link mentioned above.
Thank you so much in advance.