-
I'm not really sure, how do I find out? I just used the
scripts/provision.sh ESP32
line for building.Looking at the script, it looks like this one:
curl -Ls https://github.com/espruino/EspruinoBuildTools/raw/master/esp32/deploy/esp-idf.tgz | tar xfz - --no-same-owner
(commit message says it's 3.1.3)
-
-
-
The original manufacturer of the D1 mini https://docs.wemos.cc/en/latest/d1/d1_mini.html sells the D1 mini. They have a link to their own official aliexpress store.
I wonder though if you'd be better off getting an official board? I myself use the EPS8266 for some hobby work, but for actual installations I very much prefer the official boards (the Puck.js is especially nice). The nrf52 boards are also very power efficient and can run on coin cell batteries; I have yet to get an ESP8266 to lessen its power consumption.
There are also a number of other ESP8266 boards like the NodeMCU devkit but they're not as small. If you don't mind an ESP32 then the TTGo store in aliexpress also sells a number of custom chips that are already flashed with micropython (which usually means all the hardware necessary for flashing and using Espruino is already present). And of course there's the m5 stack line of products; the m5stickc is nice and small: https://github.com/m5stack/M5StickC
-
I tried flashing my M5stickC and I don't seem to get any issues.
Found ESP32, 2v06.630 > Connected to /dev/ttyUSB0 >reset() =undefined WARNING: Scan stop failed WARNING: set rssi scan not implemeted yet ____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |____|___| _|_| |___|_|_|_|___| |_| espruino.com 2v06.630 (c) 2019 G.Williams Espruino is Open Source. Our work is supported only by sales of official boards and donations: http://espruino.com/Donate >
Then again I just compiled the firmware from the tip of the master branch, so maybe the issue has been fixed since then?
-
@AkosLukacs just wanted to let you know that your intstructions (and sample .py file) were very helpful :)
>process.env ={ VERSION: "2v06.10", GIT_COMMIT: "9811e3d", BOARD: "NRF52840DONGLE", FLASH: 1048576, STORAGE: 40960, RAM: 262144, SERIAL: "xxx", CONSOLE: "Bluetooth", MODULES: "Flash,Storage,hea" ... "etworkJS,neopixel", EXPTR: 536885592 }
-
The board that you linked to isn't a D1 mini; it's just an ESP-12E (an 8266 chip with some conveniences like having castellated edges and an spi flash).
The D1 Mini looks like this: https://docs.wemos.cc/en/latest/d1/d1_mini.html
Having to add or remove resistors doesn't necessarily mean that the board was poorly manufactured nor tested. Linear regulators frequently require you to add a couple of smoothing capacitors and yet they are not considered low quality because of those requirements. Many dev boards are sold like this to give the engineer the freedom to design their circuits and make a call on what kind of characteristics their product would have vis-a-vis cost.
Sorry for the non-amazon link; I live in an area of the world where Amazon doesn't operate in.
-
i forgot i haven't rebooted in a while on this machine and the issue with the espruino ide was most likely because my user wasn't part of the
dialout
group (but i probably added my user in the group in one of my persistent terminals, hence i was able to access via screen)reboot solved all the issues :)
-
preliminary testing of the neopixel in the atom lite (D27) works well (the pixel seems to be GBR)
the chip seems to be a bit warmer than i expected; it could be because the chip is running at the full 240mhz while being enclosed in plastic.
that's all the time i have to playing around for now, would probably pick this up again sometime later for a project :)
-
looks like everything's in order. i'm unable to connect via web ide though, unlike my other esp32 boards. but connecting through screen is just fine.
reset() =undefined WARNING: Scan stop failed WARNING: set rssi scan not implemeted yet ____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |____|___| _|_| |___|_|_|_|___| |_| espruino.com 2v05 (c) 2019 G.Williams Espruino is Open Source. Our work is supported only by sales of official boards and donations: http://espruino.com/Donate >process.env ={ VERSION: "2v05", GIT_COMMIT: "990dac35", BOARD: "ESP32", FLASH: 0, STORAGE: 262144, RAM: 524288, SERIAL: "d8a01d5c-874c", CONSOLE: "Serial1", MODULES: "Flash,Storage,hea" ... "r,crypto,neopixel", EXPTR: 1073484860 } >
-
managed to finally get time to play around with it:
[~/espruino/espruino_2v05_esp32] tristan$ esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash -z --flash_mode "dio" --flash_freq "40m" 0x1000 bootloader.bin 0x10000 espruino_esp32.bin 0x8000 partitions_espruino.bin esptool.py v2.6 Serial port /dev/ttyUSB0 Connecting.... Detecting chip type... ESP32 Chip is ESP32-PICO-D4 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None MAC: d8:a0:1d:5c:87:4c Uploading stub... Running stub... Stub running... Configuring flash size... Auto-detected Flash size: 4MB Compressed 15392 bytes to 10130... Wrote 15392 bytes (10130 compressed) at 0x00001000 in 0.9 seconds (effective 133.9 kbit/s)... Hash of data verified. Compressed 1377808 bytes to 891091... Wrote 1377808 bytes (891091 compressed) at 0x00010000 in 80.4 seconds (effective 137.1 kbit/s)... Hash of data verified. Compressed 3072 bytes to 166... Wrote 3072 bytes (166 compressed) at 0x00008000 in 0.0 seconds (effective 1230.2 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin...
-
here you go :)
[~] tristan$ esptool.py --port /dev/ttyUSB0 flash_id esptool.py v2.6 Serial port /dev/ttyUSB0 Connecting........_____.. Detecting chip type... ESP32 Chip is ESP32-PICO-D4 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None MAC: d8:a0:1d:5c:87:4c Uploading stub... Running stub... Stub running... Manufacturer: c8 Device: 4016 Detected flash size: 4MB Hard resetting via RTS pin...
-
m5stack now has some nice commercial units with this chip: https://m5stack.com/products/atom-matrix-esp32-development-kit and https://m5stack.com/products/atom-lite-esp32-development-kit
they are about 2cm by 2cm by 1.7cm and quite compact
just got mine in the mail, i was surprised how small it was
-
This might be a long shot, but have you tried a different OS?
I personally use PopOS on my T480 and I've had more success with Espruino bluetooth than on Windows laptops.
A number of Linux distros have a live usb mode where you can just boot from the usb without having to install on a disk.
At least with that we can further narrow down if it's your drivers or your Bangle.js (but if you're getting services list from an android phone, I think it's more likely the windows drivers are wonky).
-
Next meeting seems to be happening 15th Jan via teleconference: https://github.com/EcmaTC53/admin
-
-
Only if the firmware on your nrf52832 chip is set to advertise on powerup. Bare chips usually would have a factory firmware that don't do anything (at least the ones I've had).
You should connect the four wires (swd + power) and see if openocd will show the chip as a target. This setup is very sensitive to movement/interference so try to keep things as stable as possible, without any background programs running on the pi.
-
I have recently rediscovered the magic of wire wrap because of how cheap the tools and wires are nowadays. Most of my prototyping now involve wire wrap in some form or the other.
(I'm somehow not able to upload images, so I'm putting a gphotos link instead of a small rpi to arduino uno shield adapter for quickly reusing shields with the pi)
-
-
Sorry to resurrect an old topic, but I'm also prepping for an Espruino talk (although sadly I'm gonna be using an ESP32 as shipping to Malaysia is a bit too expensive, and none of the local electronic shops sell official Espruino boards).
The webcam tip is something I didn't think of, but now I'm gonna have to incorporate in the talk :)
-
HacksterIO is definitely quite annoying, but nothing like a clear cookies extension can handle :) That way it stops the annoying login gate, but keeps the article in my history.
Currently though my go-to site surprisingly would be Youtube. I have an hour's walk to work, and another hour's walk back home and listening to (while occasionally watching) interesting tutorials or technical notes during the walk allows me to catch up on stuff.
Ahh, I think I may have just triggered it. It looks like since it's being displayed some time before I can connect via serial, I miss the message. I just saw the tip of the message that says SPI RAM enabled but initialization failed.