Arduino and Serial communication

Hi All,

Calculon is thinking about jumping onto the Arduino bandwagon, but he has a question or two about serial communication:

- Can an Arduino talk to a picaxe via serial? Calculon understands that picaxe signals are inverted, while Arduino's are "non-inverted"(whatever that is). Is there a way to reconcile this difference? An inverter or something?

- Do the Arduino boards such as the Duicimillanovaililuanne have outpins that can be used for serial communication?

Calculon OUT!

Hi Calculon,Ezekiel started

Hi Calculon,

Ezekiel started in micros with an Arduino and thinks Calculon would be making a good purchase especially since they have dropped in price.

- An inverter could handle that, or you could do it in software. Do not quote Ezekiel on this because he doesn`t know 100%.

- Arduino has a software serial library which can turn any of the 12 or so digital pins into serial capable ones with a few lines of code.

 

CaptainTuna says that if you

CaptainTuna says that if you use a picaxe, you can choose to have either inverted signals or true signals, so no need for an inverter. (specified by the letter N or T before the baudrate, in the serout/serin command)

 

CaptainTuna doesn’t like the fact that Calculon can’t spell the name of arduino boards since they are in italian, which is CaptainTuna’s mother tongue.

Ian would like to know why
Ian would like to know why every one is talking in 3rd person.

And CaptainObvious says you

And CaptainObvious says you could also take a look at the NewSoftSerial library for the Arduino if you need faster speeds on your pins.

The commands are almost exactly the same as the SoftwareSerial library, but you’re able to communicate quicker! But C O agrees with everyone else, the communication between the two should be fairly easy!

 

Or you could get the Mega and you have 4 seperate hardware serial capable pins! And well… you could turn the like 942 digital pins into Software serial connections as well ( work the same as hardware, for the most part, just done in software ) !

http://arduino.cc/en/Main/ArduinoBoardMega

Arduino’s are a blast

If you are looking for an expensive and easy to use MCU, then I would go with the Arduino (not going to try to spell the board type this early in the morning). It uses C, which is easy to understand and implement. If you already have a body for your bot, you can drop in the Arduino and start coding. It took me less than 20 mins to code and debug the control routines for the 293D chip. and bumper switches for my bot. There are tons of libraries on the arduino.cc site to get ideas and such from as well. It’s mega supported.

MechGeek