delacruz.ja05
Posts: 1
Joined: Sun Mar 10, 2019 5:27 am

How to connect rasberry pi3 b+ to an analog joystick and mcp3008

Sun Mar 10, 2019 5:31 am

We are having a problem connecting the raspberry to the mcp3008 and joystick for our project raspberry pi controlled wheel chair. Thanks

Andyroo
Posts: 4219
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: How to connect rasberry pi3 b+ to an analog joystick and mcp3008

Sun Mar 10, 2019 12:37 pm

There is a simple intro to the A2D chip https://www.raspberrypi-spy.co.uk/2013/ ... n-mcp3008/ using different sensors but it does cover the physical connection to the Pi and the basic software needs as a starting point. This one is also a neat step by step guide https://electronicshobbyists.com/raspbe ... terfacing/

As for the joystick - more details will be needed for anyone to help you.

I’ve asked the mods to pop this thread into the assistive technology forum.
Need Pi spray - these things are breeding in my house...

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 12125
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: How to connect rasberry pi3 b+ to an analog joystick and mcp3008

Sun Mar 10, 2019 12:40 pm

Andyroo wrote:
Sun Mar 10, 2019 12:37 pm
I’ve asked the mods to pop this thread into the assistive technology forum.
done!

User avatar
B.Goode
Posts: 8271
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: How to connect rasberry pi3 b+ to an analog joystick and mcp3008

Sun Mar 10, 2019 1:22 pm

The gpiozero Python library module installed by default with recent releases of the Raspbian Operating System includes built-in support for the MCP3008 chip.

Andyroo
Posts: 4219
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: How to connect rasberry pi3 b+ to an analog joystick and mcp3008

Sun Mar 10, 2019 1:52 pm

Thanks for the move mahjongg

To the OP - I’ve just come across this https://rasp.io/analogzero/ via another post that may help you.
Need Pi spray - these things are breeding in my house...

Return to “Assistive technology and accessibility”