Smart Home Automation Forum

Full Version: A4S stops working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello any idea why my a4s is not working ? 

i try to re install firmware but this error pops up  - failed to initialized - try resetting your device or hold the reset BUTTON. 

the LAN is not blinking anymore

offline in home assistant.

PLEASE Help.

i also try to hold the esp32 chip its hot is that normal ?
what you have done?
now you can try to download firmware by USB cable.
yes already trying to install using USB cable. but there is an error 

please see attached file installing using esphome
i have asked you what you have done before?
(11-30-2023, 04:44 AM)admin Wrote: [ -> ]i have asked you what you have done before?

i install the INA226, connect to DS3231 RTC MODULE 

SCL SDA 3V3 GND > INA226 = SCL SDA VIN GND

INA226 = V+ > + 1.5v AA Battery and GND = - 1.5V AA Battery

after connecting just a few minutes A4S board stops working.

see attached file for actual photo of INA226

This is the actual what i did. 
after connect all wire add this code to esphome
then i can no longer see A4S in my HA

sensor:
Code:
sensor:
  - platform: ina226
    address: 0x40
    shunt_resistance: 0.1 ohm
    current:
      name: "INA226 Current"
    power:
      name: "INA226 Power"
    bus_voltage:
      name: "INA226 Bus Voltage"
    shunt_voltage:
      name: "INA226 Shunt Voltage"
    max_current: 3.2A
    update_interval: 60s



please see picture on the actual connection.
if you connect a extender battery for testing, you should series connection with a load resistance. now it's short circuit.
if esp32 module very hot, maybe is broken, need to replace a new ESP32 module.
What is the proper connection diagram using this INA226 to monitor my battery Voltage? I will replace the A4S
Can you show me how to do it ?

Thanks
you need add a "LOAD". here is we test with our new design board used INA226, we use a 10ohm resistance as a LOAD. But i am using dc24v power supply for testing.
[attachment=3512]
[attachment=3510]
[attachment=3511]
Thanks for the info. Maybe we can buy that board for our next project.

But for now im using a4s and INA266 module how can i connect to it?

Sorry im new to this i cant barley read diagram ?, it will make sense to me if you make simple connection Using INA266 and A4S.


Thank you
A4S and INA226, use by 3.3v, GND, SDA,SCL 4 wire to connect with each other.