Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    3,294

    Thanks for your prompt reply. I read somewhere...

    Thanks for your prompt reply.

    I read somewhere that CCP module is less intrusive than "normal "interrupt loops.
    If i could read 16 high edges i'll get just one interrupt and my job would be done....
  2. Replies
    3
    Views
    3,294

    CCp module question.

    I'm learning CCp module.

    There is something I don't understand yet.
    I want to know the length of the first 16 rising edges of an incoming stream to decide whether it's the right stream or...
  3. Replies
    5
    Views
    4,321

    Interrupt on PORTB.....

    Please,
    in interrupt handler how do you understand which pin of PORTB (RB7:RB4)changed its state and caused the interrupt ?

    Int_Handler:
    If INTCON.0=1 then

    ' here i must understand which...
  4. Replies
    0
    Views
    2,823

    First pic controls #2.....

    Hi,
    i have a pic (16f88) that must control another one ( 16F876A).
    I mean first is always running , the second to avoid battery consumption because tied to other devices must be started or...
  5. Replies
    4
    Views
    22,742

    I sent a Private Message on 3 March. Check your...

    I sent a Private Message on 3 March. Check your private message box.
    If not received i'll send it again or send me your mail.
    Roberto
  6. Replies
    4
    Views
    22,742

    May be i'm wrong but isn't the same...

    May be i'm wrong but isn't the same encoding/decoding sequence of Motorola 145026?

    If so i can help you with some code.Let me know about.
    Roberto
  7. Replies
    6
    Views
    5,687

    Hi BobK, yes i did it, considering 16F876....

    Hi BobK,

    yes i did it, considering 16F876.
    Unfortunately i have to make again the pcb , and the most part of pins are useless to my project ( i use 8 pins only)...but things are gone this way.
    ...
  8. Replies
    6
    Views
    5,687

    Answer From Microchip ticket: I'm sorry,...

    Answer From Microchip ticket:


    I'm sorry, but this is a known errata issue.

    http://ww1.microchip.com/downloads/en/devicedoc/80171j.pdf

    7. Module: PORTB Interrupts
    When the PORTB...
  9. Replies
    6
    Views
    5,687

    Pic16f88-I2c-Interrupt PORTB...

    I'm using a Pic16f628 , a PCF8524 to drive some Leds and a 24c08
    Now i added a PIC16F88 to use its hardware I2c.
    At this point everything ok reading and writing on I2c bus.

    Problems arise when i...
  10. Replies
    11
    Views
    11,491

    "and what must be min configuration for...

    "and what must be min configuration for connecting PFC!
    I connected scl and SDA pin!"


    Did you put two resistors tied to VDD??

    roberto
  11. Replies
    2
    Views
    5,163

    Use pic as slave in I2C

    Hello,

    is it possible to store data in a Pic eeprom to be read from another Pic?

    I'd like to have a pic as a slave in a I2C network and another one as a master reading and possibly writing...
  12. Replies
    5
    Views
    12,541

    I used Timer2 on a PIC16F628 for 1.5 seconds: ...

    I used Timer2 on a PIC16F628 for 1.5 seconds:

    T2CON=%01111010 'prescaler 1:16 POSTSCALER 1:16 ,STOP TIMER2

    Then start timer and in interrupt handler:

    if PIR1.1=1 then
    Count= Count...
  13. Replies
    5
    Views
    12,541

    Look here, even if on a different pic than yours:...

    Look here, even if on a different pic than yours:

    http://www.microengineeringlabs.com/resources/samples/x4/PBP/CLOCKX4.BAS

    bye ( se sei italiano ciaooo)

    roberto
  14. Thread: Touch LCD

    by robert0
    Replies
    3
    Views
    2,935

    Hi, one more: www.simmetry.com they...

    Hi,

    one more:

    www.simmetry.com

    they also sell on ebay.

    Bye
    roberto
  15. Replies
    3
    Views
    4,073

    Thanks Melanie for your prompt reply. You mean...

    Thanks Melanie for your prompt reply.

    You mean that i have to add a line between the PICs and (i.e.) rise it when a PIC is reading or writing on the bus ,so the other ( with input pins)must wait...
  16. Replies
    3
    Views
    4,073

    Two pics in a I2C bus?

    Hi,
    is it possible to have two pic16f628 reading and writing a 24c08 memory on a I2C bus?

    I mean what kind of circuitry i'd need ,or a simple i2cwrite and i2cread on a simple I2C two-wires bus...
  17. Replies
    2
    Views
    3,021

    Hi, Porta is normally set to comparator. Use...

    Hi,

    Porta is normally set to comparator.
    Use this:

    CMCON=$07 'NO comparator on PORTA

    and pins become bidirectional.
    Read carefully the datasheet and how to set mclr pin.
  18. Replies
    0
    Views
    2,662

    Hserin not working...

    I'm going crazy for HSERIN .......
    this piece of code is fully working on portC.6 and portC.7 ( using in a pic16F876 the usart ports at 20 Mhz)
    ...
    serout2 out,84, ["C",13]
    gosub wait_char...
  19. Replies
    3
    Views
    3,628

    Well i can now read a Motorola encoded code! I...

    Well i can now read a Motorola encoded code!
    I did it trying ( i have not a scope) a thousand times.....
    If anyone interested i can now send some useful hints.

    Thanks.
  20. Replies
    3
    Views
    3,628

    Goto this page: ...

    Goto this page:

    http://www.datasheetcatalog.com/datasheets_pdf/M/C/1/4/MC145026.shtml
    and click on download button.....


    Anyway this is the final link:...
  21. Replies
    3
    Views
    3,628

    Emulate Motorola decoder 145028

    I'm trying to emulate a encoder / decoder motorola 145026/ 145028 .
    What i need is to receive via RF and obviously understand data from many Motorola encoders .It's an upgrade from old MM53200...
  22. Replies
    3
    Views
    4,570

    Thanks for your help. Polling continuosly...

    Thanks for your help.

    Polling continuosly isn't the best (i think) but which serin and serout command?I mean how can both recognize each other?
    pcf8574 has a built in address(btw is 01110000) but...
  23. Replies
    3
    Views
    4,570

    Adding a pic in I2C network....

    Hi,


    In a given environment i'm using a Pic16f876 and a I2C connection to read a memory and driving a Pcf8574 with 8 leds.
    Now i have to add a new pic (pic16f84) and it seems to me the more...
Results 1 to 23 of 23