@juycce
Great job KAS , i test again and you was right,your app works great with Android 2.3.5,and the HC-06 also compatible (bad thing is i don't receive any data,i can only send) smiley-grin:D so...
You mean data from Arduino to Smartphone ??
Provided the connection is established, it should work
You may have to drop SoftSerial communication if you still use it
Please post your current Arduino sketch
Based on your replay at post #146 i am trying to modify the arduino code with your permision, so that on vertical move a DC Motor, and the orizontal a Servo (for steering)...
the joyY control Vertical joystick movement, and "joyX" the horizontal right ?
Right
@wildatheart
Along with all others, again.. GREAT APP! Nice layout. Easy to use. And all functions work as designed. Can even send data now.
Glad it works, thanks for the comments
it has happened that the yellow stick will lock itself in a position other than "center", usually about the 10 o'clock or the 5 o'clock location. It seems to lock position at about 1/3 the distance from center to the outer ring. I've seen it happen 3 or 4 times in testing.
I tried and couldn't reproduce this "feature"
What is your App version ?? (Option > About...)
When the freezing occurs,
- is the BT connection established
- what is the displayed joystick position
It would be nice if your APP could receive and display a text message. ie "X axis is clear", "Pump 3 flow rate set to 40%", "Press B1 to launch" etc.
I will think about it
I am experimenting with a continuous rotation servo. I may be able to correct this in my own software but as it is - when the stick is released 3 or 4 readings are sent before the stick settles into the center position. The affect of this is the lack of ability to stop the servo rotation at a precise point.
I understand the point
I may be wrong, but a joystick is not supposed to work that way
For my pan/tilt servo device, I just uncheck Auto return to center (Option > Joystick behavior)
I get a precise positioning, no need to return to center
Am I missing something ??
Joystick is a GREAT educational opportunity to learn about Bluetooth control and most will find a way to incorporate it in their projects as is. Thanks for sharing your work
Thanks, comments appreciated
Still working on my new toy (see reply #152)
For the moment, I am busy tuning my PID motors (more info), while monitoring battery level (8.2V)
I just toggle buttons Up or Down; the actual values are displayed in the data fields.