duncan webster | 11/05/2021 20:24:40 | |||
5307 forum posts 83 photos | From the original schematic it appears that the common cathodes are connected to one pin of the chip, so if all 8 segments are lit this pin is required to sink 8* the current of the driver pins. When I've used this type of display there has been a transistor twixt common cathode and chip. I could well have misread the schematic of course Edited By duncan webster on 11/05/2021 20:25:02 | |||
Michael Gilligan | 11/05/2021 20:50:07 | |||
![]() 23121 forum posts 1360 photos | Thanks for the good thought, Ian I suspect that the processors may not have been programmed [or are not programmed correctly] but I have no way of checking, and am not much inclined to pursue that side of things. There were absolutely no instructions, or-logic of-operation, provided with these kits ... so not much educational value. ... But at least they were very cheap. MichaelG. | |||
Michael Gilligan | 11/05/2021 22:09:32 | |||
![]() 23121 forum posts 1360 photos | Posted by Michael Gilligan on 09/05/2021 21:54:50: […] Incidentally, the display is marked HS20401K-30 but I have yet to find its data-sheet. ... . For anyone who might have these ^^^ This appears to be another model from the same series [but lacking the clock colon] https://theokelo.co.ke/how-to-get-your-hs420361k-32-4-digit-7-segment-display-working-with-an-arduino/ MichaelG.
| |||
Michael Gilligan | 25/02/2023 19:39:54 | |||
![]() 23121 forum posts 1360 photos | Posted by Michael Gilligan on 11/05/2021 20:50:07:
Thanks for the good thought, Ian I suspect that the processors may not have been programmed [or are not programmed correctly] but I have no way of checking, and am not much inclined to pursue that side of things. […] . Nearly to years later … rummaging through my electronics scrap-box, I found the two assembled boards and wondered what, if anything, might be worth salvaging. Curiosity led me to YouTube, where I found two interesting videos Case closed MichaelG. | |||
Martin Kyte | 25/02/2023 20:23:01 | |||
![]() 3445 forum posts 62 photos | Can’t you redefine the project as write your own clock code? After all you do have the hardware. regards Martin | |||
Michael Gilligan | 25/02/2023 21:19:21 | |||
![]() 23121 forum posts 1360 photos | Posted by Martin Kyte on 25/02/2023 20:23:01:
Can’t you redefine the project as write your own clock code? After all you do have the hardware. regards Martin . In a word, No In several words :
I only posted today for the sake of ‘closure’ MichaelG. . P.S. The kits are still available, silly-cheap on ebay … just search for AT89C2051 DIY Electronics Kit No idea if they are still duff though. Edited By Michael Gilligan on 25/02/2023 21:36:14 | |||
duncan webster | 25/02/2023 21:54:24 | |||
5307 forum posts 83 photos | Michael, I could lend you the programming device k assuming it's a Pic) but I'd not know how to use it. Mine came with a load of other stuff, and is too good to throw away | |||
Martin Kyte | 25/02/2023 21:55:59 | |||
![]() 3445 forum posts 62 photos | Not really a serious suggestion more sort of tongue in cheek. regards Martin | |||
Martin Kyte | 25/02/2023 22:19:41 | |||
![]() 3445 forum posts 62 photos | Posted by duncan webster on 25/02/2023 21:54:24:
Michael, I could lend you the programming device k assuming it's a Pic) but I'd not know how to use it. Mine came with a load of other stuff, and is too good to throw away If it’s a PicKit programmer you can do in circuit programming and debug with it if you provide the connections on your board. Works with the MPLab development environment freely downloadable from the Microchip Technologies website. Runs on Mac or PC. regards Martin | |||
Michael Gilligan | 25/02/2023 22:43:20 | |||
![]() 23121 forum posts 1360 photos | Thanks for the thought, Martin, but [so far asI’m aware] it’s not a Pic … and I really don’t want to try to learn a whole system for the sake of two chips. I’m struggling enough with the easy stuff. MichaelG. . Edit: __ for what it’s worth
Edited By Michael Gilligan on 25/02/2023 22:51:59 | |||
Martin Kyte | 25/02/2023 22:48:20 | |||
![]() 3445 forum posts 62 photos | I did get the message you had given up with the clock. PicKit info posted as a response to Duncan and a general bit of info for anyone who might find it useful. regards Martin | |||
Michael Gilligan | 25/02/2023 22:54:12 | |||
![]() 23121 forum posts 1360 photos | Posted by duncan webster on 25/02/2023 21:54:24:
Michael, I could lend you the programming device k assuming it's a Pic) but I'd not know how to use it. Mine came with a load of other stuff, and is too good to throw away . Sorry, Duncan … I missed the fact that it was you making the offer I was too busy trying to respond to Martin MichaelG. | |||
duncan webster | 26/02/2023 01:02:51 | |||
5307 forum posts 83 photos | I've no doubt that the code in Michael's link of 11/05 works, but it is making heavy weather of it. If you drive all 8 segments from one port you can tell it which character to write by putting portA = 0b01010101 or similar instead of the 8 lines for each character. Faster as well, not that it probably matters | |||
Michael Gilligan | 26/02/2023 06:55:51 | |||
![]() 23121 forum posts 1360 photos | Good morning folks … I now see that I managed, last night, to mess-up the cosmetics of this thread by copying and pasting text from a web-page. … The old ‘text running under the adverts’ trick. … Might have been better to not bother MichaelG. | |||
SillyOldDuffer | 26/02/2023 10:08:20 | |||
10668 forum posts 2415 photos | Posted by Michael Gilligan on 26/02/2023 06:55:51:
Good morning folks … I now see that I managed, last night, to mess-up the cosmetics of this thread by copying and pasting text from a web-page. … The old ‘text running under the adverts’ trick. … Might have been better to not bother MichaelG. I found the thread interesting as an example of the need to get everything right! Someone has designed a circuit, and a pcb, and bought and packaged all the components for a reasonable kit. They wrote a clock program in PIC Assembly language, and tested it on a prototype. All good until someone made a basic mistake by sending the PIC chip supplier the program's source code rather than the compiled machine instructions. Thus large numbers of PIC chips loaded with duff code and sent out. A rough rule of thumb in IT Projects, and it's generally true of all new design, it that the cost of fixing a mistake multiplies by 10 at each successive stage. Errors detected on the drawing board are cheap and easy to fix; the same mistake discovered by customers in the final product can cost millions to fix, perhaps more than the product sold for. Product recalls are horrifically expensive, involving substantial organisation, paying transport costs at retail-rates, dealing with items lost or damaged in transit and other complications. Often better to send a replacement, go bankrupt, or hide under the bed. Dave
| |||
Michael Gilligan | 26/02/2023 13:35:53 | |||
![]() 23121 forum posts 1360 photos |
Addendum: [might be useful to someone, sometime] **LINK** MichaelG. |
Please login to post a reply.
Want the latest issue of Model Engineer or Model Engineers' Workshop? Use our magazine locator links to find your nearest stockist!
Sign up to our newsletter and get a free digital issue.
You can unsubscribe at anytime. View our privacy policy at www.mortons.co.uk/privacy
You can contact us by phone, mail or email about the magazines including becoming a contributor, submitting reader's letters or making queries about articles. You can also get in touch about this website, advertising or other general issues.
Click THIS LINK for full contact details.
For subscription issues please see THIS LINK.