Questions tagged [ioio]

IOIO (pronounced: yo-yo) is a product which lets you connect electronic circuits to an Android device and control them from an Android application.

45 questions
7
votes
1 answer

Why do I get "libcore.io.ErrnoException: open failed: ENOENT" when running a IOIO Mint application?

I'm trying to make a simple application, which runs on an Android device (Alcatel One Touch 4030D, Android 4.1.1) and reads data from analog input pins of IOIO Mint via BlueTooth. I'm getting the error given below. What does it mean and how can I…
Glory to Russia
  • 17,289
  • 56
  • 182
  • 325
3
votes
0 answers

Application that reads data from IOIO microcontroller and creates a new acitivity on click

I am creating an application that reads in data from a IOIO microcontroller board and displays it to the screen after I hit a button. I have two classes, MainActivity, which has the button to hit, and AugiActivity which has all of the IOIO code,…
The Starfox
  • 101
  • 1
  • 1
  • 4
2
votes
0 answers

Can-Bus / SocketCAN interface in Android SDK?

I have some experience using MCP2515 adapter such as this one and using SocketCAN from Linux / Raspbian to get CAN-BUS data from a vehicle. I wanted to try something similar from Android and I've found IOIO OTG which has SPI capability. So I think…
veggiebenz
  • 389
  • 5
  • 12
2
votes
0 answers

Parse serial input[UART] on ioio board from an arduino TX output

I'm trying to have an Arduino UNO send values to a IOIO board (https://github.com/ytai/ioio/wiki/UART) over UART. As someone turns a rotary encoder, I want it to send a 0 for CW, 1 for CCW, and 2 for a press. Everything checks out in the Serial…
Torin
  • 21
  • 2
2
votes
0 answers

Liveswitching pintypes with the IOIO-OTG

So those who are familiar with the IOIO-OTG know you can set a pin on the board to be either an input or an output. So I have the following code: package ioio.examples.hello; import ioio.lib.api.DigitalInput; import…
Timothy Frisch
  • 2,995
  • 2
  • 30
  • 64
2
votes
1 answer

Connect IOIO Bridge with android_x86 in Virtualbox

Situation: Connecting IOIO Bridge to android_x86 in Virtualbox *adb connected to 10.10.10.3:5555 (where 10.10.10.3 is VBox)* adb forward tcp:4545 tcp:5555 java -jar ioiobridge.jar COM3 The output Seems Connecting to IOIO...…
internals-in
  • 4,798
  • 2
  • 21
  • 38
2
votes
1 answer

IOIO not connecting to PC, "waiting for handshake"

I, as well as many others, have had a problem with the IOIO OTG connecting with the PC, when building from eclipse. We are using the ADT version of eclipse, with all libraries properly imported. When running the HelloIOIOConsole program, the console…
Azulflame
  • 1,534
  • 2
  • 15
  • 30
1
vote
0 answers

IOIO board on Android: Working with external interrupts and change notifications

I am developing an Android application which controls some relays based on some sensors input. I have everything set up and code works just fine, except I don't like the fact that I have to poll for state changes in my activity. My code is based on…
Nick M
  • 2,424
  • 5
  • 34
  • 57
1
vote
1 answer

IOIO UART readback problems

I'm extending the BaseIOIOLooper to open up a UART device and send messages. I'm testing with a readback, where I send a packet over a line and receive that packet on another line and print it out. Because I don't want the InputStream.read() method…
errolflynn
  • 641
  • 2
  • 11
  • 24
1
vote
2 answers

Control external peripheral using android app

I had IOIO board and went through DIY Samples, like controlling LED, DC motor, Servo motor.. it was very interesting, and I want to design a toy remote car which should be controlled by an android app, There are many android boards available like…
ABI
  • 1,536
  • 18
  • 38
1
vote
1 answer

cant' run IOIOFactory.create()

first of all, I have no problems running all the examples in APP-IOIO0504.zip. Because my App has timing concern (in terms of mini sec), I would like to create an IOIO connection myself instead of using BaseIOIOLooper (i.e. another thread) or…
1
vote
1 answer

What is wrong with my fragment implementation?

Intro: I have an IOIO-OTG Board that is attached to an android device via a USB connection. My IOIO-OTG board is supposed to launch a looper upon connection, however this never seems to happen. The only reason I believe it doesn't seem to happen is…
Nevily
  • 50
  • 6
1
vote
1 answer

IOIO, is there a way to call softreset(); from another class?

I have a fragmentactivity and a fragment class; I am trying to set up so that when a user hits a Switch in my fragment class, the oncheckchangedlistener will soft-reset the IOIO-OTG board in order to allow the user to dynamically change a pin on the…
Timothy Frisch
  • 2,995
  • 2
  • 30
  • 64
1
vote
1 answer

IOIO-OTG connect PC udev rules for linux fails to detect

The rules file is called 50-ioio.rules and the the text is: ACTION=="add", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", SYMLINK+="IOIO%n", MODE="666" I copied this file to the udev rules directory using: sudo cp 50-ioio.rules /etc/udev/rules.d I then…
user2764108
  • 146
  • 2
  • 10
1
vote
1 answer

Extending a class--how do I avoid having to create multiple classes?

The question doesn't really make sense, but this should help explain it better. I'm currently using the IOIO, and it works like this: public class MainActivity extends CustomIOIOActivity {} From there I can call classes I've made in…
felix2018
  • 79
  • 6
1
2 3