- Brains - ESP32S3 Sense (alternative shop)
- Battery - 14500 cell with >= 2A discharge
- Battery terminals
- Switch
- Wheels and Tyres - Slot car 10" alloy
- Motor -
- Gears -
- H Bridge -
- Servo - 1.7g low voltage
- Bearings - 3/32 x 3/16 x 3/32 SFR133ZZ
- Fasteners -
- 3/32 ID spacer - Can probably 3D print this
The webpage to be used by the software needs to be compressed with gzip and then placed in an array. This takes a few steps to accomplish:
- Remove excess whitespace from
index.html
to minimise final size. Specifically tabs and newlines can be removed by using find and replace - Compress the html with the command
gzip -c index.html | xxd -p
and copy the contents into a file - Prepend
0x
and append a comma to each byte by searching with the find regex(\S{2})
and replace with0x$1,
- Replace the contents of
const uint8_t index_ov2640_html_gz[]
found in camera/camera_index.hpp - Update
index_ov2640_html_gz_len
with the length of the array. TODO: This should really not be a thing