Arduino/RPi as an Input Device project - Help me find the right path of action
Hey, thanks for clicking. I'm interested in prototyping an input device to control the cursor.
I tried posting on /r/python, but got nothing.
Now, yes, that's an old and tired idea - and people seem to dislike them in general. The step in between the human and computer is what I'm primarily concerned with.
Using an IMU(or two, or mixed with some other sensors), I want to feed the data to an algorithm which will be trained via machine learning(deciding between logistic regression, neural network, and naive Bayes) which will command the cursor to move in a certain manner.
So far, I've outlined the possible hypothesis spaces involved and the values to be trained, however, nothing tangible in terms of hardware.
I'm primarily interested in creating a prototyping environment where I can rapidly go back and forth between using and optimizing the parameters of the algorithm.
As you probably noticed, I'm a fan of python, that is to say, I'm familiar with its machine learning libraries.
The hardware part is what baffles me. I have no idea regarding the interfacing of embedded systems and computers.(serial/HID/keyboard-mouse connections/etc)
The three paths I've been considering are:
1) Use a raspberry pi with the sensor(s) and Python installed to do everything.
2) Use raspberry pi and sensors to run the machine learning libraries with the algorithm and pass the directions to the PC.
3) Use an Arduino to acquire the sensor data, stream that to the PC, use python with ML libraries to direct mouse movement based on acquired data.
I'd be grateful for any advice or direction you can give me.
Thank you for reading!
P.S. I've been eying this set of coursera courses to get a bit more of a handle on this interfacing business.