Issue link: https://www.e-digitaleditions.com/i/1345417
8 MARCH/APRIL 2021 SPORT ROCKETRY taped to a supporting piece of body tube with the LED and lens assembly on top, the boards are haywired together, and the whole assembly fits in the base of a trans- lucent plastic nose cone. I used a Mer- cury Engineering Hijacker rocket kit for the rocket's airframe, as the Mercury kits all use a suitable nose cone. Figure 5 is a block diagram showing the components and their interconnections, and Figure 6 shows the assembled electronics. Software Now that I had a hardware platform, it was time to write the software to run in the Arduino. The software is pretty simple. Its main loop is structured around a 1-sec- ond interval divided into twenty 50-mil- lisecond "frames." This allows fairly com- plex blink patterns to be easily specified. I've gone through several iterations of ex- actly what the light does during a flight, as I gain experience with what it looks like from the ground. Initially, I was using a smooth red-to-violet color ramp (varying hue with maximum saturation and value in HSV color space) as a function of altitude, but found that this was visually confus- ing. Most recently, I've simplified it to use a progression of 12 fixed colors, one for each 100 feet of altitude. The light blinks dimmer for one frame every second during accent, and blinks brighter for two frames during descent. At power-on on the pad, the software initializes itself, samples the barometric al- titude to establish its zero AGL reference, blinks the altitude reached on the previous flight as stored in the Arduino's EEPROM, runs through the whole color sequence rapidly, and then awaits launch. While waiting it flashes a white double-blink pat- tern. As soon as the altitude increases by 100 feet, launch detect occurs and the LED uses the ascent-descent color sequence previously described. Once below 100 feet again, the maximum altitude is blinked out in white until the rocket is found and the battery unplugged. Results The flights have been very visually im- pressive. Getting good time-exposure pho- tography of them has been less successful. It's hard to get the camera to focus at night, and even harder to anticipate where the rocket will go and point the camera so that the apogee is still in the frame. And if the Moon is up, this is another complication. So far, I've been trying to photograph from Figure 5. Gravity's Rainbow block diagram. Figure 4. My rocket descending under parachute as another rocket ascends and then lawn-darts in toward the ground.

