Author Topic: ARDUINO MEGA + ODROID-X2 (Linaro ubuntu with eclipse and opencv) + USB CAMERA  (Read 870 times)

0 Members and 1 Guest are viewing this topic.

Offline robotarduinoTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
Hello all,

I hope you can help me. I am trying to build a robot but I am kind of stuck. The arduino mega is controlling the stepper motors drivers of the robot. The odroid-x is a single board computer that has installed linaro ubuntu and eclipse c++. All the programming is done in c++ and opencv is an image processing library.

The odroid-x has only as input a color camera. Therefore, the information from the camera is received and is processed in eclipse. Then, according to the information that is received, the odroid-x should send different integers to the arduino. The arduino should have a program already uploaded in itself, so it will be waiting for an integer and that integer is going to determine what the arduino is going to send to the drivers. 


My questions are the following:
1. How can I do a serial communication between the arduino and the odroid-x?
2. How can I send information from eclipse to the arduino with a serial connection?

Thanks so much for any guide you can give me





Offline newInRobotics

  • Supreme Robot
  • *****
  • Posts: 1,015
  • Helpful? 48
  • N.I.R.
You can use USART feature. For microcontroller to PC comms You'll also need TTL to USB converter.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian W

 


Get Your Ad Here