+ Reply to Thread
Results 1 to 14 of 14

Thread: My first PIC Project. Voltmeter and another thing

  1. #1
    iflymyhelishigh Newbie
    Join Date
    Oct 2008
    Location
    Northern VA
    Posts
    80

    Default My first PIC Project. Voltmeter and another thing

    Hi guys, I am currently starting out with PICs and have a couple of PIC16F628As.

    I currently want to build a voltage display (0-12) and have a startup beeper, hehe

    I know that for the voltage display, I need something like a 78L05 or something.

    My project is converting an old HardDrive case into a variable voltage lab supply. I am planning to do an analog 317T voltage regulation, and have a PIC do the rest.

    I want a startup beeper. If some of you remember, I posted back in the general about a startup beeper, but I truely didn't like that beeper lol.

    Also, if its possible to have it have a short burst when I hit certain voltages like, 5V, 12V etc.


  2. #2
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,791

    Default

    Quote Originally Posted by iflymyhelishigh View Post
    Hi guys, I am currently starting out with PICs and have a couple of PIC16F628As.

    I currently want to build a voltage display (0-12) and have a startup beeper, hehe
    Well dump the 16F628, as it doesn't have analogue inputs - use a 16F88 or 16F819, assuming you want to keep to the same size PIC?.

    My tutorials show how to use the analogue inputs.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  3. #3
    iflymyhelishigh Newbie
    Join Date
    Oct 2008
    Location
    Northern VA
    Posts
    80

    Default

    Which one of those 2 do you recommend?

  4. #4
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,791

    Default

    Quote Originally Posted by iflymyhelishigh View Post
    Which one of those 2 do you recommend?
    Either would be fine, but the 16F88 is probably the slightly more modern one?.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  5. #5
    iflymyhelishigh Newbie
    Join Date
    Oct 2008
    Location
    Northern VA
    Posts
    80

    Default

    It has 16 I/O pins, is it compatible with LCDs?
    Last edited by iflymyhelishigh; 1st March 2009 at 12:41 AM.

  6. #6
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,791

    Default

    Quote Originally Posted by iflymyhelishigh View Post
    It has 16 I/O pins, is it compatible with LCDs?
    Assuming you mean LCD text modules?, then ALL PIC's (with enough pins) are compatible with them.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  7. #7
    Tightwad Newbie
    Join Date
    Dec 2008
    Location
    Dallas, TX
    Posts
    45

    Default

    I am looking to do a similar function, along with learning about PICs in general. I have been studying Nigel's Tutorial, and getting prepped to build the Main board and the LED boards to gain an understanding before I try anything too complex...would it be best to just skip to the 16F88 over the 16F628A? I was just about to buy the 16F628A but will get the 88s if they will work for the tutorial.

  8. #8
    Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent Pommie Excellent
    Join Date
    Mar 2005
    Location
    Brisbane Australia
    Posts
    6,805

    Default

    The 16F88 is a much better chip than the 16F628. however, for Nigel's tutorials it is not ideal as you need to add additional instructions (clr ANSEL) and the config will need changing. Both are fairly simple changes and easily implemented if you are willing to make the changes.

    Mike.

  9. #9
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,791

    Default

    Buy both chips, they aren't expensive, and it's worth having both.

    That way you can build the tutorials as shown, then change to the 16F88 and make the required very small changes - and the changes are very small.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  10. #10
    Tightwad Newbie
    Join Date
    Dec 2008
    Location
    Dallas, TX
    Posts
    45

    Default

    Thanks, I will take the advise and buy both. I am starting from ground zero, but with high hopes for what I can learn. On your boards you have capacitors, but you don't specify the size...what size is suggested?

  11. #11
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,791

    Default

    Quote Originally Posted by Tightwad View Post
    Thanks, I will take the advise and buy both. I am starting from ground zero, but with high hopes for what I can learn. On your boards you have capacitors, but you don't specify the size...what size is suggested?
    Do you mean the voltage? - as long as it's higher than the supply it doesn't matter.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  12. #12
    Tightwad Newbie
    Join Date
    Dec 2008
    Location
    Dallas, TX
    Posts
    45

    Default

    Voltage and capacitance(micro-farads?) both. I assumed voltage would be higher than source, but didn't know if capacitance was important.

  13. #13
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,791

    Default

    My diagrams have the values on them, which one are you talking about?.
    PIC programmer software, and PIC Tutorials at:
    http://www.winpicprog.co.uk

  14. #14
    Tightwad Newbie
    Join Date
    Dec 2008
    Location
    Dallas, TX
    Posts
    45

    Default

    You are correct, somehow I totally missed the values there. Thanks!

+ Reply to Thread

Similar Threads

  1. any such thing?
    By bunghole in forum Electronic Projects Design/Ideas/Reviews
    Replies: 20
    Latest: 2nd February 2008, 01:03 PM
  2. How to know the pin of this thing
    By rubberlele in forum General Electronics Chat
    Replies: 1
    Latest: 7th December 2005, 06:39 PM
  3. is there such a thing as....
    By Dan Rodgers in forum General Electronics Chat
    Replies: 1
    Latest: 10th September 2005, 05:31 AM
  4. do u know any thing about them
    By imgemini in forum General Electronics Chat
    Replies: 2
    Latest: 21st July 2004, 08:42 PM
  5. How do you use this thing??
    By SeanHatch in forum General Electronics Chat
    Replies: 4
    Latest: 22nd April 2003, 06:09 PM

Tags for this Thread