Xino-Remote¶
Idea for Xino Remote¶
A PCB board based on
XIAO ESP32-C3 & XIAO BLE nRF52840 Sense¶
Fig. XIAO ESP32-C3 & XIAO nRF52840 (Sense) overview.
Fig. XIAO ESP32-C3 & XIAO nRF52840 (Sense) - pin layouts.
Specifications¶
Parametric | XIAO ESP32C3 | XIAO BLE nRF52840 Sense |
---|---|---|
CPU | ESP32-C3, 32bit RISC-V singlecore processor that operates at up to 160 MHz | Nordic nRF52840, ARM® Cortex®-M4 32-bit processor with FPU, 64 MHz |
WiFi | Complies with IEEE 802.11b/g/n protocol and supports Station mode, SoftAP mode, SoftAP + Station mode, and promiscuous mode | - |
Wireless capabilities | LE subsystem: Supports features of Bluetooth 5 and Bluetooth mesh | Bluetooth 5.0 with onboard antenna |
Power | Deep sleep power consumption is about 43μA | Standby power consumption is less than 5μA |
Battery charging | chip: Supports lithium battery charge and discharge management [Battery-AS1337A/B EB: 3.3V @ 200mA, 0.65 ~ 4.5V in] The battery pad of XIAO_ESP32C3 is not connected to any port, so the battery voltage cannot be read and there is a risk of over-discharging the battery can be done manualy) | chip: Supports lithium battery charge and discharge management [Battery-AS1337A/B EB: 3.3V @ 200mA, 0.65 ~ 4.5V in] battery port connected to the pad and can read the voltage |
interfaces | 1xI2C, 1xSPI, 1xI2S, 2xUART, 11xGPIO(PWM), 4xADC, 1xJTAG bonding pad interface | 1xUART, 1xI2C, 1xSPI, 1xNFC, 1xSWD, 11xGPIO(PWM), 6xADC |
in-built sensors | - | PDM microphone, 6-axis LSM6DS3TR-C IMU |
Arduino | XIAO ESP32-C3 Arduino Getting started | XIAO nRF52840 Arduino- Getting started, XIAO nRF52840 Arduino - Sensors, XIAO nRF52840 Arduino - Send/Receive |
MicroPython | XIAO ESP32-C3 Micropython - GITHUB Micropython GITHUB; [XIAO ESP32-C3 Micropython - getting startedXIAO ESP32-C3 Micropython - Sensors & Send/Receive | XIAO nRF52840 MicroPython - GITHUB |
KiCAD model | ZIP | ZIP |
Model 3D | STEP | [STEP] |
- download the most recent MicroPython firmware .bin file to load onto your ESP32 device. You can download it from the MicroPython downloads page
For best results it is recommended to first erase the entire flash of your device before putting on new MicroPython firmware.
Currently we only support esptool.py to copy across the firmware. You can find this tool here: https://github.com/espressif/esptool/, or install it using pip:
pip install esptool
Using esptool.py you can erase the flash with the command:
esptool.py --port /dev/ttyUSB0 erase_flash
deploy the new firmware using:
esptool.py --chip esp32 --port /dev/ttyUSB0 write_flash -z 0x1000 esp32-20180511-v1.9.4.bin
- https://micropython.org/download/seeed_xiao_nrf52/
Software & Reference Project Links¶
Arduino Set up¶
https://wiki.seeedstudio.com/XIAO_BLE/
Step 3. Add Seeed Studio XIAO nRF52840 (Sense) board package to your Arduino IDE
Navigate to File > Preferences, and fill “Additional Boards Manager URLs” with the url below: https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json
Links:¶
Attention:All the I/O pins are 3.3V, please do not input more than 3.3V, otherwise, the CPU may be damaged.
XINO remote - Kicad¶
Import the Symbol library to Kicad - Open your Kicad Project - Go to Preference —> Manage Symbol Libraries
- Click the “+” button below
- Configure the Nick Name and the Library Path (choosing the Library you download from the wiki, called: …\Seeeduino XIAO KICAD\Seeeduino XIAO.lib)
- Then hit OK
Import the Footprint library to Kicad Go to Preference —> Manage Footprint Libraries
XINO remote - ideas with Battery¶
Fig. Conceptual Xino-remote.
Fig. Conceptual 3 versions Xino-remote.
battery¶
The red one is positive (+), the black one is negative (-). Never connect the red cable to the negative battery terminal or a vehicle with a dead battery.
Setting Up Arduino IDE¶
https://how2electronics.com/getting-started-with-seeed-xiao-ble-nrf52840-sense/
-
Connect the XIAO BLE (Sense) to your computer via a USB Type-C cable.
-
Download and Install the latest version of Arduino IDE according to your operating system. Then launch the Arduino application.
-
There is no pre-installed package for NRF52840 Board. So we need to first install the board on Arduino IDE. To do that Navigate to File > Preferences, and fill “Additional Boards Manager URLs” with the URL below: https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json
-
Navigate to Tools > Board > Boards Manager, type the keyword “seeed nrf52” in the search box, select the latest version of Seeed nRF52 Boards, and install it.
Sending BLE data to mobile: https://github.com/just4give/ei-blue/blob/master/firmware/xiao_ble_sense/imu_capture.ino
Sensors¶
Thermal Camera: https://www.seeedstudio.com/Grove-Thermal-Imaging-Camera-IR-Array-MLX90640-110-degree-p-4334.html
Project :https://www.hackster.io/mithun-das/pet-activity-tracker-using-xiao-ble-sense-edge-impulse-858d73