Questions tagged [usb]

USB stands for Universal Serial Bus. It is a commonly used standard which defines the cables, connectors and communications protocols used in a bus for connection, communication, and power supply.

Filter by
Sorted by
Tagged with
13 votes
5 answers
1k views

USB instead of RS232

RS232 is not popular as it used to be and is mainly replaced by USB [wikipedia]. Problems such as mentioned in this question doesn't help its reputation either. In a new system design therefore, one ...
user avatar
  • 3,210
7 votes
3 answers
2k views

how to power extra usb devices for beaglebone black

I'm building a robot that uses a beaglebone black, however I have several different usb devices that I want to connect to it (microphone, usb sound device and some other things). Now I have heard that ...
user avatar
  • 303
6 votes
3 answers
1k views

How do I measure the distance that a cord (string) has moved?

For a pet project, I am trying to fly a kite using my computer. I need to measure how far a cord extends from a device. I also need to somehow read out the results on my computer. So I need to ...
user avatar
  • 317
6 votes
3 answers
2k 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 ...
user avatar
  • 91
6 votes
1 answer
2k views

Is it possible to interface android mobile as GSM and GPS module with arduino based robotic applications?

I want to built a robot and i need bunch of modules to track it like GSM/GPS Wifi and Camera If i try to buy each of module separately it will cost me 300 dollar each aprox in Pakistan. On the other ...
user avatar
5 votes
1 answer
235 views

How to connect Phone to Robot while charging phone from external battery?

I am controlling a robot via usb from an Android phone running the robot's code. This phone has a poor battery and I need to extend its life with a USB charger (can't change phones). How can I charge ...
user avatar
4 votes
2 answers
1k views

Interfacing high-resolution image sensors with ARM Board [closed]

I'm working on a project requiring HD (Stereo) Video Processing. Most of High Resolution (5MP+) Sensors use MIPI-CSI interface. I managed to get a board with an Exynos5 SoC. The SoC Itself has 2 ...
user avatar
3 votes
1 answer
603 views

How to transfer signed integers with libusb?

Folks at programmers stack exchange asked me ask here: I want to communicate with an arduino and sent integers it. I code this program in C++. I initialy used bulk_transfer(), but it sends only char ...
user avatar
3 votes
1 answer
1k views

Trigger two usb cameras at the same time

I'm studyng stereo cameras, and I want to build one. I searched a lot in internet, and the opinions are quite different about this topic. Basically, my question is: Can I synchronize two usb ...
user avatar
3 votes
1 answer
697 views

How can I preserve a high framerate while using at least 1280x720 resolution on 2 USB cameras on the same computer?

To expand on this, I have a down-facing camera using the whycon ROS node on Ubuntu 16.04 Kinetic on a quad-core computer with 640x480@60fps MJPG video. I'm also using the ...
user avatar
  • 133
2 votes
4 answers
2k views

Communicating with syringe pump using PySerial

Let's first start of by explaining that I do not have a decent background in electronics and interfacing with them, so maybe this is a stupid question. I am currently trying to connect an old Harvard ...
user avatar
  • 123
2 votes
1 answer
7k 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 ...
user avatar
  • 303
2 votes
1 answer
450 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.
user avatar
2 votes
1 answer
4k views

How to connect an Arduino Uno to an Android phone via USB cable?

Is it possible to set up communication between an Arduino Uno and an Android phone using a wire that directly connects the Android phone and the Arduino?
user avatar
2 votes
1 answer
553 views

how to make Mac detect AVR board using USBasp and burn program to it?

I am new to Embedded, starting with AVR programming using C. I am working on Mac OS 10.9.4, so far I am using avrdude and xCode as IDE. It works very well, for now I am testing my code using Proteus. ...
user avatar
2 votes
2 answers
1k views

How do I send text to a Torobot USB device?

I'm trying to get the "Torobot" USB servo controller to work with Angstrom Linux on a Beagle Board XM. The servo controller registers as a USB device. The device just takes simple text commands, but ...
user avatar
1 vote
2 answers
1k views

Which USB interface for Android device I can use for motor driver

I am new to robotics, I will be controlling DC motors from Android device through USB For this I have selected L298N motor controller(After watching YouTube videos ) And got some DC motors I have no ...
user avatar
  • 113
1 vote
1 answer
892 views

Libusb and arduino communication not working

I am doing a line following robot based on opencv. I have my onboard computer(an old pandaboard) running opencv. It will calculate the offset from the required path and communicate it to the arduino ...
user avatar
1 vote
1 answer
64 views

Just run program on NXT, not download?

Is there any way I can simply run a program on the NXT, but not download it? I have all my programs already downloaded, and I am connecting with a USB cable to a MacBook Pro using the NXT-G interface....
user avatar
  • 111
1 vote
1 answer
39 views

Affordable pi like computer for robot

I have raspberry pi in a robot but it seems sdcard is not reliable at all. What are affordable options that could be considered reliable? Pi+USB Flash, Pi+USB SSD, Pi compute module with eMMC, ...
user avatar
  • 111
1 vote
1 answer
141 views

Power to Raspberry Pi and DC motors from a single USB power bank

I'm running a simple robot involving a Raspberry Pi 3 and 2 JGA25-370 motors. The system is powered from a single Powerbank (EasyAcc 10000MAh) which has 2 2A ports. DIY USB cable has data pins ...
user avatar
  • 173
1 vote
0 answers
19 views

Faulty GPS data on Serial Monitor

I am trying to interface Stonex S900A GPS with nVidia TX2 which has ROS melodic installed. The GPS data cable is a DB9 type (RS232). I connected a DB9 to USB converter with the cable and connected it ...
user avatar
1 vote
0 answers
455 views

Connecting Wifi bee with Xbee USB adapter

I started to follow "Get started with the Wifi Bee" tutorial in Wifi bee v1.0 wiki page. I am using Xbee USB adapter v2.0,Wifi Bee-RN-XV,mini USB cable as listed in Tools needed. When i conneted the ...
user avatar
  • 11
0 votes
3 answers
317 views

Understanding the SICK S300 RS422 data output

I'm using a SICK S300 safety scanner connected via RS422 -> USB and I'm trying to decode the lines of data into meaningful values, however looking at the data compared to the Telegram Listing it seems ...
user avatar
  • 1
0 votes
2 answers
60 views

How to run custom hardware from a laptop [closed]

I am looking to build some custom hardware (nothing too fancy, just some motors, cameras and the like), and I need it to be controlled by my laptop (its going to have to do a non-trivial amount of ...
user avatar
  • 103
0 votes
1 answer
424 views

What dependencies do I need for USB programing in python with pyUSB?

I am trying to get the usb.find command to work properly in a python script I'm writing on Angstrom for the Beagleboard. Here is my code: ...
user avatar
0 votes
1 answer
4k views

Build an WiFi IP camera with webcam [closed]

I have a USB webcam and a WiFi module which it can convert Serial data to WiFi and vice versa. The question is can I simply convert the data coming from the webcam to serial with a USB to Serial IC (...
user avatar
0 votes
1 answer
102 views

Problems connecting to the Granite Devices USB6AX motion controller

I am working on a setup from 2008 with a 6 axis USB motion controller and 4 vsd-e drives very similar to the setup shown here. The motion controller board is exactly the same as in the first post of ...
user avatar
  • 1
0 votes
1 answer
251 views

Connecting USB Xbox Controller to National Instruments cRIO

I have a FIRST Robotics spec National Instruments cRIO. I would like to connect a USB wireless Xbox controller to it in order to control it from a distance with minimal extra hardware (which is why I ...
user avatar
-2 votes
1 answer
54 views

My Plug Says It's USB, I can't Identify

I ordered this cool little USB endoscope camera, but the cord does not look like any type of USB I have ever seen. I would eventually like to make this act like a webcam, so does that make a ...
user avatar
  • 101