LaserBoy

Software => Laser Software => Hinged Newt => Topic started by: Lazerjock on August 19, 2009, 11:35:48 am

Title: USB / TTL circuit info
Post by: Lazerjock on August 19, 2009, 11:35:48 am
Wow! Gary you are fast.
Here is the link to the USB to TTL converter. I don't know why but you have to scroll to the bottom of the page to see the product after the page loads. At least on my computer.


http://www.circuitgizmos.com/products/cgu401/cgu401.shtml

Lazerjock
Title: USB / TTL circuit info
Post by: Fanny Pack on August 19, 2009, 09:39:52 pm
Thanks for the link.  This is going to be fun. 
Title: USB / TTL circuit info
Post by: Lazerjock on August 21, 2009, 07:24:54 am
Here is another link to the Online Developer Notebook for the USB to TTL board. It isn't real obvious how to get there from the original link I sent.

http://www.usbmicro.com/odn/index.html

Tonight I will try to post the FET I used and a simple wiring diag. showing how to connect it to the USB board.
It is very simple.

Lazerjock
Title: USB / TTL circuit info
Post by: Fanny Pack on August 21, 2009, 06:22:10 pm
Thanks, and no rush.  It will be awhile before I am ready to actually start communicating with a device.  First I have to add support for TTL/DMX layers, multiple devices, multiple scanners, etc.  I don't really have to do all that to add TTL support but since I will be working in all the same code it makes sense to do that.  Once I get done with all of that Spaghetti will be mostly complete.  I may add some new effects or tweak here and there but other than that all of the functionality will be there that I ever planned.  I do plan on adding a frame editor similar to LaserBoy at some point but I may hold off on that and do some work on Wet Noodles.  So much to do.
Title: USB / TTL circuit info
Post by: Lazerjock on August 22, 2009, 10:57:22 am
For anyone interested.
Here is the schematic to connect the USB to TTL board to an external device such as a GM-20 actuator. I use it in my projector to steer the main beam into my Lumia wheel as well as the Machita diffraction gratting. This could be used to control almost anything (Strobes, Smoke Machines, Stage lights) with an added relay to switch 110 VAC.

The FET I'm using IRFU120N can handle (according to the data sheet) 9.4 Amps cuntinuous @ 10 Volts DC max .

I'm using 12 Volts DC which gives me 7.8 Amps to work with. I am not drawing anywhere near 7.8 Amps. I may be drawing 1 Amp. So these FET's have pleanty of head room and they're small too. I would recommend a heat sink if you plan to draw more than 1 Amp.

The FET's are available from Digi-Key for .62 each with no minimum required. The Digikey part #  IRFU120NPBF-ND

Feel free to contact me with questions.

Lazerjock
Title: USB / TTL circuit info
Post by: James on August 22, 2009, 02:34:17 pm
That's AWESOME!

It's so simple!

Will it switch +5VDC?

I've been wanting something like this for years!

(Shows you how lazy I am!)  %)

I wanted to use it on the output of a parallel port to switch LEDs.

I was thinking about doing PWM for dimming and mixing RGB.

James.  :)
Title: USB / TTL circuit info
Post by: drlava on August 22, 2009, 08:53:31 pm
You might want to put a reverse biased diode parallel with the load to shunt its back emf at turn-off to protect the FET.  Some loads are inductive, like shutters.
Title: USB / TTL circuit info
Post by: Fanny Pack on August 22, 2009, 09:06:35 pm
:)  You need to come up with a DrLava TTL driver/protection board.
Title: Re: USB / TTL circuit info
Post by: Lazerjock on August 23, 2009, 08:25:20 am
You might want to put a reverse biased diode parallel with the load to shunt its back emf at turn-off to protect the FET.  Some loads are inductive, like shutters.

Yea the original design had a reversed bias diode, but I didn't have them at the house. With SELEM looming I went without it and it seemed fine. When I drew the schematic I ment to add it and forgot.
Sorry.

I updated the schematic.

Lazerjock
Title: Re: USB / TTL circuit info
Post by: Lazerjock on August 23, 2009, 08:42:06 am
That's AWESOME!

It's so simple!

Will it switch +5VDC?

I've been wanting something like this for years!

(Shows you how lazy I am!)  %)

I wanted to use it on the output of a parallel port to switch LEDs.

I was thinking about doing PWM for dimming and mixing RGB.

James.  :)

James,
This FET is capable of switching 100 volts max. I can't see a minimum drain voltage anywhere on the data sheet. My guess is it will have no problem with 5 volts.

Lazerjock
Title: Re: USB / TTL circuit info
Post by: Fanny Pack on October 06, 2009, 09:36:25 pm
LazerJock: I should have something for you to play with soon.  Not a finished product but you will be able to see if things work.  But, are you still around?  Haven't heard anything from you lately.
Title: Re: USB / TTL circuit info
Post by: cfavreau on October 07, 2009, 10:57:17 am
I would suggest finding a FET with built in back EMF diodes.  There are plenty of them out there that can handle quite a bit of voltage and current... and they are cheaper than Bipolar transistors...
Title: Re: USB / TTL circuit info
Post by: cfavreau on October 07, 2009, 02:25:25 pm

FQP30N06L-ND

http://search.digikey.com/scripts/DkSearch/dksus.dll?lang=en&site=US&WT.z_homepage_link=hp_go_button&KeyWords=fqp30n06l&x=0&y=0

N-Channel Logic Level
60V @ 32A
TO-220 Case

$0.83 in single quantity.
Title: Re: USB / TTL circuit info
Post by: James on October 07, 2009, 02:40:56 pm
I'm so glad to see people openly discussing electronics!

I love to see sharing for the advancement of technology in general.

More, more, more!!!  ;D

James.  :)
Title: Re: USB / TTL circuit info
Post by: Lazerjock on October 08, 2009, 12:10:22 pm
I'm still here.
We (the wife and I) are dealing with some family problems.
Her sister has breast cancer and is having a double mastectamy today, and my aunt just had brain surgery to remove a tumor last Monday.
My wife's position at work was eliminated due to cut backs. She still has a job, just back in the lower position she started at.

It's been a little rough the last few weeks. I did throw a big birthday party for the wife last weekend to try to bring us out of this funk. I broke out the laser projector after dark. Most of the guests never saw anything like it before.

Lazerjock
Chris
Title: Re: USB / TTL circuit info
Post by: Fanny Pack on October 08, 2009, 05:56:16 pm
Thanks for checking in and I'm sorry to hear about all of the stuff going on at home.  After being laid off and having to move across the country a few months back I know how stressful those life changes can be.

I'm wrapping up the driver for the USB micro device and should have it ready for testing soon.  Once you have some breathing room let me know and I can set you up with a build.  I'd like to hear how it works for you since I don't have the hardware. 
Title: Re: USB / TTL circuit info
Post by: James on October 08, 2009, 08:15:06 pm
Any one of those things is very unfortunate, but to have all of them at once must be extra tough. I sure hope it all works out for the best.

I wish you well!

James. :)
Title: Re: USB / TTL circuit info
Post by: meandean on October 08, 2009, 10:44:22 pm
  Best wishes, both of my brothers and I have had some difficult times times lately, too.
Title: Re: USB / TTL circuit info
Post by: Lazerjock on October 10, 2009, 06:42:13 pm
Thank you all for your kind words.
I really appreciate friends like you.

Gary, I don't like to make people wait on me. Besides it will be a good distraction. So when ever you are ready for me to test just let me know.

Lazerjock
Chris
Title: Re: USB / TTL circuit info
Post by: Fanny Pack on October 14, 2009, 09:56:13 pm
Well, I thought I was ready but I have since realized that I need to do a lot more configuration work before I want to give it out.  Mostly I sit around thinking of logical ways of making the configuration work.  The problem I am having to solve is how to make it so that person A can write a show that uses TTL devices X,Y,Z and let person B load that show who has TTL devices Q,R,S,T,U.  Additionaly, it may be person C writing the show who has no devices but is adding support for certain devices G,H,I to the show for someone who might have them.  In the end, there has to be the ability to map whatever was added to the show to whatever the end user has and make it so that the end user doesn't have to work too hard to configure it.  And finally, the TTL controllers may be totally different.  Who knows if it is hooked up to pins 1 of an EasyLase or pin 3 of a USBMicro?  Then, there is support for devices that might use more than 1 pin so that they are smarter.  There has to be a way of configuring what the different pin on/off states mean.   So, as you can see, it is quite the configuration nightmare!  The same type of situation exists for multiple projectors but since they all have a common ILDA interface there isn't much to worry about.  DMX should be simpler as well.  I haven't even started on that but most of the TTL stuff can be reused.  Most of the pieces of the puzzle are in place but I keep going back and forth on whether or not I like that.  Anyway, just letting you know whats going n.

Title: Re: USB / TTL circuit info
Post by: Fanny Pack on October 14, 2009, 10:02:13 pm
To explain more, I am thinking of creating a Spaghetti library of TTL devices and each will have it's own unique ID (GUID).  There will be a "Generic 1 pin device" with a GUID that never changes and that will probably satisify 90% of the devices.  But, I can also define some 2 pin lumia device with defined states and if another person has that same hardware, the GUID will make it plug and play.  The problem is that I don't know of any off the shelf TTL devices.  It's hard to account for the homebrew stuff since you never know what you will need to control. 

I think that the first release will only support 1 pin devices (even though internally) I can handle multi pin devices.  As people want to add support for multi pin devices they can talk to me and we can figure out a plan. 

The problem only really exists when different people share shows since they might not have the exact same hardware. 
Title: Re: USB / TTL circuit info
Post by: drlava on October 15, 2009, 10:15:28 am

Hi Gary,

8-bit multiples for control devices are common.  each configuration event could have 2 rows of checkboxes, one row for turning bits on, and another row for turning bits off.  The bits that aren't checked aren't changed from their previous state.  Another option is to use bitmasking for the event but that might be less intuitive to many people.
Title: Re: USB / TTL circuit info
Post by: Lazerjock on October 15, 2009, 12:42:35 pm
Wow how would have thought this would be so difficult.
Thanks for all of your hard work Gary.

Lazerjock
Title: Re: USB / TTL circuit info
Post by: Fanny Pack on October 15, 2009, 06:35:40 pm
Yea, there will be a lot more to configure with this next release of Spaghetti.  But, I hope that the waying I am designing it will make it easy for people to understand and use.
Title: Re: USB / TTL circuit info
Post by: Fanny Pack on October 15, 2009, 08:05:39 pm
Alright, I figured out how I want to do the configuration.  Now, I need some input from everyone who has TTL devices that they will want to control.  I am going to create some hardcoded configurations so things will be easier out of the box.

I need to know:
(1) What the device is.  (Name and description).
(2) Number of TTL pins it has.
(3) What the states of the pins mean.  For one pin devices, it would most likely mean On = High and Off = Low.  If you aren't sure what this means the contact me off line.

Thanks.
Title: Re: USB / TTL circuit info
Post by: Fanny Pack on October 17, 2009, 09:00:25 pm
So, I spent two months adding multiprojector and TTL support and no one wants it?  LOL. 
Title: Re: USB / TTL circuit info
Post by: meandean on October 17, 2009, 10:06:27 pm
  There's nothing like the satisfaction of doing a lot of work for nothing! ;D
Title: Re: USB / TTL circuit info
Post by: Fanny Pack on October 18, 2009, 07:07:33 am
For the most part, I did it for myself but Laserjock expressed an interest in the TTL stuff so I made that a priority.  I guess the problem is that most people can only scratch enough stuff together for one projector and aren't really interested in the external DMX/TTL devices.   I actually thought about approaching some different folks on here to team up and design/produce some very simple/cheap off the shelf lumia wheels and things of that nature that could be bought and work out of the box.  But, I started adding up parts and the cost was higher than I wanted so I dropped the idea.  Instead, I may come up with some "plans" that I can post on my website.  I'd really like to get people interested in more than single projector shows and need the availability of hardware to drive that.  I'll should be done with the programming of it all very soon and will move on to the giant list of other things that need to be done for this release.
Title: Re: USB / TTL circuit info
Post by: Lazerjock on October 18, 2009, 01:59:32 pm
You know I want it Gary.
I figured since I sort of started the whole idea that you knew what I had already. If not here you go:

1.    U401 USB Interface from CircuitGizmos.com
2.    16 I/O's
3.    Not sure, I think ON=Hi and OFF=Low

Chris
Lazerjock
Title: Re: USB / TTL circuit info
Post by: Lazerjock on October 18, 2009, 02:14:46 pm
For the most part, I did it for myself but Laserjock expressed an interest in the TTL stuff so I made that a priority.  I guess the problem is that most people can only scratch enough stuff together for one projector and aren't really interested in the external DMX/TTL devices.   I actually thought about approaching some different folks on here to team up and design/produce some very simple/cheap off the shelf lumia wheels and things of that nature that could be bought and work out of the box.  But, I started adding up parts and the cost was higher than I wanted so I dropped the idea.  Instead, I may come up with some "plans" that I can post on my website.  I'd really like to get people interested in more than single projector shows and need the availability of hardware to drive that.  I'll should be done with the programming of it all very soon and will move on to the giant list of other things that need to be done for this release.

The idea of the TTL board was to allow people to use it any way they want. Thats why I provided the schematic showing what FET to use. This allows the user to connect almost any 12v device to the TTL board. If they want to control 110vac, use the FET to switch a 110vac relay. This opens a whole world of options.

With that said Gary, was making it user friendly by providing pre-set outputs.

I like the idea of providing Lumia wheels or at least the plans and maybe simple beam accuators using solinoids. I figure if people can build a projector they can cobble togother a simple Lumia wheel and beam pick off. Most of that info is out there already anyway.

Then again maybe I'm giving the average Joe too much credit.

Lazerjock
SimplePortal 2.3.7 © 2008-2024, SimplePortal