Charger battery with pic12f675


Closed Thread
Results 1 to 5 of 5
  1. #1

    Default Charger battery with pic12f675

    Hello friends,
    I want to make a 4 battery charger for NiMH 2700mA using a pic12f675, the idea is that the LED stays on when the batteries are loaded and off when they have reached their full charge, which is not how to manage the entry for input analog the load is stopped upon reaching eg 6 V.

    When you connect the battery starts charging, then pin 5 Mv monitors voltage divider, where the input analog detects that the load has reached 6 V pin 7 is at logic 0 and the load is short. I plan to put a temperature sensor (thermistor), so that if it reaches 32 ° C, the battery is charged to court.

    Can you give me some idea about how to make the project.

    Thanks
    Attached Images Attached Images  
    Last edited by Leonardo; - 23rd July 2009 at 18:08.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Sounds like you pretty much have the project mapped out.
    What exactly do you need help with ?
    Dave
    Always wear safety glasses while programming.

  3. #3


    Did you find this post helpful? Yes | No

    Default

    I need to know how can I implement the code of the forum and if someone can help me.


    Quote Originally Posted by mackrackit View Post
    Sounds like you pretty much have the project mapped out.
    What exactly do you need help with ?

  4. #4
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    579


    Did you find this post helpful? Yes | No

    Default

    Something like this ?
    Main :
    ......
    goto check
    ......
    goto main


    CHECK : ; verify for voltage
    ADCIN 2, ADVAL
    VT = ADVAL * 5000 ; 5V with 3 decimals
    VT = DIV32 1023 ; / maximum A/D reading

    IF VT > 6000 THEN
    GPIO.0 = 0
    ENDIF
    RETURN

  5. #5


    Did you find this post helpful? Yes | No

    Default

    Hello Fratello,

    Exactly what is needed for the battery charger when the voltage divider delivers eg 60mV to the GP2 pin 7 is low and cut the load to the battery.

    greetings


    Quote Originally Posted by fratello View Post
    Something like this ?
    Main :
    ......
    goto check
    ......
    goto main


    CHECK : ; verify for voltage
    ADCIN 2, ADVAL
    VT = ADVAL * 5000 ; 5V with 3 decimals
    VT = DIV32 1023 ; / maximum A/D reading

    IF VT > 6000 THEN
    GPIO.0 = 0
    ENDIF
    RETURN

Similar Threads

  1. Pic Battery Charger
    By Squibcakes in forum Off Topic
    Replies: 7
    Last Post: - 22nd January 2012, 05:56
  2. Replies: 14
    Last Post: - 6th March 2011, 05:08
  3. Pic 16Fxx Battery Charger Help
    By wbjunkie in forum Schematics
    Replies: 6
    Last Post: - 15th December 2008, 19:34
  4. Battery charger - power supply issue affecting ADC
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 14th December 2008, 00:12
  5. Li-Ion battery charger
    By Nicmus in forum Off Topic
    Replies: 6
    Last Post: - 21st May 2008, 00:28

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts