I am using a 7 inch tablet which doesn't have phone but allows multitasking.
My Samsung GT-S5570 phone won't recognise the HC-05 so I can't test on mobile phone.
However, the link below shows how to swipe on Galaxy 3. Hope this helps.
I think all Android tablets have swipe-to-close so others may also have a problem.
If you want I can video the actions. Just let me know
When you first touch the yellow joystick dot, it immediately moves to the centre of the touch point. This changes the xy numbers – most noticeable when you touch the edge. (I want to control two servos but don’t want them to move until the joystick is moved intentionally).
Can the touch point be recognised without moving the yellow dot?
I understand your concern, makes sense, let me think about it...
I addressed the situation ;)
Please let me have your email via PM, I will send you V4.1 for testing
Hi Kas,
This version V4.1 works fine.
Wherever you touch on the yellow spot is returned as coordinate 0,0 (x,y) which is exactly what I was looking for.
No jumpy servos anymore. - Many thanks
As information can be sent from Arduino to Android, is it possible to use the Android like a Serial monitor to display this information with rolling values - just like the USB to computer screen. You could give the option to change from Joystick to Monitor to make space on the Android screen.
An option to rotate the Android to make a deeper window would help, and an added bonus would be to have a button to pause the display if required.
Can the Arduino Bluetooth code be put into a library so the bluetooth device can be connected and used as a monitoring/commander tool. This would make the Arduino coding for the main applications more visible.
This version V4.1 works fine.
Wherever you touch on the yellow spot is returned as coordinate 0,0 (x,y) which is exactly what I was looking for.
No jumpy servos anymore. - Many thanks
Thanks, I will include this feature in V5.0 (pure ASCII protocol)
As information can be sent from Arduino to Android, is it possible to use the Android like a Serial monitor to display this information with rolling values - just like the USB to computer screen. You could give the option to change from Joystick to Monitor to make space on the Android screen.
Android Bluetooth joystick is a small footprint App (78Ko), its only task is to emulate a joystick ;)
There are very good App for serial monitoring, BlueTerm is one of those
My Samsung GT-S5570 phone won't recognise the HC-05 so I can't test on mobile phone
Hi Kas
I really like your excellent android app but after last update i cannot get it to work. I tried to rewrite my program but i don't receive any data. Could you please send me apk file of older version? Version 3.1 was working well for me. My e-mail address is xxxxxxxx@xxx.com
Thank you for your response and your willingness
I could recompile V3.1, but it makes much more sense to have your own program fixed and working
Joystick transmission has not been modified and should work, does it??
Please let me have your original Arduino sketch, I will fix it for you
@all
Should you encounter same difficulties, please contact me via PM
Sorry for late response. My problem was in bautrate and also you must press 3.rd button to get work … so yust overwrite setbuttonfeedback=false to setbuttonfeedback=true and it work for my.
I could recompile V3.1, but it makes much more sense to have your own program fixed and working
Joystick transmission has not been modified and should work, does it??
Please let me have your original Arduino sketch, I will fix it for you
I will send you the modified sketch tomorrow evening
There are too many transmission errors at 9600 bps
Please, in the meantime, configure your BT card at 57600 bps
Are you able to do it by yourself ??
Otherwise, let me have a link to your specific model
This will prevent while(mySerial.available()) to return before the complete data frame is received
I have modified AndroTest V1.4 to reflect this modification (now Version 1.41)
I only work @57600bps and never bothered checking lower data speeds :blush:
Thanks Topicja for bringing this point to my attention
A sweet thought for the Microsoft developers who deal with thousands different hardware configurations and get bashed by users because... "it doesn't work on MY specific setup" ;)
and also you must press 3.rd button to get work .... so you overwrite setbuttonfeedback=false to setbuttonfeedback=true and it work for my
:roll_eyes: :roll_eyes: :roll_eyes: setButtonFeedback was created for handling push buttons
This is a flag to send an earlier feed back to Android, for a consistent visual effect
setButtonFeedback is reset to False with each sendBlueToothData() call:
The all point is to access the board configuration mode
My HC-05 board has a built in switch + reset button for easy operation (see above)
Arduino member Nick_Pyner has produced a very interesting document, I learned a lot from it
Don’t forget to increase Nick’s Karma by hitting the green “+” sign below his name
First I would like to say thank you for the great piece of software you have written. It has made implementing this type of controls into my project SO much easier.
I do have one question for you, but it would probably be better to give you a little background first...
I'm currently developing an autonomous mobile robot platform, with the UI to control it on an Android tablet. I've developed most of the UI already for my device, and included a button that opens your Joystick BT Commander app directly from within my UI, for when the end user needs to manually control the robot.
However the Joystick BT Commnader app looks nothing like my UI design/theme, most notably you have a dark theme while my UI uses a "light" theme with a white background.
So my question for you is are you planning on implementing any sort of customization in this area into your app in the near future at all? If not, is there some way that I can change the colors so our software would better compliment eachother? I know I can go back and redesign my UI to match your app, but for my particular application (outdoors and/or in direct sunlight) a dark theme is a lot harder for the end user to see.
Thanks in advance for any assistance you can provide. It is greatly appreciated.
Hi joepro
Thanks for the comments
Should be included in V5.0, to be posted within 4 weeks
Im having some difficulties implementing the code into my already excising code based on Miguel Grinberg tutorial (link below)
http://blog.miguelgrinberg.com/post/building-an-arduino-robot-part-iv-a-not-so-basic-robot-firmware
I was wondering if you are able to help me. If so, I can email you the code and explain more about the problem I got.
Obviously if we get it to work, we share it here for everyone else to use.
I was wondering if you are able to help me. If so, I can email you the code and explain more about the problem I got.
Obviously if we get it to work, we share it here for everyone else to use
Hi jaapdemaat,
Let me have your email address via PM
Hi Kas,
I don’t know if you have this info…I just installed Joystick BT Plus onto Kindle Fire HD 7" and it appears to be working from first impression
Bear in mind that I have not had a chance to test with the Arduino sketch, and sadly may not for some time, but look forward to doing so.
I just thought you may be glad to know this, I don’t remember anyone else commenting on trying the app on Kindle.
From the screenshot, the buttons toggle green to white when pressed and the joystick data field in () changes with movement of the joystick, leading me to think the app is working correctly on the device. The joystick is a bit far to the right and may interfere with the menu there, I am not sure yet.
Cheers, and thanks again for all the work you have done!
kas:
I can easily compile a "billcat's special" with fully visible joystick
Let me know ;)
:grin: :grin:
Greetings Kas, well I would feel too guilty to ask, considering all that you have helped out already. But I did get a chance to do very basic testing with the minimal Arduino/BT connections, and sad to confess that yes the joystick location did often interfere with that rightmost menu button, causing an interruption of control over the stick.
Otherwise, disregarding the fact that I haven't enough programming wits yet :blush: to adjust the Arduino test sketch and thoroughly exercise all functions, it seems to be providing the appropriate responses via serial monitor when buttons are pressed, or the joystick moved!
I am quite pleased so far, I had doubts if it would work with the Fire, but it seems to be just fine.
As a side note....I was not able to connect to the HC-06 BT while the Kindle was connected to Wifi. I could not get BT comms working unless I disconnected the Wifi internet connection beforehand. I don't know why, or if this is to be expected, but its not a problem for my purposes.