Difference: TinyML (12 vs. 13)

Revision 132024-02-21 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

TinyML

Introduction

Line: 28 to 28
 Michael O'Cleirigh has started a project on github trying to port these examples to MicroPython (https://github.com/mocleiri/tensorflow-micropython-examples). Since there are several ESP32 modules that include a simple camera, I2S microphones are supported in MicroPython and several accelerometers with I2C interface are available, it should be possible to run these examples on the ESP32.

The hardware

Changed:
<
<
For the person detection example several esp32-cam boards integrating a camera with the ESP32 CPU are available. Some provide an SD card interface, such that photos or videos from the camera can be recorded onto an SD card. Some of these boards have only 16 output pins and are therefore very limited in the number of GPIO lines available to interface external devices and others use 40 output pins. None of them has a microphone and/or an accelerometer on board. To my knowledge there is only one such board using the ESP32S3 chip with vector instructions speeding up neural network operations and that one is a 40 pin device. I therefore selected this device for my studies.
>
>
For the person detection example several esp32-cam boards integrating a camera with the ESP32 CPU are available. Some provide an SD card interface, such that photos or videos from the camera can be recorded onto an SD card. Some of these boards have only 16 output pins and are therefore very limited in the number of GPIO lines available to interface external devices and others use 40 output pins. Only the ESP32-S3-FN8 has a camera and a microphone and none have an accelerometer on board.
 
Changed:
<
<
ESP32S3_kit.png
>
>
For all demos except the magic wand example I therefore use the ESP32-S3-FN8
 
Changed:
<
<
Of course it is possible to interface the microphone and/or the accelerometer to the above board, but in this case a bread board and quite a bit of external cabling is needed. I therefore prefer to use the WeMos D1 mini eco-system with an ESP32S3 CPU, a triple base and prototype boards onto which the microphone and the accelerometer are mounted.
>
>
esp32-s3-fn8.png

Of course it is possible to interface also the accelerometer to the above board, but in this case a bread board and quite a bit of external cabling is needed. I therefore prefer to use the WeMos D1 mini eco-system with an ESP32S3 CPU, a triple base and prototype boards onto which the microphone and the accelerometer are mounted.

  The photos below show the CPU and the backplane board.
esp32s3_cpu.png triple_board.png proto.png
Line: 85 to 87
 
META FILEATTACHMENT attachment="micro_back.png" attr="" comment="" date="1694421710" name="micro_back.png" path="micro_back.png" size="367313" user="UliRaich" version="2"
META FILEATTACHMENT attachment="sch_s3_mini_v1.0.0.pdf" attr="" comment="" date="1694523423" name="sch_s3_mini_v1.0.0.pdf" path="sch_s3_mini_v1.0.0.pdf" size="165478" user="UliRaich" version="1"
META FILEATTACHMENT attachment="esp32s3_pinout.png" attr="" comment="" date="1694523425" name="esp32s3_pinout.png" path="esp32s3_pinout.png" size="227540" user="UliRaich" version="1"
Added:
>
>
META FILEATTACHMENT attachment="esp32-s3-fn8.png" attr="" comment="" date="1708532885" name="esp32-s3-fn8.png" path="esp32-s3-fn8.png" size="353127" user="UliRaich" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback