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
4 votes
Accepted

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

What you want cannot be simply done by using an Android device and a USB cable. You will need a micro controller to process the instruction sent from your mobile device and then control the motor ...
user avatar
3 votes
Accepted

How to transfer signed integers with libusb?

What you are looking for is called serialization. Serialization is the process of creating a string (a serial stream of data) (not necessarily NUL-terminated) from arbitrary data. The issue ...
user avatar
  • 3,210
3 votes
Accepted

how to power extra usb devices for beaglebone black

Yes this is pretty easy to solve, you just need basic soldering skills. Just open the cables of your additional USB-devices, you will see 4 wires. 2 of them are for the data, just leave them. The ...
user avatar
  • 1,647
3 votes
Accepted

Interfacing high-resolution image sensors with ARM Board

I would like to suggest you to use Beaglebone Black , it is smaller than size compared to Raspberry pie. It is just the size of a credit card. And has a faster processor of 1 GHz and has an inbuilt 3D ...
user avatar
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
2 votes

Communicating with syringe pump using PySerial

First, ensure that your wiring is consistent with the wiring diagram on p. 24-25. I've seen similar "random" behavior when the grounds are not connected properly. Before attempting to ...
user avatar
2 votes

Communicating with syringe pump using PySerial

I don't know how it would be specifically in Python, but generally speaking, when you open a file, you get a handle which you may possibly write to or read from. Again, generally speaking, the ...
user avatar
  • 3,210
2 votes

Communicating with syringe pump using PySerial

ser.write is always returning number of bytes written. It is not the response to your command. In order to get the response, you need to perform a ...
user avatar
2 votes

how to power extra usb devices for beaglebone black

Use a self-powered hub. Look at the power adapter from the mains (220v). In almost all instances, it is converting 220vac to 5vdc (sometimes 5vdc and rarely 12vdv). Cut the power adapter cable to the ...
user avatar
  • 161
2 votes

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

Whilst your question would be better suited to the Arduino StackExchange site, I shall attempt to answer it nevertheless. Below is the method that I have used in the past, however, there are, ...
user avatar
  • 1,284
2 votes
Accepted

Libusb and arduino communication not working

Did you initialize libusb? From the Sourceforge documentation: int libusb_init ( libusb_context ** context ) Initialize libusb. This function must be called before calling any other libusb ...
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

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

USB is more than just a connector. It is a standard communications protocol, voltage levels, and even wiring colors. I suggest you get a standard USB cable, cut it in half, then splice in your ...
user avatar
  • 5,225
2 votes

Trigger two usb cameras at the same time

As you say, you can't trigger them at the exact same time without hardware capable of doing so. Some IMU's supply an external trigger pin, and I see no reason why you couldn't buy cameras that have a ...
user avatar
  • 151
2 votes

USB instead of RS232

Communication latency is another reason why USB1.1 or USB2.0 is not always a good replacement for RS232. Data on USB1.1 or USB2.0 bus is formatted into 1ms or 125us frames respectively, which forces ...
user avatar
1 vote

Affordable pi like computer for robot

The Argon One case has a USB 3.0 M.2 adapter for the raspberry pi 4. So, you could use an SSD instead of an SD card, if that is where you're having issues. https://www.argon40.com/argon-one-m-2-case-...
user avatar
1 vote

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

The initial motor current required to pull away from standstill is likely the cause of the pi being reset, you could try to accelerate slowly rather than hitting the gas too quickly. A capacitor is ...
user avatar
  • 66
1 vote

Understanding the SICK S300 RS422 data output

According to the SICK 300 driver in ROS, your endpoint data will be a sensor_msgs/LaserScan ROS message, which you could reach to its values such as ...
user avatar
1 vote

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

You just need a DC-DC converter. This will take care of stepping down the voltage from battery to USB power specs. You may buy the ICs online and solder them or look for a breakout boards for quick ...
user avatar
  • 11
1 vote

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

You can control DC motors from an Android device without a separate micro controller. The two ways I've seen this done are through a USB to parallel printer cable or through a headphone jack. Read ...
user avatar
  • 11
1 vote

How to run custom hardware from a laptop

Other possible source of electronics for such applications are pololu, adafruit, and sparkfun. All three of them offer all sorts of motor controllers, servo controllers, sensor interface boards, etc.
user avatar
  • 1,027
1 vote

Interfacing high-resolution image sensors with ARM Board

you dont need to do the soldering for the cypress processor, there are always sdk boards like http://www.cypress.com/?rID=58321 or really just get something like http://www.e-consystems.com/UltraHD-...
user avatar
1 vote
Accepted

Communicating with syringe pump using PySerial

Thank you for directly linking to the manual -- that makes answering questions like this much quicker. I connected the instrument to my computer using a D-sub/USB conversion dongle. I'm assuming ...
user avatar
  • 4,385
1 vote
Accepted

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

After reading AVR and CrossPack docs, I've found really easy to do this. For AVR development environment setup, do the following thing: Install xCode on your Mac, choose latest version. Now install ...
user avatar
1 vote

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

At the time of writing, OP is still missing some info so this is only my guess. TLDR; My guess of a cause of the problem is you didn't have libusb version 0.1 As in ...
user avatar
  • 270

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