Search found 3667 matches

by Roberthh
Sun Dec 23, 2018 4:19 pm
Forum: ESP8266 boards
Topic: accessing uart0 on nodemcu board
Replies: 23
Views: 16561

Re: accessing uart0 on nodemcu board

That works for me, on a fresh built firmware. The question is, what is in you boot.py. Mine looks like: # This file is executed on every boot (including wake-boot from deepsleep) import esp esp.osdebug(None) import uos, machine uos.dupterm(machine.UART(0, 115200), 1) import gc #import webrepl #webre...
by Roberthh
Fri Dec 21, 2018 7:44 am
Forum: MicroPython pyboard
Topic: LCD skin availability?
Replies: 9
Views: 5694

Re: LCD skin availability?

No. Damien should know.
by Roberthh
Fri Dec 21, 2018 7:19 am
Forum: MicroPython pyboard
Topic: LCD skin availability?
Replies: 9
Views: 5694

Re: LCD skin availability?

Look at the repositories of @pythconcoder (e.g. here_ viewtopic.php?f=14&t=5299#p30417) or @mcauser or @dhylands or @deshipu. They have made drivers for many LCD displays.
Or search though this section of the forum: viewforum.php?f=14
by Roberthh
Tue Dec 18, 2018 9:15 pm
Forum: Programs, Libraries and Tools
Topic: custom library - fota for non networked devices
Replies: 7
Views: 4212

Re: custom library - fota for non networked devices

There is an OTA variant for ESP8266. Just look into the download section.
by Roberthh
Tue Dec 18, 2018 2:02 pm
Forum: Announcements and News
Topic: Multi-threading support, sponsored by Pycom
Replies: 22
Views: 170109

Re: Multi-threading support, sponsored by Pycom

Since you mention Bluetooth and WiPy, I assum that you use a WiPy2 or WiPy3 from Pycom with an ESP32 processor.
For that device you have to ask as forum.pycom.io.
Besides that, you may use uasyncio in both variants of MicroPython with slight differences.
by Roberthh
Sun Dec 16, 2018 5:17 pm
Forum: General Discussion and Questions
Topic: Is pyb module out of date?
Replies: 1
Views: 1328

Re: Is pyb module out of date?

I cannot confirm. On Pyboard it is still there. And on the other devices it never existed.
by Roberthh
Sun Dec 16, 2018 8:43 am
Forum: Development of MicroPython
Topic: Micropython esp8266 firmware build
Replies: 4
Views: 4810

Re: Micropython esp8266 firmware build

The README.md in ports/esp8266 is sufficient. You only have to follow the instructions literally, not skipping a step or ignoring a word, including the README in the installed esp-idf. About not installing modules: in the esp8266 directory there is a file called mpconfigport.h, which includes define...
by Roberthh
Sat Dec 15, 2018 7:21 pm
Forum: MicroPython pyboard
Topic: ImportError: No module named pyb
Replies: 6
Views: 10118

Re: ImportError: No module named pyb

There is no need for a specific terminal, just some means to pick up the messages sent by the pyboard through its cdc interface, the same path which told you the error messages.
by Roberthh
Sat Dec 15, 2018 2:15 pm
Forum: MicroPython pyboard
Topic: ImportError: No module named pyb
Replies: 6
Views: 10118

Re: ImportError: No module named pyb

Which pyboard and which firmware are you using. You get the information py pushing Ctrl-B at the REPL prompt.
by Roberthh
Sat Dec 15, 2018 12:57 pm
Forum: General Discussion and Questions
Topic: Measuring 12v battery with ADC
Replies: 2
Views: 3619

Re: Measuring 12v battery with ADC

First of all, the value of the series resistors is too small. They would transform a range 0-1V into 0-12V. But a fully charged 12V (lead) battery has a voltage of about 14.4 V. Why not take something like 1.5 MOhm. Besides that, you calculation seems OK, assuming that d1 is the value obtained from ...