This Blog lists some key insights I gained on Arduino, RP2040 and Raspberry Pi

RPi-4 USB3 power supply problems / February 2022

I have not found much about this issue on the Internet.
The problem is that when connecting a USB3 - SATA adapter with an SSD drive to RPi-4 to get good rootfs performance, not enough power is supplied to the USB port and the drive goes erratic and the OS crashes. I tried various USB3 SATA adapters and various OSs (I prefer Fedora). After many months of elapsed time, I figured out that the FET powerswitch on the RPi4 that enables power on USB (I do not understand why it is designed this way) is too weak. The remedy is simple: I solder a wire directly from the 5V pad at the USB power connector to the USB connector pin that supplies the 5V to USB. The system now runs stably for months! I have not noticed negative side effects. Comments: please email me at ronald (dot) gadget (at) gmail.com

Arduino & Feather RP2040 + Earle Philhower: HowTo and Learnings / 22 Dec 2021

I spent two weeks learning how to get [Arduino & Feather RP2040 & Earle Philhower's core] working, migrating my sketch from a nano Every... In the process, I declared the hardware as 'bad' and almost gave up on this part at least 3 times. However, the hw is great - it is a matter of understanding how the part behaves, partially correct documentation and being among the first ones to use this. I tried using the VSCode IDE, but gave up as PlatformIO does not yet officially support Philhowers board package (mid december 2021).

Notes: I wanted to buy the Raspberry Pico, but shipping costs were 3 times the part costs (don't know what they were smoking). So I ordered the adafruit part thru digikey with reasonable shipping costs. The Arduino RP2040 connect has wifi+bt that I dont need and want to pay for. And too high shipping costs. Philhower docu: Installing the Earle Philhower core | Program RP2040 in Arduino | Adafruit Learning System

RPi4 + Argon One case + Hyperpixel 4 display: fan control not working / January 2022

The Pimironi Hyperpixel display uses all GPIO pins on the header. Obviously, the Argon One also uses some pins, which yields a conflict. This results in the FAN control not working (based on temperature). The main issue is the i2c pins, which the display does not configure as i2c. I found this out by going thru the dmesg output right after boot, where a message informs about this conflict. Of course, you have to actively go an look for this. The good news is that the Hyperpixel display provides.... an i2c connector! Thus I solved the problem by cutting the circuit board i2 traces to the Argon One chip that controls the fan speed, on the Argon One circuit board that connects the RPI4 GPIO connector to the Argon One GPIO connector. The last step is to adapt the python script that is run as a service to use the new i2c interface (thru this error message I discovered how to fix the issue). The system now works as desired!

Data Motion Architecture & Consulting GmbH - Ronald's pagecounter 909 page visits since 6 March 2022