Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    4,695

    Re: WRITE and DT-INTS

    DEFINE_WRITE 1 only works on PBP3 and up I think.
    How do I do it on PBP 2.60C?

    The way I do it now is by disable the TMR1 with the line "@ INT_DISABLE TMR1_INT"
  2. Replies
    6
    Views
    4,695

    Re: WRITE and DT-INTS

    Thank you!
    I thought that DEFINE_WRITE 1 only was for the PBP "ON INTERRUPT" and not for "ASM" interrupts like DT-INTS
  3. Replies
    6
    Views
    4,695

    Re: WRITE and DT-INTS

    I talk about the WRITE


    WRITE

    WRITE Address,Value

    Write Value to the on-chip EEPROM at the specified Address. This instruction may only be used with a PICmicro that has an on-chip EEPROM...
  4. Replies
    6
    Views
    4,695

    WRITE and DT-INTS

    Hi

    I write data to the EEPROM with WRITE and are also using DT-INTS TMR1, but before i execute a write I disable TMR1 with
    @ INT_DISABLE TMR1_INT

    Is that the correct way to do it?

    I´m a...
  5. Replies
    11
    Views
    14,845

    Re: RS232 with multiple slaves

    Thanks for all the answers, I will order some parts now and start testing. :)
  6. Replies
    11
    Views
    14,845

    Re: RS232 with multiple slaves

    tumbleweed
    Maybe the ADM4850 115 kbps chip is a better choice for me then.

    http://www.farnell.com/datasheets/1581181.pdf
  7. Replies
    11
    Views
    14,845

    Re: RS232 with multiple slaves

    The optimum cable for RS-485 communication is of course a dedicated RS-485 cable, but I have read that a CAT5e is also working well and are very inexpensive, but how will a 3x0.75 untwisted cable...
  8. Replies
    11
    Views
    14,845

    RS232 with multiple slaves

    Hi

    I want all the slaves to receive the same bytes sent by the master using RS-232 at 2400 baud, no communication from the slaves are needed.
    I know that RS-232 communication are not supposed to...
  9. Thread: RFID module

    by Fredrick
    Replies
    0
    Views
    1,994

    RFID module

    Hi

    I thinking of replacing a token machine with a RFID solution, but I don't know so much about the RFID technology yet so I hoping to get some ides here.

    I want it to work something like...
  10. Replies
    7
    Views
    25,277

    Re: Circuit question

    LinkMTech: Thank you very much!
    I'm a little wiser now :D
  11. Replies
    7
    Views
    25,277

    Re: Circuit question

    In this datasheet from the place I bought the part http://www.electrokit.com/productFile/download/4175
    it say´s something about "Pulsed Drain Current IDM =-3 A

    But I don't understand what they...
  12. Replies
    7
    Views
    25,277

    Circuit question

    I have A circuit that looks like this and all works as expected.

    But I´m not sure if the BS250 can handle the two capacitors i the long time, I assume that the BS250 will be shorted for a short...
  13. Replies
    772
    Views
    594,537

    Re: Instant Interrupts - Revisited

    Hello

    Where can I find the homepage that were on these two links?
    And where do I download the latest DT_INTS?

    DT_INTS-14 (12F-16F)
    http://darreltaylor.com/DT_INTS-14/intro.html

    DT_INTS-18...
  14. Thread: Counter

    by Fredrick
    Replies
    6
    Views
    3,569

    Re: Counter

    The code works perfect on a 16F886, thank you Henrik!
  15. Thread: Counter

    by Fredrick
    Replies
    6
    Views
    3,569

    Counter

    Anyone have a simple example of how I can do something like this but with larger numbers then 65535?

    Counter VAR WORD

    Loop:

    Counter = Counter + 1
    lcdout $FE, line1,"Counter:", #Counter...
  16. Replies
    68
    Views
    38,200

    Re: LCDOUT custom commands - how to?

    Thank you flotulopex for this thread, now my 3x16 DOGM display works perfect.:)
  17. Replies
    68
    Views
    38,200

    Re: LCDOUT custom commands - how to?

    Did you ever get the display to work in 4 bit mode?
  18. Replies
    1
    Views
    6,167

    View Post

    Hello


    The PBP manual says this about ADCIN


    I want a value between 0-255 depending on the voltage (0-5V) on RA2 and was trying to set the registers without success and then I just tested the...
  19. Replies
    25
    Views
    13,283

    Re: Minimize battery consumption on a 18F2550

    So a N-channel FET should always have the S connected to the ground and the P-channel should always have the S connected to the positive supply?
  20. Replies
    25
    Views
    13,283

    Re: Minimize battery consumption on a 18F2550

    The schematic almost works, but I had to change the D and S on the P channel FET. (see the attachment)
    Can someone explain for me how the D and S should be connected for a N and P channel FET?
    ...
  21. Replies
    25
    Views
    13,283

    Re: Minimize battery consumption on a 18F2550

    I changed my mind and I will not use the PICstart board anymore, I will do all on a protoboard.
  22. Replies
    25
    Views
    13,283

    Re: Minimize battery consumption on a 18F2550

    The datasheet says this


    Does that mean that I can feed +9 into RA4?
    And if not why should this be avoided?
  23. Replies
    25
    Views
    13,283

    Re: Minimize battery consumption on a 18F2550

    Does it look ok now?
    I assume the standby current now will be 0uA when no button is pressed and the RA0 is not high?
  24. Replies
    25
    Views
    13,283

    Re: Minimize battery consumption on a 18F2550

    Will this work then?
    PORTB are using internal weak-pullups, and I keep RA0 high as long as I want the PIC to run.
  25. Replies
    25
    Views
    13,283

    Re: Minimize battery consumption on a 18F2550

    Will this schematic work?

    When u press a button the FET will switch on the 7805 and the PIC, and then I hold RA4 low as long I want the PIC to run.
    The +BATT terminal is from a 9V battery and the...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4