Joseph Noci 1 | 09/05/2021 11:00:12 |
1323 forum posts 1431 photos | It is reprogrammable FLASH chip - I am very familiar with it, extended Intel 8051 type device - did MANY projects with most of the 8051 variants , in assembler and C.. I have all the compliers and assemblers too...And the 'big advantage of the arduino platform' is no less complicated than any other method, until you know how... But all that is moot, since unless someone can do it for Michael, I am sure he is not interested in getting down low with the code!
|
Michael Gilligan | 09/05/2021 12:55:28 |
![]() 23121 forum posts 1360 photos | Posted by Joseph Noci 1 on 09/05/2021 07:29:03:
Posted by Michael Gilligan on 08/05/2021 22:29:52:
That dot, I now realise, should be at the left side of the board. There is a 50:50 chance that it’s reversed. That will make a difference, but reversing the array only makes the segments glow at half brightness, and the decimal point will be messed - so it should still have shown something...You did check pin 1 of the processor..(Sorry Michael… I do think you should try find a way to see if the oscillator is running at all..Borrow the neighbour's SW radio for 10 minutes. Joe . Thanks, Joe ... I have an update :
Despite your previous reassurance; is there any chance that the mis-orientation of R2 could be completely blanking the display ? ... Could it be a ‘feature’ of the [totally undocumented program] ? Please don’t waste too much of your time on a silly little project that cost less than £1.50 though !! MichaelG. |
Joseph Noci 1 | 09/05/2021 15:34:21 |
1323 forum posts 1431 photos | Thanks, Joe ... I have an update :
That's Good!
That's Bad.. Despite your previous reassurance; is there any chance that the mis-orientation of R2 could be completely blanking the display ? ... Could it be a ‘feature’ of the [totally undocumented program] ? Please don’t waste too much of your time on a silly little project that cost less than £1.50 though !! MichaelG. Doubt that R2 orientation is seen by the processor at all.. here is a crude representation of whats going on - The processor drives open collector ( probably FETs, so open drain, but irrelevant here) transistor as shown. eight drive the A-G and D.P. segments of the displays. 4 drive the scan lines DS1-4 having looked more carefully at your schematic there is a qick test to see if the segment glow at all..will explain shortly. So, assume VCC at pin 1 of the resistor network, ie, assume the network is inserted correctly.. Then current will flow down R1 (diagram below) through the 7 segment LED, IF the scan line transistor is on. So, to turn on Segment 1 of display 1 ( say), as below, the A-G line transistor ( top one) must be OFF, and the scan line transistor ( bottom one) must be ON. to turn a segment OFF, the processor will drive the top transistor ON, which pulls the the LED/R2 network pin to GND, so no current available to flow through the LED, so no glow. Now, if you connected VCC to pin 9 instead of pin 1, then current still flows down R1, through the segment LED and the bottom transistor, BUT, it gets there via R8. Since R1 thru R8 are equal values ( 470ohm), half the current now will flow through the led, so half as bright. No other effects at all.. Now the test - Remove the processor from the socket, power the board, and with a wire jumper, short one of the DS lines to GND. That should light up ALL the segment of one of the digits. Repeat for the others. You van see how that works - current can flow through all the segments since the top transistor is OFF ( missing), so shorting the DS1-4 line to GND provides the current flow path. If NO segments glow, the display is faulty, or as I have had before, its a common anode instead of common cathode device... |
SillyOldDuffer | 09/05/2021 17:07:21 |
10668 forum posts 2415 photos | Have you checked S1 and S2 are correctly inserted? If those switches are inserted 90° out, the switch inside is bypassed, and the circuit is permanently ON. The operating instructions explain the program goes into menu mode by a detecting a long press on S1. If S1 is stuck in a permanent long press due to the component being physically rotated, the computer may be waiting for it to be released. As the long press never ends because the switch is shorted, could well be the program doesn't get to move on to a stage where something is displayed. T0 should be +5 when unpressed and 0V when pressed. If T0 or T1 is permanently 0V, suspect the switches. Dave |
Joseph Noci 1 | 09/05/2021 17:48:21 |
1323 forum posts 1431 photos | Posted by SillyOldDuffer on 09/05/2021 17:07:21:
Have you checked S1 and S2 are correctly inserted? If those switches are inserted 90° out, the switch inside is bypassed, and the circuit is permanently ON. The operating instructions explain the program goes into menu mode by a detecting a long press on S1. If S1 is stuck in a permanent long press due to the component being physically rotated, the computer may be waiting for it to be released. As the long press never ends because the switch is shorted, could well be the program doesn't get to move on to a stage where something is displayed. T0 should be +5 when unpressed and 0V when pressed. If T0 or T1 is permanently 0V, suspect the switches. Dave Probably the most sensible of all our rantings!
|
Peter Greene | 09/05/2021 18:49:39 |
865 forum posts 12 photos | Posted by SillyOldDuffer on 09/05/2021 17:07:21:
Have you checked S1 and S2 are correctly inserted? If those switches are inserted 90° out, the switch inside is bypassed, and the circuit is permanently ON. Is that how they work? Pretty poor design of switch then with pins at the corners of a square and no apparent keying, physical or visual. I'd have assumed they were spst with all 4 contacts shorted when pressed and open-circuit when released .... but I don't know for sure. |
Mike Poole | 09/05/2021 19:00:56 |
![]() 3676 forum posts 82 photos | The switches are not quite square but at 6mm x 6.5mm they are close, the components on my effort are all correctly oriented but it doesn’t work. As it cost me very little I am struggling to generate the enthusiasm to investigate the problem. Mike |
AJAX | 09/05/2021 19:15:48 |
433 forum posts 42 photos | Posted by Mike Poole on 09/05/2021 19:00:56:
The switches are not quite square but at 6mm x 6.5mm they are close, the components on my effort are all correctly oriented but it doesn’t work. As it cost me very little I am struggling to generate the enthusiasm to investigate the problem. Mike Mike, I sketched this for you - I hope it helps. Bear in mind that even a "failed project" is not a waste of time. It's all a learning experience. |
AJAX | 09/05/2021 19:18:50 |
433 forum posts 42 photos | Posted by Peter Greene on 09/05/2021 18:49:39:
Posted by SillyOldDuffer on 09/05/2021 17:07:21:
Have you checked S1 and S2 are correctly inserted? If those switches are inserted 90° out, the switch inside is bypassed, and the circuit is permanently ON. Is that how they work? Pretty poor design of switch then with pins at the corners of a square and no apparent keying, physical or visual. I'd have assumed they were spst with all 4 contacts shorted when pressed and open-circuit when released .... but I don't know for sure. The switches are square, but the pin layout is not. It's therefore generally difficult to place them incorrectly in a PCB. |
AJAX | 09/05/2021 19:23:00 |
433 forum posts 42 photos | Posted by SillyOldDuffer on 08/05/2021 16:52:23:
Reading the reviews I see a few people complain about board quality - tracks lifting off with heat, and broken tracks that had to be bridged. Check the tracks carefully with the microscope and for continuity with a multimeter, or - much better an oscilloscope, see below. Tracks lifting off with heat - sounds like a typical problem with beginner soldering to me. |
Peter Greene | 09/05/2021 20:29:52 |
865 forum posts 12 photos | Posted by AJAX on 09/05/2021 19:18:50:
The switches are square, but the pin layout is not. It's therefore generally difficult to place them incorrectly in a PCB. Yes, it looked square on first glance at the board but I see now they're not. OTOH if, as Mike says, the difference in pin spacing between sides is only .5mm in 6mm, I would think it would be easy enough to install 90-deg out as SOD said. |
peak4 | 09/05/2021 21:04:39 |
![]() 2207 forum posts 210 photos | Michael, Not commenting on faulting this circuit, but I do note you saying that your scope is in storage. |
Michael Gilligan | 09/05/2021 21:26:12 |
![]() 23121 forum posts 1360 photos | Posted by Joseph Noci 1 on 09/05/2021 17:48:21:
Posted by SillyOldDuffer on 09/05/2021 17:07:21:
Have you checked S1 and S2 are correctly inserted? If those switches are inserted 90° out, the switch inside is bypassed, and the circuit is permanently ON. The operating instructions explain the program goes into menu mode by a detecting a long press on S1. If S1 is stuck in a permanent long press due to the component being physically rotated, the computer may be waiting for it to be released. As the long press never ends because the switch is shorted, could well be the program doesn't get to move on to a stage where something is displayed. T0 should be +5 when unpressed and 0V when pressed. If T0 or T1 is permanently 0V, suspect the switches. Dave Probably the most sensible of all our rantings!
. Dave and Joe Yes that’s a excellent observation [which I note has been addressed by Mike, but I’m trying to keep some chronology] ... and it deserves an honest and detailed answer: I realised that it could be a problem, but happily found that the switches are not quite square ... they fit easily in one orientation, so I presumed that to be by design. Checking my decision against the Amazon listing that I posted earlier ... My switches are orientated the same as in their picture. I have not actually checked which way they work, but I feel confident. Thanks also for the operating instructions ! ... I note that they are for a different board, but hopefully any differences are only cosmetic. MichaelG. |
Michael Gilligan | 09/05/2021 21:33:02 |
![]() 23121 forum posts 1360 photos | Posted by peak4 on 09/05/2021 21:04:39:
Michael, Not commenting on faulting this circuit, but I do note you saying that your scope is in storage. . Fair point, Bill ... but it’s a little Tektronix digital, so [hopefully] should be better behaved than the traditional ones. MichaelG. |
Michael Gilligan | 09/05/2021 21:38:08 |
![]() 23121 forum posts 1360 photos | Posted by AJAX on 09/05/2021 19:23:00:
Posted by SillyOldDuffer on 08/05/2021 16:52:23:
Reading the reviews I see a few people complain about board quality - tracks lifting off with heat, and broken tracks that had to be bridged. Check the tracks carefully with the microscope and for continuity with a multimeter, or - much better an oscilloscope, see below. Tracks lifting off with heat - sounds like a typical problem with beginner soldering to me. . The board appears fine to me ... the only problem was that some of the holes are a little oversize for the leads that they accept; which might result in the unwary applying their iron for too long. MichaelG |
Michael Gilligan | 09/05/2021 21:54:50 |
![]() 23121 forum posts 1360 photos | Posted by Joseph Noci 1 on 09/05/2021 15:34:21:
. Doubt that R2 orientation is seen by the processor at all.. […] Now the test - Remove the processor from the socket, power the board, and with a wire jumper, short one of the DS lines to GND. That should light up ALL the segment of one of the digits. Repeat for the others. You van see how that works - current can flow through all the segments since the top transistor is OFF ( missing), so shorting the DS1-4 line to GND provides the current flow path. If NO segments glow, the display is faulty, or as I have had before, its a common anode instead of common cathode device...
. Thanks for yet more helpful guidance, Joe ... it’s appreciated. I wish I had seen your comment about the R2 orientation before I tried to remove it My solder sucker needs a new [and preferably smaller] tip for work like this ... so I resorted to ‘wick’ After two hours [on nine pins !] I gave it up as a bad job ... most of the solder is removed, but R2 is still hanging on tight. I tried the simplified display test, and yes ... some elements of some digits light up [and the sounder beeps] Incidentally, the display is marked HS20401K-30 but I have yet to find its data-sheet. All things considered ... I think I will just build the second kit and see how it goes. MichaelG. Edited By Michael Gilligan on 09/05/2021 21:55:30 |
Michael Gilligan | 11/05/2021 17:12:40 |
![]() 23121 forum posts 1360 photos | . Chapter 2 ... in which the second kit is built very carefully […] […] and nothing interesting happens. FINIS |
Ian Skeldon 2 | 11/05/2021 18:18:55 |
543 forum posts 54 photos | Posted by Michael Gilligan on 11/05/2021 17:12:40:
. Chapter 2 ... in which the second kit is built very carefully […] […] and nothing interesting happens. FINIS Well done, isn't it funny how some problems that could easily be ignored just eat away you and you have to find the answers. |
Michael Gilligan | 11/05/2021 19:20:42 |
![]() 23121 forum posts 1360 photos | Posted by Ian Skeldon 2 on 11/05/2021 18:18:55: . Well done, isn't it funny how some problems that could easily be ignored just eat away you and you have to find the answers. . The answer being that however carefully I build them ... they don’t work Final result is that I have two boards from which I will reclaim the displays sometime. ... but at least I’ve had some soldering practice. ... and, being retired, I don’t need to put a price on my time MichaelG.
|
Ian Skeldon 2 | 11/05/2021 20:13:41 |
543 forum posts 54 photos | My apologies Michael, I thought you meant that your second one was working! |
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.