Go Down

Topic: Android Bluetooth joystick (Read 360684 times) previous topic - next topic

kas

#780
Sep 18, 2016, 09:10 pm Last Edit: Sep 18, 2016, 09:20 pm by kas
Quote
for powerful night driving spotlight I will probably use some ready made bike light with its own batteries (put a transistor+relay to switch on)
With Total RC Commander, you may also use IR ligths combined with an IP camera. I use a Wanscam JW0004 with integrated IR leds.
The stealth robot will move in total darkness while delivering a clear picture to the android smarphone  8)


fullspool

@kas I am having issues with my robot. It seems to work fine unless you hit the buttons for function controls.  If you notice in this video you see button 1 is selected and the red led is on . Than it behaves erratically like it loses signal and than restarts ??? Ive tried everything that I could think of and came up no where so I figure I would consult the Oracle  :)

https://youtu.be/OxgERMBoeEM

kas

#782
Sep 20, 2016, 08:37 am Last Edit: Sep 20, 2016, 08:38 am by kas
Quote
@kas I am having issues with my robot. It seems to work fine unless you hit the buttons for function controls.  If you notice in this video you see button 1 is selected and the red led is on . Than it behaves erratically like it loses signal and than restarts
Hi fullspool  :)

 - possible EMF interference
 - processor brown out  <<<

what is button #1 supposed to actuate ??


fullspool

Hi fullspool  :)

 - possible EMF interference
 - processor brown out  <<<

what is button #1 supposed to actuate ??


it operates a servo , however it is disconnect now as i thought it might be causing an issue so the led is in its place so you could easier see the issue I am having.  Should I get a new uno or hc-05 ?

I am using latest app and samsung s7 .

fullspool

I did some more testing on my smaller robot using a different uno board but same hc-05 and its performing the same way.  I suppose my hc-05 has gone bad ?

kas

I did some more testing on my smaller robot using a different uno board but same hc-05 and its performing the same way.  I suppose my hc-05 has gone bad ?
What happens when you just test a plain UNO + HC-05 on a table with  _nothing_ attached  ??


Juris3D

You got it   :smiley-evil: more:
 - mode switch for camera pan/tilt

Hello! Any chance on new "Tank control lessons", with that pan/tilt control, or something? :)
No rush, I am just curious, and thanks for everything coded so far.

kas

#787
Sep 26, 2016, 09:39 pm Last Edit: Sep 26, 2016, 09:59 pm by kas
Hi juris3D

Did you already connect your IP camera to Total RC Commander ??


Quote
Any chance on new "Tank control lessons", with that pan/tilt control, or something? :)
OK   ;)
How do you want your pan/tilt control cooked ?  using one or two servo's ?


Juris3D

#788
Sep 26, 2016, 11:37 pm Last Edit: Sep 27, 2016, 12:49 am by Juris3D
Did you already connect your IP camera to Total RC Commander ??
How do you want your pan/tilt control cooked ?  using one or two servo's ?


I am fighting with camera right now... But I will win!!  :D
(EDIT: camera EDIMAX feed is working with native Android apk EdiView, and from PC web browser, but I am not sure how to feed cameras username and password for RC Total Commander for now. It is late night, will continue tomorrow.)
As for pan/tilt, it will be two servos config. Left/Right and Up/Down. Not assembled yet, but I can test with servos.

kas

TankControl   V0.8

Button #3 now toggles joystick between  motor control  and  Pan/Tilt control, for camera or other devices
Vertical servo travel and offset are fully adjustable (MIN_Y, MAX_Y & ZERO_Y)

Don't forget to rename buttons according to their specific tasks (Options/Buttons properties/Buttons labels/...)

Enjoy  ;)



Juris3D

#790
Sep 29, 2016, 07:28 pm Last Edit: Sep 29, 2016, 07:39 pm by Juris3D
Thank You for new version! Will try tonight or next days.
I am wondering, what would be best guess how to feed in commandline my camera's username and password? If I simply enter IP address in browser, it asks user/pssw, and then all is fine (see picture).
Link in browwser shows this:
http://10.0.0.45/live.asp?r=20130724
I had some experiments, looking at examples in Internet, how login and password is added to link, but did not succeed yet (Total RC Commander says "error 401: remove camera User Access Control".
I would appreciate some good suggestions here. Thanks!

kas

Quote
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 ??


kas

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


Juris3D

#793
Sep 29, 2016, 09:36 pm Last Edit: Sep 29, 2016, 10:20 pm by Juris3D
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.

kas

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




Go Up