Control de puertos PIC16F877A / Port Control PIC16F877A


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Aug 2012
    Location
    Comodoro Rivadavia - Patagonia Argentina
    Posts
    51


    Did you find this post helpful? Yes | No

    Default Re: Control de puertos PIC16F877A / Port Control PIC16F877A

    mmmm, not ... Sorry for not being very clear ... Look, what I do is similar to the tachometer:

    Name:  LED-Drehzahlmesserk2.jpg
Views: 3856
Size:  21.4 KB

    The first design tachometer, just went with 7-segment display and visualilzacion not good ... Now I would like to do it with a LED bar very similar to photo.
    regards friend

  2. #2
    Join Date
    Aug 2012
    Location
    Comodoro Rivadavia - Patagonia Argentina
    Posts
    51


    Did you find this post helpful? Yes | No

    Default Re: Control de puertos PIC16F877A / Port Control PIC16F877A

    aaaaaaaaaa but archangel opened my eyes a little file that rose ( machine tach.txt) ... What I'm going to study a little to see if it is what I play and commented glance

  3. #3
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: Control de puertos PIC16F877A / Port Control PIC16F877A

    Quote Originally Posted by martintorres View Post
    aaaaaaaaaa but archangel opened my eyes a little file that rose ( machine tach.txt) ... What I'm going to study a little to see if it is what I play and commented glance
    I wouldn't put too much on what you found in my machine tac, it's too slow for automotive I think, you would want a timer bases counter, given the sample rate of an auto ignition. As far as the question you asked : PortB = %11111111 should set all PortB to high state. I prefer binary as I do not get confused, you could use decimal or hex as well i e . . . portb = FF or portB = 255 .
    If you use the LM3914 as you mentioned you will have an analog tach with a digital display, with all the advantages and disadvantages of both.
    Last edited by Archangel; - 2nd October 2013 at 18:59.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  4. #4
    Join Date
    Sep 2010
    Location
    Las Vegas, NV
    Posts
    305


    Did you find this post helpful? Yes | No

    Default Re: Control de puertos PIC16F877A / Port Control PIC16F877A

    If using hex don't you need the $ sign? For example Portb = $FF

  5. #5
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: Control de puertos PIC16F877A / Port Control PIC16F877A

    Quote Originally Posted by AvionicsMaster1 View Post
    If using hex don't you need the $ sign? For example Portb = $FF
    Yup, oversight, my bad. $FF
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Control de puertos PIC16F877A / Port Control PIC16F877A

    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Aug 2012
    Location
    Comodoro Rivadavia - Patagonia Argentina
    Posts
    51


    Did you find this post helpful? Yes | No

    Default Re: Control de puertos PIC16F877A / Port Control PIC16F877A

    good topic to which I recommend, I'll consider. It crossed my mind the idea of implementing a shift registers, but as I take all the 16F877, and reduce the hardware, I happened to see a way to control all software ports.
    I understand that tastes often bring difficulties, lol, but in this case, is also a question of space.
    regards friend

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