YX8018 solar garden light controller

Sdílet
Vložit
  • čas přidán 23. 08. 2024
  • Sizing an inductor for a Yx8918 IC
    Link to diagram: drive.google.c...

Komentáře • 35

  • @falpato
    @falpato Před 5 lety +4

    Sharing your knowledge and info about electronics is highly appreciated and my heartfelt gratitude for doing so. Your channel is very informative and the tutorials are great and I really learned a lot. Thank you and looking forward for more videos. Cheers!

  • @WalidIssa
    @WalidIssa Před 5 lety +2

    Thanks for your positive response and uploading the sheets

  • @ziongite
    @ziongite Před 3 lety +3

    Here is how it works, there is a common ground between the battery, LED's and the solar panel.
    Then you have 1,2,3,4 pins on the IC, say 3 is ground, 1 is solar positive, and 2 and 4 are battery positive and negative.
    When the sunlight is out, the voltage from the panel connecting to pin 1, it activates the IC's charging circuit, essentially it just enables the solar positive to connect through to pin 2 which is battery positive, and because all are common on the ground outside of the IC itself, this makes a complete connection with the batter with the solar panel and it's charging.
    Once the sunlight is gone, the battery positive no longer has contact with the solar panel positive, as pin 1 is deactivated.
    During this phase, pin 2, 3 and 4 will be used. 2 and 4 are connected to battery positive and negative, and pin 3 is connected to the common ground.
    What the IC does here, is that pin 4 which connects the negative of the battery to the inductor, it turns this on and off very vast, when it's on the battery current flows into the external inductor coil, and when it's off the circuit for the inductor that would go via the battery is cut off and so is it's energy source, as a result the inductor magnetic field collapses and this doubles the voltage in a voltage spike, and that spike is enough to cross the LED's, which on the other side of them is a line connecting to the common ground that finds it's way to the battery negative.
    Thus, it's lit via a series of pulses of higher voltage, if you can film in incredibly high speed you will note the LED technically is flashing, but it's just too fast for our eyes to normally see it, so it looks like it's permanently on.
    Older solar garden lights used to have separate power diodes on the board, this was to stop backflow from the battery into the panel typically. I think the newer IC's however have that functionality built in between pin 1 and pin 2, so it's not necessary, which is why you don't see them in most solar lights anymore.
    I even have a solar garden light that is using a zener diode as well in place of a power diode, it also will conduct only at a certain voltage, so they used it.
    But the most typical one these days is just the IC and the inductor. It's actually nice to get one that has more components however, getting more bang for your buck. But for use as a solar garden light itself, I prefer the new IC and just the inductor, it seems to have less chance of failure over the long term. The new IC's are purpose made for solar lights, where as I believe the original solar garden slights used IC's that were not purpose made, that's why they had to use additional components sometimes.

    • @LostInLeiden
      @LostInLeiden Před 3 lety +1

      nice explanation, you should make a video!

  • @CircsC
    @CircsC Před 2 lety

    That diagram at like 0:20 is what I needed to make the circuit's function click. Thank you.

  • @hansdegroot652
    @hansdegroot652 Před 3 lety

    I just bought a few of these for no reason some time ago. And it turned out they were also my my rusted solar light. I actually manager to repair it by replacing the yx805 in my case. I coz for the price it's pratical to have a few lying around. They seem to be in all budget solar lights these days.

  • @JuergenBoehringer
    @JuergenBoehringer Před 11 měsíci

    Thanks for the good explanation

  • @ryanclarkjohnson
    @ryanclarkjohnson Před 3 lety +1

    Are you sure there is a capacitor in the oscillator? Do you know what kind of oscillator is in there? I was thinking that the LED was only lighting directly from the collapsing magnetic field of the inductor.

  • @wr30025728
    @wr30025728 Před 4 lety

    Excellent video!

  • @alptek2474
    @alptek2474 Před 3 lety

    Thank you.

  • @continental_drift
    @continental_drift Před 4 lety +1

    I have noticed that with this chip (YX8018) the lights don't go dim they just turn off. Is this some protection for the NiMH battery?
    The ANA618 chip for instance just keeps working until the battery doesn't have enough energy to continue.

  • @planker
    @planker Před rokem

    mine has the XY805. I think it's about the same. I married it with a tiny 5v booster and got 8.2v out. must be the freq spikes boosting the booster. but anyway it works for the experiment. I'll be going for the 10uH inductor, that's 90mA that I'm going to force it to muster. Perhaps a heat sink.

    • @ke6chris
      @ke6chris  Před rokem

      Sounds good

    • @planker
      @planker Před rokem

      @@ke6chris It was an excellent rabbit hole. My finishing thoughts are, the best battery is a NiMh.

  • @JRO98726
    @JRO98726 Před 5 lety +1

    Hi, i have been working with 3v 50x50 solar panels but theyre expensive, is this a 1.5 cheaper panel?, thanks for sharing!! Very well explained

  • @murraymadness4674
    @murraymadness4674 Před 2 lety

    I have taken apart two of them, one has yx805 with AAA, and yx8018 with AA nicad.
    Neither of them have a coil or capacitor. what up with that?
    Ahh, the coil looks like a resistor, I'm used to surface mount coils, not these little ones.
    Let me add that you glossed over the diode used for the solar panel. There is a diode between the CE and GND pins.
    I use one of these to charge up a 3.2v lithium cell instead of light up a led, using the AA as a buffer/capacitor to take in the solar.

  • @hansdegroot652
    @hansdegroot652 Před 3 lety

    Would it work as a youle thief when I do not connect any solar panel? I just want to supply battery power and have it boost the voltage for the led.

  • @JuanCarlosBerberenaGonzalez

    Thank you for sharing, I have a question. I add a 3v battery and a led for this voltage and the system never turn off, please what I have to do to modify and use it with 3v dc?

    • @MickeyMishra
      @MickeyMishra Před 3 lety

      use a different chip.
      big Clive actually has a really great tutorial on his super simple solar light out of a cell phone battery it's actually one of the better ones to go ahead and use if you want to use 3 Volt or Lithium-ion batteries and a simple solar panel you can get off of eBay or wherever you get one..
      there is a way to hack it where you can probably use a resistor or shock each style diode that breaks down at a different voltage and then you can fool the controller to go ahead and turn on even though it has a higher voltage to work with but the actual controller itself would only see about 1.5 volts.

  • @johnblacktech
    @johnblacktech Před 2 lety

    I have a question:
    if i wanted to replace the 1.2V Ni-Cd battery with a 18650 lithium-ion battery what adjustment would I have to make?

  • @MPElectronique
    @MPElectronique Před 2 lety

    Energizer rechargeable battery are suitables ?
    Thanks.
    Marc.

  • @pravardhanus
    @pravardhanus Před 3 lety

    Hi I rigged up one YX8018 circuit in a bread board. For 47uH inductor the LED current was 0.01A but the current drawn from the battery was 0.03A. I changed the inductor to 33uH and the the LED current was fluctuating between 0.01A to 0.02A but the current drawn from the battery was 0.05A.
    Now I am confused if the inductor value correspond to input current drawn by the battery or its really the LED current.

    • @ke6chris
      @ke6chris  Před 3 lety +1

      The inductor controls the load current (LED)

  • @TheFreak111
    @TheFreak111 Před 3 lety

    So the yx8018 only "protects" the battery by dropping the voltage a bit via a diode, would that mean that I could use a different battery technology such as lead acid or lithium if I were to pick the right solar panel voltage?

    • @ke6chris
      @ke6chris  Před 3 lety

      Ni-CD batteries work in subzero temp. , can be discharged fully and are tolerant of overcharging.
      Chris

  • @wr30025728
    @wr30025728 Před 4 lety

    Hello! I am very much a novice. I have a cheap solar light based on this chip. It has a 330 micro Henry inductor. I put in a Straw Hat RGB Slow-Flash color-changing LED. Tested the LED on a bread board. It works. It is stuck on red in the solar circuit. I think I know why. I am getting only 1.2 volts driving the LED. Something is clearly amiss. Which pin on the 8018 is pin 1? I am guessing on the label side, it is the left-most pin. The impedence of the inductor is low, so I guess it is good. What do you suppose is the problem? Thanks!!!!!

    • @pravardhanus
      @pravardhanus Před 3 lety

      The current is very low as you are using 330uH inductor. Use 47uH inductor & see. Also for multi-coloued LEDs we need to use one schottky diode in series with the LED as there will be a controller IC inside this LED.

  • @user-co7yy1yc4v
    @user-co7yy1yc4v Před rokem

    The writeup of the calculation for XC is very misleading on your sheet around 1:26 and in google drive. You've written (6.28 x 200k x 0.0000001)/1 = 7.9, but the correct calculation taken from the line above is XC = - 1/(6.28 x 200k x 0.0000001) = -7.9. Further you have that XT = XL + XC = (for 560uh) 703.36 + (-7.9) = 695.7.

    • @ke6chris
      @ke6chris  Před rokem

      Thanks for the correction.
      Chris

    • @ke6chris
      @ke6chris  Před rokem

      Corrected formula in the link to diagram.

  • @Gardien48
    @Gardien48 Před rokem

    Where I can get the data sheet?

  • @RZMediaGermany
    @RZMediaGermany Před 5 lety

    Hello, can you tell me how i can measure with multimeter the average DC-Voltage or other? Is it possible? Because i dont know why 1,7V. And the MilliAmps are not so.. On 82 uH i have 18 mA insterad of 15mA, if 1.7V Average... And 68 uH i have 22 mA. 47 uH i have 34 mA ;) On Which Pins from YX8018 must i Measure this Effect?

    • @ke6chris
      @ke6chris  Před 5 lety

      Thanks for the comment. I will make a future video on how to calculate average voltage and power from a square wave.

    • @RZMediaGermany
      @RZMediaGermany Před 5 lety

      @@ke6chris okey, i wait;)

  • @user-zv2mp5zv7c
    @user-zv2mp5zv7c Před 4 lety

    ты в маске?