PIC16F628 - Convert Binary to BCD?


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Posts
    6

    Default PIC16F628 - Convert Binary to BCD?

    Hi,I am currently building a digital thermometer. I've used the temperature transducer LM35 for my project.

    The output from LM35 was fed into an ADC HI5812 and the resulting output was in binary forms. If I was to use PIC 16F628 as a flash rom, is it necessary for me to have a binary to bcd converter or PIC 16F828 could be programmed to do so..? If PIC 16F628 was able to convert binary to bcd, what would the program be like..?

    Thanks a lot.

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


    Did you find this post helpful? Yes | No

    Default

    Use the search engine this way, notice this is Special Google for this forum <b> OR </b> Internet. Tons of threads RE: BCD
    http://www.google.com/custom?hl=en&c...picbasic.co.uk
    here is one . . . http://www.picbasic.co.uk/forum/showthread.php?t=66
    Last edited by Archangel; - 20th March 2009 at 08:21.
    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.

Similar Threads

  1. Watchdog Timers
    By Squibcakes in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th August 2014, 18:03
  2. Convert long binary number to ASCII Decimal
    By Joe Rocci in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 9th July 2009, 13:58
  3. Rotary BCD
    By Tobias in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th October 2007, 03:04
  4. How to convert binary to decimal?
    By Cabomba in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 13th October 2007, 01:27
  5. Serout PIC16F628 to PC R18iXL Board
    By Spindle in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 19th June 2005, 00:29

Members who have read this thread : 1

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