A basic electronics system that will display Mandalorian characters and animations on a small display using a Raspberry Pi Zero. Use this as a starting point for adding displays to your costume (like a gauntlet). Feel free to copy the design, modify it, or make feature requests. This is the way!
What is the difference between the original MandoPuter and a Mandoputer Pi?
- The original MandoPuter has a longer battery life, but is best suited for text and one image
- The MandoPuter Pi has lot more memory and can display multiple images including animated GIFs at the cost of lower battery life
This guide is still a work in progress
You will need the following parts:
- One supported display:
- 1.14" LCD <--- preferred display for the pre-Beskar gauntlet
- 1.30" LCD <--- preferred display for the Beskar gauntlet
- Raspberry Pi Zero or Raspberry Pi Zero W (the Zero W has built-in Wi-Fi and Bluetooth)
- Suggested 5V power supplies (connected to the board, or powered through the micro USB connector)
- PiSugar product page here
- PiSugar2 product page here
- Zero Lipo and LiPoly battery 1200 mAH or larger. Zero Lipo available on Amazon
- PowerCore 5000 or similar USB battery pack
- Mi Power Core
- MicroSDHC Card 16GB preferred, speed class 10
- MicroSDHC card reader for your PC - you'll need to flash an image to the card
- Small Gauge (22-30) Wire to connect the display
Unlike the Zero, the Zero W has Wi-Fi, so you can SSH into it remotely without the need for a keyboard, mouse, and monitor
- Micro USB to USB OTG adapter for connecting a wireless keyboard/mouse combo - or -
- Micro USB hub is another option if you need to connect more than one USB device to the Raspberry Pi
- Keyboard and Mouse These can be separate, or a combo unit like I have linked here
- Micro HDMI adapter to connect and external monitor (you'll need an HDMI monitor and cable)
- Fine tip Soldering Iron (I use a Hakko FX-100, but any fine tip will work)
- Solder (what I'm using)
- Solder flux (what I'm using)
- Micro Cutters
- Wire Strippers
- Tweezers
- Isopropyl Alcohol for cleaning solder flux
- A computer with a USB port
You'll follow 3 main steps to get things setup:
- Setup the Raspberry Pi Zero or Zero W (flash the image to the SD card)
- Solder the LCD
- Connect power
Optional - customize the character sequence and/or add graphics (details below)
That's it, no need to write any code or use any other fancy tools. The default setup will display text sequences, so no editing is required. The character sequences are as close as I can get analyzing many frames from the show and behind the scenes. From there you can make changes to the sequence, or add images or GIF animations.
These steps only apply to the Raspberry Pi Zero W board (Wi-Fi version). If you have a Raspberry Pi Zero follow the steps in 1b below. Setup is simple, we will complete the following:
- Download the right image 💾 to your PC and flash it to the SD card
- Customize your Wi-Fi setting, so you can access it remotely. This is not required, but another way to connect and configure your MandoPuter if you do not have a keyboard and monitor connected to it
- Insert the SD card into the Pi
You will need to download one of the following images depending upon which display you are using:
- Raspberry Pi Zero W with 1.3" display (best for the Beskar gauntlet)
- Raspberry Pi Zero W with 1.14" display (best for the pre-Beskar gauntlet)
Now we will need to flash the image to the SD card
- Download balenaEtcher and install it on your PC or Mac
- Connect an SD card reader with the SD card inside
- Open balenaEtcher and select from your hard drive the Raspberry Pi .img or .zip file you wish to write to the SD card
- Select the SD card you wish to write your image to
- Review your selections, then click Flash! to begin writing data to the SD card
As an alternative you can use dd on GNU/Linux or macOS: Change the path to your image file, /dev/sdcard is the path to your SD card device
Configure your Wi-Fi by copying the wpa_supplicant.conf file to the root of your SD card. More details here
Insert the SD card into the Raspberry Pi You can power it up to see if it will boot if you connect it to an external monitor. If not go to step 2 below and solder the LCD.
These steps only apply to the Raspberry Pi Zero board (no Wi-Fi version). If you have a Raspberry Pi Zero W follow steps in 1a above. Setup is simple, we will complete these steps:
- Download the right image 💾 to your PC and flash it to the SD card
- Insert the SD card into the Pi
You will need to download one of the following images depending upon which display you are using:
- Raspberry Pi Zero with 1.3" display (best for the Beskar gauntlet)
- Raspberry Pi Zero with 1.14" display (best for the pre-Beskar gauntlet)
Now we will need to flash the image to the SD card
- Download balenaEtcher and install it on your PC or Mac
- Connect an SD card reader with the SD card inside
- Open balenaEtcher and select from your hard drive the Raspberry Pi .img or .zip file you wish to write to the SD card
- Select the SD card you wish to write your image to
- Review your selections, then click Flash! to begin writing data to the SD card
As an alternative you can use dd on GNU/Linux or macOS: Change the path to your image file, /dev/sdcard is the path to your SD card device
Insert the SD card into the Raspberry Pi You can power it up to see if it will boot if you connect it to an external monitor. If not go to step 2 below and solder the LCD.
Solder the display to the Raspberry Pi according to the diagram below (not all display pins are used). Depending upon how you intend to power your Pi, you may not need a 40 pin header. Both the displays are the same, so the wiring is identical. Adafruit has a great soldering guide if you are new to soldering. The only thing they did not mention is adding flux to the solder joint first. That makes it much easier to make a good solder joint, and you only need to touch the parts for a second or two.
Raspberry Pin | LCD Pin |
---|---|
1 - 3.3 VDC | Vin (do not use 3V) |
9 - GND | GND |
19 - SPI MOSI | MOSI or SI |
22 - GPIO6 | DC or D/C |
23 - SPI SCLK | SCK |
24 - SPI CE0 | TFTCS or TCS |
- Raspberry Pi pinout details are documented here
- The MandoPuter Pi supports displays connected via SPI port with the ST7789 chipset. Other SPI displays are possible with different chips, and I will evaluate other options if they are needed. We do not use a display connected through the HDMI port other than configuring the sequence.
Coming soon
More detail coming soon
These are 2 scripts that you can modify to customize what is shown on the display:
- /home/pi/mandoputer/showtext.py - Displays text sequences followed by graphics sequences
- /home/pi/mandoputer/showgif.py - Displays animated GIF files on the display
You can modify these scripts, and then copy one to /home/pi/mandoputer/autorun.py so it will run automatically on boot.
SparkFun has a nice tutorial on the Raspberry Pi Zero W. This applies to the Zero model as well minus the Wi-Fi part.
Tom's Hardware has a nice article that goes into the specs and details of the Zero models. It has a getting started guide as well.
Adafruit has a nice PDF guide that goes through the features of the Raspberry Pi Zero W.
You should be ready to go. Give the system a minute or two to boot up, and you should see the display come to life.