Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: byuri on February 08, 2009, 12:42:32 PM
-
hi, i found this tutorial The "Seeing-Eye-Mouse" on http://imakeprojects.com/Projects/seeing-eye-mouse/
and i want to connect the mouse to 50$ robot, its possible?
on the tutorial he use PIC controller, in my case i have atmega168.
http://imakeprojects.com/Projects/seeing-eye-mouse/Gfx/fullsize/Seeing-Eye-Mouse-minimum.jpg
anybody know what is CLK,DATA on PIC and where is in atmega168?
What command is responsible for input data from digital port?
tnx.
-
Hi,
Just compare the pin out of both processors:
Here's the PIC16F628
(http://That.Homepage.dk/Img/PIC16F28_Pin_Out.png)
That said... From what you write, I get a feeling that you won't be able to port code from a processor core with Harvard architecture to a core with von Neumann architecture, so perhaps you would be better of modifying the PIC to send the mouse data to the AVR (via SPI, I2C or something similar) and just run both processors.