rishitghosh
Posts: 23
Joined: Thu Dec 21, 2017 7:06 am

7 segment 4 digit display - python code

Fri May 25, 2018 2:58 pm

Hi,
Can you point me to a link which has a 7 segment 4 digit python code with the appropriate connections in Raspberry pi 3?
I found a link on the internet which has the code and the connections, but the connections is for pi 2 (which has 26 pins) . So , can you provide me the pin mapping for pi 2 to pi 3?

User avatar
DougieLawson
Posts: 34166
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: 7 segment 4 digit display - python code

Fri May 25, 2018 3:01 pm

Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

rishitghosh
Posts: 23
Joined: Thu Dec 21, 2017 7:06 am

Re: 7 segment 4 digit display - python code

Fri May 25, 2018 4:09 pm

The link which you gave has a raspberry pi which has 26 pins, but my raspberry pi 3 has 40 pins . So , can you provide me with the pin mapping for pi 2(26 pins ) to pi 3 ?

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

Re: 7 segment 4 digit display - python code

Fri May 25, 2018 6:13 pm

rishitghosh wrote:
Fri May 25, 2018 4:09 pm
The link which you gave has a raspberry pi which has 26 pins, but my raspberry pi 3 has 40 pins . So , can you provide me with the pin mapping for pi 2(26 pins ) to pi 3 ?
First 26 pins are the same, so you can use the same pins as in that topic.

User avatar
DougieLawson
Posts: 34166
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: 7 segment 4 digit display - python code

Fri May 25, 2018 8:18 pm

rishitghosh wrote:
Fri May 25, 2018 4:09 pm
The link which you gave has a raspberry pi which has 26 pins, but my raspberry pi 3 has 40 pins . So , can you provide me with the pin mapping for pi 2(26 pins ) to pi 3 ?
To add to Dirk's answer.

https://pinout.xyz
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

rishitghosh
Posts: 23
Joined: Thu Dec 21, 2017 7:06 am

Re: 7 segment 4 digit display - python code

Sat May 26, 2018 4:05 am

DirkS wrote:
Fri May 25, 2018 6:13 pm
rishitghosh wrote:
Fri May 25, 2018 4:09 pm
The link which you gave has a raspberry pi which has 26 pins, but my raspberry pi 3 has 40 pins . So , can you provide me with the pin mapping for pi 2(26 pins ) to pi 3 ?
First 26 pins are the same, so you can use the same pins as in that topic.
Thanks a lot "Dirks" , I will try this out.

rishitghosh
Posts: 23
Joined: Thu Dec 21, 2017 7:06 am

Re: 7 segment 4 digit display - python code

Sat May 26, 2018 4:10 am

DougieLawson wrote:
Fri May 25, 2018 8:18 pm
rishitghosh wrote:
Fri May 25, 2018 4:09 pm
The link which you gave has a raspberry pi which has 26 pins, but my raspberry pi 3 has 40 pins . So , can you provide me with the pin mapping for pi 2(26 pins ) to pi 3 ?
To add to Dirk's answer.

https://pinout.xyz
This is extremely helpful , Thank you .

Return to “Python”