Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EnviroGrow: solid red LED when using JST-PH power connector #24

Closed
ExperiMentor opened this issue Aug 18, 2022 · 12 comments
Closed

EnviroGrow: solid red LED when using JST-PH power connector #24

ExperiMentor opened this issue Aug 18, 2022 · 12 comments
Labels
question Further information is requested

Comments

@ExperiMentor
Copy link

ExperiMentor commented Aug 18, 2022

My EnviroGrow works when powering from USB.

But now that I've got a connector for the JST-PH socket (why isn't a wire provided in the kit????) and I've connected power that way, it does not seem to boot at all. Rather, if I have my voltage reguklator set anywhere above 1.8v, up to 4.4v, all I get is a solid red on the warning LED. No 'Activity' LED and nothing written to log.txt.

Unlike the other post with red LED who was apparently lacking board firmware, all the programs are present and all works if change back to USB power.

Suggestions?

@ExperiMentor ExperiMentor changed the title EnviroGrow: solid red LED when using power connector EnviroGrow: solid red LED when using JST-PH power connector Aug 18, 2022
@helgibbons
Copy link
Contributor

Do you mean a JST-PH to JST-PH wire? We'd presumed most users would be using the AA/AAA battery pack that's in the kit so wouldn't need additional cables for the battery connector?

Does pressing the reset button after supplying power to the battery connector help? I did notice that I got a red light a few times whilst swapping between different battery situations, but starting the board off with a clean reset seemed to sort it for me.

@ExperiMentor
Copy link
Author

I bought the smaller kit without pumps - so it has no no AA or AAA battery pack. I'd expected it to work the same off USB power, didn't read that it does not sleep when on USB power, else running off a USB power bank was my plan. Then I was going to connect the power bank to the JST-PH.

No pressing RESET makes no difference. It doesn't even cause a flicker of the red LED

@Gadgetoid
Copy link
Member

It looks like this PR intends to restore "Poke" functionality on USB power - #12 by polling for the onboard button when the board would otherwise enter a blocking wait for the RTC's next event.

In the mean time holding "Poke" and pressing "Reset" should have exactly the same effect as just pressing "Poke".

Indeed the board does not sleep while connected to USB power since this would make it rather hellish to program via Thonny. Connecting your USB battery pack to a vreg and via the JST-PH as you intend should restore sleep functionality.

@ExperiMentor
Copy link
Author

Thanks Gadgetoid.
Your last sentence is what I have been trying. With power supplied via the JST-PH (and nothing connected to the USB), it should operate and sleep as programmed. It is not doing that. Instaed, I just see a solid red LED, and nothing is written to log.txt - showing that the device never woke up.

@Gadgetoid
Copy link
Member

Have you tried with any other JST power supplies? What voltage regulator are you using?

@ExperiMentor
Copy link
Author

ExperiMentor commented Aug 22, 2022 via email

@lowfatcode
Copy link
Member

The red LED is connected to the onboard RTC chip and the initial state is "on". This suggests that for whatever reason when you're powering from the battery connector that the Pico W isn't powering up at all (since one of the first things it does on power up is tell the RTC to turn the LED off).

Can you confirm that the battery voltage is preset on the VSYS pin of the Pico W?

@lowfatcode lowfatcode added the question Further information is requested label Aug 30, 2022
@ExperiMentor
Copy link
Author

ExperiMentor commented Aug 30, 2022 via email

@lowfatcode
Copy link
Member

Ahh, if the replacement works then that's fine - clearly there is a fault in the original board. Apologies for that, I'm glad our team could sort out a replacement for you. :-)

Those temperature reading spikes are very odd. Are you running the stock firmware?

It looks like you're taking a reading every 15 minutes and uploading every 4 readings?

@ExperiMentor
Copy link
Author

Yes - stock firmware

Yes - reading every 15 min with upload every 4 readings (we worked out that every 4 readings is needed for the io.adafruit free account, because it only allows 30 data points per minute and each upload is 7 data points. I made a change to the timeout programming to delay by 70 seconds instead of 30 if there is overload on this - only happens if uploads have not occurred for some reason)

@lowfatcode
Copy link
Member

Please try the new v0.0.4 firmware that will be released later today - it has a large number of fixes and changes that should help here.

@ExperiMentor
Copy link
Author

ExperiMentor commented Sep 2, 2022

Oddly, the temperature spikes have stopped without updating the firmware. I didn't change anything, honestly! It's been rebooted a few times but no more than that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants