Giter Club home page Giter Club logo

Comments (3)

aplavins avatar aplavins commented on August 12, 2024

You need to power the arduino from the battery that you are charging. That's how it gets it's reference voltages, and sets the PWM. It's also possible the IR2104 is faulty.

from arduino-mppt.

 avatar commented on August 12, 2024

I discovered that I made a dumb mistake haha. The IR2104 chips I have, had a circular indention on the underside in one of the bottom corners that I mistook for being the pin 1 indicator. The actual indicator was printed on the top, on the opposite corner, so I had the chip connected backwards which likely contributed to my mosfet going up in smoke.

Also this time I powered my arduino off the battery as you explained. Even though 12v is recommended, I learned that they could potentially handle up to 20v if the voltage regulator isn't being drawn from too heavily. I was concerned that the lead acid battery when charged could possibly reach 14-15 volts at its highest but it seems that this isn't a problem.

I put together a stripped down version of this circuit on a breadboard for testing ir2104's, it just uses an led for the load instead of running an inductor coil. I made some test code and everything worked perfectly. The led changes brightness accordingly as I modify the pwm values through 75-245, making sure to disable the driver during changes.

I also educated myself a bit more about ir2104 half bridges, it seems its fine not immediately having pwm from the arduino when power is first received, which makes more sense than what I speculated about it starting up the pwm my first post. I later tested this by powering it without the arduino connected and nothing melted.

I appreciate you pointing me in the right direction, thank you for your help!

IMG_20200320_200358
IMG_20200320_195924

from arduino-mppt.

svdrummer avatar svdrummer commented on August 12, 2024

from arduino-mppt.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.