Let's Design and Build a (mostly) Digital Theremin!

Posted: 10/4/2024 11:06:00 AM
gerbold

Joined: 9/26/2024

Dewster, these images help a lot! Many thanks.

Finding the TOSLINK_TX part is difficoult.
post 1878: Buggins Q: "What parts are used in your design as optical (toslink) transmitter and receiver?"
post 1879: Dewster A: "https://www.goldmine-elec-products.com/prodinfo.asp?number=G16911B" with reference to Roger (pitts8rh) for the footprint.
This part is no longer available.

Just be the look of it, comparing with fotos of the main PCB, this ebay link may be it. These parts are obviously second choise with bent pins. Anyway I'd have bought them, but the parts will not be sent to Germany.
https://www.ebay.de/itm/111692790134?srsltid=AfmBOorU-U-4gMkfkj_Aws3tB-Ft9HFrAEjeiS5_0Bl4NWN_0WJSopwv

I may have to go for a different part Toslink transmitter and update the footprint.
As an alternative move the Toslink transmitter to the IO extension and connect it with a ribbon cable.
This could be the alternative: https://docs.rs-online.com/d4d9/A700000009791094.pdf

Posted: 10/4/2024 2:22:37 PM
dewster

From: Northern NJ, USA

Joined: 2/17/2012

"Finding the TOSLINK_TX part is difficoult."  - gerbold

Yes, especially finding them for not outrageous prices.  Here are a couple on the US portal of eBay, doesn't say they do/don't ship to Germany:

https://www.ebay.com/itm/125935980277
https://www.ebay.com/itm/283080774405

Amazon:
https://www.amazon.com/dp/B0B1YGV918
https://www.amazon.com/dp/B09SNW3FLJ

You could just leave the TOSLINK TX off and use the electrical SPDIF connection on the expansion port.  SPDIF works just as well, though it doesn't provide the electrical isolation of TOSLINK (only a possible issue if you experience ground loop hum).

Posted: 10/5/2024 8:36:24 AM
gerbold

Joined: 9/26/2024

The last link was helpful. The brand is elecbee. A search revealed the companies web site. It ships worldwide and the prices are much lower than in Amazon.
https://www.elecbee.com/en-12563-toslink-socket-fiber-connector-optical-fiber-right-angle-panel-mount-with-self-tapping-hole

Posted: 10/6/2024 4:09:02 PM
dewster

From: Northern NJ, USA

Joined: 2/17/2012

"The last link was helpful. The brand is elecbee. A search revealed the companies web site. It ships worldwide and the prices are much lower than in Amazon." - gerbold

~$0.50 each is a good price!  $10 shipping (to the US) is a bit steep though.  Glad you found a solution!

Posted: 10/7/2024 6:49:20 AM
gerbold

Joined: 9/26/2024

As I'm not a friend of flying wires, I thought about an IO-extension board for the D-Lev.
First idea how to connect it. Actually the 3pin electric connection for the Toslink are not required.

This is a first draft. All theory and untested.


Connectors from left to right:
- USB (serial connection and power supply)
- Mute button and LED
- ACAL button
- MIDI out
- Line Toslink + S/PDIF out
- Monitor Toslink + S/PDIF out

All left of the LED is a builtin USB/serial TTL (3.3V) converter. It is based on MCP2221A with max 460800 bps. One can get it as DIP14 or as SOIC14. Both are foreseen as an option.

All the USB part does not need to be assembled. It can be replaced with an AZ-Delivery HW-598USB based on the CP2102 that has an internal LDO that delivers the 3.3V for the Toslink. It is delivered with 5 pin ribbon cable that can be connected to the 5 pin header.

In order to get Toslink and S/PDIF working on the IO-extension, some changes are required when assembling the main board (but no layout changes):
- replace C3 and R8 with 0 Ohm bridges in order to get spdif_tx[0] to J2
- replace C4 and R9 with 0 Ohm bridges in order to get spdif_tx[1] to J2
- ommit R10, R11

The most problematic part is the combined Toslink + S/PDIF connector. I think there is only a single source for it.

Posted: 10/7/2024 7:23:49 AM
gerbold

Joined: 9/26/2024

"~$0.50 each is a good price!  $10 shipping (to the US) is a bit steep though." - dewster
When following the ordering process, there is an option (at least for Germany) to select economy shipping. It takes about two weeks but it costs only 4.30€, which is less than I have to pay for some orders within the country.

In general I'm ordering parts for 6 D-Levs. Thus the shipping cost effect is less than for a single instance.
At the moment two of my colleagues show interrest. One is a mucisian (trombone player) and the second is a DIY guy with a genral interrest in music. Hopefully I find three more interrested people.

Posted: 10/14/2024 4:18:21 AM
gerbold

Joined: 9/26/2024

On step further.
I received the FPGA modules and the USB blaster. I managed to load the FPGA with the Quartus Programmer.
As I do not yet have all the D-Lev electronics, I just tried to communicate with a 3V USB/serial TTL converter.

I used the Tera Term setup described here: http://www.thereminworld.com/forums/T/28554?post=214537#214537

The communication appears to work. I type `0 9 rr ` (the blank at the end is relevant!)

Code:
>0 9 rr
[0]13127eff
[1]d0e3e5b7
[2]4000000
[3]0
[4]0
[5]80000020
[6]ff
[7]0
[8]0
[9]0


What else can I test with the standalone FPGA board?

Posted: 10/14/2024 1:59:00 PM
dewster

From: Northern NJ, USA

Joined: 2/17/2012

"What else can I test with the standalone FPGA board?"  - gerbold

Looks like you're making good progress!  There's no EEPROM attached yet, but you might try messing with it via the librarian rather than Tera Term:

  https://d-lev.com/support/d-lib_2024-02-25.zip

Other than that, I can't think of anything.

Posted: 10/14/2024 7:19:30 PM
André

From: 30 km south of Paris (France)

Joined: 12/23/2022

Hi dewster,
I contacted gerbold and I'm going to assemble one of the six D-Lev's he is preparing.

I have a question about the analog outputs.

In this video, you say at 8:13 that the volume control of the Prozor DAC controls both headphone and line volume, and you show the two 1/4" jacks on the right of the output panel. So, I understand that the Toslink or S/PDIF output carry both signals, which are then decoded and separated by the DAC.
But, earlier on the video, you talk of these output jacks as the stereo outputs.
Also several times in this thread here on TW, you mention the pseudo stereo signal generated by the D-Lev.

So it's a bit confusing.
Does a DAC connected to the digital output (Toslink or S/PDIF) produce a pseudo stereo line output or headphone and line outputs ,
Or is it selectable somehow ?

Thanks for your clarification.

Posted: 10/14/2024 7:27:57 PM
gerbold

Joined: 9/26/2024

d-win.exe is communicating with the FPGA. Obviously it can't do a lot without the EEPROM and other hardware around.

You must be logged in to post a reply. Please log in or register for a new account.