Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 37
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
Mathias (41)
slash128v6 (52)


Next birthdays
02/01 Barry (70)
02/01 Snowcat (37)
02/01 wylie (43)
Contact
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.
Forums
4hv.org :: Forums :: Tesla Coils
« Previous topic | Next topic »   

Free, Open-Source MIDI Interrupter

 1 2 3 4 
Move Thread LAN_403
Intra
Wed Feb 22 2012, 12:21PM
Intra Registered Member #2694 Joined: Mon Feb 22 2010, 11:52PM
Location: Russia, Volgograd (Stalingrad).
Posts: 97
what resistance at each of the potentiometers? I did not find it either in the circuit or in code comments
Back to top
ajacks504
Wed Feb 22 2012, 02:38PM
ajacks504 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:
Link2
Back to top
Intra
Sat Mar 03 2012, 08:36PM
Intra Registered Member #2694 Joined: Mon Feb 22 2010, 11:52PM
Location: Russia, Volgograd (Stalingrad).
Posts: 97
And most importantly I have forgotten. Which fuses in the uC? ^^'
Back to top
ajacks504
Fri Mar 09 2012, 03:55AM
ajacks504 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.
1331265353 4396 FT134069 Photo2

1331265354 4396 FT134069 Photo3

1331265354 4396 FT134069 Photo4

1331265354 4396 FT134069 Photo5

1331265354 4396 FT134069 Photo6
Back to top
Goodchild
Tue Mar 13 2012, 01:34AM
Goodchild 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.

Link2

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.

Comments and suggestions are always welcome.

Happy coiling!

Back to top
Dr. Drone
Tue Mar 13 2012, 05:35AM
Dr. Drone Registered Member #290 Joined: Mon Mar 06 2006, 08:24PM
Location:
Posts: 1673
shades
Back to top
Steve Ward
Thu Mar 15 2012, 12:50AM
Steve Ward 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.

Back to top
Ben Solon
Thu Mar 15 2012, 02:31AM
Ben Solon 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$
Back to top
Goodchild
Thu Mar 15 2012, 07:38AM
Goodchild 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.
Back to top
Ben Solon
Thu Mar 15 2012, 11:56AM
Ben Solon 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.
Back to top
 1 2 3 4 

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
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.