Jump to content

Talk:Binary-coded decimal

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Gah4 (talk | contribs) at 16:59, 1 June 2020 (clock: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputing Start‑class
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
???This article has not yet received a rating on the project's importance scale.
Note icon
This article has been automatically rated by a bot or other tool because one or more other projects use this class. Please ensure the assessment is correct before removing the |auto= parameter.
WikiProject iconElectronics Start‑class Low‑importance
WikiProject iconThis article is part of WikiProject Electronics, an attempt to provide a standard approach to writing articles about electronics on Wikipedia. If you would like to participate, you can choose to edit the article attached to this page, or visit the project page, where you can join the project and see a list of open tasks. Leave messages at the project talk page
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-importance on the project's importance scale.


BCD code B

I was reading MAX7219/MAX7221 datasheet, and they mention code B, https://datasheets.maximintegrated.com/en/ds/MAX7219-MAX7221.pdf page 7 and 8.

It goes 0-9, then '-', 'E', 'H', 'L', 'P', ' '. Instead of pure A B C D E F. This is because these letter and symbols are more useful in userfacing equipement, i.e. E error, H/L - high low, and '-' for a minus sign in front or between digits, and blank for spacing. P is probably standing for program, i.e. P001, and all 6 characters can be easily displayed on standard 7 segment display in upper case without problem. (B and D cannot be displayed without confusion with 8 and 0).

I do not know if this is industry standard. 81.6.34.246 (talk) 14:21, 31 July 2018 (UTC)[reply]

It isn't. Neither are A through F (which btw can be displayed just fine using lower case for b and d). And it's really only marginally associated with the article topic, since neither this set of six characters nor A through F are decimal digits. Jeh (talk) 17:48, 31 July 2018 (UTC)[reply]
The SN7447 (maybe closest to industry standard) implements them with minimal logic, except for the requirement that B'1111' give all segments off. This gives strange looking characters. The DM9368[1] generates AbCdEF. I believe it uses a ROM, instead of minimized random logic. (It also has current source outputs for directly driving LEDs.) Gah4 (talk) 18:24, 31 July 2018 (UTC)[reply]
I wonder what CD players do with non-decimal digits in the track number? Gah4 (talk) 18:24, 31 July 2018 (UTC)[reply]

References

  1. ^ "DM9368 7-Segment Decoder/Driver/Latch with Constant Current Source Outputs" (PDF). pdf.datasheetcatalog.com. Fairchild. Retrieved 31 July 2018.

x87

That article mentions the x87 implementation of BCD, but doesn't quite explain it. x87 converts external BCD integers to internal floating point values in its internal 64 bit significant format. With a little luck and careful programming, you can get the appropriate integer results. It doesn't store BCD values in its internal registers. Gah4 (talk) 12:57, 28 March 2020 (UTC)[reply]

Copy edit

WikiProject iconGuild of Copy Editors
WikiProject iconThis article was copy edited by BroVic, a member of the Guild of Copy Editors, on 18 May 2020.

This is a great article. Will need additional editing by subject matter experts. It would be good to see this on our project's Request page for further improvements. Thank you. — BroVic (talk) 18:31, 18 May 2020 (UTC)[reply]

clock

I have a commercially produced clock that displays BCD time in the manner shown in the diagram, with six vertical BCD digits. It also has the ability, given the same LED arrangement, to give binary hours, minutes, and seconds horizontally. Interesting how, given that arrangement, 5 bits are available for hours (24 hour mode), and six each for minutes and seconds. I got mine used, so I don't know where they come from. Gah4 (talk) 16:59, 1 June 2020 (UTC)[reply]