Search found 1324 matches

by Roberthh
Tue Apr 16, 2019 11:05 am
Forum: General Discussion and Questions
Topic: noise in the REPL
Replies: 5
Views: 78

Re: noise in the REPL

The garbage will not go away. That is sent before Micropython starts.
But now you have a main.py with a syntax error.
by Roberthh
Tue Apr 16, 2019 10:25 am
Forum: General Discussion and Questions
Topic: noise in the REPL
Replies: 5
Views: 78

Re: noise in the REPL

The garbage at the start of the ESP8266 is caused by the boot message of the ESP8266 rom loader sending at 74880 baud. Later MicroPython switches to 115200 baud. The reason for the message OSError: [Errno 2] ENOENT ist most likely the missing main.py script. If you have a main.py file, the message s...
by Roberthh
Mon Apr 15, 2019 2:04 pm
Forum: ESP32 boards
Topic: ESP32 can't run the program after reset or re-supply power
Replies: 4
Views: 87

Re: ESP32 can't run the program after reset or re-supply power

If you do not store the code in a file on the device, it is lost after reset. There are many tools to copy files between your PC and the Micropython device, like rhshell, ampy, webrepl, upycraft, ... Most Micropython devices have an small internal file system in which you can store your scripts, and...
by Roberthh
Mon Apr 15, 2019 2:00 pm
Forum: General Discussion and Questions
Topic: I2C multiplexer library?
Replies: 2
Views: 96

Re: I2C multiplexer library?

Circuitpython is a Micropython variant. The only thing to adapt is typcially the way it speaks to I2C. There are minor differences in the I2C API. I have sucessfully ported Adafruit libraries, and it was usually easy.
by Roberthh
Mon Apr 15, 2019 1:58 pm
Forum: Pyboard D-series
Topic: Board Drops Comm with PC while testing Web Server
Replies: 4
Views: 129

Re: Board Drops Comm with PC while testing Web Server

Boot.py is good for initialization tasks, like mounting the SD, setting interface paramters.
by Roberthh
Mon Apr 15, 2019 9:01 am
Forum: ESP32 boards
Topic: Wemos D32 Pro doesn't work - problem with CH340?!?
Replies: 12
Views: 189

Re: Wemos D32 Pro doesn't work - problem with CH340?!?

Do you have an Oscillosope or logic analyzer to determine the baud rate? Otherwise you have to cycle trough the baud rates. Putty/Windows is better than the Linux tools (it's hard to confess that), because it allows for non-standard baud rates.
by Roberthh
Mon Apr 15, 2019 8:51 am
Forum: ESP32 boards
Topic: Wemos D32 Pro doesn't work - problem with CH340?!?
Replies: 12
Views: 189

Re: Wemos D32 Pro doesn't work - problem with CH340?!?

The cut at CH340 is only needed for uploading the MicroPython firmware, right?
Yes. But if you do not get the boot message, then there is a problem with the ESP32.
by Roberthh
Mon Apr 15, 2019 8:45 am
Forum: ESP32 boards
Topic: Wemos D32 Pro doesn't work - problem with CH340?!?
Replies: 12
Views: 189

Re: Wemos D32 Pro doesn't work - problem with CH340?!?

I've seen an insteresting note in the CH340 data sheet about PIN15, which controls the polarity it RX. It should be unconnected and have a low value. It the value is high (to be checked with a voltage meter), then the polarity is wrong. That may happen as a production fault, since it is adjacent to ...