Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    4,105

    Thank you for your help :) I modifies as Steve's...

    Thank you for your help :)
    I modifies as Steve's suggestion, it works now

    Actually I do not require the RX part, is there any way permanently disable the RX part ( to save 2x pause 25 ) ?
  2. Replies
    6
    Views
    4,105

    LCD and HSEROUT do not mix well ?

    I tried to display decimal value to LCD, it works.

    How to display the value to LCD while sending the value with HSEROUT ?
    Everytime I enable the HSEROUT command , the LCD do not display...
  3. Replies
    27
    Views
    52,646

    Yes, this is the problem, if I switchoff PWM6,7...

    Yes, this is the problem, if I switchoff PWM6,7 with %01000100 , I will loose the I/O ports that occupied by PWM0,2,4

    I think I have to change the LCD wiring :( ,
    or alternatively, can I combine ...
  4. Replies
    27
    Views
    52,646

    Hi Bruce, I have tested it, the problem is the...

    Hi Bruce,

    I have tested it, the problem is the PWM7. How to disable it?

    I want PWM 1,3,5 only , but the PWMCON0 does not have option , the best option is %01111111 ( all odd pins enabled ,...
  5. Replies
    27
    Views
    52,646

    I am using RD2,RD3,RD4,RD5,RD6,RD7 ( cannot...

    I am using RD2,RD3,RD4,RD5,RD6,RD7 ( cannot change these , as these are hardwired on my easypic4 )

    The problem starts even before PWM channels are active
  6. Replies
    27
    Views
    52,646

    Hi Bruce, I also got the PWM's working, but...

    Hi Bruce,

    I also got the PWM's working, but there is a problem now : LCD displays doesn't work properly, say I want to display " Welcome " , LCD displays " We$&ome" or something like that
    If I...
  7. Replies
    9
    Views
    7,087

    Thanks Brian, Yes , this is what I meant. ...

    Thanks Brian,

    Yes , this is what I meant.

    You said it will be about 2 ms delay from input to output, is it based on 8 Mhz oscillator ?

    If I want to change the delay to 1 ms, is it as simple...
  8. Replies
    9
    Views
    7,087

    Hmmm.... Suppose I have 8 ADC running at 10...

    Hmmm....

    Suppose I have 8 ADC running at 10 bit and then do some math with the values, then output it to 8 HPWM on a chip like 18f4431, total code around 8k byte, will 8mhz internal osc be...
  9. Replies
    9
    Views
    7,087

    Thanks Mat Aside of those issues, is there...

    Thanks Mat

    Aside of those issues, is there really a " performance" differences by clocking the PIC higher ? Better processing speed ?

    I am new to PIC, but I guess as it happens on PC , the...
  10. Replies
    9
    Views
    7,087

    How to choose best oscillator frequency?

    How do you guys pickup the best oscillator frequency for your application?
    The higher the better ?
  11. Replies
    2
    Views
    3,129

    Thank you Bruce, It works :)

    Thank you Bruce,

    It works :)
  12. Replies
    2
    Views
    3,129

    Multiple HPWM question

    Hello,

    I just made an experiment with 18F4431 again.
    The blinky program works, and now I want to have multiple / simultanous HPWM
    My code did not work, How to setup so the RB0,1,2,3 become PWM...
  13. Replies
    9
    Views
    7,196

    Thanks for your responses :) Well , this is...

    Thanks for your responses :)

    Well , this is not a simple circuit indeed. I have found the explanation about it on Nutsvolt , February 2007,p20

    Thanks again
  14. Replies
    9
    Views
    7,196

    Mack: I am welcoming any other solution :) The...

    Mack: I am welcoming any other solution :)
    The circuit is to dampen sudden voltage changes of a potentiometer ( voltage divider ), what important is the linearity of the output


    Jerson: could...
  15. Replies
    9
    Views
    7,196

    Thanks guys, RussMartin: Yes , this is exactly...

    Thanks guys,

    RussMartin: Yes , this is exactly my problem, I want the curve to be as linear as possible.

    I am tring to make a ramp . Any suggestion how to flatten the curve ( from red to ...
  16. Replies
    9
    Views
    7,196

    Help me on RC circuit

    Hi !,

    I am designing simple RC circuit.
    how to get most linear charge/discharge output ?

    My RC circuit has a 10k resistor and 47uF capacitor, it seem the output is not linear

    If I change...
  17. Replies
    3
    Views
    6,027

    Andrew, have you looked Darrel's instant...

    Andrew,

    have you looked Darrel's instant interrupt : elapsed timer ?
    I think you can modify the sample code to make it work as you suggest

    I have tried this instant interrupt : elapsed timer...
  18. Replies
    9
    Views
    8,614

    You can use software debounce ( with Button...

    You can use software debounce ( with Button command ) , but if you dont want to change the code, just put the switch in parallel with a resitor and capacitor, something like this:


    sw...
  19. Thread: Pic16f877a 20mhz

    by Johan
    Replies
    3
    Views
    3,122

    try this define OSC 20 TRISB = 0 MAIN:...

    try this



    define OSC 20
    TRISB = 0
    MAIN:
    HIGH PORTB.0
    PAUSE 1000
    LOW PORTB.0
  20. Replies
    9
    Views
    8,614

    Hi Grandpa, As you use push switch, don't...

    Hi Grandpa,

    As you use push switch, don't forget to debounce it

    Johan
  21. Replies
    5
    Views
    3,913

    Thanks Bruce & Josuetas, I think I will try...

    Thanks Bruce & Josuetas,

    I think I will try to mix both methods , Instant interrupt is simple to apply, while ME's sample program is complete with checksum

    By the way, does PIC16F616 have...
  22. Replies
    5
    Views
    3,913

    Thanks for the link Raflex, but I want to write...

    Thanks for the link Raflex, but I want to write to PIC internal eeprom, so the program inside the PIC can access the value and run the program accordingly.
  23. Replies
    5
    Views
    3,913

    PC to internal eeprom

    Is is possible to write directly to EEPROM with a PC ( serial )?

    I am thinking something like bootloader routine or ICSP , but instead of downloading program, it just download values to eeprom.
    ...
  24. Thread: Timing question

    by Johan
    Replies
    4
    Views
    3,321

    Thanks Michael, It works now :) Thanks to you...

    Thanks Michael,
    It works now :)

    Thanks to you too, Darrel
  25. Thread: Timing question

    by Johan
    Replies
    4
    Views
    3,321

    Hi Alain, thanks for the info, I made test...

    Hi Alain, thanks for the info,

    I made test program , but I got error messages :
    variable wsave3 position request 416 beyond ram_end 191
    variable wsave3 position request 288 beyond ram_end...
Results 1 to 25 of 56
Page 1 of 3 1 2 3