Bill of material
From the functionalities, we can deduce the bill of materials
What I need
Electronic devices
- 4 Bargraphs (for the oxygen, rocket fuel and spaceship levels)
- 7 blocks of four 7-segment displays (2 for the countdown, speed, position, altitude, pitch and roll). See doc on the TM1637 and TM1638 for details.
- some leds (start (green), manual command (green), lights (green x2), electricity (green x2), turbo (blue x2)).
- 20 multicolor (RGB) leds (1 per push button + leds in panel display (oxygen, doors x2, electricity, automatic pilot, alarm, takeoff, orbit, landing, overspeed). See this for details.
- 4 10k\omega potentiometers (one online for the engine power, and 3 rotary for the audio, pitch and roll)
(micro) computers
- 1 raspberry pi (I have Pi3, but Pi2 should be ok. Pi Zero is ok, but cannot be used in game mode IMHO)
- 1 micro-controllers for the WS812b-like leds and other IOs: I choose an AVR ATtiny88 (because I had it in stock). See this to understand why this one, and how I program it directly with the Raspberry Pi.
- 10 2-position switches (laser, automatic pilot, lights (x2), electricity (x3), turbo (x2), computer)
- 4 3-position switches (doors, pumps (x2), audio)
- 8 push buttons with led (brake, parachute, landing gear, laser, engines x2, unhook spaceship)
- 1 big red push button with led (go button)
- 1 on/off switch with key (start)
- 2 rotary switch band selector, 4 Poles 3 Positions (start mode, flight mode)
- 4 rocket-switch (takeoff phases x3, laser)
- joystick
misc
- 2 small speakers
- 2 USB-a female plug
- 2 female audio 3.5mm jack
- 1 jack power plugs (male/female
What I bought (and where)
I do not specially recommand these shops, the links are just here to give you full description of what I bought.
- a 7-inch touch screen LCD (7-inch 800x480 HDMI LCD (B) from waveshare): 52€ at amazon
- 5 rocket switches: 9.66€ for 5 of them
- 4 boards with 8 7-segment displays (with a TM1638 led-and-buttons driver): 2.50€ each
- 1 giant push-button with led (60mm): 1.6€
- 10 toggle switches: 2.6€
- 10 square push-button (32mm, transparent): around 1€ each or here (same price, but it took time to send the command)
- some green/red/yellow/white/blue leds (2.5€)
- A game arcade joystick (numeric, not analogic): 5.3€
- some LED holders to mount them: 1.3€
- a 10k\Omega slide potentiometer: 1.4€
- Some bargraphs (0.85€ each)
- A “hat” board for the raspberry (it will not be a real hat, because I will not put any eeprom): 2.86€
- some screw connectors: 1.80€ for 20
- gaming headphone: 2€ (low quality, but very cheap… the right price for how it will be used)
- key switch: 0.85€
- pack of 50 RGB leds APA106 (a clone of the NeoPixels WS2812b), 5mm LEDs: 11.5€
- 10 3-position toggle switches: 1.9€ for 10
- 5 rotary potentiometers (with colored button): 2.33€ for 5
- flat 50cm HDMI cable
- smal audio amplifier: 0.5€
- some screw connector with 2.54mm
-
some resistors
- a cheap wallet like this one: 43cmx30cmx15cm (I bought a used one for 1€!). Please check that the height is around 15cm (12 or 13 is not enough)