I didn't write this blog for a while. I had good reason for this, what is not public. From now on it looks like my reason went away, so I'm back.
Along with my passion for electronics, CNC milling, 3D printing and many more, I have an old love. Music and Hi-Fi. To be honest originally this was bringing me into the world of electronics almost 40 years ago (38 to be exact). I was 11 when the first Hi-Fi set landed in my family. Right from the beginning I was thinking how can I expand its capability, later on I was thinking how can I rise its sound quality. This lead me into the word of audio electronics, building amplifiers and other things.
As I raised behind the "iron curtain" in the '70s and '80s. At that times not to much goods arrived from the western part of the word. Here in Hungary mainly one company namely Akai was available, based on the fact that Videoton (Hungarian audiovisual manufacturing company) acted as a manufacturing base for Akai here.
At 1984 even they had a trade show in a restaurant in Budapest. I was there and picked up a brochure, what was almost a Hi-Fi bible, a source of wishes for a long time. I just wanted to own a full set of highest ranked equipment from this brochure - what unfortunately don't have anymore.
In the last year somehow pop this desire into my mind after a long time forgotten.
So I started to collect.
Today I can tell, I almost have the full set I wanted. Actually even a bit more, but the "project" not finished. I'll probably sell a few, switch a few from it.
Here is the current collection:
Some of the units are in a good shape. Some of them need care both outside and inside. In the following months even years I plan to restore those into working, aesthetically good condition (also with some external help).
In addition to this I plan to create a shelf to accommodate all of the units I intend to keep, and add some capabilities what fits into the design, but was not available at the time this equipment was built, like internet streaming audio.
2019. november 16., szombat
2019. július 26., péntek
What arrived?
I continuously ordering things from various places, but frequently I don't write about.
Here are three things what I think can be interesting in some ways.
Recently I started to work on integrating my measurement equipment with my lab PC. It is getting important as I have a few measurement in my head, what requires such kind of integration.
The instruments in question have various interfaces: USB, RS232, GP-IB, Ethernet. Talking about the first three, at the end of the day the connection for the PC will require USB ports. Lots of USB ports.
So I ordered a USB hub on AliExpress.
I hope 16 ports will be enough:
Keep talking about instruments. As I see, it is handled as a fact that for measurement process control the used application is NI LabView. This software used for many things. Even the Lego is using it for controlling the Mindstorms kits. For a long time now, I'm using mainly free or open source software, if it is not available, I'm buying it.
The LabView as such is a software with horrible price tag. It is just came to my attention (you may already know it), that NI made available a Home Bundle version. Yes, it is not the latest, yes it is just for not profit home use. But, it cost $50, what can be payed by a serious hobbyist. So I have it now:
I hope, it will help me to automate my measurements.
There are running a promotion/contest by Microsoft and Avnet (https://www.element14.com/community/docs/DOC-92683/l/sensing-the-world-challenge). It is about connecting to Azure IoT.
I even have a MAPS subscription, so I have $100/month allowance for Azure.
I become an AWS guy in the last 6+ years. I feel this contest a good opportunity to widen my perspective and learn a bit more about Azure.
So, I ordered the kit for free, and it arrived yesterday:
Even, I have an idea, what to build from it.
Here are three things what I think can be interesting in some ways.
Recently I started to work on integrating my measurement equipment with my lab PC. It is getting important as I have a few measurement in my head, what requires such kind of integration.
The instruments in question have various interfaces: USB, RS232, GP-IB, Ethernet. Talking about the first three, at the end of the day the connection for the PC will require USB ports. Lots of USB ports.
So I ordered a USB hub on AliExpress.
I hope 16 ports will be enough:
Keep talking about instruments. As I see, it is handled as a fact that for measurement process control the used application is NI LabView. This software used for many things. Even the Lego is using it for controlling the Mindstorms kits. For a long time now, I'm using mainly free or open source software, if it is not available, I'm buying it.
The LabView as such is a software with horrible price tag. It is just came to my attention (you may already know it), that NI made available a Home Bundle version. Yes, it is not the latest, yes it is just for not profit home use. But, it cost $50, what can be payed by a serious hobbyist. So I have it now:
I hope, it will help me to automate my measurements.
There are running a promotion/contest by Microsoft and Avnet (https://www.element14.com/community/docs/DOC-92683/l/sensing-the-world-challenge). It is about connecting to Azure IoT.
I even have a MAPS subscription, so I have $100/month allowance for Azure.
I become an AWS guy in the last 6+ years. I feel this contest a good opportunity to widen my perspective and learn a bit more about Azure.
So, I ordered the kit for free, and it arrived yesterday:
Even, I have an idea, what to build from it.
2019. július 14., vasárnap
GP-IB 3.
More than two month elapsed since I wrote about my GP-IB adapter project.
In this two month many things happened:
Hardware:
Redesigned the board a bit (v1.1). The new version is a bit tricky. Originally I used female gender connector, what is not ideal, as it cannot be connected to the instruments directly, just through a cable. The reason: I didn't find male connector on the market on first trial for affordable price.
I had a second attempt, and now I have male connectors. I didn't wanted to put to much effort in the redesign, so just added an option to swap the USB connector to the back side of the board.
So if you populate the board with female GP-IB connector, both the connectors goes to the front side, if you use male connector, both of the connectors are goes to the back side.
This board is not ordered yet, because I want to combine it with other projects of mine.
Git:
The repository has been reorganized. I have public and private repos. Public for sharing the project, private for working on it. Now the public repo only contain the hardware design (more to come). The design packaged with my shiny new KiCAD packager. At least it makes the schematic readable to anybody. Location: https://gitlab.com/suf/suf-electronics-gpib
Software:
The software side become a bit messy.
I had problems with the original source code:
1. The original license, what makes the software "incompatible" with my design
2. As much I read this source code, more and more dislike it. Using a single .ino file, for a growing size project become unreadable, unmaintainable to me.
3. Many thing is missing from the implementation.
I started to write a completely new software based on my problems. I wasn't carefully looked around for the software implementation. My software was 50+ percent ready (mostly working already) when Szabolcs Szigeti in the comments on my post here https://www.facebook.com/groups/muszerek/permalink/2481846092072731/ pointed out (sorry, it is in Hungarian), that a different implementation also exists https://github.com/Twilight-Logic/AR488
I didn't tested it yet, but looks like solving most of my problems:
- The author by coincidence has chosen the same pins for the ones was missing from the original implementation as me (REN, SRQ). This means, this software should run without modification on my hardware
- Implemented most of the missing functions
I still have my feelings with the code structure (it become more than 3000 lines in a single file)
I had no time to test it yet, but if I can use it for the purpose I wanted, I'll probably drop (or postpone) my implementation (maybe just finishing the inevitably necessary things and release it).
Next:
- Try the things I currently have
- Order and build the upgraded design
- Decide the future of this project
In this two month many things happened:
Hardware:
Redesigned the board a bit (v1.1). The new version is a bit tricky. Originally I used female gender connector, what is not ideal, as it cannot be connected to the instruments directly, just through a cable. The reason: I didn't find male connector on the market on first trial for affordable price.
I had a second attempt, and now I have male connectors. I didn't wanted to put to much effort in the redesign, so just added an option to swap the USB connector to the back side of the board.
So if you populate the board with female GP-IB connector, both the connectors goes to the front side, if you use male connector, both of the connectors are goes to the back side.
This board is not ordered yet, because I want to combine it with other projects of mine.
Git:
The repository has been reorganized. I have public and private repos. Public for sharing the project, private for working on it. Now the public repo only contain the hardware design (more to come). The design packaged with my shiny new KiCAD packager. At least it makes the schematic readable to anybody. Location: https://gitlab.com/suf/suf-electronics-gpib
Software:
The software side become a bit messy.
I had problems with the original source code:
1. The original license, what makes the software "incompatible" with my design
2. As much I read this source code, more and more dislike it. Using a single .ino file, for a growing size project become unreadable, unmaintainable to me.
3. Many thing is missing from the implementation.
I started to write a completely new software based on my problems. I wasn't carefully looked around for the software implementation. My software was 50+ percent ready (mostly working already) when Szabolcs Szigeti in the comments on my post here https://www.facebook.com/groups/muszerek/permalink/2481846092072731/ pointed out (sorry, it is in Hungarian), that a different implementation also exists https://github.com/Twilight-Logic/AR488
I didn't tested it yet, but looks like solving most of my problems:
- The author by coincidence has chosen the same pins for the ones was missing from the original implementation as me (REN, SRQ). This means, this software should run without modification on my hardware
- Implemented most of the missing functions
I still have my feelings with the code structure (it become more than 3000 lines in a single file)
I had no time to test it yet, but if I can use it for the purpose I wanted, I'll probably drop (or postpone) my implementation (maybe just finishing the inevitably necessary things and release it).
Next:
- Try the things I currently have
- Order and build the upgraded design
- Decide the future of this project
2019. július 13., szombat
KiCAD packager
As I mentioned previously here: http://pakahuszar.blogspot.com/2019/07/chain-of-events.html
I started to write a program for KiCAD ot package the projects and overcome the problems when I share my designs.
Released a working (but probably buggy, and incomplete code) here: https://gitlab.com/suf/packagekicad. Please use the 0.2Beta tag
It is able to build a new symbol library (others come later) from the current environment with all of the used components in the current design, replace them in the schematic file. So when you move the project trough source control or other way, anybody can open it without missing components. Yes, the rescue lib can handle this, but asks questions, and the original KiCAD gitignore remove the cache used for rescue lib. Also doesn't handle the unintentional library upgrades.
The documentation is not yet exists. So I just write the usage here:
dotnet PackageKiCAD.dll <project name/directory>
Options:
-R Recursive
-cl Clear local symbol table. Keep only the packaged library on the list.
I'm using TortoiseGIT for my projects. It allows to automate the packaging. So the project gets packaged before every commit, if configured.
This is what I've done:
Opened the TortoiseGIT interface and selected Hook Scripts
Added a new script:
The "Run when working tree path is under" should point to the repository root in question. That's it.
Further development is coming.
I started to write a program for KiCAD ot package the projects and overcome the problems when I share my designs.
Released a working (but probably buggy, and incomplete code) here: https://gitlab.com/suf/packagekicad. Please use the 0.2Beta tag
It is able to build a new symbol library (others come later) from the current environment with all of the used components in the current design, replace them in the schematic file. So when you move the project trough source control or other way, anybody can open it without missing components. Yes, the rescue lib can handle this, but asks questions, and the original KiCAD gitignore remove the cache used for rescue lib. Also doesn't handle the unintentional library upgrades.
The documentation is not yet exists. So I just write the usage here:
dotnet PackageKiCAD.dll <project name/directory>
Options:
-R Recursive
-cl Clear local symbol table. Keep only the packaged library on the list.
I'm using TortoiseGIT for my projects. It allows to automate the packaging. So the project gets packaged before every commit, if configured.
This is what I've done:
Opened the TortoiseGIT interface and selected Hook Scripts
Added a new script:
The "Run when working tree path is under" should point to the repository root in question. That's it.
Further development is coming.
2019. július 7., vasárnap
Chain of events
I always think, why I start more projects than I finish.
One cause is the chan of events. I start something, than something is missing is missing from it, what forms an other project, than I miss something from it - other project and the chain of events formed. Have several open things, nothing finished.
Check the current one:
I wanted to recreate my music listening environment. The first path is from vinyl.
One cause is the chan of events. I start something, than something is missing is missing from it, what forms an other project, than I miss something from it - other project and the chain of events formed. Have several open things, nothing finished.
Check the current one:
I wanted to recreate my music listening environment. The first path is from vinyl.
1. Repaired the crossovers in my Mission 705 loudspeakers (replaced a few ancient Tesla caps)
2. Repaired my NAD 5120 turntable (removed the original built in cable, added a few RCA connectors, replaced the belt, adjusted the arm lift)
3. Wanted to build a new RIAA corrector. It is based on the award winning design from the '80s. Created by a local HiFi Magazine here in Hungary named HFM-I. Actually built it, but just wrote about it on my Hungarian language blog (http://it-pro-hu.blogspot.com/2019/02/hfm-i-ujragondolva.html, http://it-pro-hu.blogspot.com/2019/03/hfm-i-2.html, http://it-pro-hu.blogspot.com/2019/04/hfm-i-3.html
4. And here is the place where my "chain of events" starts. It came into my mind, that I'd like to measure what I built before put it into my system. Bought an HP 8903B Audio Analyzer (not just for this project, it was in my plans for a while already).
U2. Didn't like the software of the interface, neither the license, nor the implementation. Started to write a completely new code from scratch (still unfinished, it will be testable soon, if it doesn't end as unfinished project as many before).
U3. Somebody asked upon my posts, if I want to sell the GPIB interface boards I created. Started to think - why not?
If I sell it, I want to organize the hardware designs and the software correctly. Don't want to publish unfinished design, or software, so I built up a git branching model for myself to achieve this. Here surfaced my old problem again. The library handling of the KiCAD is horrible. I want to publish the hardware design without external dependency (I mean, if somebody opens the schematic, get real components instead of boxes with question marks). Tried to use KiCADs archive plugin. Unsuccessfully. Registered, but it not even started. After few days of searching, asking, got no solution.
If I sell it, I want to organize the hardware designs and the software correctly. Don't want to publish unfinished design, or software, so I built up a git branching model for myself to achieve this. Here surfaced my old problem again. The library handling of the KiCAD is horrible. I want to publish the hardware design without external dependency (I mean, if somebody opens the schematic, get real components instead of boxes with question marks). Tried to use KiCADs archive plugin. Unsuccessfully. Registered, but it not even started. After few days of searching, asking, got no solution.
So, the Unplanned-3 project born. Create an application (not a KiCAD plugin) what automatically manage this mess on my hardware projects (I started it in .Net Core 2.1, got some progress, but this is a topic for a further post)
Let see! This is one way how my unfinished projects are born.
2019. április 29., hétfő
GP-IB 2.
The boards are arrived a few days ago.
I made a few but not fatal mistakes with the board, and left a few room for improvement also:
During the weekend I built and tried it out
The CH340G USB Serial interface was working for the first trial.
The ISP was working for the first trial - uploaded the Arduino bootloader.
The software built and uploaded without problem.
The communication via the terminal emulator with the firmware worked without problem.
Now go and get an instrument to try it out.
As I previously mentioned, I built this interface to communicate with my HP Audio Analyzer. This equipment is not a cheap one if we are talking about a home lab, so I didn't want to sacrifice for the first test. I have several HP 3478A multimeters on hand. Two of it even not part of my lab setup.
So, I tried to communicate with it.
Half success:
When I send a command to the instrument, it does nothing.
When I send a ++read command it responds with the value actually on the instrument's screen.
I was thinking, what could be the problem.
The original design pull down the GPIB PIN 17 (REN - Remote Enable) to the ground. In my build it is connected to one of the MCU pins, to be able to further develop the project. Naturally the original firmware doesn't handle this. So I added a few lines of code to pull the REN pin to low, and the system started to work immediately.
The first goal of this project successfully achieved. The design files of the board can be find here:
https://gitlab.com/suf/suf-electronics-gpib
As the owners license of the source code doesn't allow modifications, without consent, I'm not publishing the either the original source code or my modifications. I'm intend to contact the author to discuss about the license.
Last but not least:
Many thanks for Emanuele Girlando for his great work.
I made a few but not fatal mistakes with the board, and left a few room for improvement also:
- Cosmetic: the board designation is on a wrong layer
- Order: only ordered 5 boards (I think 10 would be the same price)
- Room for improvement: the board uses female IEEE-488 connector. With a few modifications it can be used with male connector also
- Room for improvement: proper mounting holes
- Room for improvement: isolated (it needs some investigation if it required)
- Room for improvement: buffering + bus protection
During the weekend I built and tried it out
The CH340G USB Serial interface was working for the first trial.
The ISP was working for the first trial - uploaded the Arduino bootloader.
The software built and uploaded without problem.
The communication via the terminal emulator with the firmware worked without problem.
Now go and get an instrument to try it out.
As I previously mentioned, I built this interface to communicate with my HP Audio Analyzer. This equipment is not a cheap one if we are talking about a home lab, so I didn't want to sacrifice for the first test. I have several HP 3478A multimeters on hand. Two of it even not part of my lab setup.
So, I tried to communicate with it.
Half success:
When I send a command to the instrument, it does nothing.
When I send a ++read command it responds with the value actually on the instrument's screen.
I was thinking, what could be the problem.
The original design pull down the GPIB PIN 17 (REN - Remote Enable) to the ground. In my build it is connected to one of the MCU pins, to be able to further develop the project. Naturally the original firmware doesn't handle this. So I added a few lines of code to pull the REN pin to low, and the system started to work immediately.
The first goal of this project successfully achieved. The design files of the board can be find here:
https://gitlab.com/suf/suf-electronics-gpib
As the owners license of the source code doesn't allow modifications, without consent, I'm not publishing the either the original source code or my modifications. I'm intend to contact the author to discuss about the license.
Last but not least:
Many thanks for Emanuele Girlando for his great work.
2019. április 27., szombat
Home references - Resistance
It is a long standing dept for myself.
I bought a few Vishay S Series precision foil resistors to act as resistance standard for my home lab.
I was thinking what would be the best enclosure for them, and in the long thinking process finally the resistance standard process is shelved.
A few weeks ago finally I ordered small aluminum boxes and binding posts for this.
The boxes, binding posts arrived, so I put everything together. As this is a quite simple thing, so not too much to talk about. Here are the pictures:
Measured (the 4 wire mode here is unavoidable):
All of the four values (100 ohm, 1K, 10K, 100K) boxed, labeled:
After finished the labeling, I was thinking about, how can I protect the paper labels from the usual dust in the lab. Here come the advantage of being father of three school age kids. The transparent adhesive foil we use to protect the textbooks are perfect here (and I've tons on stock).
I bought a few Vishay S Series precision foil resistors to act as resistance standard for my home lab.
I was thinking what would be the best enclosure for them, and in the long thinking process finally the resistance standard process is shelved.
A few weeks ago finally I ordered small aluminum boxes and binding posts for this.
The boxes, binding posts arrived, so I put everything together. As this is a quite simple thing, so not too much to talk about. Here are the pictures:
Measured (the 4 wire mode here is unavoidable):
All of the four values (100 ohm, 1K, 10K, 100K) boxed, labeled:
After finished the labeling, I was thinking about, how can I protect the paper labels from the usual dust in the lab. Here come the advantage of being father of three school age kids. The transparent adhesive foil we use to protect the textbooks are perfect here (and I've tons on stock).
Feliratkozás:
Bejegyzések (Atom)











