Wednesday, 26 April 2023

New best story on Hacker News: Show HN: Homemade rocketship treehouse – hardware to custom OS

Show HN: Homemade rocketship treehouse – hardware to custom OS
385 by david_elson | 48 comments on Hacker News.
(This was previously submitted as https://ift.tt/q49dYeK ) The Ravenna Ultra-Low-Altitude Vehicle is a backyard rocketship treehouse nestled in the Seattle neighborhood of Ravenna. Click the link to see a demo video ( http://rocket.jonh.net ). The hexagonal treehouse is about 6.5 feet (2 meters) across at its widest point. The frame is welded mild steel with riveted aluminum siding. It contains nearly 800 LEDs forming dozens of numeric displays spread across 14 control panels, each with an acrylic face laser-cut and etched with labels such as "Lunar Distance" and "Hydraulic Pressure". The pilot controls the rocket using a joystick and panels full of working switches, knobs and buttons. Underneath the capsule are three "thrusters" that shoot plumes of water and compressed air under the control of the pilot's joystick, simulating real positioning thrusters. Takeoff and docking sequences are augmented by a paint-shaker that simulates the vibration of a rocket engine. Sound effects complete the illusion, with a powered subwoofer that gives the rocket a satisfying rumble. When it was built in 2011, rocket operations were controlled by three Atmega328 microprocessors on custom-fabricated printed circuit boards, running a small operating system, RULOS, built just for this project. A trench running from the house to the rocket carries 12VDC power for the lighting and electronics, water for the thrusters, compressed air, and several data signals. Since 2011, the two-person team has upgraded it, here is a recent update from the makers: One of the most visible changes is replacing the primary 4-line display with a slicker 6-line display (i.e., 6 rows of 8 columns of 7-segment LEDs). The audio synthesizer has been upgraded to a PCB that can generate 50khz, 16-bit audio. The interconnection bus, which had been flat IDC cable carrying individual on/off lines, was upgraded to a true I2C-based networked distributed system with over a dozen individually addressable targets, all interconnected by standard cat5 cable that carries both our I2C protocol and power. We also moved much of the electronics from 8-bit atmega328s to newer, 32-bit STM32F3's. RULOS has been expanded into a pretty general purpose embedded systems platform ported to 5 major lines of CPU (atmega, attiny, stm32, nxp lpc, and esp32). We've used it for dozens of other projects in the last 12 years, including a nanosecond-accurate timestamper, a GPS datalogger, an air quality sensor, various little electronic control boards for toys (e.g. these, and this), and an autonomous boat (that sank). It is all available on Github: https://ift.tt/TYgtJBq .