Search found 3667 matches

by Roberthh
Thu Dec 06, 2018 7:09 pm
Forum: General Discussion and Questions
Topic: [Solved] Can't access REPL on macOS - Works on Windows
Replies: 13
Views: 8886

Re: Can't access REPL on macOS - Works on Windows

Did you search for a suitable driver for the USB/UART chip of the Wemos D1 Mini? It is a CH340G. I faintly recall that on my stone age OS-X laptop I once had to install a driver for the ch340 device. I have it on my machine, found it by googling. I have attached it. Most of the Zip is a one page PDF...
by Roberthh
Thu Dec 06, 2018 6:24 am
Forum: ESP8266 boards
Topic: Piezo Sensor + Wifi + Database
Replies: 7
Views: 4912

Re: Piezo Sensor + Wifi + Database

Th eWemos D1 mini has a built-in resistor divider of 100k + 220k, which changes the analog range at the board level to 0-3.2V. This is intended as support for users, in your case it is bad. The impedance is way too low for a piezo sensor. You have either to use a buffer amplifier or remove the 100k ...
by Roberthh
Wed Dec 05, 2018 6:16 am
Forum: ESP32 boards
Topic: Flash Read Error on ESP 32 Board
Replies: 3
Views: 4761

Re: Flash Read Error on ESP 32 Board

The target address for loading must be 0x1000, not 0, e.g. esptool.py -p com10 -c esp32 -b 460800 erase_flash esptool.py -p com10 -c esp32 -b 460800 write_flash --flash_size=detect 0x1000 file.bin For flashing, the speed can be higher. The default is 460800, but can indeed also be lower at the rates...
by Roberthh
Tue Dec 04, 2018 6:25 am
Forum: MicroPython pyboard
Topic: Is there a way to increase RAM?
Replies: 7
Views: 4381

Re: Is there a way to increase RAM?

Why does mem_info() on your device show only ~73k. The mem_info() on the device of @dhylands shows about 100k, the same as mine.
by Roberthh
Tue Dec 04, 2018 6:21 am
Forum: Programs, Libraries and Tools
Topic: Serial Monitor?
Replies: 2
Views: 4586

Re: Serial Monitor?

Like Arduino, by default print statements output to the serial interface, and you cann see them e.g. a terminal emulator like putty or screen or picocom. If your questions is about the Arduino IDE, please look at the discussion about suitable IDE's. There are quite a few, and everyone has a favorite...
by Roberthh
Mon Dec 03, 2018 7:15 pm
Forum: ESP8266 boards
Topic: Unable to operate with flash on Lolin board
Replies: 7
Views: 4241

Re: Unable to operate with flash on Lolin board

It is controlled by different software: Erase and flash is done by the espressif bootloader, while file upload is done by the MicroPython firmware.
by Roberthh
Mon Dec 03, 2018 12:07 pm
Forum: ESP8266 boards
Topic: Unable to operate with flash on Lolin board
Replies: 7
Views: 4241

Re: Unable to operate with flash on Lolin board

I had one LOLIN32 where the CP2104 was poorly soldered, and a LOLIN32 pro which crashes with the Pycom or micropython.org firmware, not immediately, but after a while. It works with the loboris firmware. Replacing the flash chip did not help. A second LOLIN32 pro runs fine.
by Roberthh
Sun Dec 02, 2018 7:39 pm
Forum: ESP8266 boards
Topic: Piezo Sensor + Wifi + Database
Replies: 7
Views: 4912

Re: Piezo Sensor + Wifi + Database

We need a little bit more "flesh to the bones" to understand. What do you expect and what do you get (You mention: 3)? How fast are the transitions you want to catch? Which sensor are you using and how do you interface it to the board. Which board are you using? And, even it may not be important her...
by Roberthh
Thu Nov 29, 2018 1:30 pm
Forum: micro:bit boards
Topic: source code for read_digital, and set_pull
Replies: 2
Views: 2671

Re: source code for read_digital, and set_pull

micropython/ports/nrf/modules/machine/pin.c
nrf_gpio_cfg() is called in there to configure the GPIO pin
by Roberthh
Wed Nov 28, 2018 6:43 am
Forum: ESP8266 boards
Topic: webrepl...
Replies: 12
Views: 8837

Re: webrepl...

maybe is should be:
python webrepl_cli.py -p password 192.168.4.1 "import machine;machine.reset ()",