-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
Need a solution/method for battery powering CYDs #47
Comments
I can confirm using the JST connector next to the usb port, you can provide 5V to VIN and ground to ground, and the display powers on. (using the model that also has a usb-c port) I did notice some weird behaviour (web requests failing) while i was doing this, but i'm unsure if that's due to the way i'm powering the display or if my power source is just bad |
You might check out this case, mentioned on the 3d models page, that links to a BMS and batteries. |
Hello all. |
Why is the switch needed? Is it just there for a manual power on/off or do you need to turn off the board when charging the battery? Can it be left out? https://nl.aliexpress.com/item/1005005236888266.html?gatewayAdapt=glo2nld seems to be a similar unit, but without a trimmer and a fixed 5V output if I understand correctly. It's also cheaper. Also, this video https://www.youtube.com/watch?v=wYAZQzt_TVY is for an older USB-micro version of the TP5046 charging module, but a comment claims that it doesn't detect that the battery is drained which can cause damage to the battery. NB: I'm always concerned about battery connection to homebrew devices because there's a fire risk. |
TP5046's are pretty safe. |
@kf106 It there was not a switch the unit just powers up when the battery is connected. Sadly the little charge/voltage regulator doesn't have a switch. I did also wonder if you could run the screen while charging so I wanted to test that. I can confirm that it works like I hoped and you can charge the battery while the screen remain running. |
@gjashley Yea, I have some of those too actually, but it doesn't have a usb c for charging, so I assume you just add one? |
They're Micro JST 1.25MM 4-Pin Cables, I got mine from AliExpress, but you can probably get them faster from local suppliers: https://a.aliexpress.com/_mqkq4l8.
Make sure you get the 4-pin Male ones if you want pigtails which fit the port.
…________________________________
From: alextipos ***@***.***>
Sent: Thursday, March 28, 2024 1:30:06 AM
To: witnessmenow/ESP32-Cheap-Yellow-Display ***@***.***>
Cc: Snorkers ***@***.***>; Mention ***@***.***>
Subject: Re: [witnessmenow/ESP32-Cheap-Yellow-Display] Need a solution/method for battery powering CYDs (Issue #47)
Yeah, here's a project I've been working on with i2c sensors:
Sorry for the OT but can you please tell me where did you buy the JST connector and the measures? I'm lost, thanks a lot.
—
Reply to this email directly, view it on GitHub<#47 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AASUMNZA4FQ4NP4OZMPRSM3Y2PBH5AVCNFSM6AAAAAA7EKRMX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRUGY3DEMRVGM>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I ordered a bunch of "5V 1A TYPE-C Micro USB 18650 TC4056A Lithium Battery Charging Board Charger Module with Protection Dual Functions TP4056" boards that were 1-50€ each. Scavenged a battery from a broken PS4 dualshock, and a broken bluetooth speaker provided both a connector for the battery, and a plug for the connector next to the micro USB port. Five minutes of soldering, and it's charging the battery and powering the CYD. Unplugging the USB-C cable results in the display dimming ever so slightly, but the software keeps running. It's a cheap solution, and it works. It's a shame they didn't include a TP4056 on the board and a battery connector like some of the boards out there. |
Is there an alternative way to power the board with a battery without using the serial jst connector? |
Hi I new to commenting, here but I read through info here and #87 |
Yup, I know this works, but I'm already using the serial port for a gps
antenna
…On Sun, Jul 28, 2024, 11:24 SimpleAsh ***@***.***> wrote:
Hi I new to commenting, here but I read through info here and #87
<#87>
And though I would have a try,
It seems to work, if anyone is interested
https://youtu.be/XBvBRjAgCMo?si=fAkkX4ocsOttr9-3
[image: Uploading 20240728_092152.jpg…]
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALOV2XB42252U5JYQY3DL3ZOS2DZAVCNFSM6AAAAAA7EKRMX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGQZTAMZUGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Arr .. I see, I haven't looked at the pin out code yet, just looked at the board, I'll get ATGM336H NEO-6M on order for a play, |
Yeah I had one lying around and is working fine, but it occupies the serial connector that everyone uses for the battery |
@lcorsini Very interesting! I made a working solution for a NEO-6M using the GPIO pins 22 and 27 of the connectors P3 and CN1, but it is very annoying to have to use two JST's. I tried to use the RX and TX of connector P1, but the program hangs, when I try to connect to the serial port. Are these GPIO pins 1 and 3 on P1? Did you need any special setup? Sorry to be a bit off-topic. |
@BludzUK whats it called? i cant find it on ali |
@Vendetti |
Hey man! Could you please take a look and let me know if my connections are correct and if this setup will work properly like yours? I'd greatly appreciate any feedback or suggestions you might have to improve it. I've attached an image of my schematic for your reference. |
The correct boards help |
I'm not a master so.. |
One board and battery was all that was needed different board 🛹 might be harder to turn 😂 |
Comments spot on the you tube |
Im using tp4056 charging module with the mini 3.7v to 5v step up converter and connect with the JST 4-pin next to the USB. it can power it, but when i do any kinds of attacks (e.g Sour Apple, Evil Portal ) it will reboot the CYD ? Any solution ? |
Is there an issue to use a power bank? |
there is a way of connecting a battery and c type charger without using any of the JST connections |
It would be great to create a method or documentation around battery powering the CYD.
I'm sure it's very achievable using a cheap lipo IC like the TP4056* and possibly using the JST connector beside the USB, but a documented path to this would be great.
Not my area of expertise at all, but I do have some of the ICs ordered so I'll probably throw a stab at it shortly. But would be very happy for others input.
Also, maybe a stretch goal, but maybe even a PCB design specifically for the CYD , so it could be neatly mounted, might be cool
*Affiliate
The text was updated successfully, but these errors were encountered: