6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Wed Nov 13, 2024 6:31 am

All times are UTC




Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sun Apr 28, 2024 5:59 pm 
Offline

Joined: Sun Apr 28, 2024 5:15 pm
Posts: 7
Location: Italy
Hi Everyone,
I'm a long term 6502 fan in Italy, obviously I had a C64 when I was a child.
It's from 2020 that i'm crafting my own 6502 Singleboard/Multiboard computer (later a brief description)
I wish to share my latest creation, just in case someone is interested, a DMX output board for 6502 based system.
By now it's on breadboard, I'm waiting to receive a PCB from a well known prototype manifacturer.

Here some features:
- 2Kb static ram on board
- It delivers 512 DMX channels without any charge on the CPU
- It has got 3 registers: DMX_ADD_LOW,DMX_ADD_HIGH,DMX_DATA
- Interfaces directly on main BUS
- needs an 1Mhz clock signal to work properly
- 5V power source

Shortly I will post schematics and photos...

just to mention:
SittingBull is my 6502 SBC
classic layout 6502+6522+32Kb SRam+32Kb EPROM (16Kb used+16Kb i/o address space)+6551UART
currently working on:
VGA card 640x480sync, 160x120,3Bpp (8 colours)
SPI interface SD-CARD reader/writer

_________________
SittingBull


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 30, 2024 1:29 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
"DMX512, a communications protocol that is most commonly used to control stage lighting and effects"

Quote:
Shortly I will post schematics and photos...
Welcome, Sittingbull :) And BTW just a reminder... on this forum you're allowed to include attachments with your posts.

-- Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 30, 2024 7:14 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8483
Location: Midwestern USA
Dr Jefyll wrote:
"DMX512, a communications protocol that is most commonly used to control stage lighting and effects"

I have to admit I had no idea what DMX512 was before doing an Internet search on it.  My knowledge of stage lighting stops in the era when Variacs controlled things.  :D

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Wed May 01, 2024 3:37 pm 
Offline

Joined: Sun Apr 28, 2024 5:15 pm
Posts: 7
Location: Italy
BigDumbDinosaur wrote:
Dr Jefyll wrote:
"DMX512, a communications protocol that is most commonly used to control stage lighting and effects"

I have to admit I had no idea what DMX512 was before doing an Internet search on it.  My knowledge of stage lighting stops in the era when Variacs controlled things.  :D


I forgot... DMX512 or simply DMX is a serial protocol used to control stage lights and more.
It's basically an implemetation of RS485 on a balaced 120Ohm line.
It's easy, it's just bitbanging at 250Kbit/s. My first version was made with the 6551 uart but it was so demanding on cpu that it could do only that job.

_________________
SittingBull


Top
 Profile  
Reply with quote  
PostPosted: Wed May 01, 2024 4:00 pm 
Offline

Joined: Wed Jan 08, 2014 3:31 pm
Posts: 578
I would love to see the details on your VGA interface. Do your use CPU generated signals or video chip?


Top
 Profile  
Reply with quote  
PostPosted: Wed May 01, 2024 6:00 pm 
Offline

Joined: Sun Apr 28, 2024 5:15 pm
Posts: 7
Location: Italy
Martin_H wrote:
o your use CPU gener


Hi Martin,
i'm pleased of your interest.
in brief I use counters to take out timing signals programmed in a EPROM, then counters (llots of 74ls161) to take out 3 bit from a 32Kbyte Sram (video ram) in order to put color signals in sync.
The bus interface is 2x74ls273 and a 74ls245 with some glue logic + 4x74ls157.
The problem is that writing an entire screen causes lots of flickering... sooner or later I will put on the logic to allow writes only during blanking, but I don't want to insert wait states to the processor, I will use a FIFO buffer. To be enginereed... :D


Attachments:
File comment: Timing board...
VGA_TimingBoard.jpg
VGA_TimingBoard.jpg [ 2 MiB | Viewed 1246 times ]

_________________
SittingBull
Top
 Profile  
Reply with quote  
PostPosted: Wed May 01, 2024 6:09 pm 
Offline

Joined: Sun Apr 28, 2024 5:15 pm
Posts: 7
Location: Italy
Here you are...
PCB with chips mounted, soon resistors and capacitors...

Kicad project. please note that kicad project is derived from breadboard construction, and I could not test pcb yet... it can be Buggy... :shock: :shock: :shock:

when everytingh will be tested I will notice here...


Attachments:
File comment: Kicad
DMX-OUT.rar [127.26 KiB]
Downloaded 40 times
File comment: PCB not yet finished
DMXOUT_PCB_1.jpg
DMXOUT_PCB_1.jpg [ 2.45 MiB | Viewed 1245 times ]

_________________
SittingBull
Top
 Profile  
Reply with quote  
PostPosted: Wed May 01, 2024 6:16 pm 
Offline

Joined: Tue Jul 05, 2005 7:08 pm
Posts: 1042
Location: near Heidelberg, Germany
Some empty holes are for bypass capacitors? Best practice is to have an own bypass cap per chip. With all chips 74LS types chances are it'll work, but your mileage may vary

André

_________________
Author of the GeckOS multitasking operating system, the usb65 stack, designer of the Micro-PET and many more 6502 content: http://6502.org/users/andre/


Top
 Profile  
Reply with quote  
PostPosted: Wed May 01, 2024 7:57 pm 
Offline

Joined: Mon Feb 15, 2021 2:11 am
Posts: 100
Sittingbull wrote:
BigDumbDinosaur wrote:
Dr Jefyll wrote:
"DMX512, a communications protocol that is most commonly used to control stage lighting and effects"

I have to admit I had no idea what DMX512 was before doing an Internet search on it.  My knowledge of stage lighting stops in the era when Variacs controlled things.  :D


I forgot... DMX512 or simply DMX is a serial protocol used to control stage lights and more.
It's basically an implemetation of RS485 on a balaced 120Ohm line.
It's easy, it's just bitbanging at 250Kbit/s. My first version was made with the 6551 uart but it was so demanding on cpu that it could do only that job.




Reading up on it, I am guessing DMX512 was what the 80186-based digital lighting control board we had in the high school theater used. There was an XLR-type connector on the lightboard which had a cable that ran to a wall socket in the tech booth. Down in the basement there was a similar cable running to a huge rack of dimmer units, that controlled the mains voltage for around a hundred circuits that ran up to and above the stage and out to the catwalks.


Top
 Profile  
Reply with quote  
PostPosted: Wed May 01, 2024 9:41 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8483
Location: Midwestern USA
Sean wrote:
Reading up on it, I am guessing DMX512 was what the 80186-based digital lighting control board we had in the high school theater used. There was an XLR-type connector on the lightboard which had a cable that ran to a wall socket in the tech booth. Down in the basement there was a similar cable running to a huge rack of dimmer units, that controlled the mains voltage for around a hundred circuits that ran up to and above the stage and out to the catwalks.

When I was in high school (I was a freshman in 1959), the auditorium stage lighting was controlled by manually turning the knobs on multiple Variac autoformers.  The smoothness of increasing or decreasing lighting levels was entirely dependent on how smoothly one turned the Variac knobs.  Sometimes-comical effects resulted when the wrong knobs got turned at the wrong time, or the correct knobs got turned too fast/slow.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Thu May 02, 2024 4:10 am 
Offline

Joined: Mon Jan 19, 2004 12:49 pm
Posts: 962
Location: Potsdam, DE
I set the lights for this little event, back around 1980. Poor Jan never quite forgave me :mrgreen:

https://www.youtube.com/watch?v=n6GgPdpQ7To (sorry about the laugh track that's been added).

Neil


Top
 Profile  
Reply with quote  
PostPosted: Thu May 02, 2024 8:51 pm 
Offline

Joined: Sun Apr 28, 2024 5:15 pm
Posts: 7
Location: Italy
fachat wrote:
Some empty holes are for bypass capacitors? Best practice is to have an own bypass cap per chip. With all chips 74LS types chances are it'll work, but your mileage may vary

André


In fact I'm not a fan of bypass capacitors, on the other hand I'm a fan of your works...

Thanks for your comment.

_________________
SittingBull


Top
 Profile  
Reply with quote  
PostPosted: Thu May 02, 2024 9:00 pm 
Offline

Joined: Sun Apr 28, 2024 5:15 pm
Posts: 7
Location: Italy
Why dmx?? When I started this project I mean to build a uP controlled light desk...
Now it's a bit overengineered... It overwelmed me...

_________________
SittingBull


Top
 Profile  
Reply with quote  
PostPosted: Fri May 03, 2024 12:29 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8483
Location: Midwestern USA
Sittingbull wrote:
fachat wrote:
Some empty holes are for bypass capacitors?  Best practice is to have an own bypass cap per chip. With all chips 74LS types chances are it'll work, but your mileage may vary

André

In fact I'm not a fan of bypass capacitors, on the other hand I'm a fan of your works...

Uh...bypass capacitors in digital work should not be considered an option if circuit stability and predictability are expected.  Saying you’re “not a fan of bypass capacitors” is kind of like a competition marksman saying “I'm not a fan of rifled barrels.”

Incidentally, 74LS logic is not a recommended choice for new designs.  If you are interfacing to a circuit being driven by a 74LS device, make that connection with a 74HCT (fast with gentle edges), 74ACT (very fast with aggressive edges) or 74AHCT (very fast with gentle edges) equivalent.  Other devices can be 74HC, 74AC or 74AHC, since that part of the circuit will be 100 percent CMOS and no TTL compatibility will be required.  The resulting circuit will have better noise resistance, be more tolerant of bus loading, and will consume less power.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Sun May 05, 2024 8:50 am 
Offline

Joined: Sun Apr 28, 2024 5:15 pm
Posts: 7
Location: Italy
Quote:
In fact I'm not a fan of bypass capacitors, on the other hand I'm a fan of your works...
Uh...bypass capacitors in digital work should not be considered an option if circuit stability and predictability are expected.  Saying you’re “not a fan of bypass capacitors” is kind of like a competition marksman saying “I'm not a fan of rifled barrels.”

It was just a pun...
I made everything on breadboard, with 4 capacitors and it worked as espected, hoping on pcb with 6 cap it replays...
It's the first time for me with pcb... :mrgreen:
I will put every capacitor needed on rev. 2

Quote:
Incidentally, 74LS logic is not a recommended choice for new designs.  If you are interfacing to a circuit being driven by a 74LS device, make that connection with a 74HCT (fast with gentle edges), 74ACT (very fast with aggressive edges) or 74AHCT (very fast with gentle edges) equivalent.  Other devices can be 74HC, 74AC or 74AHC, since that part of the circuit will be 100 percent CMOS and no TTL compatibility will be required.  The resulting circuit will have better noise resistance, be more tolerant of bus loading, and will consume less power.


okay, forgot to mention I'm using - not only but as many i can - used parts, wich I took off from 80's Olivetti computer pcb.
A firiend of mine has his backyard full of these parts, time to time I catch something for free...
I know that for the purists it's awful but I also mix 74LS with 74HC, as long as they work togheter for me is fine... :D

I really appreciate the comments as for me it's schooling... I'm a self-taught person...

_________________
SittingBull


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: