HackerBox 0108: Newstalgia
by HackerBoxes in Circuits > Raspberry Pi
1655 Views, 2 Favorites, 0 Comments
HackerBox 0108: Newstalgia
Welcome to HackerBox 0108. Configure the PICOboot RP2040 Development Board to emulate an original 128K Macintosh. Generate Monochrome VGA video output at 640x480 pixels. Support USB interfaces for keyboard and mouse input. Provide rewritable disk storage using a MicroSD flash card. Assemble the Pico Micro Mac Kit using a Custom Full-Color PCB from PCBWay. Consider various video conversion solutions for modern usage of retro computing and retro gaming platforms. Leverage reusable adhesive putty as helping hands white soldering.
There is a wealth of information for current and prospective members in the HackerBoxes FAQ. Almost all of the non-technical support emails that we receive are already answered there, so we'd really appreciate it if you can take a few minutes to read the FAQ.
Supplies
This Instructable contains information for getting started with HackerBox 0108. The full box contents are listed on the product page for HackerBox 0108 where the box is also available for purchase while supplies last. If you would like to automatically receive a HackerBox like this right in your mailbox each month, you can subscribe at HackerBoxes.com and join the party. Subscription members save at least $15 every month and automatically receive each new HackerBox shipped immediately off the production line.
A soldering iron, solder, and basic assembly tools are generally needed to work on the monthly HackerBox. A computer for running software tools is also required. Have a look at the HackerBox Workshops for tools and supplies along with a wide array of introductory activities and experiments.
The most import thing you will need is a sense of adventure, hacker spirit, patience, and curiosity. Building and experimenting with electronics, while very rewarding, can be tricky, challenging, and even frustrating at times. The goal is progress, not perfection. When you persist and enjoy the adventure, a great deal of satisfaction can be derived from this hobby. Take each step slowly, mind the details, and don't be afraid to ask for help.
WEAR SAFETY GLASSES WHEN SOLDERING, WHEN TRIMMING WIRE LEADS, OR WHEN CUTTING, DRILLING, ETC.
Pico Micro Mac Kit
This kit implements the amazing Pico Micro Mac project from Matt Evans. He managed to embed his umac Mac 128K emulator into a Raspberry Pi RP2040 (Pico) microcontroller. Features include:
- Monochrome VGA video output of 640x480 pixels at 60Hz
- USB HID keyboard and mouse
- Rewritable disc storage on an SPI-attached SD card
- Mac 128K functionality boosted to 208K of memory (Mac 208K?)
The Special "HackerBox Edition" Pico Micro Mac Kit includes:
- A Custom Full-Color PCB from PCBWay
- PICOboot RP2040 Development Board
- MicroSD Card Module
- Right Angle 1x6 Pin Header
- Female DB15HD VGA Connector
- Two (2) 68 Ohm SMD 2512 Resistors
- 100 Ohm SMD 2512 Resistor
- Two (2) Slow Flashing RGB LEDs SMD 0807
- SMD Slide Switch
PICOboot RP2040 Development Board
This cool board was designed to serve as an IPL (Initial Program Loader) replacement modchip for the Nintendo GameCube. The IPL of the GameCube is basically its BIOS or Boot ROM. Bypassing the factory IPL allows hijinks to ensue (hackers gonna hack). With the PICOboot RP2040 Dev Board, the modchip bypass is performed by code running on a RP2040 chip. The RP2040 chip is the same Raspberry Pi chip found on the Raspberry Pi Pico.
Origin story aside, we're just going to use the PICOboot RP2040 Dev Board as a fancier Raspberry Pi Pico featuring the correct USB port <cough, cough>. After all, it has been told that the "C" in USB-C stands for "correct".
Before Soldering the PICOboot RP2040 Dev Board
Connect it to you computer using a USB-C cable.
The Green LED should light up.
Browse to PicoMicroMac UF2 Creator
Download the link "Firmware for Pico with SD Card Hat"
Your browser may try to protect you, so use tricks like "save link as", select "Keep", etc.
The downloaded file will be called something like picomac-0.2-2040-sd.uf2
On the dev board, hold the bootsel button and hit the reset button
Your computer should now have a new "drive" called RPI-SP2
Copy the UF2 firmware file to that new drive
The dev board will reboot with the green LED flashing
Now, we solder...
Pico Micro Mac Kit Assembly
All of the components and modules mount onto the black-and-white (back side) of the PCB.
The colorful front side of the PCB just says "hello"
- Place the two 68 Ohm resistors at locations R1 & R2
- they are marked "680" and can be oriented in either direction
- Place the 100 Ohm resistor at location R3
- it is marked "101" and can be oriented in either direction
- Place the two LEDs at the upper corners of the PCB
- note the green arrow on the bottom of each LED
- orient the arrow to point into the three-sided black outline on the PCB
- this means that the green arrows point toward the corners of the PCB
- Place the SMD slide switch in either orientation
- Install the Micro SD Card Module
- Option 1 (suggested)
- no header is used in this option
- melt some solder into each of the six holes of the module
- place the module on the PCB
- melt solder onto one of the rectangular pads of the PCB
- heat that pad gently until you see the solder flow in the corresponding hole
- repeat the last two steps for the remaining five pads/holes
- Option 2 (sounds less scary, but is actually more difficult)
- position the right angle 1x6 header as shown
- be sure the black insulator is on the vertical portion (not touching the PCB)
- solder the header to the PCB pads
- remove the black insulator
- place the module onto the vertical pins as shown
- solder the pins to the module
- take care not to de-solder the pin from the PCB
- Solder the PICOboot RP2040 Development Board
- orient the USB connector toward the edge of the PCB
- new to soldering castellated modules: review this SparkFun tutorial
- Pop the VGA connector into place (minding the pins)
- solder the 15 pins as well as the two larger lugs
Connect a VGA monitor and power up the Pico Micro Mac. The monitor should display a beautiful, retro, black-and-white Macintosh desktop.
FYI, the kit works fine without the two LEDs and their associated power switch. The LEDs just provide some colorful ambient lighting. They are totally optional.
Add Some Peripherals
Connect the GL850G-Based USB HUB Module using the USB-C OTG Cable as shown.
- Into one of the USB HUB ports, connect a keyboard
- Into one of the USB HUB ports, connect a mouse
- Into one of the USB HUB ports, connect a power source
Suggestions on the Power Source
- Use a wall wart style power adapter - not a computer or hub
- If wart has USB-A, use an A-to-C cable with a C-to-A adapter
- like the cable and the C-to-A adapter from HackerBox 0106
- If wart has USB-C, use an A-to-C cable backwards
Disk Storage Using a Micro SD Card
- Browse back to the PicoMicroMac UF2 Creator
- Download the link "umac0.img"
- Again, use download tricks like "save link as", select "Keep", etc.
- Format your SD card as FAT32
- Copy the umac0.img disk image into the root of the SD card
- Power down the Pico Micro Mac and insert the SD card
The umac0.img disk image will serve as a 32 MB drive demonstrating a number of classic wares and games for the Mac 128K. Contents of the umac0.img file can be modified by mounting the image in Mini vMac or Basilisk II.
VGA to HDMI Adapter
The VGA video output of the Pico Micro Mac can be converted to HDMI for use with most modern televisions and computer monitors. You might already have the VGA-to-HDMI video conversion kit included in HackerBox 0094.
The various video conversion solutions presented by HackerBoxes over the years are useful tools for any hardware hacker, hobbyist, or retro computing enthusiast to have on hand.
VGA/Audio to HDMI Conversion: a VGA-to-HDMI conversion box was featured in HackerBox 0094. As presented in the associated box guide, the VGA-to-HDMI conversion box features the Macro Silicon MS9288A chip.
HDMI to Audio/Video Conversion: an HDMI2AV conversion box was featured in HackerBox 0092. As presented in the associated box guide, the HDMI2AV conversion box features the Macro Silicon MS1836S chip.
Audio/Video to HDMI Conversion: an AV2HDMI conversion box was featured in HackerBox 0075. As presented in the associated box guide, the AV2HDMI conversion box features the Macro Silicon MS1858E chip.
Audio/Video to PC (via USB): a USB Audio/Video Capture device was featured in HackerBox 0061. As presented in the associated box guide, the USB A/V Capture device features the Macro Silicon MS2106 chip.
Adhesive Putty Helping Hands
We were first introduced to holding solder work with reusable adhesive putty about four years ago by MG in this video when HackerBox 0056 featured the DemonSeed.
As we can see, adhesive putty is a versatile tool. A lot of folks find it especially useful to hold down tiny SMT parts for soldering. A great little trick to have in your hacker utility belt.
An Apple a Day...
"Technology has a purpose. The purpose is to do good and to share." -Woz
We hope you are enjoying this month's HackerBox adventures into electronics, computer technology, and hacker culture. We aim to curate a challenging and rewarding experience of learning through experimentation and exploration. Thank you for joining us on this journey.
Reach out and share your success in the comments below. Email support@hackerboxes.com anytime with questions or whenever you need some help.
Hungry for more? Surf over to HackerBoxes.com and join us as a monthly HackerBox subscription member. You'll get a cool box of hackable gear delivered right to your mailbox every month and you'll enjoy a generous member discount.
Please consider sharing this free Instructable with others who may be interested in learning about these subjects. Word of mouth advertising is the greatest compliment that we can receive. We sincerely appreciate your support.