|
1 |
| -# JEM Micropython Overview |
2 |
| -- Micropython code for JEM core |
3 |
| -- This repo contains JEM specific drivers and libraries to interact with JEM ESP32 MCU as well as the sensors on board. |
| 1 | +# JEM2 Micropython Overview |
| 2 | +- Micropython code for JEM2 core |
| 3 | +- This repo contains JEM2 specific drivers and libraries to interact with JEM2 ESP32 MCU as well as the sensors on board. |
4 | 4 | - Code is written in micropython, as easy to use interpreted language
|
5 | 5 |
|
| 6 | +## JEM2 Specs |
| 7 | +- Core Microcontroller: ESP32 WROVER E |
| 8 | +- Distance Sensor: vl53l0x |
| 9 | +- 9 DoF IMU (accel, magnetometer, gyro): bno055 |
| 10 | +- Light Sensor: temt6000 |
| 11 | +- Buzzer: smt0540s2r |
| 12 | +- Battery measurement sensor: bq27441 |
| 13 | +- Pressure / Temperature/ Humidity Sensor: bme280 |
| 14 | +- RGB LED: ws2812 |
| 15 | +- 600 mAh LiPo battery |
| 16 | +- User button: For interacting with JEM |
| 17 | +- WiFi and Bluetooth / BLE |
| 18 | + |
6 | 19 | ## Quickstart
|
7 |
| -### Use Arduino Micropython IDE |
8 |
| -- Download release https://github.com/arduino/lab-micropython-editor/releases |
9 |
| - + For mac, linux or windows just download the appropriate package and unzip |
10 |
| -- Then open Micropython IDE and click 'Connect' |
11 |
| - + assuming your JEM is plugged into computer and turned ON |
12 |
| -- You should see list of files / directories on your JEM |
13 |
| -- REPL terminal also available |
14 |
| -- You can edit a file and click the 'Save' button to flash the code to JEM |
| 20 | +### Update your JEM2 with latest code over serial |
| 21 | +- In Google Chrome Browser (must be chrome) go to: https://jem-dev.onrender.com/ |
| 22 | +- Connect your JEM2 to your computer via micro usb |
| 23 | +- Turn on the JEM2 with the side power switch |
| 24 | +- Click on **Serial Connect** button and select the JEM port |
| 25 | + + Mac / Linux: **usbserial-DP04I8FJ (Example)** |
| 26 | + + Windows: **COM3 (Example)** |
| 27 | + |
| 28 | +- Wait about 5 seconds |
| 29 | +- Below, click the **Load All** button next to the **Official KitLab Kits** section |
| 30 | +- Select the **JEM2 Demo Kit** Sync button (may take 10 seconds to sync) |
| 31 | + |
| 32 | + |
| 33 | +- After selecting, navigate to the **Edit** tab (near lower right hand corner) |
| 34 | +- You should now see the **JEM2 Demo Kit** project in the File Explorer to your right |
| 35 | + + If it's says something else like **MicropythonBoard** just click on that and you should see the Demo Kit option |
| 36 | +- Now click the **FLASH TO JEM** button and wait for prompt to reconnect to JEM2 after upload |
| 37 | + + This can take anywhere from 15 seconds to a couple minutes depending on big the update is |
| 38 | + |
| 39 | + |
15 | 40 |
|
16 | 41 | ### Interact with JEM via the Web IDE
|
17 | 42 | - [JEM Web IDE](https://kitlab.io/jem/ide)
|
|
0 commit comments