<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="https://marcin.pl.eu.org/feed.xml" rel="self" type="application/atom+xml" /><link href="https://marcin.pl.eu.org/" rel="alternate" type="text/html" /><updated>2026-03-25T15:44:17+01:00</updated><id>https://marcin.pl.eu.org/feed.xml</id><title type="html">Strona Miklasia</title><subtitle>My projects I am mostly ready to share ;)</subtitle><entry><title type="html">Universal PCB with bus lines</title><link href="https://marcin.pl.eu.org/random_electronics/2026/03/25/universal_pcb.html" rel="alternate" type="text/html" title="Universal PCB with bus lines" /><published>2026-03-25T00:00:00+01:00</published><updated>2026-03-25T00:00:00+01:00</updated><id>https://marcin.pl.eu.org/random_electronics/2026/03/25/universal_pcb</id><content type="html" xml:base="https://marcin.pl.eu.org/random_electronics/2026/03/25/universal_pcb.html"><![CDATA[<p>As I was working on my computer I started on breadboards. It worked fine until I wanted some RAM and I just ran out of jumper cables. So I thought I need some proper PCBs.
The problem is - if you order something from PCB manufacturer it will be at least 5 of given type.
Here I needed every board to be different.
I checked readily available prototype PCBs and all would require much of work to greate buses and route all chips to them.
So the goal is - create a PCB that is generic enough but yet removes as much of the work as possible.</p>

<p>I thought to route bus between ICs legs so they could run the entire height of the board. DIP legs are 2.54mm apart (0.1”) so I needed holes 1.27mm apart - one set for bus and second set for ICs. Evenly distributed on 10x15 cm board was over 8000 holes. Also the holes need to be at least 0.8mm in diameter to fit in pin headers. This gave very little room for soldering pad but I squized it in…
PCB manufacturer complainde for the number of holes and trace spacing :( and wanted to charge extra.</p>

<p>So I did the 2nd attempt - I removed every 2nd hole on the buses and every 2nd hole on chip traces and shifted them vertically 1.27mm. This got accepted. Manufacturer kindly suggested gold plating (soooo expensive) but agreed to go with HASL noting the quality may be worse than usual. But the boards look great and the cost of making 10 is not different than buying 10 proto PCBs of this size. I made them 1mm thick for a test - they are rigid enough.</p>

<p><img src="board.jpg" alt="board" /></p>

<p>The design:
<img src="univ-e.png" alt="board design" />
Buses are numbered from 1 to 58 - I marked few of them in green.</p>

<p>There are 3 rows of ICs A, B and C which have short traces reaching PCB legs - marked in magenta.
To connect ICs to buses and power you only need mostly horizontal connections - cyan.</p>

<p>The same board can be used as a backplane and as a card. You can connect boards in one after another in a flat arrangement <img src="flat.jpg" alt="flat" /></p>

<p>or perpendicular (as a backplane and cards) <img src="bus_card.jpg" alt="backplane" /></p>

<p>And an example of how ICs could be placed on the board:
<img src="ic_placement.jpg" alt="ic placement" /></p>

<p>References:</p>

<ul>
  <li>The project: <a href="https://github.com/miklasiu/Universal-PCB-with-Bus">GitHub</a></li>
</ul>]]></content><author><name></name></author><category term="Random_Electronics" /><summary type="html"><![CDATA[As I was working on my computer I started on breadboards. It worked fine until I wanted some RAM and I just ran out of jumper cables. So I thought I need some proper PCBs. The problem is - if you order something from PCB manufacturer it will be at least 5 of given type. Here I needed every board to be different. I checked readily available prototype PCBs and all would require much of work to greate buses and route all chips to them. So the goal is - create a PCB that is generic enough but yet removes as much of the work as possible. I thought to route bus between ICs legs so they could run the entire height of the board. DIP legs are 2.54mm apart (0.1”) so I needed holes 1.27mm apart - one set for bus and second set for ICs. Evenly distributed on 10x15 cm board was over 8000 holes. Also the holes need to be at least 0.8mm in diameter to fit in pin headers. This gave very little room for soldering pad but I squized it in… PCB manufacturer complainde for the number of holes and trace spacing :( and wanted to charge extra. So I did the 2nd attempt - I removed every 2nd hole on the buses and every 2nd hole on chip traces and shifted them vertically 1.27mm. This got accepted. Manufacturer kindly suggested gold plating (soooo expensive) but agreed to go with HASL noting the quality may be worse than usual. But the boards look great and the cost of making 10 is not different than buying 10 proto PCBs of this size. I made them 1mm thick for a test - they are rigid enough. The design: Buses are numbered from 1 to 58 - I marked few of them in green. There are 3 rows of ICs A, B and C which have short traces reaching PCB legs - marked in magenta. To connect ICs to buses and power you only need mostly horizontal connections - cyan. The same board can be used as a backplane and as a card. You can connect boards in one after another in a flat arrangement or perpendicular (as a backplane and cards) And an example of how ICs could be placed on the board: References: The project: GitHub]]></summary></entry><entry><title type="html">Amiga S-Video</title><link href="https://marcin.pl.eu.org/old_computers/2026/03/17/amiga-svideo.html" rel="alternate" type="text/html" title="Amiga S-Video" /><published>2026-03-17T00:00:00+01:00</published><updated>2026-03-17T00:00:00+01:00</updated><id>https://marcin.pl.eu.org/old_computers/2026/03/17/amiga-svideo</id><content type="html" xml:base="https://marcin.pl.eu.org/old_computers/2026/03/17/amiga-svideo.html"><![CDATA[<p>Some time I bought Amiga 500. It was mostly working. It turned out it needed CIA replacement (it got IRQ line stuck low permanently) and floppy cleanup and disk present switch de-oxidized.
But to do all that I needed to connect it to some monitor to see what I am doing and most importantly what Amiga is doing.
For troubleshooting the black and white, stock video output was enough but once fixed I wanted some color!</p>

<p>This is my first Amiga but I know there are well known solutions to that. But they suffer from being more expensive than Amiga itself (my Amiga was 65€) or requiring custom plugs like 23 pin video connector. (or both).
My 1st idea was to just build <a href="https://gglabs.us/node/983">A520HD</a> video adapter. But since I was building it from scratch I thought I’ll make an internal version.
Then I though I wanted SVideo more - my 4/3 monitor does not have component input. Common solution seems to use Sony CXA1145 chip from A600 but it is unavailable (I think) and it requires an external delay line.
I went with more modern AD724 instead which is much simpler. Designed and made a board:
<img src="proto_board_F.jpg" alt="Board_F" /><img src="proto_board_B.jpg" alt="Board_B" /></p>

<p>I don’t have the schematics from that time - never thought to publish it…
Anyway - it didn’t obviously work. I naively assumed that DENISE pin 18 called “burst” on the schematics will output PAL 4.433MHz color burst. So it doesn’t. :)
Turnes out the same people who made Atari 800 worked on Amiga and did it the same way. So burst is “base clock” / 8: 28.37512MHz / 8 = 3.54689MHz which is 4/5 of the required frequency.
Hmmm Atari… Let’s borrow colorburst from Atari then:
<img src="Amiga-Atari.jpg" alt="I should probably tidy up my desk. Nah..." /></p>

<p>And it kind-of worked:
<img src="1st_image.jpg" alt="Should I be happy or sad?" /></p>

<p>Hardly ideal…I need to move PAL clock to my board and colors are off…
The colors issue was somebody mixed op-amp legs… and most of distortion is gone once we have own clock.:
<img src="2nd_image.jpg" alt="Better now" /></p>

<p>Not ideal but promising. The board looks bad now though:
<img src="franken-board.jpg" alt="Frankenstain of a board" /></p>

<p>The issues:</p>

<ul>
  <li>New board needed - this one served well as a prototype but it is not reliable at all.</li>
  <li>PAL clock is not synchronized to pixel clock - there was visible moving artefacts on the pixels edges.</li>
  <li>Still a lot of noise</li>
</ul>

<p>I decided to re-do the schematics, add A600 /4*5 clock circuit (almost identical as in Atari) and order board from PCB manufacturer.</p>

<p>Sooooo 2years have passed. I did other things :) But finally:
<img src="new_boards.jpg" alt="Beatiful" /></p>

<p>With some more fixes - I made a mistake and swapped R and B AD724 inputs and also replacing input cables with coaxial grounded at input - the image quality is great.
<strong>So here it is at <a href="https://github.com/miklasiu/amiga500_svideo">GitHub</a>.</strong> Fixes are not there yet but maybe sometime ;)
<img src="new_board_installed_1.jpg" alt="installed_1st_attempt" />
an eagle eye can spot external PSU replaced with 2 internal boards and 12V input next to new video output.
<img src="new_board_installed_2.jpg" alt="installed_back" /></p>

<p>The image finally looks great over s-video:
<img src="new_board_image.jpg" alt="installed_image" />
<img src="svideo.jpg" alt="svideo" /></p>

<p>And even beter over component although TV makes it darker and little over-saturated. This does not happen on a monitor with component input.
<img src="component.jpg" alt="component" /></p>

<p>References:</p>

<ul>
  <li>The project: <a href="https://github.com/miklasiu/amiga500_svideo">GitHub</a></li>
  <li>A520HD project: <a href="https://gglabs.us/node/983">A520HD</a></li>
  <li>AD724 datasheet: <a href="AD724.pdf">AD724.pdf</a>; <a href="https://www.alldatasheet.com/datasheet-pdf/pdf/48175/AD/AD724.html">source</a></li>
  <li>Amiga 500 Board Rev. 6: <a href="A500_R6.pdf">A500_R6.pdf</a>; <a href="https://www.amigawiki.org/dnl/schematics/A500_R6.pdf">source</a></li>
  <li>Amiga 600 Board Rev. 1.5: <a href="A600_R1.5.pdf">A600_R1.5.pdf</a>; <a href="https://www.amigawiki.org/dnl/schematics/A600_R1.5.pdf">source</a></li>
  <li>Atari 800XL: <a href="800xl_01.gif">800xl_01.gif</a>; <a href="https://jsobola.atari8.info/DEREATARI/atarisch/800xl.zip">source</a></li>
</ul>]]></content><author><name></name></author><category term="Old_Computers" /><summary type="html"><![CDATA[Some time I bought Amiga 500. It was mostly working. It turned out it needed CIA replacement (it got IRQ line stuck low permanently) and floppy cleanup and disk present switch de-oxidized. But to do all that I needed to connect it to some monitor to see what I am doing and most importantly what Amiga is doing. For troubleshooting the black and white, stock video output was enough but once fixed I wanted some color! This is my first Amiga but I know there are well known solutions to that. But they suffer from being more expensive than Amiga itself (my Amiga was 65€) or requiring custom plugs like 23 pin video connector. (or both). My 1st idea was to just build A520HD video adapter. But since I was building it from scratch I thought I’ll make an internal version. Then I though I wanted SVideo more - my 4/3 monitor does not have component input. Common solution seems to use Sony CXA1145 chip from A600 but it is unavailable (I think) and it requires an external delay line. I went with more modern AD724 instead which is much simpler. Designed and made a board: I don’t have the schematics from that time - never thought to publish it… Anyway - it didn’t obviously work. I naively assumed that DENISE pin 18 called “burst” on the schematics will output PAL 4.433MHz color burst. So it doesn’t. :) Turnes out the same people who made Atari 800 worked on Amiga and did it the same way. So burst is “base clock” / 8: 28.37512MHz / 8 = 3.54689MHz which is 4/5 of the required frequency. Hmmm Atari… Let’s borrow colorburst from Atari then: And it kind-of worked: Hardly ideal…I need to move PAL clock to my board and colors are off… The colors issue was somebody mixed op-amp legs… and most of distortion is gone once we have own clock.: Not ideal but promising. The board looks bad now though: The issues: New board needed - this one served well as a prototype but it is not reliable at all. PAL clock is not synchronized to pixel clock - there was visible moving artefacts on the pixels edges. Still a lot of noise I decided to re-do the schematics, add A600 /4*5 clock circuit (almost identical as in Atari) and order board from PCB manufacturer. Sooooo 2years have passed. I did other things :) But finally: With some more fixes - I made a mistake and swapped R and B AD724 inputs and also replacing input cables with coaxial grounded at input - the image quality is great. So here it is at GitHub. Fixes are not there yet but maybe sometime ;) an eagle eye can spot external PSU replaced with 2 internal boards and 12V input next to new video output. The image finally looks great over s-video: And even beter over component although TV makes it darker and little over-saturated. This does not happen on a monitor with component input. References: The project: GitHub A520HD project: A520HD AD724 datasheet: AD724.pdf; source Amiga 500 Board Rev. 6: A500_R6.pdf; source Amiga 600 Board Rev. 1.5: A600_R1.5.pdf; source Atari 800XL: 800xl_01.gif; source]]></summary></entry><entry><title type="html">Welcome!</title><link href="https://marcin.pl.eu.org/random_stuff/2026/03/16/welcome.html" rel="alternate" type="text/html" title="Welcome!" /><published>2026-03-16T00:00:00+01:00</published><updated>2026-03-16T00:00:00+01:00</updated><id>https://marcin.pl.eu.org/random_stuff/2026/03/16/welcome</id><content type="html" xml:base="https://marcin.pl.eu.org/random_stuff/2026/03/16/welcome.html"><![CDATA[<p>No hej!</p>]]></content><author><name></name></author><category term="Random_Stuff" /><summary type="html"><![CDATA[No hej!]]></summary></entry></feed>