logo       

RE: Robostix: Quadrature Encoder Counters: msg#00188

linux.distributions.gumstix.general

Subject: RE: Robostix: Quadrature Encoder Counters

It has counter/timers although that may not be the way to go. It also has a
lot of direct access registers and plenty of memory.

If you are planning to program the ATmega128, you should be looking at
WinAVR - a library of prewritten functions for the Atmel line including the
128.

You can use Atmel's AVR Studio 4 and WinAVR for all of the code development
and you will be using the full C language with the GNU C compiler - comes
with WinAVR.

Oh, and the library has code for a quadrature encoder. I haven't used it
but I just looked to see if it was there.

I HIGHLY recommend WinAVR even if you just use it for hints. Total software
cost $0.


-----Original Message-----
From: gumstix-users-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:gumstix-users-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Brendan
Simon
Sent: Wednesday, July 13, 2005 11:30 PM
To: gumstix-users@xxxxxxxxxxxxxxxxxxxxx
Subject: [Norton AntiSpam] [Gumstix-users] Robostix: Quadrature Encoder
Counters

Dear Robostix gurus,

Does anyone know if the Atmega128 has up/down counters in it?
I'm thinking of attaching some quadrature encoder devices that outputs
up/down pulses (or clk/dir signals) to it, but that depends on whether
the device has internal up/down counters .

If not, then I can interface an quadrature encoder counter that has a
cpu interface. Unfortunately this is a bigger device and would also
require the appropriate addr/data gating due to the multiplexed
addr/data bus. Also I don't believe the Atmega has chipselects like
other microcontrollers so I would also have to decode the address bus.
All this is not drastically difficult, it is just that I am prototyping
with standard dip components (not SMD) on a very small piece of vero
board. Just trying to save space and time :)

Also, are the 8 pads on the bottom of the board the 8 bit addr/data lines ??

Thanks for any info,
Cheers,
Brendan Simon.




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
gumstix-users mailing list
gumstix-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/gumstix-users




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise