mercredi 15 septembre 2021

Audio Direct Box prototype.

EasyEda is really an interesting PCB creation tool. I often use it for fairly simple circuits, and it does its job very well. I am currently working on the prototype of one board of my futur multi direct box :


Selection of one of the three unbalanced sources and electrical isolation and symmetrization of the output signal. 

Obviously, it's a little more complicated than performing this function with an audio transformer. And then I would probably have some modifications to make to the schematic based on the measurement results of this prototype...


mardi 7 septembre 2021

FNIRSI-1014D and audio direct box.

Back to business after a few weeks of vacation. After a lot of buzz about FNIRSI's entry-level oscilloscope, the Model 1014D, I ended up buying a copy. 


The main reason is that on the one hand I did not notice too negative comments on this device, but above all three essential points: speed; clarity of the screen; silence.

I specify that I am absolutely not sponsored by FNIRSI.

In addition, I am currently looking for an audio mixer to mix the few electronic devices I own. Because I do not have a lot of space, I am forced to choose a rack version. So I have two models in view, the Yamaha TF-Rack, and the Behringer X32 rack.

Yamah TF-rack

Behringer X32-rack

In fact, for reasons of lack of flexibility in auxiliary inputs / outputs and overall the closed aspect of the Yamaha console, I rather want to try the Behringer model. In addition, while the audio qualities of the Behringer console are known to be very good, it costs however half the price of the Yamaha console.

But, of course, the input type of these two consoles is quite different. The inputs of the Behringer are symmetrical. Yamaha has therefore chosen to place unbalanced inputs directly compatible with synthesizers. This would have the immediate effect of choosing this type of console for a studio, rather than the Behringer console. 

Because in fact with the Behringer mixer it is necessary to convert the unbalanced output of synthesizers to the balanced inputs of the Behringer mixer. And that at a cost, typically between $ 100 and $ 120 per conversion box.

Also consider the fact that even in the studio, the multiplicity of materials inevitably generates a 'ground loops', generating noise and hum.

The price of 16 'direct box' being nevertheless rather high cost, I decided to develop a solution allowing to regroup in a single rack all the desired functions.

I therefore plan to build a rack allowing the selection of three line-level inputs per audio channel. Each audio channel will be isolated from the ground of the rack, and therefore from the ground of the console. Finally each Audio channel will provide a balanced output for a direct connection to the Behringer console. Each Rack will provide 8 audio channels to the console while having the possibility of selecting three sources per channel.

It is possible to use audio transformers specially made for this function in order to ensure the electrical isolation between the audio input and the audio output. But the price per unit of these transformers is too high for this type of realization. to be connected to a console of about $ 900.

https://www.audiophonics.fr

Only the active solution remains with the help of electronic circuits. The degradation of the signal will therefore be greater than the transformer solution, but the use of quality components should allow the transfer of a quality signal. 

So I carried out a preliminary test on a breadboard :

And the results obtained with the 1014D oscilloscope :


The yellow signal is the signal generated by the oscilloscope's internal generator.
The blue signal is the signal obtained after passing through the electrical insulation stage. 

At 20KHz, the signal is very correct and remains very good  on the lower frequencies. The square signal is a little worse, but it is difficult to get a real idea of ​​this type of signal with a flying wire assembly.
I'm waiting to have made a first prototype to get a real idea of ​​the performance of the circuit.


And now, the two signals in phase opposition after simetrization. Here too, the signals obtained are good, with one of the two with the slightly greater amplitude. The capacitors and resistors used are not very precise, which can explain this phenomenon.

Conclusion: in fact, the system works very well. The results are in line with expectations. I did not estimate the cost of this realization, but the NE5534s used are not very expensive and not the ssm2142 either.

Conclusion on the use of FNIRSI 1014D: First of all, it is not a professional device. But this, everyone knows. The biggest concern is the signal reference error. The zero volt on the display does not correspond to the reality. There is a 1V to 2V offset on each channel. Sometimes the trigger level control becomes unresponsive. The operation of automatic measurements works but most of the time, adaptation is not made to the display. Signals are out of frame. And a few other minor annoyances.

But this is compensated by the very fast operation of this oscilloscope. Even if you decide to turn it off and on again, the operation only takes a few seconds. The commands respond very well which allows a 'reflex' use of this device. Therefore, It is never boring to use. Transferring screenshots is extremely easy and efficient. The screen is really very pleasant to look at, even at an angle. 

And above all, it's small, light AND quiet! This last aspect allows me to spend hours on a montage without having that very distracting fan noise present in most oscilloscopes. Suddenly, I can allow myself to think quietly about the modifications to be made to the assembly while looking at the result on the oscilloscope, without having to turn it off between each measurement session. It's a real pleasure.

For around $ 160, this oscilloscope allows real experiments, without too many worries, even if you have to pay attention to the ground of the two channels. This oscilloscope is not made to take measurements in the field, nor in a hazardous electrical environment, nor to make precise measurements. But it is perfectly suitable for testing analog or digital assemblies up to a few tens of MHz and under a few tens of Volts (40V max). 

The logical procedure, with this type of oscillosope is quite simply to use another more professional machine to validate the circuit once the prototype has been made. So, I am not at all disappointed with this 1014D. For the moment there does not seem to be an update on the manufacturer's site. I will look from time to time to check if small issues are fixed by future updates.


mercredi 14 juillet 2021

Thoughts on the µPF--2 Z80 kit dev board.

 


In fact, when I look at the system I built, even though I did it based on compatibility with the original µPF--1 kit at the time, I realize that my version looks more like a microcomputer than a development board.

https://collection.onceuponabyte.org/ident/COMP-0156


At the time, when I studied with this machine, in 1987 I think, the PC was not yet very widespread. There was no adequate development software and furthermore the µPF - 1 did not even allow program loading through a communication port.

It was therefore necessary to provide all the hardware and software functions to allow the entry of mnemonics in assemblers, live editing and correction, memory modification, program launch etc etc ...

As my kit works, in fact I realize that I am exclusively using the C language, a PC text editor, and the SDCC compiler. Then, once the program is completed, I download it directly into the µPF - 2 and start the execution. I absolutely do not use the basic functions of the system.

So I made the decision to convert this set into a modern Arduino style development system but still keep the 'retro' side thanks to the Z80 hardware emulation. The entire development process will take place through the serial port via the standard tools available for PC.

The objective is to be able to train easily and in a fun way, not only in programming, but also in interaction with the outside world and finally that real applications can be managed by this system.

Multitech IOM board

I am therefore going to develop a first interface board like the IOM original board which will allow the µPF - 2 to be autonomous, capable of loading its application program itself, launching it and of interacting with the outside world in the manner of an automat. 

Do not hesitate to send me your comments.

Best to you.


dimanche 4 juillet 2021

Back to the 90s


At the time, I saw this kind of covers on certain magazines. There was something other than the extreme and boring standardization of Apple and Microsoft. 30 years of crossing the desert! A new start, I hope, for other things more eclectic and more interesting...

vendredi 2 juillet 2021

A SMALL MIDI TOOL (next)

Another problem that really annoys me when I want to quickly jump to a patch on a specific synth. is that it is never easy. You have to go to the PC to play with the mouse, or type on the series of control keys of a particular hardware sequencer. Or more simply, get up from your seat to change the patch directly on the machine.

I decided to create a small simple module allowing to select a MIDI channel as well as a change of patch on the selected channel.

Here is the result of my thoughts on the subject:


Unlike the Midi Merge Box project, here, the system must fit into the MIDI chain. The system cannot therefore be passive and must insert the patch change commands only when the MIDI 'network' is available.

The second challenge consists in power the Patch selector from the MIDI bus. Indeed, such a device which must be inserted in a MIDI chain can be very quickly painful to use if in addition it is necessary to manage the power supply unit.

To do that, it is necessary to develop a system whose power consumption remains below 20mA, ideally below 15mA. this time, I chose a microcontroller that I haven't used for over 15 years but which turns out to be very energy efficient and above all very easy to program / debug.

At the stage where I am developing my little studio, I have now to decide for a mixing console. I would go for a RACK version because I don't have a lot of room in my studio!

What do you think of Yamaha's TF-R rack console?


Tell me if you have any comments on this console ...

mercredi 30 juin 2021

Time for the µPF--2

 The µPF--2 



When I developed this µPF - 1 / B compatible board, I wanted from the start to add a specialized time management circuit. So I installed a DS3231. This circuit is interesting because it is very precise. It also offers RESET management that I used as a master reset of the board. 



This DS3231 operates using the I2C bus. Obviously, this bus must be implemented in the FPGA. That shouldn't be a problem. I thought I would find a usable 'piece of code' on the web. In fact it was not a good idea. The codes found are often complex and above all undocumented.

Therefore, the best solution was to implement the I2C protocol myself. That's what I did. It is not very complicated, but not necessarily straightforward.




After a short period of development, I got the bus to work perfectly and was able to configure and read this real time clock circuit:



At this point, I have tested all the hardware functionality of this project. I also rewrote a lot of the system. It only remains for me to integrate all these developments in a 'clean' way.

I am beginning to see the end of this subject ...



mardi 29 juin 2021

A SMALL MIDI TOOL!

 A few days after having ordered the realization of my printed circuit board, it has just arrived:

A very easy to assemble midi merge box


Unlike usual, I chose not to use SMD components but only through hole components. This will make it easier to assemble the circuit. I could even offer the circuit to be assembled as a kit if that interests some...

I am still waiting for the components, especially the switches and connectors, to carry out the first tests.