5,595,645 Members 45,381 Now Online
XDA Developers Android and Mobile Development Forum

Remote steering wheel control ( v1.2 ) based on Arduino + (BT)?

Tip us?
 
bryce007
Old
#111  
Junior Member
Thanks Meter 1
Posts: 13
Join Date: Dec 2005
Hi,

I'm having an issue when using my arduino via USB with this tool. It works fine when I initially set it up, but when i put the tablet to sleep (and power down the hub the arduino is conected to) the serial connection to arduino is not found again until I reselect it in the app settings? It seems the USB path changes each time the tablet sleeps..

Is it possible to change the app so it auto connects to any USB serial device?
 
_crue_
Old
#112  
Senior Member - OP
Thanks Meter 121
Posts: 204
Join Date: Nov 2013
Quote:
Originally Posted by bryce007 View Post
Hi,

I'm having an issue when using my arduino via USB with this tool. It works fine when I initially set it up, but when i put the tablet to sleep (and power down the hub the arduino is conected to) the serial connection to arduino is not found again until I reselect it in the app settings? It seems the USB path changes each time the tablet sleeps..

Is it possible to change the app so it auto connects to any USB serial device?
what arduino used, what kernel and rom?
 
bryce007
Old
#113  
Junior Member
Thanks Meter 1
Posts: 13
Join Date: Dec 2005
Quote:
Originally Posted by _crue_ View Post
what arduino used, what kernel and rom?
This is using an Arduino Pro Micro (Similar to the Leonardo just smaller). This is running on Stock 4.4 with Timur's FI Kernel (This is 2013 Nexus 7)
 
_crue_
Old
#114  
Senior Member - OP
Thanks Meter 121
Posts: 204
Join Date: Nov 2013
Quote:
Originally Posted by bryce007 View Post
This is using an Arduino Pro Micro (Similar to the Leonardo just smaller). This is running on Stock 4.4 with Timur's FI Kernel (This is 2013 Nexus 7)
this is Arduino Pro Micro (Leonardo) issues, each time it resets it changes device path.
Try to use something else.
Somewhere I've read about how to fix this on the board, but I don't remember where.
You have to prevent resetting the board on power on.
try to add
Code:
while(!Serial.available());
to setup function in sketch.
 
bryce007
Old
#115  
Junior Member
Thanks Meter 1
Posts: 13
Join Date: Dec 2005
Quote:
Originally Posted by _crue_ View Post
this is Arduino Pro Micro (Leonardo) issues, each time it resets it changes device path.
Try to use something else.
Somewhere I've read about how to fix this on the board, but I don't remember where.
You have to prevent resetting the board on power on.
try to add
Code:
while(!Serial.available());
to setup function in sketch.
:"(
Wah that is crappy. Oh well. Looks like ill have to use the HC-05 bluetooth adaptor to do it.. its a shame cause the arduino will be connected via usb anyway.

Its amazing that your app can do app launching and tasker so easily.. I have yet to find a easy solution sending keyboard hotkeys off the Leonardo's built in HID driver, which was the reason i bought that variant in the first place
 
_crue_
Old
#116  
Senior Member - OP
Thanks Meter 121
Posts: 204
Join Date: Nov 2013
Quote:
Originally Posted by bryce007 View Post
:"(
Wah that is crappy. Oh well. Looks like ill have to use the HC-05 bluetooth adaptor to do it.. its a shame cause the arduino will be connected via usb anyway.

Its amazing that your app can do app launching and tasker so easily.. I have yet to find a easy solution sending keyboard hotkeys off the Leonardo's built in HID driver, which was the reason i bought that variant in the first place
Just try to play around, I guess there is solution
I don't have such board, and it's hard to fild solution for me
but previos issue with micro we fixed.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes