16F877A system and tachometer (FIS version) on the table


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: 16F877A system and tachometer (FIS version) on the table

    If your FIS tacho device doesn,t requires too much current at the inputs the opto is the solution ( remember that the signal is inverted. in other words when pic pin is low the output is high) I have separated the two grounds, but they can be common.

    If on the other hand you will require more current at the input then use the second solution which uses two transistors.


    Cheers

    Al.
    Attached Images Attached Images  
    All progress began with an idea

  2. #2
    Join Date
    Aug 2011
    Posts
    40


    Did you find this post helpful? Yes | No

    Default Re: 16F877A system and tachometer (FIS version) on the table

    i put today +12V directly on FIS Tacho input , with harware power failure ...
    What is the difference with +12V (10Kohms resistor) ??

    Thanks for your answer ...

  3. #3
    Join Date
    Aug 2011
    Posts
    40


    Did you find this post helpful? Yes | No

    Default Re: 16F877A system and tachometer (FIS version) on the table

    the 3 pins 23 / 24 / 25 on the FIS tacho.. are "on the fly" with 12V voltage .
    Perhaps , with my 12V transformer (12V/300mA) , the inputs required more than 300mA that caused a power failure....

  4. #4
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: 16F877A system and tachometer (FIS version) on the table

    Can you post the data sheet of your tacho device?

    Al.
    All progress began with an idea

  5. #5
    Join Date
    Aug 2011
    Posts
    40


    Did you find this post helpful? Yes | No

    Default Re: 16F877A system and tachometer (FIS version) on the table

    How find it ?

    it is a 1J5 920 846 C from golf4 .

  6. #6
    Join Date
    Aug 2011
    Posts
    40


    Did you find this post helpful? Yes | No

    Default Re: 16F877A system and tachometer (FIS version) on the table

    If i put transistor directly to FIS without the +12V and 10Kohms resistors , i can have 12V from FIS (low level on PIC pin) and ground when transistor is "excited" .

  7. #7
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: 16F877A system and tachometer (FIS version) on the table

    Your FIS device has internal pullups, so you don't need the external one.

    Cheers

    Al.
    All progress began with an idea

  8. #8
    Join Date
    Aug 2011
    Posts
    40


    Did you find this post helpful? Yes | No

    Default Re: 16F877A system and tachometer (FIS version) on the table

    Hello,

    i have already put OPTION_REG for pull-up resistors on port B but it is strange :

    on RB5 , RB7 i have 6.7 Volts and on RB6 i have 4.98V
    My voltage regulator provide 5V and 12V on transformator (Stable)
    I don't understand why .

    i have an ASM routine for UP/DW/Reset detection .
    it doesn't work well .

    Start:

    ASM

    loop
    BTFSS PORTB.5 ; on saute instruction suivante si B.5 = "1"
    BCF PORTC.3 ; on passe C.3 à "0"
    BTFSC PORTB.5 ; on saute instruction suivante si B.5 = "0"
    BSF PORTC.3 ; on passe C.3 à "1"


    BTFSS PORTB.6 ; on saute instruction suivante si B.6 = "1"
    BCF PORTC.4 ; on passe C.4 à "0"
    BTFSC PORTB.6 ; on saute instruction suivante si B.6 = "0"
    BSF PORTC.4 ; on passe C.4 à "1"

    ;Si aucunes commandes validées alors on continu dans le programme complet
    BTFSC PORTB.7 ; on saute instruction suivante si B.7 = 0 (validée)
    GoTo loop

    ENDASM

    mainprog:
    action for each command.....on Fis display
    ....
    ...
    goto Start
    END

    Regards
    Mazoul72

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts