idem
Posts: 12
Joined: Mon Feb 18, 2013 3:23 pm

Raspberry Pi - Connecting MCP23017/MCP3008/ULN2803

Mon Apr 15, 2013 2:34 pm

Hi all,

just asking if it possible to use with my raspberry Pi a MCP23017, [b]AND [/b]MCP3008 [b]AND[/b] a ULN2803 (or L293D ).
The MCP23017 to extend RasPi GPIO
The MCP3008 for the DAC and ...
The ULN2803 (or L293D ) for my stepper motor.
I had to use a DS18B20, a PIR sensor, a Magnetic Door Sensor , a photoresistor (LDR), ... .
And for future, a LCD or multi led panel :)

DirkS
Posts: 9964
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Raspberry Pi

Mon Apr 15, 2013 2:42 pm

After googling around for about 55 seconds I come to the conclusion that the answer is 'yes'.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23879
Joined: Sat Jul 30, 2011 7:41 pm

Re: Raspberry Pi - Connecting MCP23017/MCP3008/ULN2803

Mon Apr 15, 2013 2:43 pm

I've updated the thread title so people might actually know what the topic is about.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

idem
Posts: 12
Joined: Mon Feb 18, 2013 3:23 pm

Re: Raspberry Pi - Connecting MCP23017/MCP3008/ULN2803

Mon Apr 15, 2013 3:11 pm

Reading spec, I think so...but someone had ever do it?

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5106
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Raspberry Pi - Connecting MCP23017/MCP3008/ULN2803

Mon Apr 15, 2013 3:18 pm

I've used a MCP23017 in a "Slice of PI/O" add-on board (http://shop.ciseco.co.uk/k002-slice-of-pi-o/ ) and there are other similar boards (FWIW for my "efforts" dive into my webpages - link on the right). I've not yet used the MCP3008 (although I have some to try). Also see "I2C" and "SPI" threads in other parts of this forum and also in the wiki.
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, B2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, A+ and a B2) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

DirkS
Posts: 9964
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Raspberry Pi - Connecting MCP23017/MCP3008/ULN2803

Mon Apr 15, 2013 4:06 pm

There are a couple of posts on 'Adafruit Learning' where some of the parts you mention are used (ULN2803, DS18B20, ...). See http://learn.adafruit.com/category/learn-raspberry-pi

Gr.
Dirk.

idem
Posts: 12
Joined: Mon Feb 18, 2013 3:23 pm

Re: Raspberry Pi - Connecting MCP23017/MCP3008/ULN2803

Mon Apr 15, 2013 10:56 pm

Hi Dirk,

I used them separatly, and I know that there are howto for them on the learning.adafruit.com
I just want some feedback from people who use them together....

Regards,
idem2lyon

Antivirusvivente
Posts: 130
Joined: Fri Dec 07, 2012 4:01 pm
Location: Bari
Contact: Website

Re: Raspberry Pi - Connecting MCP23017/MCP3008/ULN2803

Mon Apr 22, 2013 5:28 pm

I bought a MCP23017, i was wondering if it's possible to plug a DS18B20 and reading the temperatures correctly. Anyone knows?
DomoHome is coming! - RaspberryPi ~ Raspbian ~ Android
https://www.facebook.com/pages/Domohome/155791057916884

User avatar
yv1hx
Posts: 372
Joined: Sat Jul 21, 2012 10:09 pm
Location: Zulia, Venezuela
Contact: Website

Re: Raspberry Pi - Connecting MCP23017/MCP3008/ULN2803

Tue Apr 23, 2013 2:12 am

Antivirusvivente wrote:I bought a MCP23017, i was wondering if it's possible to plug a DS18B20 and reading the temperatures correctly. Anyone knows?
Hello Antivirusvivente:

Have a look here: http://www.raspberrypi.org/phpBB3/viewt ... 35#p239335 ;)
Marco-Luis
Telecom Specialist (Now Available for Hire!)

http://www.meteoven.org
http://yv1hx.ddns.net
http://twitter.com/yv1hx

Return to “Beginners”