Hacking Hardware Picofly - a HWFLY switch modchip

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
3,569
Trophies
3
Age
45
Location
At my chair.
XP
9,146
Country
Colombia
where did you get this pinout? :)))
for comparison with other RP2040:

RP2040-Zero-details-7.jpg

WaveShare RP2040 Zero pinout


raspberry-pi-pico-pinout.jpg

Raspberry Pico pinout

Pines.jpg

Seeed Studio XIAO RP2040 pinout, Micropytyon numbers are GP numbers on others pinouts, by example, P27 = GP27; A# equal to ADC;
 

FruithatMods

Well-Known Member
Member
Joined
Dec 16, 2018
Messages
128
Trophies
0
Age
33
XP
415
Country
Germany
This is the same pinout
GND - 38
3v3 - 37
D0 - 35? not sure
CMD - 34
CLK - 32
RST - 31
CPU - 20
Do you have to connect GP25 with GND to enable the RGB LED???
This is the first time I have seen this!
Post automatically merged:

@Tafty Do you know anything about GP25? Have you seen the pinout which was posted by @szubiennica ?
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
3,569
Trophies
3
Age
45
Location
At my chair.
XP
9,146
Country
Colombia
Do you have to connect GP25 with GND to enable the RGB LED???
This is the first time I have seen this!
On that RP2040 the included devices are crazy, by example on the Waveshare RP2040 Zero, there is no "Traditional" LED_BUILTIN per se, only there are a "Neo pixel" LED connected to GPIO 16 (GP16), you can not "turn on and off" the neopixel just putting a GPIO on HIGH or LOW, you need a library and send parameters to it.

On the Seeed Studio XIAO RP2040 there are three normal LEDs connected to GPIO 16, GPIO 17 & GPIO 25 and to to VCC trough a Resistor, so if you like to use them you need to define the pins as Output and on state LOW for turn them ON (yeah contraintuitive), they are MICRO and are near a Red LED of ON which is always turn ON when the RP have power.
The LED_BUILTIN variable is an alias of GPIO 17 (Red one)/
The LEDs have colors, GPIO 16 Green, GPIO 25 Blue and GPIO 17 Red.

The Raspberry Pico have a normal Red LED connected to the GPIO 25 and to GND trough a resistor, so for turn on you need to output HIGH, also the variable alias LED_BUILTIN is GPIO 25.
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
3,569
Trophies
3
Age
45
Location
At my chair.
XP
9,146
Country
Colombia
GPIO 25 is the second pin (up to down) under the Chip, seems what if you put a Switch between GND (the upper pin) you can select if to use GRB or RGB for the NeoPixel

1676078549653.png


By the Way the Seeed Studio XIAO the Neo pixel is connected to GPIO 12, and the GPIO 11 enable it.

The WaveShare Zero have the Neo pixel always enabled.
 

FruithatMods

Well-Known Member
Member
Joined
Dec 16, 2018
Messages
128
Trophies
0
Age
33
XP
415
Country
Germany
GPIO 25 is the second pin (up to down) under the Chip, seems what if you put a Switch between GND (the upper pin) you can select if to use GRB or RGB for the NeoPixel

View attachment 352624

By the Way the Seeed Studio XIAO the Neo pixel is connected to GPIO 12, and the GPIO 11 enable it.

The WaveShare Zero have the Neo pixel always enabled.
I didn't even know there was such a thing as a GRB led!!!

I don't like that the firmware uses gp25 to select the rgb mode. What if you use a pi pico with a red led AND also a RGB led on gpio 16?
 

Attachments

  • IMG_20230211_024957.jpg
    IMG_20230211_024957.jpg
    2.5 MB · Views: 55

FruithatMods

Well-Known Member
Member
Joined
Dec 16, 2018
Messages
128
Trophies
0
Age
33
XP
415
Country
Germany
Me neigther!!


like the Seeed one?
No.
A neopixel RGB on gpio 16 and a normal LED on GP25 like in the photo which I have posted above.
The green highlighted component is a LED. The black component is a 1k resistor.
Post automatically merged:

Would this enable the "GRB" mode?
Post automatically merged:

On this board I found there is a normal LED connected through a resistor to gp25 and a NeoPixel rgb connected through gp16 and a resistor.

Should the gp16 LED be removed?
 
Last edited by FruithatMods,

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
3,569
Trophies
3
Age
45
Location
At my chair.
XP
9,146
Country
Colombia
No.
A neopixel RGB on gpio 16 and a normal LED on GP25 like in the photo which I have posted above.
The green highlighted component is a LED. The black component is a 1k resistor.
Post automatically merged:

Would this enable the "GRB" mode?
Post automatically merged:

On this board I found there is a normal LED connected through a resistor to gp25 and a NeoPixel rgb connected through gp16 and a resistor.

Should the gp16 LED be removed?
no necesary, the GPIO16 led is a normal led, you can keep it for other "output" and yes any LED needs a resistor in series with it.
 

FruithatMods

Well-Known Member
Member
Joined
Dec 16, 2018
Messages
128
Trophies
0
Age
33
XP
415
Country
Germany
no necesary, the GPIO16 led is a normal led, you can keep it for other "output" and yes any LED needs a resistor in series with it.
Maybe the user can just desolder the LED if they don't need it? Or do you think this is too complicated?

The idea behind this is that you can use the board with normal rp2040 firmware images for your other projects. I really don't know if I should keep this led or remove it...
 

Tafty

Well-Known Member
Member
Joined
Sep 23, 2016
Messages
116
Trophies
0
Age
35
XP
857
Country
I am confused. Isn't this GRB/RGB mode "switch" programmed in the "ubuntu firmware"?
Yes it is, because if you have a point missing it will tell you which one... Maybe thats for adding an additional led for placement in a more visible location(probably for the light.

Maybe I should order one and find out
 

evil_santa

Well-Known Member
Member
Joined
Jan 15, 2020
Messages
274
Trophies
1
Age
38
XP
1,389
Country
Germany
Question to the guy's whit working picofly.
You can't boot to atmosphere (bek missing error)
What's happen if you create a emummc and change the boot0 in the emummc image to a official one?
Can you boot Atmosphere?
 
  • Like
Reactions: peteruk
General chit-chat
Help Users
  • No one is chatting at the moment.
    Skelletonike @ Skelletonike: link doesn't work +1