Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

PC Based Computer music servers, crossovers, and equalization

Binary 8 bit to BCD display
Binary 8 bit to BCD display
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 25th August 2010, 06:16 AM   #1
wabun is offline wabun  United States
diyAudio Member
 
Join Date: Sep 2009
Default Binary 8 bit to BCD display

Hi, can anyone help to share coding for PIC 16f628 for driving 3 digit BCD display ( 0 - 256 ) with 8 bit binary input ? thank you very much
  Reply With Quote
Old 25th August 2010, 06:23 AM   #2
Iain McNeill is offline Iain McNeill  United Kingdom
diyAudio Moderator Emeritus
 
Iain McNeill's Avatar
 
Join Date: Oct 2007
Location: Santa Cruz, California
I've used a number of PIC chips and found a wealth of starter code at Browse Application Notes
for instance
  Reply With Quote
Old 26th August 2010, 03:16 AM   #3
wabun is offline wabun  United States
diyAudio Member
 
Join Date: Sep 2009
thanks. i search in web, if using logic decode, i wil need 8 IC's + 3 BCD display
using PIC, I still need to use some BCD driver + PIC + code. It looks like I might goes
for logic.
  Reply With Quote
Old 1st September 2010, 05:21 PM   #4
Floric is offline Floric  Europe
diyAudio Member
 
Join Date: Jan 2005
Location: Bavaria
If you have a tool to write it, you could use a 16Bit E(E)prom as a "table" to decode. The lowest number of parts but not the cheapest solution.

Regards

Flo
  Reply With Quote
Old 1st September 2010, 05:27 PM   #5
wakibaki is offline wakibaki  United Kingdom
Banned
 
Join Date: Jan 2008
I recently posted some BCD code for PIC 16F887 here:

LED UV lightbox, Inkjet stencils, SMT, PIC 16F887 and BCD code

w
  Reply With Quote
Old 1st September 2010, 05:52 PM   #6
wakibaki is offline wakibaki  United Kingdom
Banned
 
Join Date: Jan 2008
If you use 16F628 you will need to multiplex the displays. 16F887 will drive 3 displays directly.

w
  Reply With Quote
Old 2nd September 2010, 01:30 AM   #7
wabun is offline wabun  United States
diyAudio Member
 
Join Date: Sep 2009
Hi WakiBaki, thanks a lot for the idea. I am actually working on a 8 Bit relay stepped volume control using 16f628 mentioned in Relay Volume Control with Pic microcontroller
however, it doesnt work very well, (1.) the rotary encoder doesnt response well. (2.) The 8 Bit doesnt display in BCD (3.) No remote control routine.
After search thru internet, I found another project Audio Volume Relay Attenuator with IR Control

it seems very complete and neat but unfortunately, I need to buy the microcontroller & firmware. It is not open source :-( somemore seller doesnt respond me after I mail to ask for PayPal acc to bank in.. I wish to build my
step attenuator with spec : (a.) 6 or 8 bit relay switched (b.) BCD display (c.) Rotary encoder (d.) Remote controllable
I am willing to learn, I bought the programmer & downloaded the assembler but i get stucked, I cant find good reference in the web..hopefully some one from this forum can lend me a helping hand...thanks a lot !
  Reply With Quote

Reply


Binary 8 bit to BCD displayHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
4-bit binary counter 7493 sivan_and Everything Else 2 19th October 2009 07:14 AM
BCD to 7-seg driver IC NinjaKitten Parts 9 8th June 2009 02:46 AM
gear with BCD in/outputs...advice redrabbit Parts 2 21st November 2008 02:35 AM
Tango series II binary PCB file help needed! Suoliang Everything Else 2 4th November 2008 03:51 AM
gray code to binary Freddie Solid State 3 3rd October 2001 04:18 PM


New To Site? Need Help?

All times are GMT. The time now is 08:16 AM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio
Wiki