Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: chitalula; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    3,200

    Re: While loop on pwm module

    Thanx alot HankMSpank and arrati, i did what you said and my problems have been solved.
    I want to add something in this code, i want after the duty cycle being constant to giveout this duty cycle...
  2. Replies
    3
    Views
    3,200

    While loop on pwm module

    I want to incease the duty cycle until the volts on R4 is equal to three ( feedback voltage to the pic greater than 153) then at this volt i want to stop the duty cycle.
    Problems
    the duty cycle is...
  3. Replies
    0
    Views
    1,677

    i need a help here to accomplish my tasks

    I am doing my final year project on designing constant current pic controlled boost converter, boost converter which as the load resistance changed the output current still remained constant.

    ...
  4. Replies
    13
    Views
    7,257

    Re: what is wrong am i doing in this code?

    thaks in advance, am taking a time to concentrate with it and when i meet any difficult i will came back to you
  5. Replies
    13
    Views
    7,257

    Re: what is wrong am i doing in this code?

    up to now i dont need to continue to work with the comparator module because it fail to do as i want
    i want to use adc but have already read the adcin command but how to use adc to compare the two...
  6. Replies
    13
    Views
    7,257

    Re: what is wrong am i doing in this code?

    thanx in advance Henrik. now i want to continue to output constant duty ratio when the comparator input are equal, is it possible to output that constant duty cycle which make input equal to Vref?
  7. Replies
    13
    Views
    7,257

    Re: what is wrong am i doing in this code?

    your right Henrik, input voltage at the RA2 is 3volts

    /chitalula.
    I will wire the circuit on the breadboard when the circuit do what i want. as you know that iam new on the world of programming....
  8. Replies
    13
    Views
    7,257

    Re: what is wrong am i doing in this code?

    sorry Henrik early i used that chip but was difficult to understand, i uploaded that by mistake, 16f877a it was difficult to me thus why i leave that and i have choosen to work with 16f628a, help me...
  9. Replies
    13
    Views
    7,257

    Re: what is wrong am i doing in this code?

    1. VRCON register is for internal Vref and is found within a data sheet
    2. CM2:CM0=101 i found from the data sheet and is for "one independent comparator"
    3. from the data sheet i found RA2 is the...
  10. Replies
    13
    Views
    7,257

    Re: what is wrong am i doing in this code?

    thanx in advance, i want to use external refence , am taking deep reading on the data sheet then if i see misunderstang i will come back to you
  11. Replies
    13
    Views
    7,257

    what is wrong am i doing in this code?

    in this code i want to increase the duty ratio until the input volts at RA1 is equal to the Vref, after while loop is true to light the led at portb.5. the problem here is the output is not increase...
  12. Replies
    13
    Views
    7,350

    Re: what is wrong in this code

    HenrikOsson my big problem was in CMCON register configuration, i leave my previous circuit and i took the circuit uploaded by sayzer. and i edit some code there by puting my own code
  13. Replies
    13
    Views
    7,350

    Re: what is wrong in this code

    Thanx alot henrikolsson and sayzer for all of your suggestions, the problem was in configuration of cmcon, now it work as i want, thanx in advance
  14. Replies
    13
    Views
    7,350

    Re: what is wrong in this code

    thanx for your suggestion. on stimulation if the input voltage equal to vref else statement always and if the input voltage is higher than or less than Vref else statement is executed too. it seems...
  15. Replies
    13
    Views
    7,350

    Re: what is wrong in this code

    i tried to do as you told me but it didn't work as i want, led at portb.1 is always on even if the voltages at RA0 pin is changed. it seems the comparison is not working on the if statement, still...
  16. Replies
    13
    Views
    7,350

    Re: what is wrong in this code

    sayzer i tried to run your but it didn't do anything, i don't know why. and i need a comparison in my code can you add too?
  17. Replies
    13
    Views
    7,350

    Re: what is wrong in this code

    yah HenrikOlsson help me on that edit where necessary so that it can work as i want, iam a begginer in the pics progrmming, thanx indvance
  18. Replies
    13
    Views
    7,350

    what is wrong in this code

    i want to light the led at portb.0 when the output of comparator is high and to light led at portb.1 when comparator output is low, my code compiled successful and on running this code light a ked...
  19. Replies
    13
    Views
    7,350

    what is wrong in this code

    i want to light the led at portb.0 when the output of comparator is high and to light led at portb.1 when comparator output is low, my code compiled successful and on running this code light a ked at...
  20. Replies
    7
    Views
    5,098

    Re: I need help on the compare module

    thanx HenrikOlsson and Ailan, am taking a deep studies on that if i will meet with difficulties i will come back to you again
  21. Replies
    7
    Views
    5,098

    Re: I need help on the compare module

    i have read the ADCIN command but i i do no how to link this command with the comparator, my aim is to design dc dc conveter with constant current by varying output voltage after comparison, So it's...
  22. Replies
    7
    Views
    5,098

    Re: I need help on the compare module

    thanks HenrikOsson for your suggestion i hope it will help me, truely i have no anywhere to get the information on that issue, can you give me the reference book so that i can read to get enough...
  23. Replies
    7
    Views
    5,098

    I need help on the compare module

    I read compare module and i understand how it works that is it compare the two voltages on the input terminals.
    comparator has two terminals, positive(Vref) and negative(input voltage on AN1 0r AN0)...
  24. Replies
    2
    Views
    2,773

    code for dc dc converter

    my aim is to control dc dc converter by using pic microcontroller, anyone to help me sample codes for controlling the dc dc converter
Results 1 to 24 of 24