Search found 2637 matches

by Roberthh
Tue Apr 27, 2021 2:37 pm
Forum: Drivers for External Components
Topic: MCP9808 High Precision Temperature Sensor
Replies: 16
Views: 11707

Re: MCP9808 High Precision Temperature Sensor

Which mcp9808 driver do you use? Is it the one from this source: https://github.com/kfricke/micropython-mcp9808 I looks like a variant, which allows an integer as argument to i2c.writeto(). You could try to replace __init__ and _send of that class with the following (untested) code: def __init__(sel...
by Roberthh
Tue Apr 27, 2021 2:03 pm
Forum: Hardware Projects
Topic: open drain setup with level converter
Replies: 4
Views: 309

Re: open drain setup with level converter

Yes, that's a good wiring. You can also add a resistor between Drain and 5V, unless that already exists on the target board. So you would write a 1 to the GPIO port to get a low value and Drain, and a 0 to get a high impedance of the 2N7000.
by Roberthh
Tue Apr 27, 2021 11:50 am
Forum: Raspberry Pi microcontroller boards
Topic: UART not working with today's version of micropython
Replies: 45
Views: 1844

Re: UART not working with today's version of micropython

I still have no grip on that topic. The only thing I noticed is, that it runs stable if the interrupt handling is on the first core (core 0). Then the second core may run other tasks.
by Roberthh
Tue Apr 27, 2021 11:48 am
Forum: Hardware Projects
Topic: open drain setup with level converter
Replies: 4
Views: 309

Re: open drain setup with level converter

I would use a single transistor/resistor inverter (e.g. 2N7000) in that case. Easy to set-up, robust.
by Roberthh
Tue Apr 27, 2021 6:14 am
Forum: Raspberry Pi microcontroller boards
Topic: Raspberry Pico connection problem
Replies: 4
Views: 336

Re: Raspberry Pico connection problem

To be sure, that the Pico works fine, try using a simple terminal emulator like Putty (Windows) or picocom (Raspi).
by Roberthh
Tue Apr 27, 2021 6:12 am
Forum: ESP32 boards
Topic: PWM on ESP32
Replies: 3
Views: 229

Re: PWM on ESP32

Using an external inverter may be more dependable in this case (e.g. 74HC14).
by Roberthh
Mon Apr 26, 2021 6:20 pm
Forum: Raspberry Pi microcontroller boards
Topic: Raspberry Pico connection problem
Replies: 4
Views: 336

Re: Raspberry Pico connection problem

When you have downloaded the .uf2 file once, there is not need to do that again, unless you want to change tht firmware. What happens if you connect the device without pushing the bootsel button. Then it should be in normal operation mode.
by Roberthh
Mon Apr 26, 2021 4:30 pm
Forum: ESP32 boards
Topic: Error running ver 1.15 on ESP32-S2
Replies: 10
Views: 621

Re: Error running ver 1.15 on ESP32-S2

Sure, what else. Branch ESP-IDF release/v4.3
by Roberthh
Mon Apr 26, 2021 12:30 pm
Forum: Raspberry Pi microcontroller boards
Topic: [SOLVED] SPI on the Pico: has anyone made it work?
Replies: 7
Views: 1048

Re: [SOLVED] SPI on the Pico: has anyone made it work?

Both SPI and I2C work with Micropython on RP2.