Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    5,938

    Re: IR Temperature Sensor

    here's a thread about the melexis sensor: http://www.picbasic.co.uk/forum/archive/index.php/t-11782.html
  2. Replies
    10
    Views
    9,746

    Re: Sony SIRC IR Issue

    here's how I set up the registers to use HPWM:

    PR2 = %00011001 ' Set PWM frequency to +/- 40kHz, set to 26 for 38kHz or 28 for 36kHz
    CCP1CON = %00001100 ' Mode select = PWM...
  3. Re: Interrupt on change for IR input - is it a good way to go

    In my experience the shielded ones (some sort of aluminum shield with a small window) are much less noisy
    The ones I use mostly come from old VHS decks or TV's
  4. Replies
    5
    Views
    3,691

    Re: DT interrupt problem

    Thank you Darrel for pointing me in the right direction, it works fine now!
  5. Replies
    5
    Views
    3,691

    Re: DT interrupt problem

    Thanks for the suggestion, but my interrupt routine works okay. I tried it but it makes no difference. Somehow it will not run the main program, it will handle all the interrupts though.
  6. Replies
    5
    Views
    3,691

    DT interrupt problem

    Hello everyone, I'm having trouble making my program work. I'm using DT interrupts to measure the duration of a servo pulse using CCP interrupts.
    The interrupt routine works as expected but it...
  7. Thread: jump from ISR

    by eggman
    Replies
    2
    Views
    2,266

    Re: jump from ISR

    Thanks Bert,

    I thought of that too but assumed there would be an easier way.

    regards,

    eggman
  8. Thread: jump from ISR

    by eggman
    Replies
    2
    Views
    2,266

    jump from ISR

    Hello everyone,
    I'm using DT's interrupts (very nice, thank you!) for the first time and run into a little problem which is probably easy to solve but I don't know how.
    When the user pushes a...
  9. Replies
    10
    Views
    8,775

    Re: PIC18F1220 locked up

    Thank you Bruce,

    You made my day!

    regards,

    Kees
  10. Replies
    10
    Views
    8,775

    Re: PIC18F1220 locked up

    Well, I tried to program with RB5 (PGM) pulled low, still no luck. As soon as I try to start my Pickit2 with the PIC connected it reports: Device Error - hex file not loaded. So it will no longer...
  11. Replies
    10
    Views
    8,775

    Re: PIC18F1220 locked up

    Okay, I compared all the fuses and found out this one locks it up:
    @ __CONFIG _CONFIG2L, _PWRT_ON_2L & _BOR_OFF_2L & _BORV_27_2L
    It is hex 08, if I change it to hex 0F all is fine. Has to do with...
  12. Replies
    10
    Views
    8,775

    Re: PIC18F1220 locked up

    Thank you Bruce, tried it, and another chip locked up, good hint though.
    Any other ideas?
    Thanks
  13. Replies
    10
    Views
    8,775

    PIC18F1220 locked up

    Hi everyone,
    I'm trying to make an 80 year countdown timer for an art project using a PIC18F1220. I'm using MPASM and PBP2.60.
    When I copy the configs from P18F1220.INC file and paste them in my...
  14. Replies
    13
    Views
    10,522

    here's one for you ...

    here's one for you

    http://www.bpesolutions.com/a.ServoControl.html#anchor283241
  15. Thread: Sony IR Remote

    by eggman
    Replies
    40
    Views
    26,872

    Instead of led = 1 or led = 0 use this: TRISIO.2...

    Instead of led = 1 or led = 0 use this: TRISIO.2 = 0 or TRISIO.2 = 1
    You have to connect your IR led to GPIO.2, not GPIO.5
    Toggling TRISIO.2 will modulate your IR led
  16. Replies
    3
    Views
    4,824

    have a look at http://www.ezweblynx.com/ their...

    have a look at http://www.ezweblynx.com/ their little webserver can do UDP and has inbuilt adc capabilities
  17. Thread: Sony IR Remote

    by eggman
    Replies
    40
    Views
    26,872

    You should modulate your signal on a carrier of...

    You should modulate your signal on a carrier of about 38 kHz. You can generate this with assembly or use a pic12f683 and use the internal pwm generator. Then you can modulate this signal by switching...
  18. Replies
    7
    Views
    5,567

    I ones worked with those chips, I only had it...

    I ones worked with those chips, I only had it working without the 33 pF capacitor. The MCP23017 seems a better choice, it does not need an external capacitor.
  19. Replies
    9
    Views
    6,162

    No, your phone is a usb slave, not a host. You...

    No, your phone is a usb slave, not a host. You need the rs232 cable. They are cheap so why not buy one?
  20. Replies
    9
    Views
    6,162

    plenty of cables available, for example here: ...

    plenty of cables available, for example here:
    http://ucables.com/ref/NK-7210
  21. Replies
    9
    Views
    6,162

    In your circuit diagram you try to send serial...

    In your circuit diagram you try to send serial data to a usb connector which will never work. You need a data cable with 9 pin D connector.
  22. Thread: Melexis

    by eggman
    Replies
    4
    Views
    6,480

    You can set up the sensor to output PWM and then...

    You can set up the sensor to output PWM and then measure pulse length. Only trouble is, to set up the sensor you need the EVB90614 evaluation board and their somewhat buggy software. I did it this...
  23. Thread: Pic 18f Usb

    by eggman
    Replies
    134
    Views
    100,222

    Hello Bob, Yes I delved a bit further into the...

    Hello Bob,
    Yes I delved a bit further into the USB stuff, the descriptor has to tell the host it is a joystick or game controller with so many channels and buttons. I don't think this can be done...
  24. Thread: Pic 18f Usb

    by eggman
    Replies
    134
    Views
    100,222

    easyHID game controller

    Hello everyone,
    I'm playing with the easyHID software and the great example USBDEMO (thank you mister E!) It works very well, but now I would like to program my PIC to act as a game controller so it...
  25. Thread: random problem

    by eggman
    Replies
    5
    Views
    3,347

    Hmm that's a good idea, will try, thanks

    Hmm that's a good idea, will try, thanks
Results 1 to 25 of 45
Page 1 of 2 1 2