Oct 13 2021
Circuit Python & RP2040
confused about status of several hard and soft - ware projects...i want setup a other computer ( win 10 ) for work on
* Raspberry Pi PICO RP 2040
* on breadboard with a OLED display
what i got running already using CIRCUIT PYTHON

code
but failed with Arduino IDE 2.0 see here
QUICK SETUP:
https://learn.adafruit.com/welcome-to-circuitpython
https://circuitpython.org/board/raspberry_pi_pico/
https://circuitpython.org/libraries
https://codewith.mu/en/download
ok, that gives me ( in my windows 'Downloads' directory ):
RP2040_OLED_circuitpython.zip ( my above old project )
adafruit-circuitpython-raspberry_pi_pico-en_US-7.0.0.uf2
adafruit-circuitpython-bundle-7.x-mpy-20211011.zip
Mu-Editor-Win64-1.1.0b6.msi
-a- install MU
-b- connect the device
* * now here i see that i lost the last good config ( with testing Arduino IDE ) and need to
-c- flash Circuit Python again:
so disconnect USB, reconnect while pressing the PICO board 'BOOTSEL' button
( find here drive 'E:' with files INDEX.HTM and INFO_UF2.TXT )
and copy the 'adafruit-circuitpython-raspberry_pi_pico-en_US-7.0.0.uf2'
-d- copy old project
code.py
and get libs again, must use from NEW lib zip
but when from MU want restart by [Ctrl][d] get
hm.. check wiring,
* i do have the pull up resistors,
* but i did change the pins when i tested Arduino IDE to the so called DEFAULT PINS! what also not worked with that
so, ready again, but when i see all my problems with
* project status
* hardware wiring
* code versions...
* add while copy files to PICO board AND edit THIS BLOG at the same time
** also had a 2 hour power fail and lost this text / type it again /
i wonder that i not throw it all out the window ? just having a bad day
now, isn't that normal?
but why not bother YOU with it?
actually i hate all that slick tutorial / videos
where all works after " i prepared that already for you "
and when we fail on the way, it makes us feel like idiots.
but part of this project was the also connected sensor AM2302 DHT22
what was already working prior to failing with the OLED at that time
ah, also with Circuit Python, good, so let's integrate this again.
looks like that ( new cheap ) breadboard connections ( and old cables ) not good,
but i managed to get the DHT running again,
even with a worthless humidity indication 99.9% ? raining in my room?
or dirt in the sensor?


code
now, in a next step, i try what was already working with the original PICO SDK,
a UART link to a ESP what is configured as a web server ( local LAN )

but as i first work little on the text formatting,
the idea was to copy/format the measuring numbers from Temp and Ain in to show-strings,
what i can use to send same to USB, OLED and later to WEB SERVER...
here i loose the DHT22 communication and had to stop.