Introduction: PiMVG

Picture of PiMVG

Use a Raspberry Pi and a 7 digit display to never miss your bus/Tram/Ubahn/Sbahn in Munich again!

Step 1: Setting Up the Software on the Raspberry Pi

Make sure your raspberry pi has a working internet connection and check out the code and instructions on my GitHub: https://github.com/naxq0/PiMVG

Step 2: Set Up the Hardware

If you want to display the MVG times, you need to have an appropriate 7 segment display. There are 2 options with different wiring diagrams: 4 Digit 7 Segment Display or an 8 Digit 7 Segment Display. Each option is covered in the next steps:

Step 3: OPTION 1: 8d7s

Picture of OPTION 1: 8d7s

The module uses the luma_led python library, which is meant for the 8 digit seven segment display based on the MAX7219 chip. For this alternative you will need:

  • 4 x wires
  • The MAX7219 8 Digit 7 Segment LED Display. You can also cascade more of them if you want.

The wiring diagram is available in the attached pdf "pimvg-8d7s.pdf"

In the command line interface, use the argument [--display_digits 8] to tell the python script that you want to use 1 8d7s display, 16 for two of them etc.

Step 4: OPTION 2: 4d7s Display

Picture of OPTION 2: 4d7s Display

This alternative requires a bit more components;

  • 12 x wires
  • 8 x100 Ohm resistors
  • Common Anode 4 Digit 7 Segment LED Display

The wiring diagram is available in the attached pdf "pimvg-4d7s.pdf"

In the command line interface, use the argument [--display_digits 4] to tell the python script that you want to use a 4d7s display

Comments

Swansong (author)2017-11-16

Thanks for sharing :)

About This Instructable

135views

2favorites

License:

More by IgnacioM43:PiMVG
Add instructable to: