Search the web
Sign In
New User? Sign Up
RoboBricks2
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Interfacing WireHost to 3.3 LVTTL serial   Message List  
Reply | Forward Message #300 of 360 |
Re: [RoboBricks2] AT90USBKEY (Was Re: Interfacing WireHost to 3.3 LVTTL serial)

Wayne C. Gramlich wrote:
>
>
> Dave (Curtis):
>
> The AT90USBKEY is a neat and inexpensive board.
>
> > On the subject of hosts -- one thing I am excited to play with but
> > haven't had a chance, is the Atmel AT90USBKEY development board.
> > This board is $36 at Digi-Key.
>
> I just checked, it seems to be $31.92 at Digi-Key.

Bonus! Its gone down.

>
> My further comments are:
>
> 1) The AT90USBKey has a AT90UBS-1287 part on it. Since it
> has 128KB of flash, it is not listed as compatible with
> the AVR-Dragon, which is restricted to 32KB of flash.
> It *may* be possible to work on the firsth 32KB of memory,
> but I do not know one way or the other.

That's worth checking. I've heard that the Dragon can debug up to the
first 32K on the larger processors, so you just have to keep your
program under 32K. Which isn't great for bootloaders which are forced to
reside in high memory, but it comes preloaded with a perfectly good
bootloader.

But check for sure before counting on my recollection. And even if it
applies for Mega<large>, it may not apply for AT90USB<large>.

>
> 2) The AT90USBKey is debuggable using the AVR-JTAG-ICE.

Yes, I have one. Wasn't sure if you did.

>
> 3) PORTA through PORTF use .050" x .100" connectors. These
> connectors have two serious problems:
>
> A) It is very hard to find female sockets at that size.

How right you are.

>
> B) The pins are so tight that the PCB design rules usually
> require a manufacturer that can guarantee 5 mil trace
> separation. Most Hobby level PCB manufacturers are at
> 8 or 10 mil trace separation.
>
> I was able to use these connectors once in my life, and
> pain was so great that I convinced the gentleman who
> designed the original board to switch connectors for
> the next board revision.
>
> 4) It is probably possible to side step the connector problem
> by simply soldering in a solid wire.

Which is what I was planning to do. I am planning a card that has the
AT90USB "footprint" on it, and just join the boards as a sandwich using
wires on the 0.050 centers. That should be perfectly doable in 8/8
rules. 0.050 the same spacing as SO, and I get one trace between pads
on SO parts with 8/8 rules.

Another alternative:
http://www.wizbangdesigns.com/10017_PCB.html
$5.95 for a set of 6 header adapters. You end up with 0.100 headers
mounted on little "wings" on your AT90USBKEY. Again, jam in wires to
make a board sandwich.

>
> 5) I really, really want a RoboBrick with USB connectivity,
> working with this board looks like a major project. I'm
> willing to consider the project only if somebody else is
> going to actually help out. This may involve buying an
> AVR JTAG ICE Mk II, designing a daughter board etc.

Well, I already have a design in mind for a board that would mount the
AT90USBKEY as a daughter card. It would have an optional CAN protocol
controller, of course :)

I think the AT90USBKEY is a pretty compelling widget. First of all,
Atmel has priced them very low. For $32, it's hard to beat the
functionality. Secondly, it not only allows your robot to be a USB
device, but since it is USB-OTG you can also use it to host standard USB
peripherals on your robot.

And another interesting looking dev board from Atmel, the DB101:
http://atmel.com/dyn/products/tools_card.asp?family_id=607&family_name=AVR%AE+8%\
2DBit+RISC+&tool_id=4221

$84 at Mouser. 128x64 graphic LCD, a large avr, and a few other widgets,
plus I/O breakout. They are brand new and just trickling out. Mouser
is showing "in stock" -- I pre-ordered one that is somewhere between the
Mouser warehouse and Sunnyvale. I've seen some discussion on the
avrfreaks web site that the DB101 may have some issues -- we'll see when
it gets here.

-dave



Mon Feb 25, 2008 11:27 pm

dave_n6nz
Offline Offline
Send Email Send Email

Forward
Message #300 of 360 |
Expand Messages Author Sort by Date

Hi all, I am trying to connect the on board 3.3v serial port of the wrtsl54gs router to the WireHost module. I've followed the instruction at ...
Brandon Blodget
bb_ya
Offline Send Email
Feb 25, 2008
6:29 pm

... http://www.hbrobotics.org/wiki/index.php5/WRTSL54GS#Using_on_board_serial_port ... Brandon: I have not posted a circuit the WireHost conversion. The longer...
Wayne C. Gramlich
waynegramlich
Offline Send Email
Feb 25, 2008
8:10 pm

... On the subject of hosts -- one thing I am excited to play with but haven't had a chance, is the Atmel AT90USBKEY development board. This board is $36 at...
Dave Curtis
dave_n6nz
Offline Send Email
Feb 25, 2008
8:43 pm

Dave (Curtis): The AT90USBKEY is a neat and inexpensive board. ... I just checked, it seems to be $31.92 at Digi-Key. ... My further comments are: 1) The...
Wayne C. Gramlich
waynegramlich
Offline Send Email
Feb 25, 2008
10:47 pm

... Bonus! Its gone down. ... That's worth checking. I've heard that the Dragon can debug up to the first 32K on the larger processors, so you just have to...
Dave Curtis
dave_n6nz
Offline Send Email
Feb 25, 2008
11:27 pm

... [snip price] [snip AVR-Dragon issue] ... I do not have one yet. [snip .050" x .100" connectors issue] ... Actually, it can be touch and go. It depends...
Wayne C. Gramlich
waynegramlich
Offline Send Email
Feb 26, 2008
1:01 am

... <much snippage> ... Yes, I wasn't thinking about these being through-hole pads. So maybe a smallish pad, and don't try to route between them. ... Well, at...
Dave Curtis
dave_n6nz
Offline Send Email
Feb 26, 2008
4:33 am

Wayne, The ATJTAGICE2 at $300 is a bit pricey. But I just ordered 3 of the AT90USBKEY boards. I can help out with the software and if I really need to...
Stephen Olsen
srogruffy
Offline Send Email
Mar 6, 2008
12:04 am

... The guy at <http://www.fourwalledcubicle.com/MyUSB.php> claims that his library is in stable condition. If it really is stable, all that should be...
Wayne C. Gramlich
waynegramlich
Offline Send Email
Mar 6, 2008
1:07 am

... Yes, I do. So if you get stuck, let me know. As you say, once the CDC driver is up you can define an endpoint for stderr and get a lot of debug done that...
Dave Curtis
dave_n6nz
Offline Send Email
Mar 6, 2008
2:24 am

Dave and Wayne, So far, so good as the tools installed seamlessly and MyUSB downloaded and extracted without a problem. The "make all" build after a "make...
Stephen Olsen
srogruffy
Offline Send Email
Mar 7, 2008
7:59 pm

... It sounds reasonably robust, but does USB need that level of complexity? I honestly do not know. All I need from the AVRUSB is a USB stack that can talk...
Wayne C. Gramlich
waynegramlich
Offline Send Email
Mar 8, 2008
4:57 am

Wayne, ... Your question about USB's complexity is a common question. Most people think of it as a gloified serial port. Which it is but it does have a lot...
Stephen Olsen
srogruffy
Offline Send Email
Mar 16, 2008
5:49 am

... Having a scheduler still seems a little complex to me, but it is probably a simple scheduler. ... And presumably it worked. ... Configuring up the AVR UART...
Wayne C. Gramlich
waynegramlich
Offline Send Email
Mar 16, 2008
12:11 pm

... Hi Wayne, Thanks for the additional information. I still have not got this working yet. One thing that is a little confusing to me is that above you say ...
Brandon Blodget
bb_ya
Offline Send Email
Feb 25, 2008
11:47 pm

... You are correct, that is a typo on my part. ... For revision C of WireHost, pin 11 and pin 15 are connected to ground. Other things to check are whether...
Wayne C. Gramlich
waynegramlich
Offline Send Email
Feb 26, 2008
12:25 am

... That is interesting. I have rev C but no connectivity between pin 11 and pin 15. I've jumped the two together now. ... Changing the baud rate in microcom...
Brandon Blodget
bb_ya
Offline Send Email
Feb 26, 2008
1:24 am

... Perhaps a manufacturing defect? It is not something that I would easily detect, since that buffer of the Max232 is not used (i.e. pin 14 is NC.) ... ...
Wayne C. Gramlich
waynegramlich
Offline Send Email
Feb 26, 2008
1:58 am

So some good news. I can now talk to WireHost from the router using both on board serial ports! To get /dev/tts/0 to work I have to boot the router first then...
Brandon Blodget
bb_ya
Offline Send Email
Feb 27, 2008
10:39 pm

... Argh! I knew that and I did not write it down! We have to plug and unplug it as well. I have no idea why. ... I did not know to set the IRQ. That works...
Wayne C. Gramlich
waynegramlich
Offline Send Email
Feb 28, 2008
12:35 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help