author

abhiV4

Google Plus
116
Inbox View Profile
8Instructables210,964Views53CommentsDelhi, India
I,m an Electronics Engineer. Love to make things work. Believe in Learn by Making it.

Achievements

10K+ Views Earned a bronze medal
  • abhiV4 commented on abhiV4's instructable Arduino Buck-Boost Converter
    Arduino Buck-Boost Converter

    Irfz44n is a logical mosfet. So it will not face high Rds on issue that much. On the other side P channel mosfet needs -ve voltage at it's gate. Which is -12 to -20v in above ckt. Depends upon input voltage. Thus it's not switched on at ttl levelBut if anybody wants to use low input voltage application then proper mosfets should be chosen as u mentioned in ur previous comment. When going above 20v then also they will need proper gate driver ckt or dedicated gate driving ic.I hope it makes sense now...🙂

    Could be... but as i studied the datasheet of irfz44n , it states gate threshold voltage from 2-4v only. And it switches on at 4v as well with high Rds. While other mosfet needs 10v. As they have min 10v threshold.Anyways as i told before chossing mosfet depends upon working voltage. Irfz44n was serving my need. I tried irf540 before and that have Rds problems at lower voltage then 10v.

    View Instructable »
  • yes, it will work with mega. but you have to set maximum pwm frequency using arduino mega's registers.you may use 100W panel without any issues. i,m using 200W with same components. good luck...

    View Instructable »
  • abhiV4 commented on abhiV4's instructable Arduino Buck-Boost Converter

    C1 is used to smooth the input voltage. it makes ADC readings more stable and reduce voltage spikes at input.

    I didn't calculate. i just used whatever i had. wanted to make a boost converter so badly that i came up with this. It was originally made for charging my drone's lipo battery.but later i made a solar charger based on same concept and i used day counter's online calculation tool for buck converter. it calculates the capacitor size and inductor based upon your parameters.

    there are few conditions used in code to show battery full condition.Vout max is the maximum voltage your converter will try to achieve while regulating the Iout max output current. when voltage is equals to vout max and current is less the Iout min then battery is considered as full charged. now there could be two problems, 1. your voltage sensing isn't ok and 2. your current sensing isn't working properly.just to verify measure the voltage with multimetre and check what is the measurement in your converter. and the current sensors i have used is 30A model. you may need to adjust if you are using any other. also modify max voltage and current as per your battery specs. Good luck..

    it is already there below last step.

    View Instructable »
  • Yes it’s possible. But inductor size and values will be recalculated for that much of power. Also frequency also should be optimised. I’ll try to make one in near future

    View Instructable »
  • yes.

    use // instead of / .

    View Instructable »
  • yes 13v will force current in to battery but battery will reach to 13v very fast, and it will never be full charged. it,s due to chemical properties. i have worked with lead acid batteries alot due to my job. and personally noticed these conditions.

    View Instructable »
  • abhiV4 commented on abhiV4's instructable Arduino Buck-Boost Converter

    P channel mosfet needs -10v to turn on. put a pullup resistor between gate and source. this will keep it off. use NPN BJT to pull it down using arduino , making it switched on.

    View Instructable »
  • abhiV4 commented on abhiV4's instructable Arduino Buck-Boost Converter

    yes you can replace P channel mosfet with N channel. but it will require proper driving circuit. IR2110 will work if it can generate voltage higher then input voltage.

    what is the problem you are facing?

    which mosfet you are using? in code i have implemented a condition which switch between buck and boost mode based upon input and required output voltage. when output voltage is more than input, converter will work in boost mode, and if output is less than input then it will be switched to buck mode. it causes some issues if output voltage is too close to input or equals to input due to voltage drop in switching components.also above 8v input is your arduino working? because on board voltage regulator of arduino gets too hot and blows above 12v if too much current is drawn. choose the inductor current ratings as per your load requirements, same is applicable for mosfet. N channel mosfet can handle more current then P channel mosfet. irf9z24n can only handle 12A. even at 2A load it requires…

    see more »

    which mosfet you are using? in code i have implemented a condition which switch between buck and boost mode based upon input and required output voltage. when output voltage is more than input, converter will work in boost mode, and if output is less than input then it will be switched to buck mode. it causes some issues if output voltage is too close to input or equals to input due to voltage drop in switching components.also above 8v input is your arduino working? because on board voltage regulator of arduino gets too hot and blows above 12v if too much current is drawn. choose the inductor current ratings as per your load requirements, same is applicable for mosfet. N channel mosfet can handle more current then P channel mosfet. irf9z24n can only handle 12A. even at 2A load it requires heat sink to cool down.

    View Instructable »
  • i have converted the BOM file to TXT file. now you can download the file.

    View Instructable »
  • abhiV4 commented on abhiV4's instructable Arduino Buck-Boost Converter

    Vin and Vout is sensd via voltage divider ckt. A voltage divider used to outputVoltage corresponding to higher input. You can learn more by studying about voltage divider. I used to step down 52v at input to give 5v out to analog pin. Further analog of arduino is used to sense the voltage. If there is 5v at analog pin then arduino will give 1023 output as it have 10 bit adc. So going to convert that to voltage divide your input voltage with 1023 and you will have a factor constant. Now you can sense the volatge and multiply this factor to adv data and you will have the voltage. In terms of Iout, module acs712 is actually giving an output corresponding to current flow. It will output 2.5 volt or Vcc/2 at no current. This output will be changed based on ic rating 5A, 20A or 30A. Again sense…

    see more »

    Vin and Vout is sensd via voltage divider ckt. A voltage divider used to outputVoltage corresponding to higher input. You can learn more by studying about voltage divider. I used to step down 52v at input to give 5v out to analog pin. Further analog of arduino is used to sense the voltage. If there is 5v at analog pin then arduino will give 1023 output as it have 10 bit adc. So going to convert that to voltage divide your input voltage with 1023 and you will have a factor constant. Now you can sense the volatge and multiply this factor to adv data and you will have the voltage. In terms of Iout, module acs712 is actually giving an output corresponding to current flow. It will output 2.5 volt or Vcc/2 at no current. This output will be changed based on ic rating 5A, 20A or 30A. Again sense the output voltage and multiply with the factor of the ic depends upon current ratings. Also known as resolution, sensitivity or volts per Amp. You will again have the current.

    View Instructable »
  • just updated all things. thank you.

    I have uploaded the code, bom and circuit. it,s slightly different from mine, because it,s easier to make.

    View Instructable »
  • BOM differs with power requirements of user. But only values of capacitor and inductor are changed. And yes i do have code but it's messed up. I'll clean it up and post a clean code here to avaoid any risks. Will also upload the complete ckt to build this.

    View Instructable »
  • abhiV4's instructable Arduino - PV MPPT Solar Charger's weekly stats:
    • Arduino - PV MPPT Solar Charger
      1,612 views
      49 favorites
      7 comments
  • current code is highly customized for personal use. i'll clean it up and upload.and about batteries you are right but wrong also. A lead acid battery needs higher voltage i.e. 13.2 - 13.8 volts to charge properly. this voltage is considered as Float charging voltage. also if battery is deep discharged below 30% than a voltage of 14.2 - 14.8 volts is required to fast charge the battery, it,s known as Boost charging. this type of charging is required compulsory once in a month to remove sulfation from battery plates thus increases battery life.now you are right because a full charge battery have 12.7 volts at resting condition. but it requires higher voltage to force the current into the battery.

    current code is highly customized for personal use. i'll clean it up and upload.and about batteries you are right but wrong also. A lead acid battery needs higher voltage i.e. 13.2 - 13.8 volts to charge properly. this voltage is considered as Float charging voltage. also if battery is deep discharged below than a voltage of 14.2 - 14.8 volts is required to fast charge the battery, it,s known as Boost charging. this type of charging is required compulsory once in a month to remove sulfation from battery plates. this increases battery life. now you are right because a full charge battery have 12.7 volts at resting condition. but it requires higher voltage to force the current into the battery.

    View Instructable »
  • abhiV4 commented on abhiV4's instructable Arduino Buck-Boost Converter

    P channel mosfet is necessary. It forms the buck converter. Whenever required voltage is lower than input this P channel mosfet starts working and N channel mosfet remains off. Both the mosfets are compulsory for making Buck-Boost converter.

    View Instructable »
  • Yes we can do this. Code should be modified to control the boost converter as well. But I don't see any advantage of doing this in a solar charger as solar panels always output higher voltage than nominal 12v. So we only need to lower it down. But technically we can do this. I have done it in buck boost converter project.

    View Instructable »
  • abhiV4 commented on abhiV4's instructable Arduino Buck-Boost Converter

    It helps to have different voltages available. if you have 5v available and you need 12V . this can be done easily for AC voltage but in DC isn't that easy. with a boost converter you can boost up this 5V to 12V with 90% or above efficiency. Same is done in stepping down the DC voltage using buck converter. As it's a buck-boost converter it can produce any voltage between 0-30 volts with an input of 5-30 V.

    View Instructable »
  • abhiV4's instructable Wireless Power Transfer Prototype's weekly stats:
    • Wireless Power Transfer Prototype
      400 views
      18 favorites
      1 comments
  • abhiV4's instructable Raspberry Pi Tutorial's weekly stats:
    • Raspberry Pi Tutorial
      4,396 views
      169 favorites
      7 comments
  • abhiV4's instructable Arduino Buck-Boost Converter's weekly stats:
    • Arduino Buck-Boost Converter
      1,487 views
      48 favorites
      1 comments
  • abhiV4 followed abhiV4
      • Raspberry Pi Tutorial
      • Arduino Buck-Boost Converter
      • Raspberry pi & Arduino IOT Automation
  • https://www.instructables.com/Raspberry-Pi-Pytho...Visit this. there is only info about the how to setup Rpi and run python scripts. not gonna teach python language.

    View Instructable »
  • abhiV4 commented on abhiV4's instructable Raspberry Pi Tutorial

    Title modified. thanks

    I can't teach anyone python in few lines. This Instructables is here because some of users were not able to program the Rpi even with the python script available. So just to help them out i have written this. And for sure I'm gonna update that line in top

    View Instructable »
  • Nothing. You only need api key when you publish the data. As you are reading the data you don't need it.

    View Instructable »
  • Will post a new Instructables for that with full process video.

    View Instructable »
  • Use inbuilt python ide on raspberry pi. Write your code and save the script. Now run it any time.

    View Instructable »
  • Coz length of returning string isn't fixed. It may be c[64] for me and 65 for you. But string after that byte is of fixed length. I.e 13 more characters. So just minus 13 from length if the string and you will get that controlling byte every time. And this works for everyone. I hope your doubts are clear now.

    View Instructable »
  • Jais33. Did you made thingspeak channel public?Without doing so you will not get any fata.

    View Instructable »
  • Json is not a file. It's a string format. I'm filtering this returned string to get the desired data. You have updated the code wrong.

    your code is not correct. http request url is wrong. and every command sent by Serial to wifi should be followed by "\r\n" ... download my code above and just replace API KEY, wifi details and thingspeak channel number. don't edit anything else.

    View Instructable »
  • you have selected the wrong COM port. Or your COM port is attached with any other software. Make sure you have selected the correct COM port . To find out if you are using arduino nano than look for COM port created by ch340g, and if using arduino uno then look for COM port along with the name COM ( Arduino uno/ genuino). Then select your port in arduino ide under tools > port.

    View Instructable »
  • on which website you are trying to put the data?

    View Instructable »
  • For 6v operation you should use 2 led in series( most of white led have 3.3v forward voltage) and also connect a 10 ohm resistance in series with two LEDs to limit the current max. 20mA

    View Instructable »
  • You have to step down 12v DC from solar to 6V. Or you can use 12v battery instead. 2nd thing is that LED voltage is 3v. You can connect 2 led in series for 6v operation or 4 leds for 12v operation. Resistors should be used to avoid over current. You can calculate resistance value by R=V/I formula, where i is current consumed by led in amp and V is the voltage drop across the resistor. Your solar panel should not be very powerful than battery typically C/10. Your battery is 6.4Ah so max. Charging current will be 6.4/10= 0.640 amp. You can use 1 amp current for charging but it will heat up the battery.

    View Instructable »