Hacking Hardware Picofly - a HWFLY switch modchip

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,461
Trophies
3
Age
46
Location
At my chair.
XP
19,182
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
34
XP
450
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
6,461
Trophies
3
Age
46
Location
At my chair.
XP
19,182
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
6,461
Trophies
3
Age
46
Location
At my chair.
XP
19,182
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
34
XP
450
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: 133

FruithatMods

Well-Known Member
Member
Joined
Dec 16, 2018
Messages
128
Trophies
0
Age
34
XP
450
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
6,461
Trophies
3
Age
46
Location
At my chair.
XP
19,182
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
34
XP
450
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
36
XP
923
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
380
Trophies
1
Age
39
XP
1,873
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

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    They help you delete some incriminating videos?
  • K3Nv2 @ K3Nv2:
    No you asked for proof that your wife was finally leaving
    +1
  • BigOnYa @ BigOnYa:
    Nuh I had her chipped, I always know where she is.
  • K3Nv2 @ K3Nv2:
    I found where it was
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    If I could halucinAte this is what I imagine it would look like?
  • K3Nv2 @ K3Nv2:
    Featuring Taylor swift
    +1
  • BakerMan @ BakerMan:
    guys, pubg should've never blown up
  • BigOnYa @ BigOnYa:
    Wut do you mean? Pubg is alright, I play it with a few buddies online.
  • BakerMan @ BakerMan:
    the game itself is ok, but it's influence is the problem
  • K3Nv2 @ K3Nv2:
    Call of duty is a good Fortnite skin
  • BakerMan @ BakerMan:
    call of duty and fortnite, ex-fucking-actly
  • BakerMan @ BakerMan:
    without pubg popping off, fortnite wouldn't add battle royale, and call of duty wouldn't go even shittier than it did before because of blackout, warzone and dmz
  • Psionic Roshambo @ Psionic Roshambo:
    Make a porn based spoof of it, Pube G
  • BigOnYa @ BigOnYa:
    Just play My Pony online. Its better than Fortnight or COD.
  • Psionic Roshambo @ Psionic Roshambo:
    FPS porn games sound fun lol
    +1
  • K3Nv2 @ K3Nv2:
    Call of duty got close with that by using Nikkie Minaj
  • BigOnYa @ BigOnYa:
    -Bonus- Faceshot
  • K3Nv2 @ K3Nv2:
    5 killstreak call in the gangbang
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Still enjoying Bad Ass Babes lol
  • Psionic Roshambo @ Psionic Roshambo:
    Legit a super solid beat em up
  • Psionic Roshambo @ Psionic Roshambo:
    The special moves are hilarious
  • BigOnYa @ BigOnYa:
    Introducing the most anticipated 1p v 4p game of the year - COCC (Call of couch casting)
  • RetroNerdGamer @ RetroNerdGamer:
    isnt that just gal gun
    RetroNerdGamer @ RetroNerdGamer: isnt that just gal gun