-
Notifications
You must be signed in to change notification settings - Fork 130
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
dying boards... #97
Comments
damn, so the only safe way to power these boards is via USB C. is it?? @lewisxhe |
TYPE-C and Vin are connected together, so you can input 5V through Vin, you can view the schematic |
Can't communicate with PC now, can I see Cp210x in device manager? |
No, it does not connect to the pc it does not show up in device manager and it does not make the connection sound. The board does get power from the usb tho A working board does show silicon labs Cp210x |
I have 14 running on battery packs and none of them have died. Just the ones using the Vin pin have died (which I think it might be more of a coincidence then causation as of now) |
I was planning to use this board in a car with a buck converter to convert 12V to 5V on VIN and GND. i guess voltage greater than 5V on VIN pins might damage the board in-case of voltage fluctuations from the converter. What is the source of your supply?? @Mr-HaleYa |
@Mr-HaleYa You can check the schematic, Vin and TYPE-C VBUS are connected together, it shouldn’t happen, I suspect it is caused by other problems |
I have a similar setup to yours except for safety i put a L7805 LDO voltage regulator with the recommended capacitors between the external MPPT and the VBAT pin |
@ishdemon TSR 1-2450E . They're very efficient and very small like about the size of a tic tac, cost about $5 each and they are just really good. They can deliver 1 amp continuous just fine and I've done voltage testing and I've never had voltage spikes or the voltage raise above 5.02 volts unless I exceed the maximum input voltage of 36 v then it spikes right before it kills the transformer but like I said in the first post I'm supplying ~11.1v into the step down transformer so well within its range. You can just Google what I put or put a link to the datasheet in the OG post |
so like the exact same thing just a different regulator... And you have not had any die? how many do you have like this? How long? And what is the voltage going into the regulator? |
I'm developing a solution based on this panel https://www.amazon.com/gp/product/B07ZGNC4HD/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1 |
@rnborland Thank you for the comment but that doesn't really help me... So these are my boards and they have many different ways we can configure them, just for reference the only ones having the problem are the ones being powered via the Vin pin (5v) We build our products for irrigation management companies so they can track water usage through our state. I recently decided to add an optional camera upgrade to allow for remote viewing of a site. the only problem is that the camera is 5v only so we either needed to add a 3.3 to 5v boost or just power the whole board off of 5v, eventually, we decided on the latter. Here is one in a different config just so you can see Like I said the boards are multi-purpose so for one setup we use it to drive a very large stepper motor that takes 24v and in another case, we have it just running the camera, so we have 2 different battery types we use when doing this
So that is why we use the step down that has an input voltage range of 7-36v In both cases the voltage is put through the step-down converter so that it is 5v then it is used to power the boards. Sooooo ya I don't understand why the boards are dying... as you can see in the first image I have removed the single-cell battery pack on the back of the ttgo and replaced it with a 4 cell pack to allow for longer life (it still connects to the + pin on the back of the board and GND) I have never had a board die that uses the battery connected to the ttgo (basically ones powered with 3.7v) I did notice a weird thing before all of the boards have died, they start giving a very high voltage reading on the Vbat pin, exactly 7.2v on all of them... I remove the batteries that connect to the ttgo when I'm using the 5v pin so it's not constantly trying to charge them for no reason. (Side note: I have left them in before and a board still died so removing/keeping them is not the cause) anyways, I measure the Vbat pin to keep track of the onboard battery voltage and when there are no batteries connect and I'm just using the Vin pin the board Vbat is obviously 0v but right before they die it spikes and holds at that 7.2v for minutes... hours... I've had both occur, then it dies... you can see here on my Vbat voltage graph that it's normally 0 but then spikes to 7.2 then goes down a bit then spikes again and dies at 6:40 PM on my desk right in front of me... I didn't touch it, I didn't do anything, just was chilling then noticed it wasn't working anymore... Here is an image of the 11.1v battery pack at the same time (this is what was being used to power the board) I measure the external battery packs (11.1v and 24v) with GPIO35 and the internal batteries (4 on the board 3.7v) with GPIO34 because that's the one connected to Vbat by default. @lewisxhe this is just a spitball but do you think having the boards off but the voltage still going through the voltage divider and into the pins is killing the boards??? It only ~1.5v so defiantly not enough to back-power the board through the pins but idk maybe enough to kill parts??? only the 11.1v and 24v stations have died ant there the only ones with the voltage divider that goes to GPIO35 so ya idk what to do, something is killing them and it kills the pins I use to read the batteries to any suggestions? or questions? I REALLY need to figure this out because I am supposed to be installed like 20 more stations next month and 5 of which need cameras but I don't want them dying when a customer is using them. |
Mr Hale, Sorry my last post wasn't much help. Based on your more detailed problem description I did have an issue a year or so ago where I was using regular esp 32 wifi boards to switch a 12 volt solenoid valve using an n-channel MOSFET. I damaged a few boards while troubleshooting the problem. The issue was that while switching the valve off and on there was very high voltage and very short duration voltage spikes going back though my board burning out the USB to serial chip and also the on board voltage regulator. The board would stop working and get hot ( like yours) The solution was to incorporate large enough capacitors in both sides of my external voltage regulator circuit and diodes to help prevent back EMF coming back through my +ve line. Maybe you have a similar issue when switching on/off your camera and/or stepper motor circuit maybe not but its worth checking out. |
That actually sounds possible. I was thinking it was voltage spikes but I don't have any proof, I don't know how to capture fast voltage spikes since I honestly just started learning oscilloscopes at the college but maybe I can get a professor to show me how. Anyways @rnborland what size caps did you use??? I currently use this for my 3.3v output that connects to my low voltage sensors. It is a 100uF 10V electrolytic capacitor and works great for smoothing voltage dips when I turn on sensors. I was thinking of using a 50v 100uF electrolytic capacitor like this for the power going into the 5v stepdown transformer. Is 100uf sufficient or should I go higher or lower? |
Mr Hale, Also I used diodes to try to prevent reverse current , one in series with the solenoid coil and one in parallel. |
Looks good, would definitely head in the direction of having way more capacitance than you need across the load and backing off based on tests. Also, you might want to look at diodes. |
I'm going to use these capacitors that are rated 35V 470uF. Planning on placing them on both sides of the 5v transformer as well as the 3.3v line to stabilize my sensor's power supply when they are turning on and off. My only problems with diodes are the voltage drop and I have no reverse polarity voltage |
Hi @Mr-HaleYa and @rnborland , I also have many boards here, more then 200. These days I was thinking in a different approach to try to avoid this deaths... |
Hello, when does your board power down and restart? |
Lilygo I have seen some brownout issues which happen when the battery voltage gets less than 4 volts or so. What happens is the board wakes up from deep sleep, then brown out-reboot-brown out ..etc until the battery is drained. I am trying a capacitor between 3.3v and gnd as suggested by Travis on an earlier closed post to see if it helps. I am using the All Functions sketch with a BME280 sensor. |
I am using SOLAR_IN with (4.4v-6v), with a 7805 voltage regulator as the 12 VDC input of a vehicle, first day without any problem yet, could I have a problem in the future? |
Were you guys able to come up with the reason why they die and what change completely reaolves the issue? @Mr-HaleYa |
Hey @DomolinBolivia , Any updates of your test? |
I have had 3 boards die ( technically 4 but that was my bad, connected battery backward and poof it dead )
I am using an external battery back 3s3p 18650s that output ~11.1v, this is inputted into a 7 - 36 VDC to 5v 1A step-down transformer TSR 1-2450E (tsr1e_datasheet.pdf) measuring the output I get 5.01v so this 5v power is connected to the Vin pin on the TTGO board and is what I have been using to power the 3 boards that have died... the boards work fine for a while then just die.
Two have stopped communicating with my PC so I think the CP210x host bridge chip is dead... They still work just fine other than that as far as I can tell. The ESP32 still runs my code and the Sim7000G still works because it still sends me data, however it is very annoying that I can't upload new code using the USB interface.
The 3rd board's modem will not stay powered on, so I flashed a script the outputs the modems responses into the serial monitor and I get OVER-VOLTAGE POWER DOWN meaning it's getting too much voltage on the Vbat pin of the Sim7000G which are pins 55,56,57 SIM7000 Hardware Design_V1.05.pdf they have a voltage range of 3.0v to 4.3v, anything higher or lower and it will shut down the modem. when I measure a working board I get ~3.8v but when I measure the damaged one I am getting 4.6v! @lewisxhe What is the Power IC for the Sim7000G and where on the PCB is it so I can see if I can replace it or look at the datasheet.
I don't understand what is happening... Vin is a 5v input and I am inputting exactly 5v, when I measure Vin with USB connected it is 4.8v so is it NOT a 5v in??? this is super confusing and I just want to know why they are dying when everything says they shouldn't be. Basically, it seems that some kind of power IC is failing and it is causing other parts of the board to die even tho i am using correct voltages.
The text was updated successfully, but these errors were encountered: