Pages: [1]   Go Down
Author Topic: Multiple Serial Ports  (Read 361 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey there,

i'm planning to build a moving robot and i want to use a camera on my arduino duemilanove and send them to a new arduino due via xbees. i have to use my arduino duemilanove to send the packages via xbee because i also want to send values from buttons and other sensors and receive signals for actors like RGB signal lamps etc...

whats about this camera: http://learn.adafruit.com/ttl-serial-camera/overview
but i dont have some free RX/TX ports because xbees.

a little overview:
Arduino Duemilanove has actors like servos and leds and inputs like ultrasonic-sensors... also connected is an xbee and send the data to the Arduino Due also with an XBee which is managing the whole processing. now i want to connect a camera to the duemilanove and send the data to the due to process the images and display them on a LCD or use it for motion detection...

anyone who can say me howto do something like this?

tom
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 178
Posts: 8060
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can use SoftwareSerial to communicate with the camera. 

Don't expect live video through the serial port.  It only does JPEG image capture and moving 10000 to 13000 bytes through the serial line is going to take time.  At the default bit rate of 38400 you should get a frame about every 3+ seconds.  At the maximum rate of 115200 you might get close to a frame per second.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 435
Posts: 23597
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

SoftwareSerial does 115200?
I'd go with a chip that has 2 serial ports, like a 1284P with its 16K of SRAM for databuffering as well.
Here's a duemilanove sytle board that uses the 1284P chip.

PL here http://www.crossroadsfencing.com/BobuinoRev17/,
bare board $5 with shipping. parts can be had for $15-20, or you can scrounge your parts bin for a lot of it.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: