If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
Hi all
You might be interested in my new project. It uses two 18 series PICs (programmed in old-school assembly ) to transmit multiple channels of data down a single optical fibre, for Tesla coil control.
The data consists of a single interrupter channel sampled at 200kHz, plus a subcode data stream running at 50kbit/s in a format somewhat inspired by DMX, that can encode any other data you want. I plan to use this to send a couple of analog voltages, which will be sampled by the transmitting PIC's ADC and output by the receiving PIC's PWM channels, and some general purpose digital lines.
The prototype setup uses two PIC18F4431 processors clocked at 40MHz. It shows a latency of about 120us, and a jitter of 5us in the interrupter signal, as would be expected from the 200kHz sampling rate. The scope shot shows a 5us pulse being transmitted.
The data on the line is currently 1MBit/s, Manchester encoded to avoid long runs of 0s or 1s, so AC coupled Toslink receivers can be used.
The system allows for various kinds of parity and error detection, but I haven't finished all that code yet. When the code is done I will release it as open source.
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
The current system only transmits data in one direction, as it is designed around a single fibre. There's no reason you couldn't use two copies of the system though.
This is intended as a simple, low-cost system using only through-hole components. The cost difference between the Toslink optics and the HFBR series more than pays for the PICs.
I have plans for a "Teslink-2" using gigabit SFP transceivers, which can be found quite cheaply on Ebay. These could be connected to the Dallas DS90UR241/124 serdes chipset to give 24 completely general purpose digital lines sampled at 4MHz, or hooked up directly to the FPGA in a future FPGA-based driver. This would be a serious project needing 4 layer boards and SMT assembly, though.
Registered Member #15
Joined: Thu Feb 02 2006, 01:11PM
Location:
Posts: 3068
Great project.
I've actually done this before and use it pretty extensively, although i didn't use it for Tesla Coils.
I use it for transmitting control and analog data to a high voltage floating deck which contains filament and grid power supplies for high power microwave tubes. The filaments and grids must be monitored and controlled via fiber optic, as the deck is floating at anywhere from 40-60kV, so this was a way of doing it without using a single fiber for every single signal.
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
As promised, the code! This version currently transmits the interrupter signal and two 10-bit analog values, which are reconstructed as 2.4kHz PWM at the receiver. Feel free to hack away! It could do with some general-purpose digital outputs.
Registered Member #3324
Joined: Sun Oct 17 2010, 06:57PM
Location:
Posts: 1276
I have som interest in fibre optics. My main thing is i can't find any good places to find the fibre optic cables, recievers, transmitters or trancievers.
Registered Member #3324
Joined: Sun Oct 17 2010, 06:57PM
Location:
Posts: 1276
Thanks Steve, i found the ones you are talking about now.
Also had a look at the SFP transceivers Very cheap and interesting really, as it happens each module works out around the price of a pair. maybe a bit more when used and from ebay...
One thing i did notice, is that they should be mounted into a frame on a PCB.. where would you get somthing like that? I searched high and low online with little to no sucess.
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.