Graphing the x-y coordinates of the mouse


i've found cool site http://www.synbio.org.uk/component/content/article/46-instrumentation-news/1234-interfacing-an-optical-mouse-sensor-to-your-arduino.html on interfacing arduino optical mouse read out x-y readings it. i've done it, , it's working nicely.

then thinking, 'why not plot become graph?' , came across processing.

i aware processing has example named 'mousesignal'

this example exact thing want write processing. but, change that, want use x-y coordinates mouse attached arduino , ask processing generate 'real-time' graph of coordinate.

i tried using http://www.diymaker.com/realtime-arduino-ad-channel-graph-plotting/ , thishttp://www.glacialwanderer.com/hobbyrobotics/?p=261 start, came across problem. regarding serial.list. usb ports on laptop detected com3 both arduino , processing. there's clash. there no clear way me import data serial output. it's either run arduino , numbers printed out on it's serial monitor, or blank black window processing.

any appreciated. thanks!

ps. it's arduino duemilanove if that's help.
pps. if there other method, too.

there can 1 connection on each end of serial port. arduino on 1 end. other end can connected serial monitor or processing, not both.

if not getting processing plot data read serial port, problem lies in way processing reading data, or in how arduino writing data.

without seeing code, though, it's hard you.


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Graphing the x-y coordinates of the mouse


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums