This question already has an answer here:
Do other Roombas have an Open Interface like the Create2? Can I send commands to my 780 like the Create 2?
I am trying to control my Roomba 780 I made a 8pin FDTI connector to USB and my roomba beep once when plugged in. The logic level is 3.3V
Here is my python code:
#!/usr/bin/env python import serial import time #start usb connection able with Roomba usbCom = serial.Serial(port='/dev/ttyAMA0', baudrate=115200) #initialze roomba and put it in safe mode usbCom.write(bytes.fromhex('80')) time.sleep(.1) usbCom.write(bytes.fromhex('83')) time.sleep(.1) #spot mode clean usbCom.write(bytes.fromhex('87'))
I've sent my serial data from my Raspberry PI to my Roomba but it is not responding, it seems to stop at the first line when I send a byte.