Hi guys
So I'm currently filling my time with attempting to make my own joystick for use with a PC. I had started by combining parts from existing sticks CH Fighterstick and Thrustmaster's T16000M but as I have gone along I been slowly replacing parts with my own builds.
My original idea was to use the buttons and control board from the CH stick and 3D Hall effect sensor and control board from the T16000M (as neither board can do the job of both). I would then connect two USBs up and the stick would essentially operate as two devices.
Now being a bit anal this has been a bit of an irritation to me as I like things to be neat and efficient and having it operate as two devices just doesn't fit the bill, so I thought I would do some research into the possibility of using Arduino.
Now I've had success in the past adding analog thumbsticks and extra buttons to sticks using the Micro which a PC can recognise as a HID device. So my first thought ran to the Micro but I have come across a few details that have me worried.
The Micro ATmega32U4 is an 8-bit processor. The Melexis 3D Hall effect sensor is set up in Serial Protocol mode with the output values (from Melexis MLX90333 data sheet):
either:
- an analog output level through a 12 bit DAC followed by a buffer
- a digital PWM signal with 12 bit depth (programmable frequency 100 Hz … 1 kHz)
3) a digital Serial Protocol (SP − 16 bits computed angular information available)
So my questions are thus:
Will the Micro be able to handle 16 bits from the SP?
Will it damage either component?
If so, are there any other off the shelf boards that are 16-bit that could be used as a HID?
If not, could I make my own board using an Arduino Proto board and what chip|s could I use to accomplish the task e.g. ATxmega128A4U/64A4?
Any help in this problem would be greatly appreciated. I do have the full data sheet for the Melexis positioning sensor but cannot post it on here due to the whole confidentiality thing but will gladly find specific details when needed.
TL;DR I need to find or make an Arduino board that can a) operate as a HID b) Handle a 16-bit sensor in Serial Protocol mode.
This is a hobby for me so cost, difficulty and time are not issues.
Thanks for reading
Ginge.