[RESOLVED] Feather RP2040 Neopixel power on GPIO?

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jisahr
 
Posts: 3
Joined: Thu Feb 21, 2019 9:34 pm

[RESOLVED] Feather RP2040 Neopixel power on GPIO?

Post by jisahr »

The guide for the Feather RP2040 (https://learn.adafruit.com/adafruit-fea ... o/overview) includes the remark:
RGB NeoPixel with power pin on GPIO so you can depower it for low power usages.
I am interested in a low-power application and would like to depower the NeoPixel. I have also noticed that some CircuitPython examples such as "Deep Sleep with CircuitPython" (https://learn.adafruit.com/deep-sleep-w ... -and-sleep) make reference to what sounds like the pin that would be used for this:

Code: Select all

# On MagTag, enable power to NeoPixels.
# Remove these two lines on boards without board.NEOPIXEL_POWER.
np_power = digitalio.DigitalInOut(board.NEOPIXEL_POWER)
np_power.switch_to_output(value=False)
However, the Feather RP2040 board does not appear to list this pin:

Code: Select all

>>> import board
>>> dir(board)
['__class__', '__name__', 'A0', 'A1', 'A2', 'A3', 'D0', 'D1', 'D10', 'D11', 'D12', 'D13', 'D13', 'D24', 'D25', 'D5', 'D6', 'D9', 'I2C', 'LED', 'MISO', 'MOSI', 'NEOPIXEL', 'RX', 'SCK', 'SCL', 'SDA', 'SPI', 'TX', 'UART', 'board_id']
Additionally, the schematic diagram appears to say that this pin is tied high, as highlighted below:
feather_rp2040_pinout_neopixel.png
feather_rp2040_pinout_neopixel.png (295.13 KiB) Viewed 140 times
Am I missing something? It seems that the stated capability is not available.
Last edited by jisahr on Fri Dec 03, 2021 6:56 pm, edited 1 time in total.

User avatar
dastels
 
Posts: 15820
Joined: Tue Oct 20, 2015 3:22 pm

Re: Feather RP2040 Neopixel power on GPIO?

Post by dastels »

{Edit after looking further] The Feather RP2040 does not appear to have control over the NeoPixel power.

Dave

User avatar
jisahr
 
Posts: 3
Joined: Thu Feb 21, 2019 9:34 pm

Re: Feather RP2040 Neopixel power on GPIO?

Post by jisahr »

Dave,

I believe that I am. The version I put on the board is named: adafruit-circuitpython-adafruit_feather_rp2040-en_US-7.0.0.uf2; I downloaded it yesterday from (https://circuitpython.org/board/adafrui ... er_rp2040/). My understanding is that 7.0.0 is the most recent version.

Thank you,

-- JIS

User avatar
dastels
 
Posts: 15820
Joined: Tue Oct 20, 2015 3:22 pm

Re: Feather RP2040 Neopixel power on GPIO?

Post by dastels »

See above. I revised my response.

User avatar
jisahr
 
Posts: 3
Joined: Thu Feb 21, 2019 9:34 pm

Re: Feather RP2040 Neopixel power on GPIO?

Post by jisahr »

Thanks Dave. I was afraid of that; oh well. I will be sure to look further before I leap next time!

Is there a means for alerting whoever maintains the product learn page to the error? I assume it must have been copied erroneously from the MagTag, or something like that.

[Edit: marked thread as Resolved]

User avatar
dastels
 
Posts: 15820
Joined: Tue Oct 20, 2015 3:22 pm

Re: [RESOLVED] Feather RP2040 Neopixel power on GPIO?

Post by dastels »

Yes, I raised the issue with the support team.

Dave

User avatar
dastels
 
Posts: 15820
Joined: Tue Oct 20, 2015 3:22 pm

Re: [RESOLVED] Feather RP2040 Neopixel power on GPIO?

Post by dastels »

The guide has been fixed. Good catch.

Dave

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”