Search found 18 matches

by randmor
Sat Sep 22, 2018 5:05 pm
Forum: micro:bit boards
Topic: SD-Card support for Microbit's Micropython?
Replies: 1
Views: 3268

SD-Card support for Microbit's Micropython?

Has anyone tried (and succeeded) at getting the GitHub SD card "driver" working on the BBC Micro:bit board ? The URL is: https://github.com/micropython/micropython/blob/master/drivers/sdcard/sdcard.py Looking at the code, there are comments to show you how to use it with pyboard and ESP8266-based bo...
by randmor
Thu Aug 30, 2018 3:22 pm
Forum: ESP8266 boards
Topic: Micropython docs - DHT
Replies: 7
Views: 11580

Re: Micropython docs - DHT

I reloaded Micropython for ESP8266 latest build (08/30/2018) onto my ESP8266 board using esptool.py.exe (I'm a Windows user), and tried the script again and got the same error: ... File "dht.py", line 16, in measure\r\nOSError: [Errno 110] ETIMEDOUT\r\n') So, it seems the developer has not corrected...
by randmor
Thu Aug 30, 2018 2:05 pm
Forum: ESP8266 boards
Topic: Micropython docs - DHT
Replies: 7
Views: 11580

Re: Micropython docs - DHT

Update. Tried the code proposed by "mws" and it fails with the same timeout error. Here's the code I used. It straightens out the code by mws (don't really need the function, it just convolutes things). Not sure why he had to import dht.py every time he calls his loop (tried his code but it also fai...
by randmor
Wed Aug 29, 2018 2:47 pm
Forum: ESP8266 boards
Topic: Micropython docs - DHT
Replies: 7
Views: 11580

Re: Micropython docs - DHT

To "mws". Your code example looks hopeful, but I have two problems with your wiring diagram. First, the data line from your DHT22 looks to be connected to GPIO14, but your code example uses GPIO13. The second problem is with the 10K ohm resistor which is supposed to be a pull-up resistor. Your drawi...
by randmor
Tue May 30, 2017 3:55 am
Forum: ESP8266 boards
Topic: micropython R1.9 ETA @@ released @@
Replies: 34
Views: 29220

Re: micropython R1.9 ETA @@ released @@

Seems something is not working with Adafruit Feather ESP8266 Board with FeatherWing ILI9341 TFT LCD Display using Tony DiCola's port of the ili9341.mpy and rgb.mpy when running this new v1.9 release of Micropython. The code example below worked just fine for MicroPython v1.87. Any ideas? Otherwise, ...
by randmor
Sun May 28, 2017 6:42 pm
Forum: ESP8266 boards
Topic: 1.8.7 fails to install
Replies: 17
Views: 16097

Re: 1.8.7 fails to install

Yes, on most Espressif Systems ESP8266 chips, the flash memory addressing circuit is wired for QIO (Quad-I/O) flash memory addressing. It was maybe a year or so ago that some 'hackers' caught on that you could open the metal box (the RFI shield) around the ESP8266 and make a couple cuts and jumps (a...
by randmor
Sat May 27, 2017 9:50 pm
Forum: Programs, Libraries and Tools
Topic: rshell - Remote Shell
Replies: 89
Views: 108905

Re: rshell - Remote Shell

Thanks Robert, I finally 'got' what you were saying about "/pyboard" being the alias for the root directory of the ESP8266 file system. So, now with "rshell --port /dev/ttyUSB0 --buffer-size=32", I can do a "cp uPy_demo1.py /pyboard" and the "uPy_demo1.py" file will be copied down to the root direct...
by randmor
Sat May 27, 2017 4:11 pm
Forum: Programs, Libraries and Tools
Topic: rshell - Remote Shell
Replies: 89
Views: 108905

Re: rshell - Remote Shell

Thanks, Dave Hylands. Your suggestion of using the " --buffer-size=32 " setting when invoking "rshell" definitely helped the situation. But copying my "hello.py" test file to " / " or " /flash " directories still did not work. Here are my results: /home/randmor> cp hello.py / Unable to copy '/home/r...
by randmor
Sat May 27, 2017 4:05 am
Forum: ESP8266 boards
Topic: 1.8.7 fails to install
Replies: 17
Views: 16097

Re: 1.8.7 fails to install

So the next question, which pins on the NodeMCU map to GPIO9 and GPIO10? The answer: GPIO9 = "SD2" and GPIO10 = "SD3". Here is a nice pin-out diagram for the NodeMCU. Now, I am wondering if GPIO9 and GPIO10 can be actually used, or is there something else still using these pins as other folks have r...
by randmor
Sat May 27, 2017 1:48 am
Forum: ESP8266 boards
Topic: 1.8.7 fails to install
Replies: 17
Views: 16097

Re: 1.8.7 fails to install

I took out " -fm dio " and the original "wild garbage dumping storm" symptom reappeared. Here's the commands I used: esptool.py --port /dev/ttyUSB0 erase_flash esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=32m 0 esp8266-20170108-v1.8.7.bin So, " -fm dio " does appear to play ...