Search found 2641 matches

by Roberthh
Mon May 03, 2021 7:46 pm
Forum: Raspberry Pi microcontroller boards
Topic: Identifying a special Pico
Replies: 9
Views: 703

Re: Identifying a special Pico

The PR has been merged and should be accessible latest tomorrow in the daily build. Devices are visible then is /dev/serial/by-id e.g. as

usb-MicroPython_Board_in_FS_mode_e66058388340512e-if00

with e66058388340512e being the number returned by machine.unique_id()
by Roberthh
Mon May 03, 2021 6:19 pm
Forum: ESP32 boards
Topic: ESP32 and ADC class - pin numbering scheme?
Replies: 3
Views: 186

Re: ESP32 and ADC class - pin numbering scheme?

It' sup to the board designers which ESP32 pin they expose to the board's pins. If they use for instance the espressif Wroom or Wrover module, then GPIO37 and 38 are not accessible outside theses modules.
by Roberthh
Mon May 03, 2021 2:27 pm
Forum: ESP32 boards
Topic: ESP32 and ADC class - pin numbering scheme?
Replies: 3
Views: 186

Re: ESP32 and ADC class - pin numbering scheme?

Micropython uses the GPIO numbers.
by Roberthh
Sun May 02, 2021 6:40 pm
Forum: Raspberry Pi microcontroller boards
Topic: Hard hang on accessing the filesystem
Replies: 3
Views: 958

Re: Hard hang on accessing the filesystem

Please let the title of that isseu start with 'rp2:', which makes it better visible. You can edit the title.
by Roberthh
Sun May 02, 2021 7:25 am
Forum: ESP8266 boards
Topic: ImportError: no module named 'urequests'
Replies: 3
Views: 1018

Re: ImportError: no module named 'urequests'

I do not us uPyCraft, so I do not know if it has an option to upload files to the board. Other tools to do so are e.g.
- rshell
- ampy
- pyboard.py
- thonny
by Roberthh
Sun May 02, 2021 7:20 am
Forum: General Discussion and Questions
Topic: input pin level is reversed somehow??
Replies: 6
Views: 1050

Re: input pin level is reversed somehow??

The pins X9, X10, Y9 and Y10 have a physically wired pull-up resistor on the board supporting it's use for I2C. This pull-up cannot be overridden by the MCU internal PULL_DOWN, simply because the driving strength of the internal resistor is way lower. It will bring down the voltage at the pin only f...
by Roberthh
Sat May 01, 2021 7:58 pm
Forum: ESP8266 boards
Topic: ImportError: no module named 'urequests'
Replies: 3
Views: 1018

Re: ImportError: no module named 'urequests'

The 1M firmware does not include urequests by default. You can add it manually to your file system by copying in this file: into the directory lib: https://github.com/micropython/micropython-lib/blob/master/urequests/urequests.py You may also need this one into a directory called lib/urllib.urequest...
by Roberthh
Sat May 01, 2021 7:41 pm
Forum: Raspberry Pi microcontroller boards
Topic: Hard hang on accessing the filesystem
Replies: 3
Views: 958

Re: Hard hang on accessing the filesystem

I can replicate that with the my own build, using the script below based on the script in the cited forum: from machine import Pin, Timer import uos, time led = Pin(25, Pin.OUT) timer = Timer() count = 0 f = open("afile", "w") f.write("This is a file\n") f.close() def blink(timer): global count; cou...
by Roberthh
Sat May 01, 2021 6:14 pm
Forum: General Discussion and Questions
Topic: input pin level is reversed somehow??
Replies: 6
Views: 1050

Re: input pin level is reversed somehow??

About the IRQ: Pin Y9 has an external pull-up resistor of 4.7kOhm. The internal pulls have a value of about 40k. So whatever pull you set, the input level is high, when you set it to input mode. Connecting it to Vcc does not change the level, and therefore the IRQ does not fire. If you connect Y9 to...
by Roberthh
Sat May 01, 2021 6:22 am
Forum: ESP8266 boards
Topic: Unable to upload files to ESP01
Replies: 2
Views: 651

Re: Unable to upload files to ESP01

What is the flash size of the ESP01, and which firmware did you install. I'm asking because the 512k firmware does not provide a file system.