It is currently Sun Aug 30, 2015 6:27 pm

All times are UTC - 5 hours [ DST ]



Welcome
Welcome to SpeedFreq

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!





 Page 1 of 1 [ 7 posts ] 

good idea/medium idea/not worth it idea
good idea  50%  50%  [ 1 ]
medium idea  50%  50%  [ 1 ]
not worth it idea  0%  0%  [ 0 ]
Total votes : 2

Author Message
 Post subject: App: Hardware button into IOIO for Set Splits/Acknowledged
PostPosted: Wed Jul 18, 2012 5:16 pm 

Joined: Thu Jul 12, 2012 11:49 am
Posts: 357
A hardware momentary push-button, input into IOIO Digial IN, serving as the "Tap Screen" function.

This would enable the driver to keep his hands on the wheel while setting Splits and Acknowledging a message received from Pitside.


Last edited by EnduroRacer on Thu Jul 19, 2012 12:47 am, edited 1 time in total.

Offline
 Profile  
 
 Post subject: Re: App: Hardware button into IOIO for Set Splits/Acknowledg
PostPosted: Wed Jul 18, 2012 5:49 pm 
Site Admin

Joined: Wed Jun 06, 2012 8:09 am
Posts: 554
+1. This is a very clever idea that I hadn't even come close to thinking of.


Offline
 Profile  
 
 Post subject: Re: App: Hardware button into IOIO for Set Splits/Acknowledg
PostPosted: Wed Jul 18, 2012 8:06 pm 
Site Admin

Joined: Wed Jun 06, 2012 8:09 am
Posts: 554
Done! I ended up using pin 17 hardcoded. Why pin 17? According to the IOIO pin list, it is not good at anything else. It's not part of I2C, analog inputs, 5V, or anything else unique. All it can do is digital IO.

Will be available in 1.24.

Discussion point: I made it so the user has to check a box turning on the "IOIO-as-button" feature. I decided not to just make it on all the time because if their IOIO or wiring went on the fritz (on-off-on-off really fast), they could get errant clicks. But as I typed that, I realized that if their IOIO went on the fritz mid-race, they're boned anyway. So maybe it should be on all the time, with a 10-second timeout on clicks so it doesn't instant-acknowledge any messages sent.


Offline
 Profile  
 
 Post subject: Re: App: Hardware button into IOIO for Set Splits/Acknowledg
PostPosted: Thu Jul 19, 2012 12:53 am 

Joined: Thu Jul 12, 2012 11:49 am
Posts: 357
Wow, awesome.

Is your IOIO still broken? We need to get you a new one so you can test these things yourself.


Offline
 Profile  
 
 Post subject: Re: App: Hardware button into IOIO for Set Splits/Acknowledg
PostPosted: Thu Jul 19, 2012 6:48 am 
Site Admin

Joined: Wed Jun 06, 2012 8:09 am
Posts: 554
I actually have one, but I gave it to a friend with electrical skills so I could hopefully see one actually attached to a car.


Offline
 Profile  
 
 Post subject: Re: App: Hardware button into IOIO for Set Splits/Acknowledg
PostPosted: Fri Jul 20, 2012 11:09 am 

Joined: Thu Jul 12, 2012 11:49 am
Posts: 357
Any way we could get the button press/screen tap to be recorded and show up in a data lane?

That way the driver can use it to mark significant times/places on track. Like a particularly good exit off a turn or a funny feeling with the car.


Offline
 Profile  
 
 Post subject: Re: App: Hardware button into IOIO for Set Splits/Acknowledg
PostPosted: Fri Jul 20, 2012 11:49 am 
Site Admin

Joined: Wed Jun 06, 2012 8:09 am
Posts: 554
Ooo, another good idea. Should be easy to add.


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron

suspicion-preferred