How to set up MCP3008 + Adafruit analog Joystick + RPI
-
Hello all,
First, thank you in advance fo your help :)
I introduce my components : Raspberry PI 1 A+ 512 MB, a microship MCP3008 and a Adafruit analog Joystick here
I am making this project link , this is the Super Game PI.
I follow this web links for the job :https://learn.adafruit.com/super-game-pi?view=all#analog-joystick
https://learn.adafruit.com/raspberry-pi-analog-to-digital-converters/mcp3008
http://www.raspberrypi-spy.co.uk/2014/04/using-a-joystick-on-the-raspberry-pi-using-an-mcp3008/
https://www.thingiverse.com/make:320067
script Driver : https://github.com/gianodog/MCP3008-GPIO_joystick/blob/master/MCP3008-GPIO_joystick.py
And other…As there is not anymore Cupcade part PCB, i need to setup an ADC converter (MCP3008) with the analog Joystick. For three days, i tried all (until the limit of my knowledges in linux :) ) but nothing works, almost …
when i test my analog joystick with the script driver , i have signal sometime, i reboot and then , no signal anymore. I tried all python scripts from these websites and the same !
Now, I dont know what to do, this is not stable , do i miss something ?
I measured the voltage in all components , all is good on the MCP3008 (2x 3.3v) ans Joystick( 5v)
I have two MCP3008 and the same problem happen.
I checked and re checked and changed the cables : the same.
I reinstalled many time Retropie, made the upgrade , update packages needed ; tried also with Noobs OS, the same , nothing works.Is there somebody who made this ? and all works great ?
Have a nice day. -
Did you manage to get the analog working on your super game pi? I built the same thing and it works great but I have been thinking about making aother one with a pi 3 but would like to get actual analog controller movement.
-
Hi, thank you for repply. all is solved. I added a arduino module to convert analogic to numeric signal from the Joystick . All works great too ;). You plan to add a RPI3? it can be difficult with the powerboost 1000c.;). How will you think to manage the power supply? I did it with a RPI2 in a Gamegear and i meet difficulties with the battery which is limited at 1 mah.
-
I would appreciate any info and pictures you could post on how you set up the controller. I did mine exactly as the instructions and it works great but would like to set up the analog movement if I can.
As for the pi 3, I hadn't even thought about the power. I figured the powerboost would be enough but maybe not. I have seen some of the pigrrl with the 3's listed for sale so thought it wasn't a problem but you are probably right about the power. I will look into it some more.
Here is a pic of the one I built.
-
@SuperPiBOy which arduino component did u use? I’m having the same problem u did, mcp3008 and looots of fails so far :) any comment on how u solved it would be highly appreciated!
-
@bassman6805
Hi, sorry to be realy late for the answer, i was really busy on my retrogame projects, but now, all is done.
First, i like a lot your SUPER GAME PI, really nice, look like stone texture ; great :).
If you can, see my new web site"Elektronicaone" , i introduce a new version of SUPER GAME PI named "Super Pie BOy One, a New consoles project "Super Pie boy 2" , Tutorials, and
lots of good things to download.
tchao -
-
@bassman6805 @emitjans
Please, use a recent web browser like Edge or Firefox to have the better user experience on my web site :),
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.