Moved to https://github.com/sivar2311/platform-espressif32-versions
I am very interested in the ESP32-S2's camera port and the possibility of using it for a variety of MicroPython\CircuitPython projects. My hope is that the ESP32-S2 will the ability to do do things similiar to what is possible on the Raspberry Pi. Today there is no ESP32-S2 board available which exposes this port, and no camera modeles, but I wanted to understand the hardware capabilities to understand what might be possible and just as important, what is not.
This write up is based on solely on a morning's worth of research. If there are errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Map XPT2046 input to ILI9341 320x240 raster */ | |
| #include "SPI.h" | |
| #include "Adafruit_GFX.h" | |
| #include "Adafruit_ILI9341.h" | |
| #include <XPT2046_Touchscreen.h> /* https://github.com/PaulStoffregen/XPT2046_Touchscreen */ | |
| #define TFT_DC 27 | |
| #define _sclk 25 | |
| #define _mosi 32 /* 10K pull-up */ | |
| #define _miso 39 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <libmaple/pwr.h> | |
| #include <libmaple/scb.h> | |
| #include <RTClock.h> | |
| // Define the Base address of the RTC registers (battery backed up CMOS Ram), so we can use them for config of touch screen or whatever. | |
| // See http://stm32duino.com/viewtopic.php?f=15&t=132&hilit=rtc&start=40 for a more details about the RTC NVRam | |
| // 10x 16 bit registers are available on the STM32F103CXXX more on the higher density device. | |
| #define BKP_REG_BASE ((uint32_t *)(0x40006C00 + 0x04)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //the original code by Ted Meyers | |
| //posted here: https://groups.google.com/d/msg/diyrovers/lc7NUZYuJOg/ICPrYNJGBgAJ | |
| #include <Wire.h> | |
| #define VL53L0X_REG_IDENTIFICATION_MODEL_ID 0xc0 | |
| #define VL53L0X_REG_IDENTIFICATION_REVISION_ID 0xc2 | |
| #define VL53L0X_REG_PRE_RANGE_CONFIG_VCSEL_PERIOD 0x50 | |
| #define VL53L0X_REG_FINAL_RANGE_CONFIG_VCSEL_PERIOD 0x70 | |
| #define VL53L0X_REG_SYSRANGE_START 0x00 |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |