Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    1,450

    help to test a I2C LCD

    hello i have this I2C LCD (20x4) from china:
    ...
  2. Replies
    2
    Views
    1,409

    Re: some problem with a pic adc

    thank you henrik, the averaging seems to be good but today i will try to check the "zeroing", maybe the problem is there. the Vdd comes from a common 7805 and it's something near 4,97 volts....
  3. Replies
    2
    Views
    1,409

    some problem with a pic adc

    i try to work with the adc (12bit) of the pic16f1786. My settings are as follows:

    ANSELA = %00010111
    ADCON0 = %01111101 ' Using 12 Bit, Fixed Voltage reference
    ADCON1 = %11110011 ' 2's...
  4. Replies
    1
    Views
    1,238

    help for the adc of the 16f1786

    i try make a 12 bit conversion with this:

    define ADC_BITS 12
    define ADC_SAMPLEUS 50
    adval var word
    ADCON0= %00000000
    ADCON1= %10000000
    trisa=%111111

    start:
  5. Replies
    3
    Views
    1,964

    Re: vu-meter with a pic adc

    yes but i would use the pic for other led games too, the musical vu-meter will be only one of them
  6. Replies
    3
    Views
    1,964

    vu-meter with a pic adc

    how i can do it? And the audio signal must be rectified?
  7. Re: i haven't the 16F1786 in microcode studio list (pbp246), what can i do?

    he was student92, not me. He asked for monitoring temperature, i dont know why he ask it in this thread....
  8. Re: i haven't the 16F1786 in microcode studio list (pbp246), what can i do?

    the 12bit analogic ports and the chance to set the reference voltage to 1.024,2.048,4.096 volts for them
  9. Re: i haven't the 16F1786 in microcode studio list (pbp246), what can i do?

    pickit 2.61 don't recognize the pic16f1786, can you help me?
  10. i haven't the 16F1786 in microcode studio list (pbp246), what can i do?

    it's not supported? there is a solution?
  11. Re: why trm0 preset don't work in this position?

    thanks, now the frequency is 484 hz
  12. Re: why trm0 preset don't work in this position?

    Yes now it work, with the frequency counter, measuring the frequency now it's 483 hz, nearly correct for the 1:8 prescaler and 4mhz quartz. The toggle don't half the frequency? For example without...
  13. Re: why trm0 preset don't work in this position?

    it's the 16f628a
  14. why trm0 preset don't work in this position?

    where i have to point the tmr0 preset to properly work?

    mainloop:

    if INTCON.2=1 THEN
    toggle portb.2
    endif
    INTCON.2=0
    TMR0 = 128 'here don't work
  15. Replies
    38
    Views
    7,473

    Re: different software times, impossible?

    thank you amgen, i have to work with the timers for generate the correct number of pulses for two ports with the lowest possible latency.
  16. Replies
    38
    Views
    7,473

    Re: different software times, impossible?

    anyway the pwm (the only way to have two pulses on different ports of a pic at the same time) it's not good for me cause i work with stepper motors and i have to define closed number of steps, not...
  17. Replies
    38
    Views
    7,473

    Re: different software times, impossible?

    hi richard, i understand. The 31-479 possible pulses of y for every 400 pulses of x are for me necessary, it's impossible for me to change those three parameters. i know it's a problem of "times",...
  18. Replies
    38
    Views
    7,473

    Re: different software times, impossible?

    hi richard, to match the x pulses (1666hz) for the y pulses i need to set a range from 500us (250high+250low) to 7500us (3750high+3750low) the increment can be 50us. For your 3rd question i need your...
  19. Replies
    38
    Views
    7,473

    Re: different software times, impossible?

    what's the lowest possible increment in uS units of the two other timers with 20mhz quartz?
  20. Replies
    38
    Views
    7,473

    Re: different software times, impossible?

    the pwm work good and the frequency counter confirm the exact frequency and its possible to stop it at a fixed point, now i need a second timer to count the y pulses other than 400) with a same time...
  21. Replies
    38
    Views
    7,473

    Re: different software times, impossible?

    400*300+300=240.000 us
    1.000.000 us /240.000 us =4,1666666667
    4,1666666667*400 pulses =1.666,66666668 hz for one second if the quartz is precise.......
  22. Replies
    38
    Views
    7,473

    Re: different software times, impossible?

    the lowest possible hpwm frequency is 245 hz (for a 4mhz quartz) and 1221hz for a 20mhz quartz, now i have to calculate the frequency of 400 pulses.....
  23. Replies
    38
    Views
    7,473

    Re: different software times, impossible?

    hello richard so its possible to stop the pwm after a fixed time? Maybe its a solution, cause the 400 steps (or always multiply of 400) are fixed, i need only to stop the pwm output after the same...
  24. Replies
    38
    Views
    7,473

    Re: different software times, impossible?

    if i choose the two pic serially connected solution the two separate quartz can produce an error in time or it will be negligible?
  25. Replies
    38
    Views
    7,473

    Re: different software times, impossible?

    simply the stepper motor driver use the input clock to define the steps, one rising pulse is one step, 400 rising pulses are 400 steps
Results 1 to 25 of 41
Page 1 of 2 1 2