Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(hardware): Add support for board Seeed Studio XIAO ESP32S3 Sense #155

Merged
merged 154 commits into from
Apr 19, 2024

Conversation

Slider0007
Copy link
Owner

@Slider0007 Slider0007 commented Apr 16, 2024

Add support for board Seeed Studio XIAO ESP32S3 Sense

⚠️ This board is running quite hot, therefore a heatsink on the back of the board is strongly recommended. If running to hot responsiveness is drastically reduced.


ℹ️ This board has no onboard flashlight LED. An external flashlight LED is required.

Default flashlight pin configuration:

  • GPIO1 (Labeled as D0 -> Pinout)
  • PWM controlled (5Khz)

Flashlight configuration can be adapted via WebUI -> Settings > Configuration > GPIO section


  • Adapt existing SOC temperature sensor readout to implement sensor for ESP32S3 (ESP32 sensor is not officially supported but still kept enabled. Be aware: ESP32 temperature reading could be unprecise)
  • WebUI OTA page: Show board type and plausibilty check for wrong selection
  • WebUI Alignment marker page: Update marker is now only interlocked with cycle processing for hardware with less than 8MB accessible SPIRAM --> ESP32S3 has 8MB SPIRAM and therefore no interlock, marker update can performed at any time
  • Update github build process to build and release packages for new hardware
    -> Generic syntax: AI-on-the-edge-device__update__{board type}__*
    -> Examples:
    • AI-on-the-edge-device__update__esp32cam__SLFork_155_merge_(704fc78).zip
    • AI-on-the-edge-device__update__xiao-esp32s3-sense__SLFork_155_merge_(704fc78).zip
  • Downgrade miniz library from 3.0.2 to 2.2 due to unhandled execption in unzip routine using ESP32S3 hardware (no issues with ESP32 hardware)

feat(webui): Add more content to system info page
refactor(REST API): Provide content of '/heap' as JSON + HTML
refactor(REST API)!: Remove handler starttime (use /info?type=DeviceStartTime)
refactor(REST API)!: Remove handler uptime  (use /info?type=Uptime)
refactor(REST API)!: Remove handler rssi (use /info?type=Uptime)
refactor(REST API)!: Remove handler rssi (use '/info?type=WlanRSSI')
refactor(REST API)!: Remove handler cputemp (use '/info?type=ChipTemp')
refactor(REST API)!: Remove handler sysinfo (use '/info' + '/heap')
refactor(REST API): Align time format (ISO)
Add 'datalogging sdcard' to '/info'
feat(REST API): Add legacy API by query parameter 'type'
refactor(REST API): Remove chip temp from 'overview' page. It's accessable from 'system' -> 'info' page
Use '/process_data?type=ProcessState'
Use '/process_data?type=ProcessError
Keeping same functionality, but with reduced APIs to save some RAM
Keeping same functionality, but with reduced APIs to save RAM
Use /process_data API instead

refactor(REST API): Merge parts of /value to /process_data
Use /process_data API instead

refactor(REST API): Rename remaining function of /value to /recognition_details
@Slider0007 Slider0007 merged commit 922ba2f into develop Apr 19, 2024
@Slider0007 Slider0007 deleted the support-xiao-esp32s3-sense branch April 19, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant