Hot answers tagged

4 votes

Create 2 losing serial communication after toggling full to passive while charging

There is a bug in the implementation of sleep/wakeup on Create 2 which was fixed in release-3.8.2 for robots with an older processor, or release-stm32-3.7.7 for robots with a newer processor. To ...
user avatar
  • 952
3 votes
Accepted

Does iRobot 681 have a serial interface?

The 68x series has a Mini-DIN connector on the top surface, toward the robot's right side, but it's now under the translucent diffuser surrounding the buttons. It is held in by snaps. Lift the handle, ...
user avatar
  • 952
3 votes
Accepted

Reading multiple signed digits from serial port

It looks like you're doing this in a very round-about manner. You said, The matlab function in sumlink is supposed to read the received ASCII characters and add them to a variable until it reaches ...
user avatar
  • 14.7k
3 votes
Accepted

Do I need the 5V to 3.3V level shifter?

The Roombots example you posted does not use a level shifter because they are using the Create USB cable to talk to the robot. If you are planning to use this cable, you do not need the level shifter. ...
user avatar
  • 952
3 votes
Accepted

Connecting an Arduino uno with a beaglebone black over USB

Beaglebone USB When you plug a USB cable between the USB B plug of the Arduino Uno and the USB A plug of the Beaglebone Black, the Beaglebone should be able to talk and listen to it the same way any ...
user avatar
  • 4,385
3 votes
Accepted

Manipulability Measures of Serial Robots?

The most common manipulability measure is by Yoshikawa [1] which is purely kinematic, ie. it ignores dynamics such as inertia and motor torques. It is simply $$ \sqrt{\det( J J^T)} $$ where $J$ is ...
user avatar
  • 1,522
3 votes
Accepted

When reading serial data between Arduino and a node, it hangs. How can I properly send and read data?

I found what I believe is a relevant answer here, and I think it's relevant because of the following lines in your serial_server.py file: ...
user avatar
  • 14.7k
2 votes

Is it possible to have A/V feed and serial communication on an RF transceiver at the same time on an Arduino?

As I suspect you found out (based on your other question 7169), doing both over the same RF link will be more truble than it is worth, You could use ip as you sujested but this might turn out to be ...
user avatar
  • 1,909
2 votes

iRobot Create Serial Cable for Turtlebot I

The iRobot Create and Roomba may have a rather unusual 7-pin mini-din socket for their serial interface, but it is otherwise a fairly standard 5v serial port. Since the original iRobot Create cable ...
user avatar
  • 4,098
2 votes

Do I need the 5V to 3.3V level shifter?

I think we need 5-3.3 bidirectional voltage shifter (not for camera) to communicate between raspberry pi and create controller, since serial communication protocols for Create uses 0-5 voltage range ...
user avatar
2 votes

"Updated" Help in iRobot create serial communication in Arduino

Page 9 of the Open Interface specification gives the following instructions: Serial sequence: [137][Velocity high byte][Velocity low byte][Radius high byte][Radius low byte] It then gives special ...
user avatar
  • 14.7k
2 votes

How do I get the Create 2 to communicate with a laptop via the serial to USB cable?

If it's a FTDI device, download the latest driver from http://www.ftdichip.com/Drivers/VCP.htm I assume its the original USB to Serial cable from iRobot you're using.
user avatar
2 votes
Accepted

Communication between Intel Edison and Open Mv7

Seems like the code should work. I can suggest 3 things that might be of assistance. Make sure you have a prominent Common Ground Sometimes your PC isn't enough Increase the BraudRate on both ...
user avatar
  • 70
2 votes

iRobot Create 2 -language set error type 2

Scope showed data being sent to the robot. I discovered the console was enabled on the raspberry pi 3 and disabled it; the problem is now resolved. Specifically, run the following commands sudo ...
user avatar
  • 21
2 votes
Accepted

how to read and write data with pyserial at same time

It's not entirely clear what you mean by "write and read at the same time" because that can refer to different contexts. It can be confusing because people tend to mix the meanings of full-duplex/...
user avatar
  • 542
2 votes

Bluetooth module HC-05 giving ERROR :(0)

I was having the same problem. I finally solved the problem. This document says that you have to put CR LF (\r\n) characters after you send something in AT mode. But in the arduino code that you use, ...
user avatar
  • 21
2 votes
Accepted

Controlling a dc servo with serial communication

You need to read and understand that datasheet. This board does not have addressing, so without additional hardware you can only have one per serial port. For a demonstration, use a USB-Serial cable ...
user avatar
2 votes

Getting error on serial monitor when using serial controlled motor

Welcome to Robotics, Sam. You've posted your code and the errors you're getting, which is great. There are still a few pieces of information lacking, though. Unfortunately, it looks like the "...
user avatar
  • 14.7k
2 votes

Not able to communicate with Roomba with serial port

Your code looks good, the device is probably sending you back bytes so you need to read them on the port. Adding to what you have, it would look something like this: ...
user avatar
1 vote
Accepted

How to access UART or serial sensors?

So according to the datasheet from the link provided, the Data interface is indeed UART (LVTTL 3.3V). The datasheet also says it has 2 Modes of operation: Single measurement, continuous ranging 1Hz to ...
user avatar
  • 207
1 vote

Can I use another GPIO pin on the Pi 3 as a RX UART?

This question may sound simple. However it is likely dependent on if the processor's hardware UART resource is mappable to different (functional) pins as well as if the Linux UART driver is flexible ...
user avatar
  • 451
1 vote

Build a drone with a raspberry pi 2 as receiver for the CC3D-LibrePilot

The problem is with the Raspberry pi. You can't generate accurate PWM output using Raspberry Pi because it's a microprocessor running an operating system (not real-time system). So you may get ...
user avatar
1 vote

Irobot Create 2 Open Interface Communication

The Roomba expects binary data. When you type in the PuTTY terminal, you are sending ASCII data. For example when you type "128" into the terminal, you are actually sending 3 bytes of data: [49 50 ...
user avatar
  • 5,215
1 vote

Irobot Create 2 Open Interface Communication

I was not able to send commands just using putty, because putty sends every character individually. You need to write your own code or use something like https://github.com/xa4a/go-roomba to ...
user avatar
  • 19
1 vote
Accepted

iRobot Create 2 serial battery power

First off, there's no guarantee the wire colors in the iRobot cable match the colors in the cable made by Tensility. Step one is to get an ohm meter and see if the colors match the pins you expect. If ...
user avatar
  • 952
1 vote

iRobot Create Serial Cable for Turtlebot I

The new Create2 cable should work with old Creates and all versions of Roomba. You can purchase one at the iRobot web store. And here are instructions how to make a cable yourself using an FTDI ...
user avatar
  • 5,215
1 vote

create2 commands with an app called SERIAL

I suspect that what you are trying won't work. See this other question for the difference between trying to command the Create with a terminal vs. code: Sending commands from Ubuntu.
user avatar
  • 5,215
1 vote
Accepted

Connecting a CC3D board with Raspberry Pi to get telemetry data

I am trying to do the same project. I asked this question in the LibrePilot forum (the new community which gives support to the OpenPilot project) and they told me about the UAVTalk protocol, an ...
user avatar
  • 358
1 vote

Using 2x UARTs on STM32F072RB

Perhaps try UART3? UART2 might be in use for something else as the manual says, "By default the USART2 communication between the target MCU and ST-LINK MCU is enabled..." on page 23, section 5.8. ...
user avatar
1 vote
Accepted

Communicating between a beaglebone black and an arduino using ttyO4

In this answer, I will outline some techniques for diagnosing RS232-style serial communication problems. For a two-way serial communication link between two devices to work, at the most basic level ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible