Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

In serial communication data is transmitted as a sequence in time. Main advantage: Fewer wires needed. Main disadvantage: Higher bandwidth required for the same throughput.

0
votes
1answer
39 views

MSP (Multiwii Serial Protocol) receiving data with pyMultiWii issue

I want to get telemetry data from my flight controller (Matek F405-CTR) and send control commands to it via MSP protocol. I've already configured UART3 port on Matek in Inav configurator (look at pic)...
0
votes
1answer
22 views

RS-232/422, UART, usb sensor access code same? [closed]

Is the method to access all the sensors with RS-232/422, uart and usb sensors can be done in same way? Or by converting rs-232 to usb, uart to usb can they be programmed in same as usb from linux? ...
0
votes
1answer
21 views

how to access uart or serial sensors?

I want to connect ir range finder (dlem 20) with system running linux kernel. It looks like they don't provide any kind of sdk or drivers for their products. So how should i get data from such sensors ...
0
votes
0answers
14 views

accessing serial and ethercat devices

I want to, ask is accessing all the serial devices/sensors eg. RS-422, RS-232 done in same way? And also is accessing all the devices in market with ethercat connection can be done in same way? For ...
4
votes
3answers
83 views

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

We are having an issue where after toggling the create 2 from passive to active, then waiting a few seconds and toggling back to passive while on the charger, all serial communication fails a certain ...
0
votes
1answer
89 views

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

I accidently plugged 5v in to the RX UART pin 15 on my Pi, now I'm unable to receive communication on this pin from my connected device. I was wondering if it's possible to use a different GPIO pin as ...
0
votes
1answer
200 views

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

I tried to get the yaw, roll, pitch and throttel integers from the pi to the CC3D with python and c++ as PWM signal over the GPIOs but the output didn't seem to be right or it was delayed. Could ...
0
votes
1answer
227 views

Programming Roomba other than Create 2 using RaspberryPi [duplicate]

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 ...
3
votes
1answer
35 views

Communication between Intel Edison and Open Mv7

I'm trying to do a simple communication between an Intel Edison and Open Mv 7 Camera through UART (Tx/Rx). I assumed this would be a simple task but both sides receive "�". Both are using python, the ...
3
votes
1answer
45 views

iRobot Create 2 -language set error type 2

I have an iRobot Create 2 and I am connected to it with the 7-pin connector to a desktop machine via USB. Serial communication is working fine under that configuration. I can tell it to restart with ...
0
votes
2answers
270 views

Irobot Create 2 Open Interface Communication

I am able to connect the create 2 robot to my laptop with a serial cable. I am using putty_beta terminal to run. I am not able to key in commands in the terminal. but I am able to receive information ...
1
vote
2answers
9k views

how to read and write data with pyserial at same time

How can i make pyserial read and write at same time or at same program? Right now i only know how to either write or to read but not both simultaneiously. So how can i do it? I tried this simple code: ...
0
votes
1answer
104 views

DX100 controller communication protocol

I have a motoman robot for use in a pick and place application. It has a DX100 controller which has an ethernet interface which could be used to control a slave device using the Modbus TCP protocol. ...
0
votes
1answer
56 views

How to remotely send command to a robot connected to a separate machine through serial port?

I work with a XL20 robotic tube sorter(lets say it's called X) which is connected to lets say computer(Y - IP: 10.216.1.222 - Running win7) through serial(com port 8 at 9600 baud and odd parity). If I ...
1
vote
1answer
207 views

Does iRobot 681 have a serial interface?

I've read that recent Roomba 6XX from iRobot got a serial connector, but I removed the cover on my Roomba 681, and I haven't found any. From what I've found, 681 hasn't the same cover than other 6XX ...
1
vote
1answer
476 views

Reading multiple signed digits from serial port

I'm using simulink support package for arduino to read serial data from port2 in Arduino due. My plan is to read signed integers (-415 for example) representing motor speed and feed it to the pid ...
2
votes
1answer
248 views

“Updated” Help in iRobot create serial communication in Arduino

I am programming an iRobot Create to follow serial commands using Arduino Uno. I have written the library, and found the serial commands to move the robot forward in the iRobot manual, but I couldn't ...
0
votes
1answer
111 views

Cleanflight : 4 first channels not working and “Failed to open serial port”

I just finished assembling my new 250 quad which is equipped with an SP F3 Flight controller. I think that I kinda bricked my FC in the first 10 minutes of configuring it: I first plugged it in, ...
1
vote
3answers
636 views

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

I would like to follow the instructions here, to allow myself to control the Create2 with a Raspberry Pi 3. However, this source, says that I need a level shifter to protect my Pi's circuitry from ...
1
vote
0answers
183 views

Irobot Create 2 drawing power from Pi [closed]

I am controlling an IRobot Create 2 with a raspberry pi, which I am powering with one of these: https://www.adafruit.com/product/1566 (I know, I know, I should have just gotten power from the ...
0
votes
1answer
262 views

What software to use to send (OI) commands to Create 2. Using windows laptop and supplied Create 2 cable? [duplicate]

I read most of the iRobot Create 2 Open Interface (OI). It says send these serial commands to the Create 2 to get it to do the described action, but no suggestion of what software to use to send these ...
0
votes
1answer
92 views

create2 commands with an app called SERIAL

there is an app called SERIAL, available in the app store. I've downloaded it on my mac and am experimenting with it, any ideas on how to send create2 OI commands using "Serial"? so far it seems a ...
1
vote
1answer
2k views

Connecting a CC3D board with Raspberry Pi to get telemetry data

I want to get telemetry data in my Raspberry Pi that will be connected to a CC3D board either via USB cable or Serial communication. How can I get the data? I plan to have wifi communication between ...
2
votes
1answer
272 views

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

My computer will not recognize the Serial to USB cable. I have tried it on a Mac and an HP. Is there a driver that I need to install? If it is supposed to install automatically, it is not.
1
vote
0answers
91 views

increase current draw from serial port of icreate 2

This is from the icreate 2's document: "Pins 1 and 2 (Vpwr) are connected to the Roomba battery through a 200 mA PTC resettable fuse. The continuous draw from these two pins together should not exceed ...
0
votes
1answer
472 views

iRobot Create 2 serial battery power

I don's seem to be able to get any battery power from Create 2. I spliced the original cable it came with, and tried to use the power from red/purple(+) and yellow/orange(-) to power a Raspberry Pi2, ...
3
votes
2answers
733 views

iRobot Create Serial Cable for Turtlebot I

I need an iRobot Create Serial Cable (one end 7-pin Mini-DIN Connector and the other end is USB) for Turtlebot I. How can I connect my bot to my PC?
3
votes
1answer
369 views

Using 2x UARTs on STM32F072RB

I am trying to use 2x UARTs with ChibiOS on the STM32F072RB Nucleo Board. I initialized UART2 but I am still getting output on UART1 pins, which is totally weird. ...
1
vote
1answer
77 views

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

Is it possible to transmit live audio/video feed and at the same time, receive commands through UART using only 1 RF transceiver connected to the Arduino board? I want to control the Arduino through ...
0
votes
1answer
103 views

Best practice to write a ROS service for a serial-communication class with many options

I have been asked to write code to implement serial communications with a camera in order to control its pedestal (movable base) as well as set a few dozen other camera options. The catch is that I ...
1
vote
2answers
2k views

Communicating between a beaglebone black and an arduino using ttyO4

I'm trying to get an arduino to talk with a beaglebone black. I have followed this tutorial for getting ttyO4 open on the BBB and used the following command on to set the serial line correctly: ...
2
votes
1answer
417 views

To control an omni wheel robot wirelessly using bluetooth and arduino

I am trying to control an omni wheel robot which has 4 motors using 2 joysticks, plus there are some actuation switches which I want to control too. I am using arduino mega and a pair of bluetooth ...
1
vote
1answer
6k views

Connecting an Arduino uno with a beaglebone black over USB

I have an arduino uno and a BeagleBone black and would like them to talk with eachother. Both the beagleBone and the arduino have their own 5V power supplies so no need for power to be transferred ...
2
votes
1answer
523 views

Controlling Dynamixel servo wirelessly using Arduino Mega

I am planning to control multiple Dynamixel servos (MX28T or MX-64T) wirelessly using Arduino Mega. Since this servo uses serial communication, I need an additional serial port to interface with Xbee ...
0
votes
2answers
83 views

Is it possible to record only incoming data with realterm?

I am trying to test a sensor circuit I'm working on. Essentially, I am using RealTerm to send commands to the microcontroller and it is returning the value read by the sensor. When logging to a file ...
1
vote
1answer
46 views

MCBL Controller through RS232

I'm trying to use the MCBL Controller by Faulhaber to control my motor. I'm trying to program some sort of driver on linux using the serial connection and libserial. But it does not seem to be working ...
0
votes
3answers
2k views

Any image transfer protocol for wireless serial transfer?

I want to send image over wireless serial communication. I am planning to capture images using either raspberry pi or stm32 mcu using DCMI and then transfer image using wireless serial communication ...
2
votes
1answer
51 views

arduino serial mixing incoming commands

In my project i'm aiming to control a quadruped robot from my android phone using raspberry pi as a middle device (web server). In order to make sure that the server on RPi working fine i googled and ...
1
vote
1answer
795 views

Help sending serial command to Roomba

I have a Raspberry Pi hooked up to a Roomba 560's serial port. While going over the spec, I noticed movement controls weren't as simple as I expected. I can't send bytes larger than 255, but, ...
2
votes
1answer
164 views

Arduino Uno getting a type of “HANGED” while runing samll code of switc debounce and Serial print

I am using Arduino UNO to read a push button every time it is pressed.Earlier i was simply reading the Digital IO pin to read the count and then i faced the condition of switch debounce regarding ...
3
votes
2answers
3k views

Unable to read pushbutton press properly in Arduino

I am trying to use a push button in order to know and print number of time a push button is pressed using a counter.But everytime i press the button , counter get incremented to sometime 3 and ...
5
votes
7answers
18k views

Bluetooth module HC-05 giving ERROR :(0)

I am working right now with Arduino UNO and HC-05 bluetooth module.I followed the instruction given on this link for wiring. So there are 2 mode of working with this HC-05 module Simple serial ...
2
votes
3answers
1k views

Controlling Robots Through Serial

I recently have been working on a little project. Unfortunately, I've ran into a bit of a road block with controlling servos using serial commands. The servos do appear to move when i put in any ...
1
vote
1answer
890 views

problem in serial communication between PC and ATMEGA 8535(AVR)

I have written code to send data from controller to pc through serialport using interrupt but it echos garbage value exactly 3 times back. ...
1
vote
0answers
658 views

Firmata over nRF24

I'm having some technical problems... I'm trying to use Firmata for arduino but over nrf24, not over Serial interface. I have tested nRF24 communication and it's fine. I have also tested Firmata over ...
6
votes
5answers
3k views

How to calculate serial speed and buffer requirements for PC to microcontroller communications?

A common scenario is to have a PC that sends commands to a microcontroller via RS232. My PC program is sending commands (each of which are composed of multiple bytes) as fast as it can to a small ...