Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    1,542

    HSERIN and PIC18F24k22 hanging

    Hello all.
    I have my Raspberry Pi talking to my PIC via UART. When the Pi boots it sends out loads of console guff and I have to power cycle my PIC to get it to start receiving proper data. All I am...
  2. Replies
    3
    Views
    5,633

    Re: RGB led driver ic lpd6803

    Hi.
    I'm no expert but I am doing exactly this at the moment. I have done it with an Android ioio board and mosfets and now I am doing it with a PIC18F14k22. It has 5 hardware pwm outputs. I used ttl...
  3. Re: Ok. It's time to ask about talking/listening to a Raspberry Pi

    Hmmmn.
    I can take a look at the data sheet but not really understand it. What exactly am I looking at? I have always found I can understand about 0.2% of the data sheet.
  4. Re: Ok. It's time to ask about talking/listening to a Raspberry Pi

    Yes it is 3.3v from the Pi.
    so just to be absolutely sure....because the Pi has no protection and is not 5v tolerant....I am unlikely to blow up my pi if I directly connect it to my pic18f24k22? (I...
  5. Ok. It's time to ask about talking/listening to a Raspberry Pi

    Mucking about with my Raspberry Pi yesterday I managed to get it chatting to my pc via serial using a max3232cpe. That was easy. I would like to get it to talk to a Pic now and being a bit ignorant I...
  6. Replies
    2
    Views
    17,613

    simple rs422 to rs232 conversion.

    Hi all.
    This isn't strictly a picbasic question but there are so many helpful people on here I thought I would ask.
    I have a databox on a boat outputting nmea sentences about wind speed/direction...
  7. Replies
    10
    Views
    5,815

    Re: Pulsin ir receiver and osc speeds

    I am indeed using the 18f24k22
    OSCCON = 10000 is my setting. Hmmn.
    But aren't we missing the point? It seems that all the examples I have seen on reading Ir have been at 4 mhz so the pulsin...
  8. Replies
    10
    Views
    5,815

    Re: Pulsin ir receiver and osc speeds

    I hadn't but I was using porta.4 which isn't an analogue in. I am fairly sure that my pulse length if statements are wrong because I am defo getting good stuff at 4 mhz. It's just when wang it up to...
  9. Replies
    10
    Views
    5,815

    Re: Pulsin ir receiver and osc speeds

    I am pretty sure it is. (I tested it with a blink led set to pause 2000 and it was a 2 second gap...well two Mississippis by my count. I spent a while trying to figure out the OSCCON) My...
  10. Replies
    10
    Views
    5,815

    Re: Pulsin ir receiver and osc speeds

    Yes. it's actually an internal osc but I understand the pulsin command doesn't care anyway.
  11. Replies
    10
    Views
    5,815

    Pulsin ir receiver and osc speeds

    Hello with my pic running at 4 mhz this works. At 16 mhz it doesn't. It is due to the pulsin resolution but I can't work out what I need to change in order to get it working. Can someone explain it...
  12. Re: Can someone show me how to set ccp3 to RC6 on pic 18f24k22

    Thanks for that. Actually I couldn't get your version to work but this does:
    asm
    config FOSC = INTIO67 , CCP2MX = PORTC1, CCP3MX = PORTC6
    endasm

    I think I have learned something and I am...
  13. Can someone show me how to set ccp3 to RC6 on pic 18f24k22

    Hello.
    Yes I have been reading the data sheet and trying to understand how to do this but I don't really understand datasheets. Maybe if I can get this right I will help me understand them better....
  14. Re: Can someone help me get hpwm working on 18f24k22

    Actually, my usual stumbling about blindly programming I thought I would try this and it works. I thought I had to set things up first and I don't understand why I don't but hey. It work so I suppose...
  15. Can someone help me get hpwm working on 18f24k22

    Hello.
    I am trying to get 3 hpwm outputs on a pic18f24k22. The problem is that it requires reading the data sheet. I can read it but for the life of me I don't understand much of it. Perhaps someone...
  16. Replies
    7
    Views
    4,501

    Re: pic18f24k22 & picbasic pro 2.45

    Ok. I have found my answer:
    http://picpgm.picprojects.net/
    Compatible with many many pics and the Velleman k8048.
    A bit happier now.
  17. Replies
    7
    Views
    4,501

    Re: pic18f24k22 & picbasic pro 2.45

    Thanks. I am really struggling with what I thought was going to be a simple thing...3 harware pwm to control and rgb led. I ahve spent a day going through the microchip list looking for a pic that...
  18. Replies
    7
    Views
    4,501

    pic18f24k22 & picbasic pro 2.45

    Hello all.
    I rashly bought one of these before checking if I can program it. I have picbasic pro 2.45 and a Vellemen k8048 programmer. Have I been rash? I didn't even check if winpic can program the...
  19. Re: Oh Dear. My head is spinning. HPWM RGB LEDs What to choose?

    Heckler
    Ha! That is exactly what I have got. (well a slightly different but very similar UK version) I was planning to use the fets to drive the LEDs and steal the 5v rail etc. That is why I was...
  20. Re: Oh Dear. My head is spinning. HPWM RGB LEDs What to choose?

    I'm only after 3 channels of control for the moment. I want to add IR control and maybe some potentiometers but no doubt I will want to hook it up to some sort of serial connection at some point.
  21. Re: Oh Dear. My head is spinning. HPWM RGB LEDs What to choose?

    Demon: Yes I had thought of that although perhaps I should have been a little less hasty. I probably don't mean background, I realize that I can simply put the mibam routine in the appropriate place...
  22. Oh Dear. My head is spinning. HPWM RGB LEDs What to choose?

    I know this has been covered in lots of posts in various ways but I am swamped in confusion as to how to do my RGB Led dimming. I have a pic16f628 and looked at sPWM and it is all fine but at the...
  23. Replies
    1
    Views
    3,332

    Simple analog pulse

    Hello.
    I have a relay in a usb box which is triggered by software (not my box or software). The realy closure time is not consistent depending on how busy the computer is. I think there must be a...
  24. Well mode 2 and mode 10 both work. I don't know...

    Well mode 2 and mode 10 both work. I don't know how I missed it.
  25. I should have said. I think I have already tried...

    I should have said. I think I have already tried that but I will give it another go. I guess I should try different speeds too.
Results 1 to 25 of 33
Page 1 of 2 1 2