Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | Interfacing with a Trackball

Discussion forum for the BasicX family of microcontroller chips.

Interfacing with a Trackball - i_cohen - Oct 22 10:04:11 2007

Saprkfun are selling this trackball
http://www.sparkfun.com/commerce/product_info.php?products_id=755
Spec sheet
http://www.sparkfun.com/datasheets/Components/Trackball.pdf

Anyone has a clue how do I interface to it and read the movement
changes? it doesn't look like something I'm familiar with.

Thanks,
Idan



(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: Interfacing with a Trackball - Tom Becker - Oct 23 8:02:28 2007

> ... http://www.sparkfun.com/commerce/product_info.php?products_id=755

Looks like five pins, to me, one each for pulses from Yup, Ydown (OY and OY'), Xup and Xdown (OX and OX'), and Select, with grounded commons. You'll likely need to debounce the contacts, then count X and Y pulses (e.g. X increments its axis position count; X' decrements) over time.
Tom



(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: com1 - "nje...@ihug.co.nz" - Oct 27 7:13:51 2007

Sorry Tom...I meant to send that query to the group.
neil



(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )