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 #4396
Joined: Mon Feb 06 2012, 11:58PM
Location:
Posts: 30
Steve Ward wrote ...
Yup, thats right. I usually daisy chain the Vcc and ground between the 2 pots rather than provide more pads on the board for that.
Thanks again Steve. My Batch PCB panel will ship tomorrow, still waiting on the optical part samples...
Intra wrote ...
what resistance at each of the potentiometers? I did not find it either in the circuit or in code comments
It doesn't matter really. Pots have 3 terminals, the center being the "wiper". In this design, you tie the "top" of the pot to VCC, the bottom to GND, and the wiper to the uC's ADC pin. In this configuration, when you rotate the pot thru its full range of rotation, you get a voltage at the uC's ADC pin that is between 0-VCC.
The only real concern when picking a pot value is the amount of power thats going to be "burnt" up by the load resistor that it looks like across power and ground. some examples:
Power = V^2 / R (Vcc = 5V)
1k pot: P = 25mW 50k pot: P = 500uW 100k pot: P = 250uW
I'd avoid anything smaller than 10k (lowers battery life), I wouldn't go much higher than 500k, but it really wouldn't hurt much.
I plan on uploading a Mouser parts BOM for this later and showing some pics of mine when I'm done.
In case anyone was wondering, I found a decent price on some TC/TC fiber cables here:
Registered Member #4396
Joined: Mon Feb 06 2012, 11:58PM
Location:
Posts: 30
I'm still missing the fiber optic sender, and I haven't wired up the MIDI or 9V yet, but I'm making good progress, this is what Steve's board looks like.
Registered Member #2292
Joined: Fri Aug 14 2009, 05:33PM
Location: The Wild West AKA Arizona
Posts: 795
After talking with a lot of people at WWT 2012 it has become apparent that a lot of people would like to build there own MIDI controller but lack the necessary experience with programming and microcontrollers. I can't release my current AVR GCC code because it's development was funded externally.
However, I have recently put together a functioning version of some older code that works on my current MIDI controller PCB and uses the Arduino bootloader. This makes it possible for people to work with DRSSTC MIDI using the popular easy to learn arduino software. It can be run on my PCB or a Arduino board.
Hopefully this will help the people out there that maybe don't have a good background in programming get started with MIDI and DRSSTC.
I have supplied my board files and the arduino code and some simplified instruction on my website near the bottom of the page. This work is intended for hobby use ONLY. It can't be resold or used commercially without my consent.
excuse my typos on the page, I will fix them all in good time as I have a chance to read over and correct them.
Registered Member #146
Joined: Sun Feb 12 2006, 04:21AM
Location: Austin Tx
Posts: 1055
And most importantly I have forgotten. Which fuses in the uC? ^^'
I think the only thing that will really matter is to set the oscillator select fuses for an external crystal at >8MHZ. I think i usually turn off brown out detection as well.
Registered Member #3900
Joined: Thu May 19 2011, 08:28PM
Location:
Posts: 600
Hmm. This sounds interesting. I would rather build my own controller than use someone else's any day, so let me know what you decide. I am somewhat experienced with c code and the avr line. I have plenty of avr programming equipment and tools like many channel logic analyzers. If you decide to follow through with this and need help count me in. And the best part? I happen to be a high school sophomore conveniently located in Holliston MA. There aren't many people near me with a tesla coils as hobbies XD
Edit: also, I am on the verge of buying a pcb mill. So now rather than buying a 30$ board for each new version, I could help you out with by making 4x6 double sided boards for just 4.19$
Registered Member #2292
Joined: Fri Aug 14 2009, 05:33PM
Location: The Wild West AKA Arizona
Posts: 795
ben123324 wrote ...
Hmm. This sounds interesting. I would rather build my own controller than use someone else's any day, so let me know what you decide. I am somewhat experienced with c code and the avr line. I have plenty of avr programming equipment and tools like many channel logic analyzers. If you decide to follow through with this and need help count me in. And the best part? I happen to be a high school sophomore conveniently located in Holliston MA. There aren't many people near me with a tesla coils as hobbies XD
Edit: also, I am on the verge of buying a pcb mill. So now rather than buying a 30$ board for each new version, I could help you out with by making 4x6 double sided boards for just 4.19$
That was my thinking as well when I first went into designing my first controller. But It was a great help looking at some one else's code to get started. If nothing else it gets your brain moving in the right direction.
I'm not sure about every one else here but I find coding to be a bit abstract at times and it always helps me to have a starting point to reference from when starting a project as complex as this.
Registered Member #3900
Joined: Thu May 19 2011, 08:28PM
Location:
Posts: 600
Goodchild wrote ...
ben123324 wrote ...
Hmm. This sounds interesting. I would rather build my own controller than use someone else's any day, so let me know what you decide. I am somewhat experienced with c code and the avr line. I have plenty of avr programming equipment and tools like many channel logic analyzers. If you decide to follow through with this and need help count me in. And the best part? I happen to be a high school sophomore conveniently located in Holliston MA. There aren't many people near me with a tesla coils as hobbies XD
Edit: also, I am on the verge of buying a pcb mill. So now rather than buying a 30$ board for each new version, I could help you out with by making 4x6 double sided boards for just 4.19$
That was my thinking as well when I first went into designing my first controller. But It was a great help looking at some one else's code to get started. If nothing else it gets your brain moving in the right direction.
I'm not sure about every one else here but I find coding to be a bit abstract at times and it always helps me to have a starting point to reference from when starting a project as complex as this.
Yea, I am definitely more of an ee person. Writing code sometimes just comes with the job sometimes. I agree though. Programming doesn't come naturally to me, and at times is a bit... Counterintuitive.
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.