Search found 99 matches

by rpr
Sun Jan 24, 2021 5:09 am
Forum: General Discussion and Questions
Topic: RPi makes ther own Mico controller
Replies: 12
Views: 6025

Re: RPi makes ther own Mico controller

... it's where I first saw links to the (beautiful!) datasheet . Chapter 3 covers the PIO in-depth. The person who wrote the I2C section 3.6.7 in the PIO chapter says the following: I2C is an ubiquitous serial bus first described in the Dead Sea Scrolls, and later used by Philips Semiconductor. :D
by rpr
Sat Jan 23, 2021 6:03 pm
Forum: Programs, Libraries and Tools
Topic: DHT Library for ESP
Replies: 8
Views: 6779

Re: DHT Library for ESP

Now I understand. It looks like you want a driver written completely in micropython. Maybe one exists but I'm guessing that probably not since the C built in driver already exists. Maybe someone has written it in python as purely an academic exercise.
by rpr
Sat Jan 23, 2021 7:26 am
Forum: Programs, Libraries and Tools
Topic: DHT Library for ESP
Replies: 8
Views: 6779

Re: DHT Library for ESP

Do you want to use dht on an esp32?

http://docs.micropython.org/en/latest/e ... dht-driver

OR

Do you want to know the details of how the dht module works?

https://github.com/micropython/micropyt ... rivers/dht
by rpr
Sat Jan 02, 2021 2:48 am
Forum: Other Boards
Topic: [NUCLEO/STM32F429ZI] How to flash and how to access the REPL
Replies: 1
Views: 2295

Re: [NUCLEO/STM32F429ZI] How to flash and how to access the REPL

Can one access the REPL from the usb st-link? I am on a Mac. The device is at /dev/cu.usbmodem14103 -- rshell does not connect -- Screen and miniterm.py connect intermittently and I see the prompt but cannot type anything Edit: rshell and the other programs work from the otg port. You need to connec...
by rpr
Fri Jan 01, 2021 11:31 pm
Forum: Other Boards
Topic: [NUCLEO/STM32F429ZI] How to flash and how to access the REPL
Replies: 1
Views: 2295

[NUCLEO/STM32F429ZI] How to flash and how to access the REPL

I just got the STM32F429ZI NUCLEO board. I have been using ESP32s with micropython but this is the first time I'm using a Nucleo board and the STM32 system. This is a sort of guide for idiots like me to get started with this board and possibly others like this. 1. Download the micropython firmware: ...
by rpr
Wed Oct 28, 2020 5:50 pm
Forum: ESP8266 boards
Topic: Port Expander PCA9554
Replies: 6
Views: 3728

Re: Port Expander PCA9554

In your file pca9554.py I see the following typo:

Code: Select all

from maschine import I2C
Not sure if that is causing the issues.
by rpr
Sun Sep 06, 2020 5:06 pm
Forum: ESP32 boards
Topic: ADC only possible with Pins 32 - 39?
Replies: 2
Views: 2094

Re: ADC only possible with Pins 32 - 39?

Those other pins are connected to ADC2 which is not currently supported. Part of the reason might be that ADC2 cannot be used when WiFi is active. In principle, it might be possible for someone to write/modify the micropython ADC driver to support the ADC2. https://docs.espressif.com/projects/esp-id...
by rpr
Thu Jul 09, 2020 2:55 am
Forum: ESP8266 boards
Topic: How do I reset my main.py file?
Replies: 3
Views: 2022

Re: How do I reset my main.py file?

Can you copy an empty main.py via rshell? Then power cycle.
by rpr
Mon Jul 06, 2020 9:47 pm
Forum: Programs, Libraries and Tools
Topic: Cannot find I2C devices on ESP32
Replies: 11
Views: 8438

Re: Cannot find I2C devices on ESP32

l00p1n6 wrote:
Mon Jul 06, 2020 9:41 pm
Thank you Roberthh!
Your pullup idea did the trick:

Image
https://ibb.co/4jNZDvw

NB: I didn't have 4.7k so I had to use 10k and 9.1k in parallel which gave me 4764 Ohm.
Nicely done. :D
by rpr
Sat Jun 20, 2020 7:45 am
Forum: ESP8266 boards
Topic: Programming ESP8266 on Chromebook in Nov 2019; with both Linux/android apps now accessible, is it easier?
Replies: 9
Views: 101468

Re: Programming ESP8266 on Chromebook in Nov 2019; with both Linux/android apps now accessible, is it easier?

Looks like the most recent update on my Chromebook to Chrome stable version 83 has finally enabled pass through of the serial ports to crostini. I have only tried it on my nodemcu esp32. Once you connect it, you get a popup asking if you want to pass to Linux. It then shows up as /dev/ttyUSB0 inside...