Let's Make Robots!

uart

FTDI with 16F690

irishperry's picture

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

Mickey's picture

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

Mickey's picture

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

drmitch's picture

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