As the tray started to work, it is time to create a proper controller board for.
Based on the electronics I built from Arduino UNO, CNC Shield and breadboard, I designed one, with some changes:
- Added a few additional connector, to allow me to use it for different purposes
- Changed the stepper motor controller from DRV8825 to Bigtreetech TMC2209 module. Added the possibility of the UART control
The Schematic design:
The PCB Design:
And the 3D view:
I have a few additional board to design. So I'll order my designs together, to reduce the shipping cost.
2020. január 3., péntek
2019. december 30., hétfő
Two problems - one solution
As usual I'm building several things in parallel.
In my last post I was writing about the switch on problem of my dual power supply. This is the first thing need a solution.
A few month ago I bought a 1,5kW variac for a bargain price (€50 what is a joke if I add that this unit even has isolated primary and secondary winding).
When I tried to use it, realized, that it immediately switch of the circuit breaker. Too much inrush current (huge iron core).
For the first problem I need a timed switch circuit, what can be controlled by a low current switch circuit. For the second problem I need a classic soft start unit.
If we dig a bit into the operation of the circuits we will find that those are similar. In the first we need to switch on the high power side after a certain amount of time. In the second the system will be switched on immediately just through a pack of power resistors, what will be shorted after a certain amount of time.
So If I separate the the switch of the controlling power supply from the high power side with a switch, I'm ready.
In the delay switch unit I'll left out the power resistors and control the small PSU from the front panel switch. In the soft start unit I'll populate the power resistors and shorting the small PSU to the high power circuit (and add an external, high current capable mains switch).
During the design of the circuit I went a bit further. Added two of the units above to a single PCB. Those can be used either in master-slave mode (adding only one mains input, one power on switch, one low power PSU but two different delays with two relays) or it can be used as two fully functional units if we cut the PCBs two side.
So, the whole design is complette now. I'll order the PCB in a few days (I've a few other things in my head and I want to pay only a single shipment cost from the manufacturer).
The schematic diagram:
The 3D model of the board:
This is first of my designs what have a complete 3D model. I was able to use the OpenSCAD -> scad -> FreeCAD -> step workflow for creating models for my own part designs easily.
In my last post I was writing about the switch on problem of my dual power supply. This is the first thing need a solution.
A few month ago I bought a 1,5kW variac for a bargain price (€50 what is a joke if I add that this unit even has isolated primary and secondary winding).
When I tried to use it, realized, that it immediately switch of the circuit breaker. Too much inrush current (huge iron core).
For the first problem I need a timed switch circuit, what can be controlled by a low current switch circuit. For the second problem I need a classic soft start unit.
If we dig a bit into the operation of the circuits we will find that those are similar. In the first we need to switch on the high power side after a certain amount of time. In the second the system will be switched on immediately just through a pack of power resistors, what will be shorted after a certain amount of time.
So If I separate the the switch of the controlling power supply from the high power side with a switch, I'm ready.
In the delay switch unit I'll left out the power resistors and control the small PSU from the front panel switch. In the soft start unit I'll populate the power resistors and shorting the small PSU to the high power circuit (and add an external, high current capable mains switch).
During the design of the circuit I went a bit further. Added two of the units above to a single PCB. Those can be used either in master-slave mode (adding only one mains input, one power on switch, one low power PSU but two different delays with two relays) or it can be used as two fully functional units if we cut the PCBs two side.
So, the whole design is complette now. I'll order the PCB in a few days (I've a few other things in my head and I want to pay only a single shipment cost from the manufacturer).
The schematic diagram:
The PCB design:
The 3D model of the board:
This is first of my designs what have a complete 3D model. I was able to use the OpenSCAD -> scad -> FreeCAD -> step workflow for creating models for my own part designs easily.
2019. december 29., vasárnap
Few stories - Build something on it.
I'm building something. As usual.
I'm telling a few stories about things - unusual? I don't know.
1. I'm fundamentally an IT guy. Most of my life I worked in various companies fulfilling various IT jobs. This dates back when I was head of the IT plus sysadmin at a company called "Láng Holding".
This was before the internet era (just to understand, the internet was existing way before some of the younger or not core IT people thinks). So it dated to 1998-1999 (Before the dotnet boom).
We acted as a usual holding company. Mainly working as financial/legal entity. One of the biggest IT challenge at those days was to have the countries laws, the country wide corporate registry available electronically for our employees. At that time this information was not available on the just starting web.
There were a company who provided this information on subscription based CDROMs.
A usual computer has only one CDROM drive (mostly non today), but I needed more, centrally on the server. So I bought a nice SCSI box with four drive bays and four SCSI CDROMs for the task.
Those days passed. We finally closed this company, and the box above landed in my loft (together with many old IT things).
2. A few weeks ago I ordered two identical 60V/1500W DC power supply modules from China. As I didn't wanted to pay the higher shipping cost of DHL, I ordered them separately. It costs $99 each.
This was a good test of the local post, how they handle the customs. I can tell: randomly.
The first one I ordered landed at customs, and still didn't arrived to me. The second one I ordered landed in my house without customs handling.
3. Back in 2017, I ordered a Ruideng DPS5020 power supply module from Banggood. After a few month it become clear, that it will never arrive. So I complained, they resent it, and after a while both arrived. I agreed with them to keep both instead of sending one back.
As you may realized by now I want to build a dual channel 0-50V/20A power supply to my lab. This is in my mind since 2017.
As I have both the lab supply modules and the huge mains power supply for it, I started to think, what would be the best possible enclosure for it. All the ones I found at the local suppliers and the online sources were too big and too costly. Then come into my mind the forgotten SCSI box from the loft:
Removed everything from inside:
Built two power modules from the Ruideng controller and the 1,5kW PSUs added some aluminum profiles:
Mounted it into the box above:
Here come a few problems:
1. I started to think. The box has 3kW PSU inside. I think, the original power switch will never be able to handle around 15A current.
2. I don't want to switch those PSU simultaneously on, because the mains fuse will not handle the inrush current
3. I want to control the PSUs from a PC, but on a single USB port. So I need to change the USB/RS232 adapter came with the units to something else.
As you see the build almost finished, I just need to address those issues. Especially to first two. Those will come in a later article.
I'm telling a few stories about things - unusual? I don't know.
1. I'm fundamentally an IT guy. Most of my life I worked in various companies fulfilling various IT jobs. This dates back when I was head of the IT plus sysadmin at a company called "Láng Holding".
This was before the internet era (just to understand, the internet was existing way before some of the younger or not core IT people thinks). So it dated to 1998-1999 (Before the dotnet boom).
We acted as a usual holding company. Mainly working as financial/legal entity. One of the biggest IT challenge at those days was to have the countries laws, the country wide corporate registry available electronically for our employees. At that time this information was not available on the just starting web.
There were a company who provided this information on subscription based CDROMs.
A usual computer has only one CDROM drive (mostly non today), but I needed more, centrally on the server. So I bought a nice SCSI box with four drive bays and four SCSI CDROMs for the task.
Those days passed. We finally closed this company, and the box above landed in my loft (together with many old IT things).
2. A few weeks ago I ordered two identical 60V/1500W DC power supply modules from China. As I didn't wanted to pay the higher shipping cost of DHL, I ordered them separately. It costs $99 each.
This was a good test of the local post, how they handle the customs. I can tell: randomly.
The first one I ordered landed at customs, and still didn't arrived to me. The second one I ordered landed in my house without customs handling.
3. Back in 2017, I ordered a Ruideng DPS5020 power supply module from Banggood. After a few month it become clear, that it will never arrive. So I complained, they resent it, and after a while both arrived. I agreed with them to keep both instead of sending one back.
As you may realized by now I want to build a dual channel 0-50V/20A power supply to my lab. This is in my mind since 2017.
As I have both the lab supply modules and the huge mains power supply for it, I started to think, what would be the best possible enclosure for it. All the ones I found at the local suppliers and the online sources were too big and too costly. Then come into my mind the forgotten SCSI box from the loft:
Removed everything from inside:
Built two power modules from the Ruideng controller and the 1,5kW PSUs added some aluminum profiles:
Here come a few problems:
1. I started to think. The box has 3kW PSU inside. I think, the original power switch will never be able to handle around 15A current.
2. I don't want to switch those PSU simultaneously on, because the mains fuse will not handle the inrush current
3. I want to control the PSUs from a PC, but on a single USB port. So I need to change the USB/RS232 adapter came with the units to something else.
As you see the build almost finished, I just need to address those issues. Especially to first two. Those will come in a later article.
2019. december 28., szombat
Hi-Fi rack - Motorized turntable shelf
I started to build a rack to my retro Akai set. I'm a small guy. When I started to plan the rack I realized that I loose space in the rack if I put the turntable on the top of it (it can't be taller than 120-130cm). If I build a 170 tall rack and put the turntable into the middle of it I still loose space, as I should open the lid somehow.
What if I build a shelf can be pulled out with the turntable? This way I not loose space. Think this a bit further: add a motor for the shelf.
Ok, but how to control the shelf?
What if I add an aluminum profile to the front of the shelf and use it as a touch sensor?
And the result:
The controlling electronics today contains an Arduino UNO, a CNC Shield, a DRV8825 motor driver and a few additional components on a breadboard.
This is not the final solution. I intend to build a specialized electronics for this. Change the motor controller to a Trinamic one because this is too loud now.
What if I build a shelf can be pulled out with the turntable? This way I not loose space. Think this a bit further: add a motor for the shelf.
Ok, but how to control the shelf?
What if I add an aluminum profile to the front of the shelf and use it as a touch sensor?
And the result:
The controlling electronics today contains an Arduino UNO, a CNC Shield, a DRV8825 motor driver and a few additional components on a breadboard.
This is not the final solution. I intend to build a specialized electronics for this. Change the motor controller to a Trinamic one because this is too loud now.
2019. november 28., csütörtök
Akai - Media Player 2. Volumio
I dowloaded and put on a microSD card the Volumio
Connected to HDMI, keyboard, switched on - nothing on the screen (maybe the screen resolution)
Moved the set to a 4K TV - nothing on the screen
Removed the Wi-Fi module - nothing on the screen
Switched the Pine64 board to completely new - nothing on the screen
Changed the microSD card to a different piece, manufacturer - nothing on the screen
Changed the microSD card to my previously used Android TV distribution - screen on, booting
RTFM - you are an idiot. The Volumio is headless on SBCs
Connect to the LAN, wait for IP, connect via browser
First task accomplished
I need a few plug-ins for the complete system:
Tidal (I'm using mainly as music streaming)
Looked around. I'm not happy. Looks like the native integration doesn't exists. You have a few choices:
1. Subscribe to MyVolumio and use Tidal through it
2. Download your music locally with AudFree
3. Stream through UPNP/DLNA from your Android phone
I can tell, I'm not happy with either choices. Not yet decided, what to do.
Further reading:
https://forum.volumio.org/tidal-playback-t8894.html
https://www.audfree.com/tidal/tidal-on-volumio.html
https://forum.volumio.org/tidal-native-plugin-myvolumio-t10682.html
16x2 (20x2) LCD display - hopefully my VFD use the same communication protocol
It looks like there is quite a lot information exists on the internet. I just need to grab them, and build. The question is, how will it work on the Pine64 as all of the descriptions for Raspberry Pi.
Here are the Github repositories for the code:
https://github.com/Saiyato/volumio-pydpiper-plugin
https://github.com/dhrone/pydPiper
https://github.com/JedS/Raspdac
Connection:
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDN0xib8RQp84p4BqSTxCumE6uhyphenhyphen2iqGubwXm-KATwOJx0sHPCs1NKIhWuSWM56k99GLX91C0lwPjYfspIR3Jhl_yviuIMxvLpiiFX3ck0547TcxwAUciyi3cRbKmU0u9lV6lM20T8SfBj/s1600/Volumio+LCD+1.jpg
I2C Interface (not yet decided, if I'll use it):
https://forum.volumio.org/display-16x2-and-i2c-interface-t9549.html
Rotary Encoder
It looks like the rotary encoder plugin already in the stock firmware, so I installed it already.
Here is the documentation and connection:
https://github.com/Saiyato/volumio-rotary-encoder-plugin
I read on various pages, that this is unreliable. Here is a different solution:
https://forum.volumio.org/getting-rotary-encoder-working-t9690.html
We will see, what is the working solution.
Buttons/GPIO
The chassis contains three buttons already. My plan is to keep them, and use them for... I don't know yet. I'll figure out later. probably I'll relabel the buttons.
Anyway. Here is the plugin:
https://github.com/tomatpasser/gpio-buttons
https://github.com/volumio/volumio-plugins/tree/master/plugins/system_controller/gpio-buttons
Bluetooth
I'd like to play music from my phone through bluetooth. So looked for the solution. Here I found one:
https://forum.volumio.org/volumio-bluetooth-receiver-t8937.html
Infrared Remote
Here is a starting point for the infrared remote I plan to use:
https://forum.volumio.org/control-guide-for-raspberry-t9700.html
Now I collected all of the information I think is necessary for my VolumIO project. I'll continue from here connecting, setting up piece-by-piece.
Connected to HDMI, keyboard, switched on - nothing on the screen (maybe the screen resolution)
Moved the set to a 4K TV - nothing on the screen
Removed the Wi-Fi module - nothing on the screen
Switched the Pine64 board to completely new - nothing on the screen
Changed the microSD card to a different piece, manufacturer - nothing on the screen
Changed the microSD card to my previously used Android TV distribution - screen on, booting
RTFM - you are an idiot. The Volumio is headless on SBCs
Connect to the LAN, wait for IP, connect via browser
First task accomplished
I need a few plug-ins for the complete system:
Tidal (I'm using mainly as music streaming)
Looked around. I'm not happy. Looks like the native integration doesn't exists. You have a few choices:
1. Subscribe to MyVolumio and use Tidal through it
2. Download your music locally with AudFree
3. Stream through UPNP/DLNA from your Android phone
I can tell, I'm not happy with either choices. Not yet decided, what to do.
Further reading:
https://forum.volumio.org/tidal-playback-t8894.html
https://www.audfree.com/tidal/tidal-on-volumio.html
https://forum.volumio.org/tidal-native-plugin-myvolumio-t10682.html
16x2 (20x2) LCD display - hopefully my VFD use the same communication protocol
It looks like there is quite a lot information exists on the internet. I just need to grab them, and build. The question is, how will it work on the Pine64 as all of the descriptions for Raspberry Pi.
Here are the Github repositories for the code:
https://github.com/Saiyato/volumio-pydpiper-plugin
https://github.com/dhrone/pydPiper
https://github.com/JedS/Raspdac
Connection:
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDN0xib8RQp84p4BqSTxCumE6uhyphenhyphen2iqGubwXm-KATwOJx0sHPCs1NKIhWuSWM56k99GLX91C0lwPjYfspIR3Jhl_yviuIMxvLpiiFX3ck0547TcxwAUciyi3cRbKmU0u9lV6lM20T8SfBj/s1600/Volumio+LCD+1.jpg
I2C Interface (not yet decided, if I'll use it):
https://forum.volumio.org/display-16x2-and-i2c-interface-t9549.html
Rotary Encoder
It looks like the rotary encoder plugin already in the stock firmware, so I installed it already.
Here is the documentation and connection:
https://github.com/Saiyato/volumio-rotary-encoder-plugin
I read on various pages, that this is unreliable. Here is a different solution:
https://forum.volumio.org/getting-rotary-encoder-working-t9690.html
We will see, what is the working solution.
Buttons/GPIO
The chassis contains three buttons already. My plan is to keep them, and use them for... I don't know yet. I'll figure out later. probably I'll relabel the buttons.
Anyway. Here is the plugin:
https://github.com/tomatpasser/gpio-buttons
https://github.com/volumio/volumio-plugins/tree/master/plugins/system_controller/gpio-buttons
Bluetooth
I'd like to play music from my phone through bluetooth. So looked for the solution. Here I found one:
https://forum.volumio.org/volumio-bluetooth-receiver-t8937.html
Infrared Remote
Here is a starting point for the infrared remote I plan to use:
https://forum.volumio.org/control-guide-for-raspberry-t9700.html
Now I collected all of the information I think is necessary for my VolumIO project. I'll continue from here connecting, setting up piece-by-piece.
2019. november 18., hétfő
Akai - Media Player 1. SBC
In the previous post I was writing about Raspberry Pi as the computer will be used in the device.
I was thinking a bit further and realized it is not the ideal solution. (Still, I think the Raspberry Pi is an awesome piece of hardware, just doesn't fit into this particular task)
The features I miss from the RPi:
Internal USB
I need a USB connector can be extended to the front panel to be able to play music from a USB stick
On RPi all of the USB connectors are on the same side as the Ethernet what I would put to the back of the unit (this could be hadled different way, but I have other things)
External Wi-Fi, Bluetooth antenna.
The case is made from metal. Probably the Wi-Fi and the Bluetooth would barely work inside the case. I found hack on the internet to overcome this, but this is a hack.
So I looked around, the internet, found a few feasible solution, what kind of board should I buy. On the other hand, I have two problems with those:
I have plenty SBC-s on hand, don't want to spend money on an additional one
If I order something from the net, it take a few weeks to arrive. As I ordered the DAC and the display previously, probably the SBC would arrive latest
So I dig into my development board/SBC box in my workshop. I realized that the board I have many of it (at least 5) completely satisfy my needs.
The brain of the media player is switched from Raspberry Pi to Pine64.
I'm still not totaly convinced in my choice, therefore I'll not build it into the case right now, just assemble it on my desk and start to experiment with it.
Here I found a reasonably new release of the VolumIO for my Pine64:
https://forum.volumio.org/volumio-pine64-pine-a64-lts-sopine-compute-module-t9465.html
I'll continue my journey with this.
The case is made from metal. Probably the Wi-Fi and the Bluetooth would barely work inside the case. I found hack on the internet to overcome this, but this is a hack.
So I looked around, the internet, found a few feasible solution, what kind of board should I buy. On the other hand, I have two problems with those:
I have plenty SBC-s on hand, don't want to spend money on an additional one
If I order something from the net, it take a few weeks to arrive. As I ordered the DAC and the display previously, probably the SBC would arrive latest
So I dig into my development board/SBC box in my workshop. I realized that the board I have many of it (at least 5) completely satisfy my needs.
The brain of the media player is switched from Raspberry Pi to Pine64.
I'm still not totaly convinced in my choice, therefore I'll not build it into the case right now, just assemble it on my desk and start to experiment with it.
Here I found a reasonably new release of the VolumIO for my Pine64:
https://forum.volumio.org/volumio-pine64-pine-a64-lts-sopine-compute-module-t9465.html
I'll continue my journey with this.
2019. november 17., vasárnap
Akai - cannibalized
As I wrote previously, I want to add streaming media capability to my retro Akai Hi-Fi set.
The plan was the following:
Pick up on the market a low cost unit, fits into my set.
Remove everything from inside.
Build the following set into it:
- Raspberry Pi + VolumIO
- Some power supply
- Some DAC
- Some alphanumeric display
- Rotary encoder
- IR receiver
I was looking for the possible "donor" units. Finally my choice is an Akai AT-A1 tuner. I bought the one I have in my hand for GBP 17 from UK
Opened the box. Here is the original inside:
Then I removed everything what looks unnecessary:
Ordered a few things what will go into the box:
The plan was the following:
Pick up on the market a low cost unit, fits into my set.
Remove everything from inside.
Build the following set into it:
- Raspberry Pi + VolumIO
- Some power supply
- Some DAC
- Some alphanumeric display
- Rotary encoder
- IR receiver
I was looking for the possible "donor" units. Finally my choice is an Akai AT-A1 tuner. I bought the one I have in my hand for GBP 17 from UK
Opened the box. Here is the original inside:
Then I removed everything what looks unnecessary:
Ordered a few things what will go into the box:

This is the current status. More will come soon.
Feliratkozás:
Bejegyzések (Atom)












