App: Hardware button into IOIO for Set Splits/Acknowledged

good idea/medium idea/not worth it idea

good idea
1
50%
medium idea
1
50%
not worth it idea
0
No votes
 
Total votes: 2
EnduroRacer
Joined: 12 Jul 2012, 15:49

18 Jul 2012, 21:16 #1

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 19 Jul 2012, 04:47, edited 1 time in total.
Reply

WifiLapperDev
Site Admin
Joined: 06 Jun 2012, 12:09

18 Jul 2012, 21:49 #2

+1. This is a very clever idea that I hadn't even come close to thinking of.
Reply

WifiLapperDev
Site Admin
Joined: 06 Jun 2012, 12:09

19 Jul 2012, 00:06 #3

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.
Reply

EnduroRacer
Joined: 12 Jul 2012, 15:49

19 Jul 2012, 04:53 #4

Wow, awesome.

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

WifiLapperDev
Site Admin
Joined: 06 Jun 2012, 12:09

19 Jul 2012, 10:48 #5

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.
Reply

EnduroRacer
Joined: 12 Jul 2012, 15:49

20 Jul 2012, 15:09 #6

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.
Reply

WifiLapperDev
Site Admin
Joined: 06 Jun 2012, 12:09

20 Jul 2012, 15:49 #7

Ooo, another good idea. Should be easy to add.
Reply