lundi 6 mai 2024

A new Drumulator in the workshop.

This time, it is the machine of a French musical group which made itself known in the early 80s. History does not say whether or not this machine was part of the first successes of this group. Good question, by the way...

I have to admit that of all the Drumulators I have worked on, this one is in the best cosmetic condition. Almost perfect.

Let's go for the identity of the machine:


With the owner's tour of the exterior done, the big question: what about the interior? Because I was given to seeing dramatic things, of the true-false geek type who tried to add sound ROMs but who above all succeeded in crashing the machine by adding an incredible number of wires and modifications to the motherboard etc, which took me hours to remove!

In addition I have doubts about this Drumulator: result of tests or naval battle?


But no, there too, a nice surprise inside. No catastrophe in sight, at least other than a breakdown due to the machine itself and not as a result of outrageous tinkering.


We see very clearly that the machine has been updated with version 3 of the firmware for MIDI management. A MIDI input adapter card has been added as required, and placed/glued correctly. 

It is even possible to say that the original ROM was removed with a screwdriver since we can clearly see the surface condition of the first resistor above the ROM whose coating was burst with the place which served as a support for the screwdriver.

The battery has never been changed. Luckily, it didn't sink. I checked her, she's dead. As a result, sequence saving should no longer have been working for a long time. I imagine it is mainly used in MIDI.


You will have to remove it anyway and place a standard 20CR32 support somewhere on the case.

Little check, at least the voltage selector is correctly positioned on 230V:


Small observation, the motherboard also has an identification number. It is not the same as that of the machine :


The usual checks having been carried out, what is the problem with this machine? At first glance, it seems simple since the machine does not turn on at all.

Power problem or CPU boot problem? Again the first observations are simple, the motherboard does not have any DC voltage. Neither on the analog part, nor on the digital part.

We go back to the source: no sign of alternating voltage either at the two secondaries of the transformer. Hmm... We're getting closer!

The mains voltage nevertheless arrives at the primary of the transformer. No sign of heat or burnt, it does not seem that the machine was connected to 110V.

All that remains is to test the primary windings which are, at 230V, connected in series. The observation is clear, one of the two primaries is cut. The transformer is therefore inoperative.

This is very strange. Transformer connections appear good. No burnt rifle, no burnt marks, no hot smell. What could have been the cause of this breakdown? A manufacturing defect in the transformer?

Now knowing this machine quite well, to further investigate I will connect the digital part of this Drumulator directly to the 5V of a protected laboratory power supply. Even if the processor does not start, this will allow me to check the approximately real 'digital' consumption of the board.

A few days later:


After connecting a direct current power supply directly to the two terminals of the diode bridge of the 5V part: 1.2A at 6V at the output of the power supply, although programmed for 10V, and 0V at the output of the large 5V regulator placed on the 
metal part of the case:



Simple conclusion: regulator dead. I forgot to specify, but according to tests carried out on different Drumulators, in normal operation, that is to say with the displays on, the average consumption of the digital part of a Drumulator is around 1.2A. So, with the regulator in the regulation loop, I already have the 1.2A consumed and 0V in power on the logic circuits.

But at this stage, I still have to confirm that it is indeed the 5V regulator that is dead. So this time I connected the DC power supply set this time to 5V, directly in place of the Drumulator regulator output. To do this, I cut the three wires connecting the 5V regulator to the motherboard.

And this time, I have consumed 1.2A but with the logic circuits supplied at 5V. Confirmation therefore that the 5V regulator of the Drumulator is indeed dead. But, obviously, the machine does not start.

The design problem of this machine remains for me the detection of power supply operation. EMU has implemented a complex system to ensure that the machine's three power supplies are present in order to authorize the microprocessor to exit RESET. This doesn't do much except make testing the operation of the machine much more difficult. For example, it is impossible to test the digital part if the analog part is not powered. The best thing to do is to remove the power supply monitoring circuit and directly shunt the validation outputs to the desired potential.


All the transistors in this section are used to test the validity of the machine's three power supplies, and also to generate the processor RESET signal. RESET signal that this system generates poorly, which deteriorates over time, and which ends up no longer working at all. This is obviously also the case on this machine.

And I'm not talking about the different power supplies generated in all directions, which must be provided as best as possible during the test phase in order to put the digital part in 'potential' starting condition.

Brief! Having spent some time making the necessary modifications just to get this machine into potential boot condition, I ended up getting my favorite message on the displays:



At this point, I can only confirm that the 'computer' part of the machine is working. I don't know anything yet about the waveform sequencer part, nor about the analog output.

The only thing I can do right away is to change the faulty digit:



I seem to have one or two displays of this type in stock.

I will now pause troubleshooting this machine. To continue in better conditions, I need to redo the power supply, starting by finding a compatible transformer, i.e. with two output voltages available, as well as replacing the original 5V regulator with a switching model, more reliable and dissipating much less heat :


I have made this type of modification on several machines with very good operating results.

Updated 06/05/2024

I finally received the transformer necessary to put the machine back into service. 



It is not very easy to find a transformer with the necessary number of windings for this type of application. During my previous modification of this type, I found a transformer with a lower voltage for manufacturing the +5V. Luckily I use a switching regulator now to generate this voltage needed for all the digital part of the electronics.

And, consequently, I removed the linear regulator fixed on the metal frame of the Drumulator, acting as a thermal radiator for the evacuation of the heat emitted wastedly by this original regulator.


I removed also the original transformer which had one of the defective secondary windings.

And, before placing the new transformer, look for the direction of the windings. Indeed, for the analog part, I must put the two windings in series, the midpoint therefore making it possible to create the reference of a symmetrical power supply, while for the digital part, I must put the two windings in parallel in order to benefit from of greater power with the base voltage of a winding.

The problem with this transformer is that the magnetic direction is absolutely not indicated. Each winding has wires of the same color. It is therefore necessary to carry out the tests 'brutally' while still protecting yourself from magnetic short circuits. The use of a very low power bulb allows it to act as an 'automatic' fuse.


It is also important to wire the primary of the transformer in the correct way. Everything goes through a single connector on the Drumulator. This was not the best way to do it in my opinion. Besides, this would no longer be authorized today. It is therefore necessary to find the way in which the primary windings are connected according to the voltage selector.

Art?
Unfortunately, it will not be possible to wire the windings of the new transformer in the same way. In fact, it does not have two separate primary windings but only one primary winding with a central tap for 110V. You will need to configure the wiring for a 230V connection. This will not pose a problem given that the machine is and will most certainly remain in France.

Obviously, the large power connector doesn't like to be handled too much. Some of the wire strands were pinched too hard when crimping them into the terminals. With corrosion attacking the materials, it becomes brittle and, inevitably, ends up breaking at the connector pin. The only way to remove the pin to re-solder the wire is to push on it using a medium-hot soldering iron so that the plastic melts enough to allow its extraction.

This allows you to do a much cleaner job than trying to solder the wire with the lug in place. I have seen interventions of this type that are really not clean.


In the end, it's done well, but it takes a lot of time...

Once this connector was repaired, I was able to start installing the new transformer. Fixing it does not pose any particular problem, except that you will still have to cut the stem of the screws, which are too long.

Rewiring the transformer does not pose any particular problem either, except for the attention and the test before powering up, because in the event of a big problem, it would be possible to damage the electronics of the machine . This is the critical and risky point of the entire operation of putting this Drumulator back into service.



After an hour of rewiring, I will be able to plug the new transformer onto the Drumulator motherboard. This will not pose a problem for the generation of +5V given that I have not yet equipped the machine with the necessary switching regulator, on the other hand it is quite different for the symmetrical analog power supply. You will have to carefully check that there is no wiring error because all the components of the analog part are in place. An error could have serious consequences on the components.



Updated 06/12/2024

No 'magic smoke' when reconnecting the transformer to the electronic board of this Drumulator. All regulated voltages are present. However, I have to resolve a small problem due to changing the transformer. This concerns displays and LEDs. Normally these elements are powered by the rectified but unregulated voltage supplied by the transformer. However, having not managed to get my hands on a transformer providing the same output voltages, I am now with not around ten volts but a little over fifteen volts. It's still a little too high.

So I placed a 10V regulator in the power line of these elements.



In order to finalize the operational check of the machine, now that all the voltages are present, and especially to test the sound generation and therefore the entire waveform sequencer part, as well as the analog part, I replaced all the components that I had removed during my first tests, as well as the temporary electrical connections.

And there, a pleasant surprise. I can hear the drum sounds coming out correctly through the line jack. A priori I don't encounter any problem except one of the other displays which lost a segment. It's really strange, this is the second display in this situation. I still have my last available display. I just have to replace it.

I will also try to place a small radiator under the new 10V regulator as well as on the regulators of the analog part. The voltages supplied by the transformer being slightly higher than the original ones, the linear regulators heat up a little more.

The repair of this machine is now almost complete!

Updated 06/15/2024

After testing all the keys and functions of the machine, one of the sound trigger buttons remains that does not work. It's easy to repair. On the other hand, the linear potentiometer does not respond at all. I therefore cannot adjust the volume of the instruments, and those which have the volume at zero are therefore not available.

The cause of the problem was not difficult to find :



The problem is quite simple to determine. I had never seen this kind of problem in a potentiometer of this type, but I learned that the machine was 'violated' at a certain period of its life. This potentially explains this!

So I put this part of the slider back in place, adjusting it as best as possible. This operation is not that easy to carry out because when you apply the hot tip of the soldering iron to melt the plastic of the cursor, the metal blade finds itself 'swimming' in a rather viscous liquid, which makes positioning difficult. But : 



The result looks good!

After this operation and reassembly of the potentiometer in place in the machine, I was finally able to listen to all the basic sounds of the Drumulator. No distortion, the sounds are all very good.

I still have to resolve the RESET problem and the restoration will be complete. Afterwards, I will carry out some cosmetic operations and that will be the end of the return to life of this Drumulator.

Small update...

In fact, I just understood why the RESET circuit as it was implemented in the Drumulator is completely, hum...  'stupid'?

Until now, I 'just' applied a correction suggested by EMU to 'improve' the RESET. But I still had difficulty implementing this solution. The value of the capacitor must be tested each time. And it took so long that at the time I even completely recreated the RESET system.

I no longer have this system, I used all the prototypes I had made. So, as I stared blankly at the page concerning all the power supply in the electrical diagram of the machine, the 'thing' appeared to me in all its 'glory'!

I fixed the problem in a few minutes by placing a few components in the right places. Not only does it work, but it will continue to work, in fact, all the time now. Okay, I'll keep the solution to myself. It's like mushroom corners, we avoid revealing their location ;-)

well well well... All I have to do now is to place a 20CR32 battery holder for the RAM backup as well as a solution to evacuate the heat from the voltage regulator that I added.

Updated 06/19/2024

Obviously, this never happens as planned, especially on a very old machine that has had a fairly eventful life.

RESET of the machine is now actually carried out seemingly. On the other hand, saving RAM posed problems. In idea, the whole system of controlling the voltage, generating the RESET and protecting the saved RAM is well thought out, but it only takes one small detail that goes wrong and the whole system collapses.

And this is the case when the components start to age. And no, even by replacing the head capacitor in the 5V line, the system does not work again! But, again, I ended up finding the right way to ensure that the RAM saves correctly without corruption at startup. And no more 'Bad' message when restarting the machine.

OK, so the machine is finally fixed? Well no...!!!
Three sounds do not come out, they are the TOMs!

In fact, these are 'just' two ways that don't work. The TOMS HI and MID share the same sound generation channel.

And it's back to debugging. But this time, I'm moving directly towards the analog part, since it seems to me that the digital part of the sound generation works very well.



After some time searching, I actually found a problematic component. This is a quadruple TL084 which has a defective AOP. For the moment I have not investigated further, but I thought I had solved the problem of the two faulty channels, but in fact no, only the channel concerning the TOM LOW has become active again. 

I still have to find the reason why the TOMs Hi & Mid are not working...

Updated 06/25/2024

This time it's good! 

The machine outputs all the sounds well. It always starts correctly every time, and I haven't had a saved memory problem ('Bad' message at startup) since I fixed it.

So I had to replace two components. A quadruple AOP circuit of which two AOPs were dead out of the four. But that wasn't enough, one of the two analog output filters (SSM2044) was also dead.

The AOP, TL084 circuit is easy to replace. On the other hand, obviously, we no longer find SSM2044. Fortunately, there is a new version that works very well. It comes in CMS format, so this circuit must be placed on a DIP adapter. 

Once these two components have been replaced, all sounds come out of the machine correctly. The new analog filter works as well as the original one.

The defective SSM2044:



And the Drumulator board equipped with the two new integrated circuits:



All I have to do now is find a small metal blade to solder on the 10V regulator that I added, and also clean three switches which are really not pleasant to use because the contacts must be so dirty...

Thus ends the adventure of restoring this Drumulator. Nothing too complicated, but there are a whole series of small repairs, or adaptations to be made. All of these operations obviously take time. But the result is there!

And, icing on the cake, you can hear THIS Drumulator in this video:


In true 80s style : enjoy!

Updated 06/25/2024

Back to home :



Well surrounded by a TR505, a TR707 and two Mirages... 👍

And thank you to Philippe for his communicative passion!

samedi 4 mai 2024

Retro computing : SGS Z80B & CDP1802D

Quite by chance, I went into one of the last electronics stores I knew to buy lead solder.

Yes, because when you do troubleshooting on old equipment, with nice ground planes, and more generally equipped with old-fashioned components, that is to say not CMS, well this 'green' solder which does not melt that from 400° and even on very small components, I have enough!

But that's not the point. While 'chatting' with the seller, I tell him about the end of production of the Z80. He tells me that he still has some in stock, but SGS. Hmm, I said to myself, not common indeed, especially new ones. And, as we were discussing on familiar ground, he admitted to me that he had something even more 'weird': CDP1802.

And there, in front of my amazed eyes :


A new CDP1802, in ceramic DIP: gorgeous!!!


A piece of computer history that I absolutely must revive ;-)

jeudi 2 mai 2024

Free advertising for FLIR

As you know, FLIR is a recognized manufacturer of thermal cameras.

Since I do electronic development, as well as electronic troubleshooting, this kind of camera is a very useful tool, sometimes allowing disaster to be avoided.

So, a few years ago, I bought a FLIR ONE:


Exactly this model and at this price, i.e. around €300 as of 02/05/2024.

This model, which connects to your phone, is much cheaper than a standalone camera, but still, it's not cheap.

I must have owned this device for 5 years now. All in all, I think it must have been used between 3 and 4 hours, about ten times 5 minutes per year. Because we must add that this camera, which has an on-board battery, has a ridiculously low autonomy. Less than 10 minutes when the battery is new.

And the surprise of the day: the camera no longer charges. suddenly,  it is in error and no longer work, even powered by their micro-USB port and connected to the phone: nothing!


This light remains desperately yellow, and the LED which normally lights green, on the other side of the camera, remains off, even after being 'charging' for 24 hours.

The verdict is clear: the battery is dead!

But the camera must be functional. So the annoying question: can we change the battery of this camera?

Well obviously not! No screws, everything is glued and cannot be dismantled without destroying the case.

The observation is also clear: Thermal camera very expensive in terms of usage time, little capacity in terms of operating time, and self-destructive.

However, I need this type of device. So yes, the camera is designed in America. But where is it made? In China, of course. Which allows FLIR to make a more than adequate margin, on the backs of the Chinese, and on that of my wallet.

$300??? The Chinese are now able to manufacture powerful phones, with crazy battery life, directly including infrared sensors for less than $500.

FLIR 'thought' of forcing me to return to them to 'renew' my infrared camera... Bad calculation. FLIR has definitely lost me!

vendredi 26 avril 2024

Ultimate MSX cartridge modification



I made two final changes to the design of this cartridge. 

First modification.

The first concerns the interfacing circuits with the MSX bus : Aoineko, the developer of the MSXgl graphics library who also tests the cartridge, reported to me problems with random startup of his computer. After studying his problem and especially after looking at the datasheet of his Panasonic FS-A computer, I realized that the power supply of this machine was 'unconventional' to say the least. This results in potential ground problems :


I guess you 'see' what I mean. The wire that serves as a ground reference is one of the two wires of an AC power supply! Hmm, I don't like that at all. 

With this type of design, the ground is always noisy for anyone who wants to connect to this type of device by taking the electrical reference of this ground. 

I therefore powered the cartridge interface circuits no longer directly with +3.3V via the cartridge's internal regulator, but directly via +5V from the MSX computer. No no, the problem was not a bad adaptation of the signal thresholds. TTL circuits work very well with commands not in +5V but in +3.3V. The HIGH level must be at least 2V, which is the case. On the other hand, it is true that this leaves a noise margin of 'only' 1.3V in the case of supplying the interface circuits with 3.3V, and given the design of the Panasonic FS-A1 power supply, I tell myself that that's a bit fair. 

Very good, but then I just postponed the problem elsewhere? It's true. But the interface circuits used, even if they can be powered by 5V, still accept signals coming from circuits powered by 3.3V. The minimum voltage for a high signal is 1.7V on these circuits. I therefore gain 300mV of noise margin. I hope this will be enough.

I still purchased a USB bus isolator in case my modification does not work on the Panasonic FS-A1. This will at least validate my 'theory'.


Second modification.

This time, it is the automatic RESET system of the MSX computer. I implemented directly on the cartridge, a system which allows the computer to be placed in RESET mode for the duration of the cartridge loading. In doing so, and once the cartridge has been loaded correctly, the MSX computer wakes up and boots directly from the cartridge : great!

The small 'problem' of this solution is that it is necessary to intervene inside the MSX computer to locate the reset system, in order to connect the RESET 'wire' coming from the cartridge. 

This is a very simple operation to carry out for those who know how to do it, but this is not the case for everyone. The solution then consists of finding a way to turn off the power to the MSX computer and then turn it back on once the cartridge has been loaded. Without using any wired connection because it is too dangerous. So I opted for a wireless solution.

I bought some small 433MHZ modules:


These models are simple enough to use and small enough to be integrated without major modification on my cartridge.


And there you have it... The first tests were functional. I was able to easily turn on and off a small LED connected to a receiver module placed a few meters away.

The receiver module:


To finalize the subject, all I have to do is develop the receiving system. It will simply appear in the form of a remote controllable mains socket. However, I use universal AC outlets so it can be used just about anywhere :



This circuit is simple and easy to assemble. I also think I will use it not only for the type of application targeted here, but more simply as a remote-controlled socket. You can easily find small remote control 'keys' on the Internet that will work very well with this HF receiver.

Warning :

The HF systems and the design of the cartridge have not been the subject of any certification request. However, the transmission power in games is so low that this does not pose a problem. However, not to be used in a sensitive environment such as healthcare centers....


samedi 20 avril 2024

A new era...

Zilog, after having been bought several times, and now owned by Little Fuse, has just announced the end of production of Z80 microprocessors.


The Z80 was introduced in 1976. I remember that year well.
I was 10 and it was the summer of the great drought in France. I discovered this processor a few years later, in 1982, when the ZX81 was available in classrooms. It was, and I only realized this a few decades later, too late for me,
but this is another story


The Z80 is the circuit that shaped my entire way of thinking about computing.
Even today, and even if I work with much more modern and faster circuits, it is my reference circuit. The very example of a computer resource accessible to all, democratic, lending itself to all eccentricities. Unlike the so-called IT of the following decades, which standardized the way of thinking, killed a certain vision of society, destroyed lives by its contribution to the creation of mass unemployment, and finally today, destroyer of human thought.

Reason for which I returned a little over two years ago to machines from the 80s, in this case the MSX standard.

The first MSX computer, th ML-8000 from Mitsubishi

Question: does this announcement of the end of availability of the Z80 signal the end of this craze for the MSX system?

No, obviously. And why? Well quite simply because there are implementations that are either more modern, like the eZ80, still at Zilog, or different, notably within FPGA. I myself had the opportunity to experiment with the implementation of Z80 within FPGA GoWin, during the recreation of the Micro Professor 1 computer. And it works very well.

SO? Well what I 'reproach' to the world of retro-computing is that it is too attached to the 'purism' of retro-computing. Obviously, this attitude can be greatly understood and justified. But, in my eyes, this 'prevents' any attempt to modernize the concept. It is also partly thanks to this that contemporary IT was able to be built, by the obsoletion of the existing, justifying this only by the financial aspect, and not by the real needs on the one hand, and on the other hand, the collaborative aspect of IT rather than the 'large replacement' aspect of a large part of the workers, thereby breaking the Fordian 'tacit contract'.

Today, there are many possibilities to improve the MSX concept, because it is an open system. So, the announced end of an era can, and will I am sure, allow the arrival of a new approach to retro-computing, which will certainly be 'neo-computing'. 

In any case, like the unexpected loss of the feeding bottle to the new born, thus forcing him to move on to childhood, the 'loss' of the Z80, will, I hope, encourage 'retro-computing' to move, therefore, to 'neo computing'.

 


 

lundi 15 avril 2024

8 Ports USB Midi interface.

This topic is a very long-standing one for me. I must have started thinking about it in the early 90s. At the time, the power of microcontrollers did not allow the development of complex systems. I then remember having developed a 68000 system to manage the 8 MIDI ports. I never created this system because I realized that it was far too complex to create and therefore necessarily too expensive.

10 years later, at the beginning of the 2000s, things improved in terms of the possibilities of embedded systems. So I tried to create this multi MIDI port using a micro-controller. I almost got there, but ran into a small problem, it was still difficult to find a circuit offering 8 serial ports and fast enough to manage them.

Everything changed in the early 2010s. At that time, it became possible to find a micro-controller circuit with 8 serial ports and enough power to manage everything. It was then that I looked into ARM type circuits from STmicro. From that point on, the problem shifted from the hardware to myself. In fact, in view of the possibilities of the new circuits, I wanted to add a whole bunch of functionalities, including USB bus management. Then, I entered into a spiral of redefining the functions of the object which, constantly, made me experiment with various solutions, all nevertheless unsatisfactory in my eyes. Unsatisfactory, because of the poorly defined hardware, and/or the software functionalities, which are also poorly chosen.

But, this series of failures allowed me to test a lot of solutions. And, a few days ago, as I was rearranging my stack of synths and rewiring everything, the obvious solution dawned on me. Now, right away, I saw very clearly what system I needed to have on hand to allow me to easily and flexibly wire all of my machines. I also realized that I wasn't far from the real subject, in fact. And that I just had to use all my previous developments and my previous ideas to achieve what I needed.

First, create not a hub or a switch, but simply an 8-port MIDI interface. I already have the prototype almost available. I just need to make some minor modifications to allow my 8 ports prototype to be connected to the USB port. So I have just made the necessary modifications to the circuit. 

The general idea is that it should remain simple to achieve. Thanks to the experience acquired with RISC-V processors during my previous work, I left with this type of processor :


It's a fact, the printed circuit board does not seem very complicated to make. Once the components are implemented, it should look like this:


As you might expect, the MIDI connectors are not shown in this 3D view. In fact, it is not standard MIDI connectors but RJ45 connectors that are used. This is a particular characteristic of my system.
 
The difficulty for me is not the creation of the card but its programming. Working with the USB bus is not always easy. Fortunately, a few years ago I implemented a 2-port MIDI interface on a USB port using an ARM microcontroller from STmicro. So I have a software base, I'm not starting from scratch. Even if this does not guarantee that I will reach the end, I also have no means of debugging the USB bus, I am relying on the experience acquired to complete this subject.
 

vendredi 12 avril 2024

A MSX flash cartridge downloadable from USB : the last iteration.

 

What is it about this time?


  • I did some redrawing work on certain tracks to make them more 'homogeneous'.

  • I powered certain interface circuits directly via the +5V power supply from the MSX connector and no longer with the 3.3V coming from the 5V USB to 3.3V régulator. the goal being to avoid electrical level problems with the test machine, a Panasonic FS-A1. In theory, 3.3V interfacing should not pose any problems, but in reality, it does.

  • And, I also added a small HF remote control module. This involves controlling remotely and without a physical link, an electrical outlet to automatically restart the MSX computer without having to manipulate the main switch, nor having to 'fiddle' with a RESET connection inside the computer. MSX. 


The final circuit should look like this :


Apart from the location of the HF module, the circuit looks almost the same as the previous version. Having written this, I also adjusted the external dimensions of the card so that insertion into the MSX connector no longer presents any potential gaps.

The final appearance should look very similar to this:


As for the code, the two programs concerning the processor which takes care of the USB communication and the one which manages the MSX bus, should not be modified. From the tests done, loading and making the loaded ROM available for the MSX computer works fine now.