Let's Make Robots!

uart

Serial Com. the right way?

 

Hi Guys.

Ive been using alot of UART communication between my panda II and bluetooth, and from pc, vice versa.

But always pretty simple things, like sending a text. waiting for it, then maybe reply back..

But i just started on a small robot project, and i control my servos via bluetooth from my computer. (Virtual serial port, to my itead BT shield).

And i just send text commands like "up" "down" "left" "right" "stop" to control my servos.

but i now plan to add a ultra sound range finder (Paralax "Ping)))").

Cheap and easy USB interface for programming and communicating with microcontrollers
My work with ATmega microcontrollers was based mostly on ATmega168 and ATmega328 with Arduino bootloader on custom boards. For programming and communication through … Read more

FTDI with 16F690

Anyone using this approach (MPLAB with HiTech C and microchip pic 16F690) to control their robot?

I'm just now getting around to being able to have the PIC write to a PC and just recently having the PIC receive what the PC is sending at 9600 baud using FTDI basic breakout board.  Quite fast responce time compared to Parallax Basic stamp.  Lots cheaper too.

serial uart with only rx or tx not both

Can I deliver serial data from one direction to enother (2 mcu) only with tx :

MCU1                                       MCU2

      TX<-------------------------------------<RX

 

?

Components to put bw 3.3v signal and 5v

I have an Arm based platform with Serial UART interface but in 3.3v level.

I want it to communicate with my Arduino.

I have a 3.3v power source in the Arduino(Dumilinove).

My question is what components to put between the 3.3v platform RX/TX and the Arduino RX/TX ?

RS232 Communication with MCU

So I am making my own CNC - PCB Miller. It is communicating with the computer using RS232 (UART), but in my testing, I find that I don't always get the correct characters, even at 1200baud. Does anyone have a method to suggest for error-checking an incoming data string over serial? I was thinking of doing something like this:

CPU sends data to MCU 4 times.

MCU checks to make sure the data is repeated exactly 4 times.

--If yes->send "OK" 4 times

--If no->send "NOT OK" 4 times

If CPU receives OK, queue up the next data to send

TTL serial converter cable which will allow for a simple way to connect serial TTL level devices to USB. No MAX232 or other level converters needed. It works very … Read more