Using a PIC with USB, accelerometer, and gyro for tilt-based gaming

Computers & Mobile Fun & Games

Starlino writes:

For the hardware I used the Acc_Gyro sensor and a thumb-size PIC platform UsbThumb built around the inexpensive PIC18F14K50 chip that provides all the necessary USB connectivity and ADC inputs.

This setup is actually hardware compatible with my original Motion Gamepad design so all the software utilities and firmware will work on the Acc_Gyro + UsbThumb combination that is available as a kit under the name of UsbThumbImu. The Acc_Gyro fits on top of UsbThumb and this is not a coincidence since UsbThumb was designed as microcontroller helper for the Acc_Gyro with the idea of being able to provide the USB/Serial/SPI/I2C interface, as well as making use of the built-in 10bit ADC module of the PIC18F14K50.

Play PC games the iPad style – Using a PIC with USB, accelerometer and optional Gyroscope

What will the next generation of Make: look like? We’re inviting you to shape the future by investing in Make:. By becoming an investor, you help decide what’s next. The future of Make: is in your hands. Learn More.

Tagged

Gareth Branwyn is a freelance writer and the former Editorial Director of Maker Media. He is the author or editor of over a dozen books on technology, DIY, and geek culture. He is currently a contributor to Boing Boing, Wink Books, and Wink Fun. His free weekly-ish maker tips newsletter can be found at garstipsandtools.com.

View more articles by Gareth Branwyn
Discuss this article with the rest of the community on our Discord server!

ADVERTISEMENT

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 16th iteration!

Prices Increase in....

Days
Hours
Minutes
Seconds
FEEDBACK