First to get the toolchain ready to build the software, the firmware and dashboard ui has different utilities so it will split into two separated scripts for keep the pkg management isolate of each other.
Both needs a minimun requirements to manage the dependencies so first execute the minimun requirement script typing:
./scripts/install-requirements
The firmware is based on stm32 chip so it will need the compiler an stm32 utilities to flash the device, so install it using the following script
./scripts/install-stm32-devtools
./scripts/install-rpi-devtools
The real goal is to reach a minimalistic design without losing the access to every single control of the bike, taking in mind the standards and its prioriced accessibility.
This aproach groups 2 handle controls one for lights and the other for 'menuing' management and power.
The lights will have some tricky access, otherwise there will be many buttons to handle and it would be worse design. Then the high beam has 4 types of behaviour.
- Turn indicator reset (if active)
- High Beam burst (pressing less than 2 secs)
- High Beam activation (pressing more than 2 secs)
- High Beam deactivate (if active)
- Chasis process
- Chasis tail backside
- Chasis tail side
- Engine piston restoration
- Engine pickup sensor analysis
- Engine open side
- Engine disassembly
- Engine paint cover
- Engine tail inside
- Engine valves restoration
- Fuel tank level sensor installation
- 1x Tint film for LCD Screen
- 1x Doble shield 22awg cable (2 Meters 6/5/4/3/2 cores)
- 1x Flat HDMI cable 90º Angled
- 1x Rounded LCD Screen 5 inches
- 1x PSP1000 Joystick
- 1x Raspberry PI Model B+
- 1x CAN Bus 2515
- 3x Curved waterproof buttons
- 1x Flat waterproof button with LED Blue
- 2x Flat waterproof buttons with LED Yellow
- 1x Flat waterproof power buttons with LED Red
- 1x Handlebar grips
- 1x Domino twist grip throttle
- 1x Lithium battery
- 1x Head beam
- 1x Fuel tank filter
- 1x Chain tensioner
- 1x Fiberglass protection exhaust
- 1x Brake Led strip
- 2x 200 PSI Presure Sensors
- 1x Fuel tank plug
- 1x Aluminum radiator
- 1x Dropship Sleeving
- 1x Heat shrink tube
- 2x Conic carburator filter
- 1x Carburator starte filter
- 8x Valve shims
- 1x Carburator Sync
- 1x Hounds