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 | ps/2 or usb mouse vectors to debug.print

Discussion forum for the BasicX family of microcontroller chips.

ps/2 or usb mouse vectors to debug.print - ads_...@yahoo.co.uk - Nov 21 7:07:00 2007

Hi all,

i'm hoping to get some help with a project, the first part is to be able to connect a mouse/touchpad* to the BX24, it can be usb or ps/2 (although from my research i think ps/2 with a ps/2 to serial converter would probably be best) then obtain the vector changes for XY and debug.print them, help with this would be great.

*i want to use a touchpad for the final device.

thanks

adam..



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


Re: ps/2 or usb mouse vectors to debug.print - Tom Becker - Nov 21 12:11:56 2007

> ... a ps/2 to serial converter...

A discussion about reading PS/2 keyboard data is in the archive here.
Since the keyboard data "byte" is 11 bits long and it is synchronously
clocked by the keyboard, not by the processor, it is not trivial to
receive that data. A summary is that some hardware help is necessary.
There appear to be three plausible solutions: an adapter that yields
RS232/TTL serial, a purpose-built keyboard processor chip, and stripping
the start bit to use the Basic-X ShiftIn function.

Take a look at:
http://tech.groups.yahoo.com/group/basicx/message/21281
http://tech.groups.yahoo.com/group/basicx/message/21284
Tom



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

Re: ps/2 or usb mouse vectors to debug.print - Tom Becker - Nov 21 13:39:50 2007

Also, this used to be at www.al-william.com, now www.awce.com .

http://www.awce.com/pak6.htm
Tom



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

Re: ps/2 or usb mouse vectors to debug.print - ads_...@yahoo.co.uk - Nov 22 7:24:57 2007



Hi all,
>
>i'm hoping to get some help with a project, the first part is to be able to connect a mouse/touchpad* to the BX24, it can be usb or ps/2 (although from my research i think ps/2 with a ps/2 to serial converter would probably be best) then obtain the vector changes for XY and debug.print them, help with this would be great.
>
>*i want to use a touchpad for the final device.
>
>thanks
>
>adam..

Hi, thanks for the replys, the pak6 looks very usefull could be a good move to go that way,... i'll have a read of the links you've given and get back if need any more help if that ok.

thanks again.

adam



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

Re: ps/2 or usb mouse vectors to debug.print - ads_...@yahoo.co.uk - Dec 2 8:07:32 2007



Hi, right been researching and finding stuff to get my project together, i have found a serial touchpad and also (for a ps/2 touchpad) have found the ezmouse ps/2 to serial 9600 baud TTL converter (think it's the same type of thing as the PAK-XI but was cheaper) they all use the standard mouse protocol,

and can be found here page 5 http://www.multilabs.net/Files/ezMOUSE_User_Manual_Rev_B.pdf

i really need help getting the code together to read the data from the serial and debug.print in a loop, i would try myself but i have never used the serial parts/commands of the BX24 before, it's all been servos and sensors so far, and i just don't know where to start or can even find any code i can take bits from to get it together..

thanks for any help you can give..

adam.



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