Georgian_Geek
Posts: 10
Joined: Thu May 12, 2016 3:57 pm

Sense HAT's above pins

Fri May 13, 2016 6:20 pm

If I use Sense HAT for my robot project, will I loose any GPIO pins?
If yes I plan to use Arduino alongside Pi :idea:

thanks :)

User avatar
mikronauts
Posts: 2779
Joined: Sat Jan 05, 2013 7:28 pm
Contact: Website

Re: Sense HAT's above pins

Fri May 13, 2016 6:30 pm

Looks like it uses I2C (which is shared) and /CE0 with the SPI port.

https://www.raspberrypi.org/wp-content/ ... T-V1_0.pdf
Georgian_Geek wrote:If I use Sense HAT for my robot project, will I loose any GPIO pins?
If yes I plan to use Arduino alongside Pi :idea:

thanks :)
http://Mikronauts.com - home of EZasPi, RoboPi, Pi Rtc Dio and Pi Jumper @Mikronauts on Twitter
Advanced Robotics, I/O expansion and prototyping boards for the Raspberry Pi

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Sense HAT's above pins

Fri May 13, 2016 6:32 pm

physical pins 16 and 18 should be treated as reserved too.

Georgian_Geek
Posts: 10
Joined: Thu May 12, 2016 3:57 pm

Re: Sense HAT's above pins

Sat May 14, 2016 10:45 am

thanks for replying :D,
I understood that all or many GPIO pins will be accessible and I will be able to connect some sensors and motors from Sense HAT without any problem.

Georgian_Geek
Posts: 10
Joined: Thu May 12, 2016 3:57 pm

Re: Sense HAT's above pins

Sat May 14, 2016 11:08 am

I have one more question:
can I use motor controller board, something like this (picture below) with Sense HAT?
Image

User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Sense HAT's above pins

Sat May 14, 2016 1:43 pm

Georgian_Geek wrote:I have one more question:
can I use motor controller board, something like this (picture below) with Sense HAT?
Image
No. HATs are not stackable.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Georgian_Geek
Posts: 10
Joined: Thu May 12, 2016 3:57 pm

Re: Sense HAT's above pins

Sat May 14, 2016 3:06 pm

but I have read MagPi38 (URL: http://www.raspberrypi.org/magpi-issues/MagPi38.pdf; page 18; Article "BUILD A RASPBERRY PI ROBOT FOR £50") and on page 21 is this text written (picture below). this project also use motor controller board. :?: :?
Attachments
Screenshot (5).png
Screenshot (5).png (18.91 KiB) Viewed 3655 times

User avatar
rpdom
Posts: 17029
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Sense HAT's above pins

Sat May 14, 2016 5:41 pm

DougieLawson wrote:No. HATs are not stackable.
That's not a HAT.

Does the Sense HAT have pins on top? If so, that board may work with it, as long as none of the GPIOs used by the board clash with those used by the Sense HAT.

Georgian_Geek
Posts: 10
Joined: Thu May 12, 2016 3:57 pm

Re: Sense HAT's above pins

Sat May 14, 2016 6:24 pm

thanks rpdom for answering,
I believe Sense HAT has GPIO pins on top of it (female headers). if motor controller does not work, I may try controlling motors with L293D chip.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Sense HAT's above pins

Sun May 15, 2016 3:46 am

rpdom wrote:
DougieLawson wrote:No. HATs are not stackable.
That's not a HAT.

Does the Sense HAT have pins on top? If so, that board may work with it, as long as none of the GPIOs used by the board clash with those used by the Sense HAT.
Hats are attached by connecting another header on top of the pi, with pins which go through the hat. Some of these headers have extended pins which poke out through the top of the HAT and allow you to connect other things.
Georgian_Geek wrote:I have one more question:
can I use motor controller board, something like this (picture below) with Sense HAT?
If you have schematics for everything you're connecting and you're still not sure, I recommend waiting a little bit until you're comfortable with the theory. If you don't understand how things are connected and configured, you risk frying stuff.

Georgian_Geek
Posts: 10
Joined: Thu May 12, 2016 3:57 pm

Re: Sense HAT's above pins

Sun May 15, 2016 10:35 am

ShiftPlusOne wrote:
Hats are attached by connecting another header on top of the pi, with pins which go through the hat. Some of these headers have extended pins which poke out through the top of the HAT and allow you to connect other things.
ok. I get it now, but can't I just connect male jumper wires to Sense HAT's above female headers. :?:
thanks

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Sense HAT's above pins

Sun May 15, 2016 11:08 am

Georgian_Geek wrote:
ShiftPlusOne wrote:
Hats are attached by connecting another header on top of the pi, with pins which go through the hat. Some of these headers have extended pins which poke out through the top of the HAT and allow you to connect other things.
ok. I get it now, but can't I just connect male jumper wires to Sense HAT's above female headers. :?:
thanks
I only see that sort of working if you only put the HAT halfway on, and I wouldn't recommend it. You'd be pushing up against the pins coming in from underneath the HAT.

The best way is to get female jumper wires (if required) and search http://www.toby.co.uk/ for REF-182684-02
http://www.toby.co.uk/datasheets/sectio ... 2016081654
http://www.toby.co.uk/content/catalogue ... -18xxxx-0x

Georgian_Geek
Posts: 10
Joined: Thu May 12, 2016 3:57 pm

Re: Sense HAT's above pins

Sun May 15, 2016 12:09 pm

what do you mean by "put the HAT halfway on". I understood it so (see attachment below). is that right?
I will buy headers with extended pins, anyway. :idea:
thank you for helping me! :)
Attachments
Raspberry-Pi-robot-Sense-Hat-connected-300x248.jpg
Raspberry-Pi-robot-Sense-Hat-connected-300x248.jpg (25.01 KiB) Viewed 3412 times

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Sense HAT's above pins

Mon May 16, 2016 9:41 am

Georgian_Geek wrote:what do you mean by "put the HAT halfway on". I understood it so (see attachment below). is that right?
I will buy headers with extended pins, anyway. :idea:
thank you for helping me! :)
Oh, I thought you were going to have the hat attached properly and then trying to put male jumpers in through the top, which wouldn't work because that space would be occupied by the pins underneath.

In the picture you linked, the hat is attached in a somewhat more creative way.

Georgian_Geek
Posts: 10
Joined: Thu May 12, 2016 3:57 pm

Re: Sense HAT's above pins

Mon May 16, 2016 1:01 pm

now I understand everything.
thanks for that!
all I should is to buy headers with extended pins. is that correct?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Sense HAT's above pins

Mon May 16, 2016 1:04 pm

Yeah, that's how I do it anyway.

Georgian_Geek
Posts: 10
Joined: Thu May 12, 2016 3:57 pm

Re: Sense HAT's above pins

Mon May 16, 2016 1:09 pm

wow, that was quick.
:D

Return to “Astro Pi”