Android Bluetooth joystick

I am wondering, what would be best guess how to feed in commandline my camera's username and password?

Did you try removing password (blank entry) within your IP camera ??

Also let me have the exact model and possibly a link to your IP camera

kas: Did you try removing password (blank entry) within your IP camera ??

No I did not, I don't want to have camera without a password. Model is this: EDIMAX IC-3115W www.tesco.com.tr/admin/pages/files/IC-3115W%20User%20Manual.pdf http://www.edimax.com/edimax/merchandise/merchandise_detail/data/edimax/global/home_network_cameras_indoor_fixed/ic-3115w

by the way, I appologize in advance, if I missed something obvious, probably even written somewhere. I just haven't had much free time, so I asked in advance to more experienced Author who probably knows that without looking anywhere :) :) UPDATE: link that works in android VLC player is: http://IPADDRESS/mjpg/video.mjpg but the same string does not show picture in RC TC.

My best guesses:

http://login:password@10.0.0.45/mjpg/video.mjpg http://login:password@10.0.0.45/mjpg/1/video.mjpg

If you drop login and password from your camera setup http://10.0.0.45/mjpg/video.mjpg http://10.0.0.45/mjpg/1/video.mjpg

You may also try adding Port info 10.0.0.45:80

Let me know what you tried

kas: What happens when you just test a plain UNO + HC-05 on a table with nothing attached ??

If I load a hc05 setup sketch I can send AT commands through the serial monitor.

I tried 2 different hc05 and 2 different uno and they are all behaving the same.

During testing it almost seems the buttons commands time out. So if b1 to light up an led , b2 for turbo , and b3 turns my motors on they all kick off after x amount of time but with no buttons selected the rover behaves normal.

During testing it almost seems the buttons commands time out. So if b1 to light up an led , b2 for turbo , and b3 turns my motors on they all kick off after x amount of time but with no buttons selected the rover behaves normal.

Humm... something is wrong ::) Please post a copy of your current rover Arduino sketch

link that works in android VLC player is: http://IPADDRESS/mjpg/video.mjpg but the same string does not show picture in RC TC.

Does VLC ask for User/Password ??

kas: Does VLC ask for User/Password ??

Hello! I got camera picture in "Total RC Commander" now :) For now, I allowed anonymous access to camera, and just in case reinstalled "Commander". Now I got picture, so, basically all is fine now. I will eventually experiment with user/passw for camera, now that I really know it is working at all. Pan/Tilt servos cod not tested yet, need a bit more free time.

Hello! I got camera picture in "Total RC Commander" now :)

So finally, which magic formula did you enter in Total RC Commander to access video stream ??

kas: So finally, which magic formula did you enter in Total RC Commander to access video stream ??

I am entering the same as in VLC player: http://IPADDRESS/mjpg/video.mjpg Without password for now, will experiment with that another time. But, the thing is, I am pretty sure I already tried that line many times before, and it did not work in "Commander". I uninstalled (with cleaning data) Commander, re-installed - now it is working. Maybe the fact, that now I have VLC in my Android system somehow is doing the trick? I don't know.

kas:
Humm… something is wrong ::slight_smile:
Please post a copy of your current rover Arduino sketch

Here you go, I don’t understand whats going on. Tried new HC05 and different UNO but still acts up.

AndroTest_Servo_fullspool_V1.9.ino (9.8 KB)

I have mine setup with shorter intervals than yours …might be worth giving them a whirl.

long sendInterval = 250;
long deadManInterval = 110;

@fullspool I uploaded AndroTest_Servo_fullspool_V1.9.ino on an Arduino/HC-05 combo board, and all is OK Button are activated/deactivated on my Moto-G without a glitch

You definitally have a hardware problem - ground not connected - loose wire connections - processor brownout - EMF interferences (relay & motors)

@woodygb Woody, I am a software guy ::) , will you please take the lead and keep on sorting this situation ??

I can try.

I will rewire the circuit again and test it. Its frustrated me to a point I had to take a break from it. It all seems to work fine but when I use rapid stick movement in turbo mode it seems to freak out and reset itself. Maybe I am over amping the board ???

I have a VD , amp sensor , 2 signal wires to my motor, 1 to LED, and 1 to a servo .

hey, i tried using the code Andro_Pan&Tilt V3.1 (See my attachment) and i’m using the latest version of your app (i guess it is version 5.2). Well, I can’t seem to make it work.
I connected BT Tx to Arduino D0
Servos to pin 9 & 10

Is there something wrong with that?

BluetoothRoboticDancer.ino (3.03 KB)

I'd suggest modifying this sketch. http://forum.arduino.cc/index.php?topic=173246.msg1766646#msg1766646

Have you also reprogrammed your blue tooth modules baud rate?

Im using MEGA 2560 clone with the MEGA sensor shield V2.0 clone. Bluetooth HC-06 Clone.

Im very new to writing code, could you point me to the correct downloads to get this app working with servos? I'd also like to connect the bluetooth to the (RX,0 and TX,1) on the sensor shield, so I can save my other pins for servos, can this be done?

hey @kas, i was wondering if you can send me the .ino code for your project Arduino robot controlled via Android smartphone https://www.youtube.com/watch?v=-jaszg2t2TY. And also can you teach me how to wire the parts altogether?

kas: I posted a pan/tilt project based on Joystick Bluetooth Commander, in the Robotic Section

|500x345

hey @kas, for this to work, do i need to change my bt baud rate to 57600?