<< return to Pixycam.com

Hooking up Pixy with ATMega128

Hi…! I’m new on pixy and data communication on microcontrollers…
I would like to use ATMega128 as my microcontroller and hook it up with Pixy for my project…
I’ve seen some codes that works when our team used the CMUCam4 and hook it up with ATMega128 too…

Could anyone tell me how to do it…?
and how to program it on BASCOM-AVR…?

Hello Firdanto,
This is a good place to start:

http://cmucam.org/projects/cmucam5/wiki/Porting_Guide

Hope this helps!

Edward

Well that’s the problem too…

anyhow CMUCam 4 use command list to talk to microcontroller…
like Print “CT” to tell CMUCam 4 to do Color Tracking…
How Pixy could do that…?

Hello Firdanto,
Pixy is different than CMUcam4, so sorry for the confusion. I’m trying to understand your question. It sounds like you might want to enable color tracking? If so, Pixy does that by default (you don’t need to enable.) Or it sounds like you want to issue a command.

Let’s take a step back. Pixy uses a binary interface, which is faster than a text-based interface. If you want to interface Pixy to your AVR, your best bet is to go through the porting guide. Or you might consider using the Arduino firmware.

Hope this helps!

Edward

Ok thanks… i’ll research it again and if it doesn’t went well i might consider using Arduino firmware as you suggested…
Thanks for your help…! :slight_smile: