<?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/4464" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2010-07-03T20:19:56+02:00</updated>

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

		<entry>
		<author><name><![CDATA[MadTheos]]></name></author>
		<updated>2010-07-03T20:19:56+02:00</updated>

		<published>2010-07-03T20:19:56+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4464&amp;p=15012#p15012</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4464&amp;p=15012#p15012"/>
		<title type="html"><![CDATA[Re: ATmega16 16PU -- 16Mhz -- Device Not Recognized]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4464&amp;p=15012#p15012"><![CDATA[
Interesting. Anyway, I bought and tried a 12MHz crystal without success. Then I changed the circuit to work on 3.6V (from the port with two serial 1N4148 diodes). This time it worked! I haven't tried to find out whether it was the zeners or the cable or something else entirely that was the culprit.<br /><br />I have the 12MHz crystal soldered on. Will there be any issues with the oscillator if I used a socket for the crystal as well (for a general purpose development board)? <br /><br />Another thing, I have set the poll interval to 10ms, and I still see perceptible jitter in the read value (from a quadrature encoder) shown in ControlPanel&gt;GameControllers. Since the quadrature decoding is pretty smooth (I have an led array as debug output), I'm wondering where the packets are being dropped.<br /><br />Thanks, <br /><br />Matt, Kerala, India.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4032">MadTheos</a> — Sat Jul 03, 2010 8:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2010-06-29T00:57:02+02:00</updated>

		<published>2010-06-29T00:57:02+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14948#p14948</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14948#p14948"/>
		<title type="html"><![CDATA[Re: ATmega16 16PU -- 16Mhz -- Device Not Recognized]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14948#p14948"><![CDATA[
Ok the problem came back. And I looked in to it a bit. the zeners I have that works are 1n747a. I also have a 1N4148. They are so small I can not read the middle numbers under the highest lens I have but I have the order slip and they are 1N4148. Looking in to it a bit the 1n4148 sold to me as zDiodes are not Zdiodes,they are diodes. Thx for the post, this saved me a lot of recalls.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Tue Jun 29, 2010 12:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MadTheos]]></name></author>
		<updated>2010-06-23T22:25:40+02:00</updated>

		<published>2010-06-23T22:25:40+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14883#p14883</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14883#p14883"/>
		<title type="html"><![CDATA[Re: ATmega16 16PU -- 16Mhz -- Device Not Recognized]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14883#p14883"><![CDATA[
<blockquote><div><cite>ulao wrote:</cite>Correct I was referring to the zeners.  I read that as a 168, I'm not sure about the 16. Sorry for the mix up. May want to check if the zeners are 1 watts, if so try 1/2 watts. Yes an external hub.</div></blockquote><br />I read about the capacitance problem with the zeners. My zeners are the tiny 1N4148-lookalikes, so I imagine that they are of a low wattage.<br /><br />Well, I don't have a USB hub around. :-/<br /><br />Thanks,<br /><br />Matt<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4032">MadTheos</a> — Wed Jun 23, 2010 10:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2010-06-23T14:23:43+02:00</updated>

		<published>2010-06-23T14:23:43+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14873#p14873</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14873#p14873"/>
		<title type="html"><![CDATA[Re: ATmega16 16PU -- 16Mhz -- Device Not Recognized]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14873#p14873"><![CDATA[
Correct I was referring to the zeners.  I read that as a 168, I'm not sure about the 16. Sorry for the mix up. May want to check if the zeners are 1 watts, if so try 1/2 watts. Yes an external hub.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Wed Jun 23, 2010 2:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MadTheos]]></name></author>
		<updated>2010-06-23T12:37:50+02:00</updated>

		<published>2010-06-23T12:37:50+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14870#p14870</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14870#p14870"/>
		<title type="html"><![CDATA[Re: ATmega16 16PU -- 16Mhz -- Device Not Recognized]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14870#p14870"><![CDATA[
<blockquote><div><cite>ulao wrote:</cite>I'm not sure if you said you DO have a external crystal or Dont? But... I'm told you will need a external crystal as USB has some pretty picky timing. Also make sure to use 1/2 watt diodes with the mega168. The surface mount diodes very commonly dont work.  I had this issue going on for a long time until I figured it out. If you want to know you have the diode issue try a hub. If your devices works off the hub chances are its the diode.</div></blockquote><br /><br />I have a 16MHz crystal and a mega16. I'm not using any SMD. I'm using zeners on USB data lines, and the rest of the circuit works on 5V. <br /><br />You mean an external USB hub?<br /><br />Thanks,<br /><br />Matt<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4032">MadTheos</a> — Wed Jun 23, 2010 12:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2010-06-23T01:46:03+02:00</updated>

		<published>2010-06-23T01:46:03+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14867#p14867</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14867#p14867"/>
		<title type="html"><![CDATA[Re: ATmega16 16PU -- 16Mhz -- Device Not Recognized]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14867#p14867"><![CDATA[
I'm not sure if you said you DO have a external crystal or Dont? But... I'm told you will need a external crystal as USB has some pretty picky timing. Also make sure to use 1/2 watt diodes with the mega168. The surface mount diodes very commonly dont work.  I had this issue going on for a long time until I figured it out. If you want to know you have the diode issue try a hub. If your devices works off the hub chances are its the diode.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Wed Jun 23, 2010 1:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MadTheos]]></name></author>
		<updated>2010-06-22T20:04:10+02:00</updated>

		<published>2010-06-22T20:04:10+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14864#p14864</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14864#p14864"/>
		<title type="html"><![CDATA[ATmega16 16PU -- 16Mhz -- Device Not Recognized]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=4464&amp;p=14864#p14864"><![CDATA[
Hello,<br /><br />I'm new to AVRs and am trying to use V-USB for a joystick project:<br /><br />Current hardware:<br />ATmega16 16PU<br />16Mhz crystal<br />Fuse, low: 0x9F, high: 0xC9<br />Bus powered 5V circuit with 3.6 zeners <br />Self-made vero-board-based development board<br />6 foot usb cable with shield grounded to board ground<br />USBasp programmer<br /><br />I have tried various non-USB programs on the uC and they all work fine. I don't have an oscilloscope, but I've made an LED blink at the expected rate, so I'm guessing that it is indeed running at 16Mhz. I have HID Mouse loaded on the uC at the moment. But when I connect it to my desktop, it always says &quot;device not recognized&quot;. When I connect it to a netbook, it gets recognized half the time, but as &quot;Unknown Device&quot; (as displayed in the speech bubble upon detection and then in device manager). I'm guessing that something like &quot;Standard HID Mouse&quot; is the correct outcome, so is this an error? Is the crystal's timing off? <br /><br />The desktop has an intel 82801GB (ICH7) controller while the Netbook has an 82801G (ICH7) controller, so I'm wondering why there is such a difference. <br /><br />I don't have a 12MHz crystal now, and no debugging h/w except for a bunch of LEDs and a multimeter. Any suggestions how to go about fixing this will be most welcome. <br /><br />Thanks for reading,<br /><br />Matt<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4032">MadTheos</a> — Tue Jun 22, 2010 8:04 pm</p><hr />
]]></content>
	</entry>
	</feed>
