<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/6215" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2011-11-25T10:45:11+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/6215</id>

		<entry>
		<author><name><![CDATA[eslavko]]></name></author>
		<updated>2011-11-25T10:45:11+02:00</updated>

		<published>2011-11-25T10:45:11+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20285#p20285</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20285#p20285"/>
		<title type="html"><![CDATA[Re: Isolation?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20285#p20285"><![CDATA[
<blockquote><div><cite>Micha wrote:</cite><blockquote><div><cite>eslavko wrote:</cite><blockquote><div><cite>Micha wrote:</cite><br />What are R1/R2/D1/D2 for? You also have to consider that many/most optocouplers have an open collector output and therefore need another pullup.</div></blockquote></div></blockquote></div></blockquote><br />That's are pullup as photocoupler are open collector. And diode asc as tristate switch when anode is low.<br /><br />I will try that when I have little more spare time.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4732">eslavko</a> — Fri Nov 25, 2011 10:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2011-11-25T08:18:40+02:00</updated>

		<published>2011-11-25T08:18:40+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20284#p20284</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20284#p20284"/>
		<title type="html"><![CDATA[Re: Isolation?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20284#p20284"><![CDATA[
<blockquote><div><cite>eslavko wrote:</cite><blockquote><div><cite>Micha wrote:</cite>You could add another (non-inverting) buffer that drives the LEDs of IC4. Or you connect R5 and R6 also to AVR_DIR and place a MOSFET which you drive with USB_D+/-.</div></blockquote><br />R5 and R6 are already driven by AVR. Probably the USB bus can't sink or source enought current to drive LED directly so some buffer will be needed.</div></blockquote><br />I know that they are already driven by the AVR. But you have an inverter (IC1) in there. If you connect the resistors directly to AVR_DIR you could use the inversion which is coming through driving the LEDs by a MOSFET. Something like: AVR_DIR -&gt; R5.1/R5.2 -&gt; LED.A/LED.C -&gt; N-chan.D/N-chan.S -&gt; USB-GND where N-chan.G is connected to USB_D+/- (.1/.2/.A/.C/.D/.S/.G are the corresponding pins of the components).<br /><br />What are R1/R2/D1/D2 for? You also have to consider that many/most optocouplers have an open collector output and therefore need another pullup.<p>Statistics: Posted by Guest — Fri Nov 25, 2011 8:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eslavko]]></name></author>
		<updated>2011-11-24T14:46:34+02:00</updated>

		<published>2011-11-24T14:46:34+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20279#p20279</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20279#p20279"/>
		<title type="html"><![CDATA[Re: Isolation?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20279#p20279"><![CDATA[
<blockquote><div><cite>Micha wrote:</cite>You could add another (non-inverting) buffer that drives the LEDs of IC4. Or you connect R5 and R6 also to AVR_DIR and place a MOSFET which you drive with USB_D+/-.</div></blockquote><br /><br />R5 and R6 are already driven by AVR. Probably the USB bus can't sink or source enought current to drive LED directly so some buffer will be needed.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4732">eslavko</a> — Thu Nov 24, 2011 2:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2011-11-24T09:23:55+02:00</updated>

		<published>2011-11-24T09:23:55+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20276#p20276</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20276#p20276"/>
		<title type="html"><![CDATA[Re: Isolation?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20276#p20276"><![CDATA[
You could add another (non-inverting) buffer that drives the LEDs of IC4. Or you connect R5 and R6 also to AVR_DIR and place a MOSFET which you drive with USB_D+/-.<p>Statistics: Posted by Guest — Thu Nov 24, 2011 9:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eslavko]]></name></author>
		<updated>2011-11-23T18:49:41+02:00</updated>

		<published>2011-11-23T18:49:41+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20273#p20273</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20273#p20273"/>
		<title type="html"><![CDATA[Re: Isolation?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20273#p20273"><![CDATA[
The pullup for device recongnision to D- is not drawn.<br />The pullups shown was enabled only when AVR is in transmitt mode. When receiving there are actualy pulldown but diodes make that like Tristated. I'm afraid that USB lines are to weak to drive optocouplers (AVR in receive mode)<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4732">eslavko</a> — Wed Nov 23, 2011 6:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2011-11-23T17:33:23+02:00</updated>

		<published>2011-11-23T17:33:23+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20272#p20272</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20272#p20272"/>
		<title type="html"><![CDATA[Re: Isolation?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20272#p20272"><![CDATA[
Hmm, maybe this could work. Don't forget pullups on the AVR side (depending on the optos you choose). But I think enumeration will be a problem as a 1k5 pullup has to be either on D- for low speed OR on D+ for full speed devices. No idea what happens when there's a pullup on each signal.<p>Statistics: Posted by Guest — Wed Nov 23, 2011 5:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eslavko]]></name></author>
		<updated>2011-11-23T13:59:44+02:00</updated>

		<published>2011-11-23T13:59:44+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20271#p20271</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20271#p20271"/>
		<title type="html"><![CDATA[Re: Isolation?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20271#p20271"><![CDATA[
Something like this...<br /><br />Power supply and Rx/Tx control isn't isolated here <a href="http://slavko.kocjancic.eu/vusb.pdf" class="postlink">http://slavko.kocjancic.eu/vusb.pdf</a><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4732">eslavko</a> — Wed Nov 23, 2011 1:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2011-11-23T13:09:58+02:00</updated>

		<published>2011-11-23T13:09:58+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20270#p20270</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20270#p20270"/>
		<title type="html"><![CDATA[Re: Isolation?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20270#p20270"><![CDATA[
That's true. You can invert the optocoupler outputs by adding an additional transistor and a resistor. Maybe you can create a draft of your suggestions and we can have a look on it and comment it.<p>Statistics: Posted by Guest — Wed Nov 23, 2011 1:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[eslavko]]></name></author>
		<updated>2011-11-23T11:47:06+02:00</updated>

		<published>2011-11-23T11:47:06+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20268#p20268</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20268#p20268"/>
		<title type="html"><![CDATA[Re: Isolation?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20268#p20268"><![CDATA[
I think the isolating 2 wires should be easyer than 24....  just need to try.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4732">eslavko</a> — Wed Nov 23, 2011 11:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2011-11-23T09:48:28+02:00</updated>

		<published>2011-11-23T09:48:28+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20267#p20267</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20267#p20267"/>
		<title type="html"><![CDATA[Re: Isolation?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6215&amp;p=20267#p20267"><![CDATA[
And what about isolating the AVR from CPLD/FPGA/whatsoever?<p>Statistics: Posted by Guest — Wed Nov 23, 2011 9:48 am</p><hr />
]]></content>
	</entry>
	</feed>
