Hi,
I've been looking at options for adding a tilt/accelerometer device for the Pandora. As with everything there's a number of ways to skin this cat (apologies to felines everywhere). This poll is my attempt to gather some data on how best to proceed. Hmm, it's the 4th of November - there's another poll I'm supposed to vote in today but I just can't seem to remember.
BTW, some pertinent facts about what I've discovered:
(a ) to build a professional version in a 50 piece batch would cost around $10 for the parts (for a USB OTG solution), $6 for the PCB, $16 for the assembly. These figures are based on online research only - could change based on getting an actual quote. It doesn't yet include the price of an enclosure - more googling required to find somewhere I can get an instant online quote for that (any suggestions?)
(b ) accelerometer chips that output voltages start at about $7 in single quantities, whereas I2C based chips start at $14. Note that the I2C chip alone is more than the parts for an entire USB OTG solution.
(c ) An I2C only solution would also be less portable. Given b & c, I'm thinking USB is the way to go - but, hey please vote your conscience
(d ) If we do USB we can simply expose ourselves to the system (stop snickering at the back!) as a joystick and this means no special driver required. Even a 3 axes accelerometer should be OK because there are various three axes joysticks right? (I'm thinking of things like the sidewinder that you can twist the stick for the 3rd axis). Note that I'm NOT saying the implementation would work very well as a 3 axes joystick - but if someone wanted to use all 3 axes for some other software task data from the third axes would be available.
(e ) Even though no driver would be needed for a joystick replacement to increase it's usefulness I'll figure out how to have it emulate a keyboard (i.e. tilt left to get key Z, tilt right to get X for a really simple game that just requires left and right).
(f ) The design will be based off of other open source efforts and will be fully open source itself (both software and hardware). The costs above are what I'd want to charge to cover the cost plus a small amount extra to cover the extra work and risk to make it a "product". I won't be getting rich!
I think that covers it. I've likely left out some important stuff or important questions. Please let me know what you think (as if you wouldn't - that's why I love the Pandora community! )
I've been looking at options for adding a tilt/accelerometer device for the Pandora. As with everything there's a number of ways to skin this cat (apologies to felines everywhere). This poll is my attempt to gather some data on how best to proceed. Hmm, it's the 4th of November - there's another poll I'm supposed to vote in today but I just can't seem to remember.
BTW, some pertinent facts about what I've discovered:
(a ) to build a professional version in a 50 piece batch would cost around $10 for the parts (for a USB OTG solution), $6 for the PCB, $16 for the assembly. These figures are based on online research only - could change based on getting an actual quote. It doesn't yet include the price of an enclosure - more googling required to find somewhere I can get an instant online quote for that (any suggestions?)
(b ) accelerometer chips that output voltages start at about $7 in single quantities, whereas I2C based chips start at $14. Note that the I2C chip alone is more than the parts for an entire USB OTG solution.
(c ) An I2C only solution would also be less portable. Given b & c, I'm thinking USB is the way to go - but, hey please vote your conscience
(d ) If we do USB we can simply expose ourselves to the system (stop snickering at the back!) as a joystick and this means no special driver required. Even a 3 axes accelerometer should be OK because there are various three axes joysticks right? (I'm thinking of things like the sidewinder that you can twist the stick for the 3rd axis). Note that I'm NOT saying the implementation would work very well as a 3 axes joystick - but if someone wanted to use all 3 axes for some other software task data from the third axes would be available.
(e ) Even though no driver would be needed for a joystick replacement to increase it's usefulness I'll figure out how to have it emulate a keyboard (i.e. tilt left to get key Z, tilt right to get X for a really simple game that just requires left and right).
(f ) The design will be based off of other open source efforts and will be fully open source itself (both software and hardware). The costs above are what I'd want to charge to cover the cost plus a small amount extra to cover the extra work and risk to make it a "product". I won't be getting rich!
I think that covers it. I've likely left out some important stuff or important questions. Please let me know what you think (as if you wouldn't - that's why I love the Pandora community! )