Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    392

    Re: Virtual breadboard?

    Well, what I mean is a simulator that actually ties into a programmed microcontroller. Knew about the analog simulators and tried a few but something that actually sees code and all the peripherals. ...
  2. Replies
    6
    Views
    392

    Virtual breadboard?

    I don't have a clue on some advanced things that may be available and have always wondered about simulating simple picbasic projects without going through the processes of actually using the chip. I...
  3. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    1,189

    Re: VS1838B remote

    Thanks Ioannis. That pdf will be my reading later. I may want to do more sophisticated RC stuff also.
    This simple on/off is working great -- only sees NEC remotes. Tried others and no go which is...
  4. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    1,189

    Re: VS1838B remote

    it's working fine but I added leader = 0 to clear it out (duh)
    should have thought of that.
    I need to put the breadboard in the sunshine and see if it stays stable.
    if not, I'll just add his...
  5. Replies
    4
    Views
    320

    Re: 12F508 config -- going nuts

    Needed IntRC

    not INTRC

    Ridiculous.

    I spend half my time configuring new chips. Writing code is the easy part.
  6. Replies
    4
    Views
    320

    Re: 12F508 config -- going nuts

    I'm just using it to do some simple I/O stuff so 12F508 will be fine. Would appreciate a time saver if anyone can tell me for the osc, I tried em all --

    #config
    __config _? tried...
  7. Replies
    4
    Views
    320

    12F508 config -- going nuts

    Thought I'd buy this chip because digikey had so many in stock and search results seemed to make it popular in the 8 pin low cost pics (unless someone has a better idea). Started off using 12f675...
  8. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    1,189

    Re: VS1838B remote

    Pulsin works great. Heck, I just used the first part of that rentron code and did this with it --
    I get a perfect momentary on/off with a bit of needed pause.


    Main:
    PULSIN PORTB.0,0,Leader ...
  9. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    1,189

    Re: VS1838B remote

    I found that Rentron code. Wow. It's all there and well commented -- I'll try it out. His comments really spell it out and teach.
  10. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    1,189

    Re: VS1838B remote

    Never used pulsin. So if I knew the pulse width of the 38khz signal, I can compare it to a result pulsin gives? I just read something where it says it measures just one pulse, either low or high...
  11. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    1,189

    Re: VS1838B remote

    I remember the Rentron stuff -- excellent. Thanks for that code, I'll look into it and play with pulsin. It should be more accurate sounds like.

    It's working 98% of the time but alas, that isn't...
  12. Re: Pickit3 12C508A won't connect -- MPLAB IPE

    12 "C" 508

    I'm an idiot -- ordered wrong part.
  13. Pickit3 12C508A won't connect -- MPLAB IPE

    I've been using my pickit3 with mplab ipe and all has been perfect using 16F1847.

    Why in the world can't I connect when I choose 12C508A? The connect button stays grayed out.

    But when I go...
  14. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    1,189

    Re: VS1838B remote

    Presto -- thought I had the count set at 10 (was 20) -- working great now.
    Like the way I have conversations with myself on the forum? :)

    Kind of a cool way to use these ired units for a simple...
  15. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    1,189

    Re: VS1838B remote

    Bummer. Never used COUNT before, maybe I'm missing something?

    CT VAR WORD

    COUNT portb.5, 1000, CT
    IF CT > 10 then
    HIGH porta.7
    CT = 0
    ENDIF
  16. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    1,189

    Re: VS1838B remote

    I'm thinking the way to do it is use COUNT and just look for X amount of pulses from the 38khz ired xmtr. If > X then high a pin.
    Should work I hope. ?
  17. Thread: VS1838B remote

    by Michael
    Replies
    18
    Views
    1,189

    VS1838B remote

    These popular 3 pin infrared receivers --

    https://www.amazon.com/gp/product/B07PXV5DDF/ref=ox_sc_act_title_1?smid=A5I5XFYWMWKVM&psc=1

    are used a lot with the arduino stuff but has anyone run...
  18. Replies
    10
    Views
    1,608

    Re: New PBP and MCS -- a few errors

    do you know how to open the .INFO file in device references?

    do you just rename it text or something?
  19. Replies
    10
    Views
    1,608

    Re: New PBP and MCS -- a few errors

    Good deal.

    I'll have to make note I can have all the config info handy -- always a hassle. Although I generally stick to one chip for what I do.

    Not as dumb as I sound, just impatient....
  20. Replies
    10
    Views
    1,608

    Re: New PBP and MCS -- a few errors

    Thanks Henrik.

    Yes, I have had MPLAB X installed (latest) and was just playing around and got a successful assembly. Was getting some errors and maybe you can help me confirm what I was doing...
  21. Replies
    10
    Views
    1,608

    Re: New PBP and MCS -- a few errors

    Ok -- tried both checked and unchecked. Using MPASM X as the assembler created MANY errors.
    There was a file I downloaded that was the Picbasic plug in? Anyway --an nbm file and when I open it...
  22. Replies
    10
    Views
    1,608

    Re: New PBP and MCS -- a few errors

    Also -- I do have PBP listed as the default compiler in MCS. It's pointing to the PBP_3 folder.
  23. Replies
    10
    Views
    1,608

    Re: New PBP and MCS -- a few errors

    is it this for my 2nd question?

    ANSELA = 0
    ANSELB = 0

    CM1CON0 = 0
    CM1CON1 = 0
    CM2CON0 = 0
    CM2CON1 = 0
  24. Replies
    10
    Views
    1,608

    New PBP and MCS -- a few errors

    I've mentioned before, I'm an occasional programmer so hard to commit things to memory -- hence the many questions.

    Ok -- so I bought the latest PBP gold (3.1) and MCS+ (V5) yesterday.

    I've...
  25. Replies
    1
    Views
    489

    Micro code studio -- 16F1847

    I need to order today ans need to know does the latest version 5? of MCS support the 16F1847 ?

    Don't see it in my V4. thanks
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4