computski / ESP_DCC_Controller

DCC controller based on nodeMCU ESP12-E device
GNU General Public License v3.0
6 stars 2 forks source link

Powertrip #3

Open rifqizain opened 3 weeks ago

rifqizain commented 3 weeks ago

i tried to make it, using esp8266 with l298n driver and ina219. but i found powertrip problem. Please help me sir, what's wrong?

computski commented 2 weeks ago

I need more information. Did you confirm the ESP finds the I2C address of the INA? Did you check the address for the INA in software matches that of your INA? Did you check only the INA is using this address (and not the keypad or display) If the ESP cannot find the INA then often it will read bad data and interpret this as a current or a voltage trip.

Assuming the address is correct, then the overcurrent might be because you have a short circuit. On the L298 board, if you want to parallel the outputs, then Out1 must be connected to Out3, and Out2 to Out4. Failure to observe this will create a short.

Also note that the system default is a 1A current trip. I don't know what you have hooked up to the output, but if the load exceeds the 1A level even for a fraction of a second, the unit will trip. You can change this default to something higher in the header files, but you can also modify it thro the web interface.