Signed IOIO drivers for Windows 10

2016-06-10 Thread Ytai Ben-Tsvi
Courtesy of SparkFun, we now have signed drivers for IOIO, in order to make Windows 10 happy. There's no functional change in the drivers, so if things "just work" for you don't worry about it. Otherwise, grab it from the Downloads page . -- You

Re: 1 tablet to 2 IOIO boards over USB

2016-06-08 Thread Ytai Ben-Tsvi
The PC implementation is independent and DOES support multiple concurrent IOIOs in its current form. On Tue, Jun 7, 2016 at 9:09 PM, Richard Wright wrote: > Does the single IOIO device assumption apply equally to PC-based solutions > (Windows or Linux)? I was under the

Re: IOIO Wishlist - tell us what you want!

2016-06-07 Thread Ytai Ben-Tsvi
Please provide more details and ask the question on a separate thread. On Sun, Jun 5, 2016 at 9:52 AM, koks s3 wrote: > Hy > > Can somebody program a service on phone to control MediaPlayer (Volume +/- > , FF, FR, NEXT/PREV) . > IOIO connects on UART BUS, and just reads

Re: one Android device detects IOIO, not the other

2016-05-31 Thread Ytai Ben-Tsvi
With Android >= 4.2.2 you have to use OpenAccessory, by disabling USB debugging on the phone (and building your app with OpenAccessory support). On Sun, May 29, 2016 at 2:14 AM, Krunal Sabnis wrote: > Hi, > I am new to IOIO and just started with IOIO OTG, with its

Re: Android Experiments Challenge - Win Tickets to Google I/O 2016

2016-05-14 Thread Ytai Ben-Tsvi
Congratulations, man! Well deserved! I'm very proud to have had a small part in this project. Enjoy I/O and tell me all about it when we meet at Maker Faire :) On May 13, 2016 10:15 PM, "Al B" wrote: > It was finally announced today. > >

Re: Quick question about supporting Android Lollipop for IOIO v1 board

2016-04-25 Thread Ytai Ben-Tsvi
The protocol had changed in 4.2.2 to include an authentication feature. I've never implemented it. On Apr 24, 2016 22:55, wrote: > Oh, I just found another article about ADT and Android version issue. > Problem about IOIO on Android 4.2.2 >

Re: USB accessory permissions (again)

2016-04-22 Thread Ytai Ben-Tsvi
If I understand correctly your question and the Android API, I think the answer is that Android specifically doesn't want the application to be able to get those permissions without the user authorizing it every time, unless the user had designated this application as the default app for that

Re: Quick question about supporting Android Lollipop for IOIO v1 board

2016-04-22 Thread Ytai Ben-Tsvi
It should work. However, with Android >= 4.2.2 you *must* turn USB debugging *off* on the Android device and do your connection over OpenAccessory. Also, make sure you have recent firmware on your IOIO, just in case. On Thu, Apr 21, 2016 at 7:13 PM, wrote: > Hello, > > I

Re: Parallax Ping))) untrasonic sensor porblems with ioio . 1 board

2016-04-21 Thread Ytai Ben-Tsvi
Can you put on a bootloader and then use the blink ioioapp file with IOIODude? On Thu, Apr 21, 2016 at 4:57 PM, Vic Wintriss wrote: > I'm having difficulty bringing up one of my roomba boards with ioio > cIrcutry on the board. It would be really nice if I could have a

Re: DEV-13613

2016-04-20 Thread Ytai Ben-Tsvi
1. The major version of the firmware must be >= major version of client libraries. 2. Yes. There's no difference between the boards from a software standpoint, the difference is merely in making the power supply circuit more robust. On Wed, Apr 20, 2016 at 1:28 PM,

Re: Android Experiments Challenge - Win Tickets to Google I/O 2016

2016-04-14 Thread Ytai Ben-Tsvi
That's great to know! Good luck with Android Experiments! On Apr 14, 2016 11:30 AM, "pogono" wrote: > Sorry no writeup. I did not spend time on that. > I have totaly 3 projects with ioio. One is already final product a kind of > vending, actually game machine for small kids

Re: Android Experiments Challenge - Win Tickets to Google I/O 2016

2016-04-14 Thread Ytai Ben-Tsvi
That's really nice! I'm not associated in any way with the Android folks, so no idea why you're not on the web page. Do you have any writeup about the project other than this video? On Wed, Apr 13, 2016 at 10:21 PM, pogono wrote: > I applied with https://youtu.be/SsRI_FVs4Jg

Re: Parallax Ping))) untrasonic sensor porblems with ioio V1 board

2016-04-12 Thread Ytai Ben-Tsvi
collapsing, but no guarantees on maximum width, it may come out wider than 1ms. On Apr 12, 2016 3:02 PM, "Vic Wintriss" <vic.wintr...@jointheleague.org> wrote: Ytai: Why can’t I use: strobe.write(true); strobe.write(false); input.getDuration(); Vic On Apr 12, 2016, at 2:57 P

Re: Parallax Ping))) untrasonic sensor porblems with ioio V1 board

2016-04-12 Thread Ytai Ben-Tsvi
No threads involved and nothing asynchronous. You set the PWM once during setup(), then you getDuration() whenever you please. On Apr 12, 2016 10:52 AM, "Vic Wintriss" wrote: > I would rather run the ultrasonics asynchronously. Also since the kids > may not be be that

Re: Parallax Ping))) untrasonic sensor porblems with ioio V1 board

2016-04-12 Thread Ytai Ben-Tsvi
Use PWM output to generate periodic, precisely timed trigger pulses. On Apr 12, 2016 10:36, "Vic Wintriss" wrote: > I thought I was following your instructions. I am using the 4-pin sensor > as suggested and code that I thought was standard. What did you tell me to > do

Re: Parallax Ping))) untrasonic sensor porblems with ioio V1 board

2016-04-11 Thread Ytai Ben-Tsvi
I feel like I gave you my best advice, but you seem to insist on doing it in a way that's not supposed to work. On Apr 11, 2016 1:03 PM, "Vic Wintriss" wrote: > When I use this code: > > ioio.beginBatch(); > rightStrobe.write(true); > rightStrobe.write(false); >

Re: XC16-version for firmware 0506

2016-04-05 Thread Ytai Ben-Tsvi
I'm using v1.25. I don't see a reason to assume your problem is compiler-related, but you never know... On Tue, Apr 5, 2016 at 7:52 AM, Ole Tetzschner wrote: > Hi Ytai > > What version af XC16 are you using to compile the IOIO-firmware v0506? > > Reason for asking:

Re: (ADVANCED) Building the IOIO firmware

2016-04-04 Thread Ytai Ben-Tsvi
Works for me (and others). Try either v1.02 or v1.03. Also, people have gotten different results between bootloader and app mode, which is really strange, and I never got a chance to look into it. Worst case, try a different machine. On Mon, Apr 4, 2016 at 8:41 PM,

Re: Boot Loader Flash

2016-04-04 Thread Ytai Ben-Tsvi
> ./ioiodude --port=/dev/tty.usbmodem1a121321 *--reset *versions >> ./ioiodude --port=/dev/tty.usbmodem1a121321 versions >> >> OR: >> >> ./ioiodude --port=/dev/tty.usbmodem1a121321 fingerprint >> >> On Wed, Apr 1, 2015 at 7:43 PM, Vic Wintriss <g...@san

Re: Parallax Ping))) untrasonic sensor porblems with ioio V1 board

2016-04-01 Thread Ytai Ben-Tsvi
When you look at the waveforms, what do you see as the output pulse? My guess would be that it is very narrow, in the order of a couple of usec perhaps, and if that's indeed the case, it is likely because both messages comprising the pulse got collapsed into the same packet over one of the slower

Re: Connect IOIO OTG to USB Host in Android

2016-03-31 Thread Ytai Ben-Tsvi
There's support both in Linux and Android for running the IOIO as a USB device. I don't know specifically about the platform you're talking about. On Thu, Mar 31, 2016 at 2:09 PM, wrote: > Hello, > > I am doing the same thing... I would like to connect the IOIO

Re: IOIO-OTG -"Caught IOException. Exiting."

2016-03-27 Thread Ytai Ben-Tsvi
Call dumpStackTrace() on the exception object in the catch block. On Mar 27, 2016 6:33 AM, "wael mansour" wrote: > could you tell me how to dump the stack trace? > > > On Thursday, March 24, 2016 at 9:07:41 AM UTC+2, Ytai wrote: >> >> I don't know. Modify ioiodude to dump

Re: Help needed - Fried IOIO VREG, store refuses to comply warranty with provided evidence

2016-03-25 Thread Ytai Ben-Tsvi
When the vreg fails, it sometimes fails shorting the output to GND, so if that's the case bypassing it would not work, you'd have to desolder the vreg of the inductor. I have a lot of setups with up to 4 servos connected to the 5V output of the IOIO. From what I've seen this is not a problem when

Re: Computer Power Supply & IOIO

2016-03-25 Thread Ytai Ben-Tsvi
If you want to be extra safe, stick to under 10V. A computer PSU typically has 5V out, so you can use that and possibly bypass the regulator entirely by supplying directly on the 5V rail. On Mar 25, 2016 12:37 AM, "Roberto Silva" wrote: > How could I use a Power Supply to

Re: Help needed - Fried IOIO VREG, store refuses to comply warranty with provided evidence

2016-03-24 Thread Ytai Ben-Tsvi
Indeed some design problems have been identified with the vreg, which have been addressed and a new revision of the board is underway. Both SparkFun and SeeedStudio and myself have done a lot of testing related to this particular failure mode and I believe none of us has ever seen this issue

Re: Question about digital capture

2016-03-23 Thread Ytai Ben-Tsvi
On Wed, Mar 23, 2016 at 4:07 AM, phell wrote: > I am trying to understand what happens if I tell a digital input to wait > for the signal to go low. The Bluetooth bandwidth gives an update rate of > 200 Hz. What happens if the Signal goes low more often than every 5 ms? >

Re: IOIO-OTG -"Caught IOException. Exiting."

2016-03-22 Thread Ytai Ben-Tsvi
1. The difference between the IOIO002x configuration (platform) and the IOIO0030 is not just about the processor. It is about the bootloader ABI and about the board. IOIO002x is for the IOIO-v1 boards, running the old bootloader. So you should indeed use the IOIO0030 configuration as a

Re: Latest release formware

2016-03-20 Thread Ytai Ben-Tsvi
On the downloads page you'll find all this information. The zip files in the third column contain the HEX files you're after. You can use either the bootloader-only image and then use IOIODude to install the app (faster) or the combined bootloader+app

Re: PC can't find IOIO bluetooth

2016-03-20 Thread Ytai Ben-Tsvi
You seem to be doing everything OK. The mode switch to "H" thing is not typically needed ("A" is for "auto-detect" and should work). If your power supply is adequate, the only problem I can think of is the dongle itself. Try a different one. There's a list of known working ones on the wiki and

Re: can I prevent disconnect of the ioio

2016-03-15 Thread Ytai Ben-Tsvi
Come on... http://lmgtfy.com/?q=IOIOActivity+github On Mar 14, 2016 11:24 PM, "Ilan Tal" wrote: > Ytai thanks, > In my usual Java software when I have a lengthy calculation I use > SwingWorker where I override doInBackground. I suspect swing doesn't exist > in android, or at

Re: How to interface USB hid devices

2016-03-15 Thread Ytai Ben-Tsvi
When the IOIO is acting as a host, it doesn't support hubs. When acting as a device it shouldn't be a problem I believe. On Mar 15, 2016 5:13 AM, "Pranay Sharma" wrote: > > Can IOIO work with USB Hub? I tried connecting with the same but it was > not being detected? > >

Re: IOIOBridge not working on mac OSX

2016-03-15 Thread Ytai Ben-Tsvi
Someone had reported that there was a regression in ioiodude specifically for bootloader mode on a Mac. I haven't had a chance to take a look, but I would recommend that you use a different OS for firmware upgrade. Either windows or Linux should work fine. On Mar 15, 2016 8:20 PM, "Vic Wintriss"

Re: ioio board versions

2016-03-14 Thread Ytai Ben-Tsvi
If it's a IOIO-OTG its version code is SPRK0020 (assuming that's what you're asking about). On Mon, Mar 14, 2016 at 5:11 PM, Vic Wintriss wrote: > How can I tell which version of the ioio board that I have? > > -- > You received this message because you are subscribed to

Re: IOIO no longer connecting to the computer

2016-03-13 Thread Ytai Ben-Tsvi
Read the IOIO manager page on the wiki. On Mar 13, 2016 12:27 PM, "Kevin Chambers" wrote: > That is correct. > > I went out and bought another board which is working. Unfortunately I > can't return this one due to soldering on connections before I realized it > wasn't

Re: can I prevent disconnect of the ioio

2016-03-10 Thread Ytai Ben-Tsvi
You have several options: 1. Use IOIOService to have the communication with the IOIO going on in the background always. 2. Fork IOIOActivity to your own class, which triggers the start()/stop() events at different times in the application lifecycle. 3. Prevent the phone from

Re: IOIO no longer connecting to the computer

2016-03-09 Thread Ytai Ben-Tsvi
(I'm assuming this experiment has been done with no USB connection between the IOIO and the PC, i.e. a "cold" boot) This is definitely not the behavior of a good board. Either something in the hardware or in the bootloader firmware is messed up. If you have a second IOIO or a PIC programmer you

Re: Loading IOIO 5.07 in Android Studio

2016-03-09 Thread Ytai Ben-Tsvi
The intention is that you download the source from the release bundle rather than directly from Github. Otherwise, just get rid of this repository. It is only intended for me to be able to upload maven package to the central repo. On Wed, Mar 9, 2016 at 11:49 AM, Craig Shultz

Re: How to interface USB hid devices

2016-03-07 Thread Ytai Ben-Tsvi
It can't. One thing you may be able to do is to connect both the IOIO and the HID device to a USB hub and then to the phone (assuming it has host mode support), then write a driver for the reader (not as scary as it may sound - all in Java using the Android USB API). Another option is to get an

Re: weighing scale testing based on IOIO.

2016-03-07 Thread Ytai Ben-Tsvi
That's awesome! Thanks for sharing. Nice job on the GUI too! Care to say a few words about your custom firmware, why and how? On Thu, Mar 3, 2016 at 10:12 PM, Juan Carlos Contador wrote: > hi, I mean that the IOIO board is the best way to make new accessories for > android.

Re: IOIO getting disconnected on modifying the HelloIOIO program

2016-03-07 Thread Ytai Ben-Tsvi
Look at the logs to figure out what's wrong. My suspicion is that the problem is that you're calling an Android UI function (button_input.setChecked()) from the IOIO thread. You'd need to use the same trick with the runOnUiThread() like in toast() and enableUi(). On Mon, Mar 7, 2016 at 3:29 AM,

Re: getDuration issues

2016-03-06 Thread Ytai Ben-Tsvi
It is by design and the intention is that you can interrupt the thread if you want to cancel. Typically, you would use a TimerTask for that purpose. On Sun, Mar 6, 2016 at 8:54 PM, Kevin Miller wrote: > Hello, > I'm using an HC-SR04 in a IOIOService loop. I used a Timer to

Re: IOIO no longer connecting to the computer

2016-03-06 Thread Ytai Ben-Tsvi
If you're now connecting the IOIO just to power, are you getting the LED to fast-blink? Also, did you try connecting to a different port / different computer? On Sun, Mar 6, 2016 at 6:59 PM, Kevin Chambers wrote: > Before when I connected the IOIO to my PC it would show

Re: IOIO Flashing Light

2016-03-06 Thread Ytai Ben-Tsvi
;> direction of a DC motor. High for one direaction, low for the other. >> On Mar 6, 2016 8:01 PM, "Ytai Ben-Tsvi" <yta...@gmail.com> wrote: >> >>> Is there anything at all connected to pin 1, which might pull the pin >>> low sometimes? Is ther

Re: IOIO Flashing Light

2016-03-06 Thread Ytai Ben-Tsvi
like you describe. On Sun, Mar 6, 2016 at 5:49 PM, Colby LaRue <colby.dean.la...@gmail.com> wrote: > The board doesn't have continuity between ground and pin 1. It is a spark > fun board. It's hard soldered onto a circuit, so replacing it wouldn't be > fun. > On Mar 6, 2016 7:27

Re: IOIO Flashing Light

2016-03-06 Thread Ytai Ben-Tsvi
Sorry, hit send too soon... That would happen if you short pin 1 to GND while booting into bootloader mode. If you are sure this is not the case, sounds like you might have a faulty unit. Try replacing it. Is it from one of the official manufacturers? On Mar 6, 2016 5:24 PM, "Ytai Ben-Tsvi&

Re: IOIO Flashing Light

2016-03-06 Thread Ytai Ben-Tsvi
One thing that might cause this is if the configuration gets wiped all the time. On Mar 6, 2016 4:02 PM, "Colby LaRue" wrote: > When I power the IOIO board, the stat light is flashing quickly. Plugging > in to a computer fixes it, but I have to do that multiple times

Re: still stuck on getting HelloIOIO going

2016-03-02 Thread Ytai Ben-Tsvi
Yes, you should be able to send someone an APK and it should work. The IOIO has 4 different modes it can work in with Android (which are normally transparent to the user): ADB, Bluetooth, USB Accessory, USB device. When you comment out the libraries, you're disabling the last two. The emulator +

Re: Combining LibGDX with IOIO Activity

2016-02-29 Thread Ytai Ben-Tsvi
I don't work with the GUI configuration, but from the snippets you sent it seems like the IOIO dependencies are under the "core" project, which is a Java project. You can try moving them to the "android" project, which is an Android project (name is confusing). If you want some IOIO-related logic

Re: still stuck on getting HelloIOIO going

2016-02-28 Thread Ytai Ben-Tsvi
No. These libraries are not needed for running with the emulator/bridge. Why do you have the hyphen before the device name in your command line? It shouldn't be there. On Feb 28, 2016 2:12 AM, "Ilan Tal" wrote: > Ytai, > When we got the win10 going we had commented out

Re: IOIO Wishlist - tell us what you want!

2016-02-26 Thread Ytai Ben-Tsvi
It is still being supported. There haven't been a lot of new features added recently mostly because there aren't any high priority ones (according to my own priorities, at least) remaining. The only possibly major outstanding issue now is some flakiness using the IOIO with the OpenAccessory

Re: IOIO capabilities ??

2016-02-26 Thread Ytai Ben-Tsvi
You should be able to find most answers on the Wiki: https://github.com/ytai/ioio/wiki and some on my blog: http://ytai-mer.blogspot.com/ and the various product pages of the sellers. I would be happy to answer any remaining specific questions. To your current question: in the normal case, you

Re: still stuck on getting HelloIOIO going

2016-02-26 Thread Ytai Ben-Tsvi
The IOIOBridge should be able to connect to the IOIO regardless of whether the emulator is on or not. I suspect that that *-*IOIO0 on the command line as opposed to /dev/IOIO0 is what's causing the problem. On Fri, Feb 26, 2016 at 4:09 AM, Ilan Tal wrote: > Ytai, > I did do

Re: 5.05 open accessory disconnections problems…

2016-02-26 Thread Ytai Ben-Tsvi
Thanks for reporting. This is similar to issues encountered by others, so most likely a systematic problem and not something specific to your case. I suspect the Android folks have not been spending a lot of time maintaining the OpenAccessory stack, so its behavior might have changed in a

Re: still stuck on getting HelloIOIO going

2016-02-25 Thread Ytai Ben-Tsvi
BTW, I did verify that doing that works for me, so there doesn't seem to be a systematic problem here. On Thu, Feb 25, 2016 at 11:09 AM, Ytai Ben-Tsvi <yta...@gmail.com> wrote: > Are both libraries commented out now (they both should be!)? Re commenting > out the XML files, yo

Re: still stuck on getting HelloIOIO going

2016-02-25 Thread Ytai Ben-Tsvi
Are both libraries commented out now (they both should be!)? Re commenting out the XML files, you're getting the warning because you're commenting out the wrong copy of the file. See my previous email about it. On Thu, Feb 25, 2016 at 2:46 AM, Ilan Tal wrote: > Ytai, > Some

Re: still stuck on getting HelloIOIO going

2016-02-24 Thread Ytai Ben-Tsvi
Try giving the IOIOLibAndroidDevice library the same treatment. Maybe that was the one that had the problem. Commenting out XML file uses the syntax. On Feb 23, 2016 11:03 PM, "Ilan Tal" wrote: > Thanks for the reply Ytai. > First I added oracle jdk 7. Apparently something

Re: Combining LibGDX with IOIO Activity

2016-02-23 Thread Ytai Ben-Tsvi
1. Most likely something's still wrong with your build.gradle file. Compare it carefully against HelloIOIO's build.gradle. Send it here if you aren't able to find the problem. 2.There's nothing magical about the IOIOActivity class. You can simply copy its contents into your application class

Re: still stuck on getting HelloIOIO going

2016-02-23 Thread Ytai Ben-Tsvi
And re Java 8: you need to use Java 7 for compilation. The Android toolchain doesn't know how to work with Java 8 bytecode. The easiest place to change this is: right-click project > module settings > SDK location > JDK location > select Java <= 1.7 On Tue, Feb 23, 2016 at 12:56 AM

Re: still stuck on getting HelloIOIO going

2016-02-23 Thread Ytai Ben-Tsvi
Comment out the line that says compile 'com.github.ytai.ioio:IOIOLibAndroidAccessory:5.05' Then, comment out the line in the *original* manifest file (the one found under src/main/AndroidManifest.xml). Sorry for the pain - the Android folks must have changed something in the emulator and the

Re: IOIOBridge not working on mac OSX

2016-02-22 Thread Ytai Ben-Tsvi
Just verified that IOIOBridge 1.03 works for me on OSX 10.11.2 and Java 1.8.0_60. Is this a file permission issue perhaps (ls -l /dev/tty.*)? On Mon, Feb 22, 2016 at 8:23 PM, Ytai Ben-Tsvi <yta...@gmail.com> wrote: > I don't think it has anything to do with the board. > On Feb 22,

Re: IOIOBridge not working on mac OSX

2016-02-22 Thread Ytai Ben-Tsvi
I don't think it has anything to do with the board. On Feb 22, 2016 8:22 PM, wrote: > I'm not using IOIOBridge...just IOIODude. I have used IOIODude > successfully before. This is a brand new OTG board. I'll try it with > another one. > > On Monday, February

Re: IOIOBridge not working on mac OSX

2016-02-22 Thread Ytai Ben-Tsvi
Sorry for taking long, been on vacation. I haven't yet tried to replicate your issue. It definitely worked in the past for me. Have you ever seen it working, or is this your first time using IOIOBridge? Do you know whether IOIODude works? Any PC IOIO apps? On Thu, Feb 18, 2016 at 11:03 AM,

Re: creating an seamless ioio connection in an android app

2016-02-22 Thread Ytai Ben-Tsvi
Look into the implementation of IOIOActivity. You can, if you want, implement a similar class that invokes the helper's start() / stop() etc. at different times than the application's lifecycle events. On Mon, Feb 22, 2016 at 6:30 AM, Lumi wrote: > Dear all, > > I have

Re: still stuck on getting HelloIOIO going

2016-02-22 Thread Ytai Ben-Tsvi
Great. They keep changing stuff... Try disabling the dependency on IOIOLibAndroidAccessory in your gradle file (just for development time). On Mon, Feb 22, 2016 at 6:37 AM, Ilan Tal wrote: > Rather than changing things in the source code, I added Android 4.4.2 > which is at

Re: IOIOBridge not working on mac OSX

2016-02-16 Thread Ytai Ben-Tsvi
That's odd. Looks like some issue with PureJavaComm then. Not sure what. Works for me. Which version of OSX is this? Which version of JRE? On Feb 16, 2016 7:46 PM, wrote: > Opens fine with screen and serialTools. With screen: > > VicMacMini:~ VicMini$ screen

Re: IOIOBridge not working on mac OSX

2016-02-15 Thread Ytai Ben-Tsvi
What happens when you try to open the IOIO port using screen or miniport, etc? On Feb 15, 2016 5:07 PM, wrote: > Tried this: > > VicMacMini:dev VicMini$ /Users/VicMini/IOIODude-0103/ioiodude > --port=/dev/tty.usbmodem1A121321 --reset write >

Re: IOIOBridge not working on mac OSX

2016-02-14 Thread Ytai Ben-Tsvi
Can you please check the latest version (1.03)? On Sun, Feb 14, 2016 at 9:26 PM, wrote: > I am having what may be a similar problem: > > VicMacMini:ioiodude-0102 VicMini$ ./ioiodude > --port=/dev/tty.usbmodem1A121311 versions > > Exception in thread "main"

Re: need help on twi

2016-02-11 Thread Ytai Ben-Tsvi
If you want to write a byte, you typically perform a write read operation that has 2 bytes (register, value) on the write buffer and an empty read buffer. Then you can read back using another transaction, like the one you have. On Feb 11, 2016 03:31, "Lumi" wrote: > I

Re: need help on twi

2016-02-10 Thread Ytai Ben-Tsvi
Why are you separating this into two transactions? It is very uncommon. On Feb 10, 2016 5:09 AM, "Lumi" wrote: > Hello > > I found a figure (attached) explaining how the communication should take > place, I believe this helps to clarify the issue. > > Thanks. > > On

Re: App for remote control of IOIO over WiFi

2016-02-03 Thread Ytai Ben-Tsvi
Wow! What a great community spirit! Thank you, Richard! On Feb 3, 2016 21:49, "Richard Wright" wrote: > I have created a generic web service for IOIO-OTG devices. It was created > back before the switch to Gradle, so all of the build stuff would need to > be re-done. I

Re: App for remote control of IOIO over WiFi

2016-02-03 Thread Ytai Ben-Tsvi
So it seems like you're talking about HTTP (or even more specifically, REST), not just WiFi. My answer was essentially how to forward the IOIO connection over TCP. I'm not aware of such an app, but I do remember that others have asked about this in the past, so you may want to dig the forum and

Re: IOIO Stream has been closed

2016-02-01 Thread Ytai Ben-Tsvi
This might be (at least partly) an issue with the B4A library, which I cannot help with. Can you try to reproduce your simple program with the standard framework (Java)? On Sat, Jan 30, 2016 at 6:04 AM, István Rostás wrote: > When I close the yoyo ( close uart, close

Re: application + custom firmware on PIC

2016-02-01 Thread Ytai Ben-Tsvi
Sorry for being late to respond. 1. Yes (for some definition of "continuously", since there'll always be some small delay). You can do it either using the ADC or the comparator peripheral. 2. You won't be running two programs at the same time, but rather make a change to the standard firmware to

Re: Rfid with IOIO

2016-02-01 Thread Ytai Ben-Tsvi
Can you send a datasheet of the reader? Are you confident that the serial data gets to the pin with the right specs? Are you able to read *any* data? On Sun, Jan 31, 2016 at 4:52 AM, mohamed safwen trabelsi < medsafwen.trabe...@gmail.com> wrote: > Hello I'm trying to read tag RFID with android

Re: Problem with inputStream

2016-01-30 Thread Ytai Ben-Tsvi
Not sure what you're trying to achieve, but let's read your loop() code together to make it obvious why it does nothing and gets stuck: *while((i=in.read())!=-1) {* // Wait until a byte is available to read, or the input stream is closed. If the former, discard what you just read and go into

Re: Tracking down strange instability issues on Nexus 5/OPO

2016-01-12 Thread Ytai Ben-Tsvi
Sorry for taking long to respond and thanks for reporting the issue and looking into possible causes. I believe I've seen this issue in the past on an N7, but wasn't able to reproduce. I'm interested in having this case diagnosed and fixed. What did you mean exactly by "linked the instability to

Re: Two-wheel-mobile robots! Bluetooth or USB? This is the question!

2015-12-28 Thread Ytai Ben-Tsvi
It seems like the rate of the control loop depends on the execution time of its contents rather than on wall time. This would result in a fragile system whose gain parameters strongly depend on things such as the type of connection. To fix this, instead of making your sleep time constant, check

Re: ioiodude hangs on latest Mac OSX

2015-12-27 Thread Ytai Ben-Tsvi
t; wrote: >>>> >>>>> I'd like to do it myself lol but still need some pointers from you... >>>>> Any suggestion to do next? >>>>> >>>>> Best Regards, >>>>> Xing >>>>> >>>>> On Wed

New IOIO release improves support for OSX and Linux

2015-12-27 Thread Ytai Ben-Tsvi
Hey folks, Thanks to a persistent user, I was informed that there are problems with IOIO support on OSX El Capitan and Ubuntu 14.x. After some digging the issue is believed to have been fixed, resulting in the release of *IOIOLib v5.07*, *IOIODude v1.03* and *IOIOBridge v1.03*. Would appreciate

Re: ioiodude hangs on latest Mac OSX

2015-12-27 Thread Ytai Ben-Tsvi
rule 78-mm-usb-device-blacklist-local.rules as your previous instruction. > Not sure why yet... > > Best Regards, > Xing > > On Sun, Dec 27, 2015 at 7:07 PM, Ytai Ben-Tsvi <yta...@gmail.com> wrote: > >> I deleted the section from the wiki and instead updates the

Re: ioiodude hangs on latest Mac OSX

2015-12-27 Thread Ytai Ben-Tsvi
or me (already using it for a year) but I'm not sure > about others... > > > Best Regards, > Xing > > On Sun, Dec 27, 2015 at 2:40 PM, Ytai Ben-Tsvi <yta...@gmail.com> wrote: > >> Hey Xing, >> Can you please test IOIOLib 5.07 and IOIODude 1.03 on El Capitan and &g

Re: using Xamarin?

2015-12-26 Thread Ytai Ben-Tsvi
The question is: does xamarin allow you to include third party java libraries in your app? If not, you'd need to reimplement the library in c#, which is a lot of work. On the flip side, with a c# background, java should be easy for you... On Dec 25, 2015 2:59 AM, "otto100" wrote:

Re: Two-wheel-mobile robots! Bluetooth or USB? This is the question!

2015-12-26 Thread Ytai Ben-Tsvi
There shouldn't be any interference problems as long as your dongles use different addresses. Don't make the mistake of assuming that changing the PIN will solve this problem, it won't. There fact that USB doesn't work well for you is likely a bug in your application, such as implicitly relying on

Re: Chaning the Bluetooth Pairing Code

2015-12-26 Thread Ytai Ben-Tsvi
In the tools directory, first run make in the hex2ioio directory and make sure the tool is built. Then use the make-ioio-bundle tool to create the ioioapp file. On Dec 25, 2015 4:38 AM, "Mohsen Pashna" wrote: > Hello, can you guide me after changing the firmware, how we can

Re: ioiodude hangs on latest Mac OSX

2015-12-26 Thread Ytai Ben-Tsvi
> send me a link to the thread and I'll chime in. >> Thanks! >> On Dec 23, 2015 8:33 PM, "Xing Hu" <xing...@gmail.com> wrote: >> >>> I'd like to do it myself lol but still need some pointers from you... >>> Any suggestion to do next? >>> >>>

Re: ioiodude hangs on latest Mac OSX

2015-12-23 Thread Ytai Ben-Tsvi
gt; > On Wed, Dec 23, 2015 at 7:57 PM, Ytai Ben-Tsvi <yta...@gmail.com> wrote: > >> Purejavacomm >> On Dec 23, 2015 7:52 PM, "Xing Hu" <xing.y...@gmail.com> wrote: >> >>> PJC stands for "Pluggable Java Components" right? A little out of

Re: ioiodude hangs on latest Mac OSX

2015-12-23 Thread Ytai Ben-Tsvi
Does the IOIO enumerate correctly, i.e. does the usbmodem file appear when you connect? If so, can you try to open this virtual file using a terminal program such as 'screen' and let me know whether you get any output? It's possible that the new version of osx changed something that's causing the

Re: ioiodude hangs on latest Mac OSX

2015-12-23 Thread Ytai Ben-Tsvi
One experiment you can do is to try an build HelloIOIO yourself, but override the purejavacomm dependency to use the latest version. Otherwise, I'll look at it in a few days. On Dec 23, 2015 1:17 PM, "Xing Hu" wrote: > Well it is very likely to relate with some changes in

Re: connecting to pc

2015-12-17 Thread Ytai Ben-Tsvi
1. Make sure the host mode switch is in the "A" position. 2. Make sure you're using a standard micro-B USB cable (i.e. do NOT use the provided red cable when connecting to a PC). On Thu, Dec 17, 2015 at 5:37 PM, JooeeB wrote: > I plug ioio to the computer but

Re: Relay control problem with IOIO

2015-12-09 Thread Ytai Ben-Tsvi
See inline On Tue, Dec 8, 2015 at 10:06 AM, wrote: > I have no datasheet of that 16 relay module, only the link to Aliexpress. > I can't help much with how to hook up the relays with the information you're provided. I'm going to need some specs of the relay control

Re: Relay control problem with IOIO

2015-12-07 Thread Ytai Ben-Tsvi
First, if you're saying that changing the software to use the pins in open drain mode made things start working, it leads me to believe there might be an internal pull-up to at least 5V on the relay, which might damage the pins, depending on how strong it is. Second, there's no such thing as a

Re: Two-wheel-mobile robots! Bluetooth or USB? This is the question!

2015-12-04 Thread Ytai Ben-Tsvi
Depending on how you wrote the code, your control algorithm might be sensitive to latency (much higher on BT, ~20ms vs ~1ms) and/or jitter (much higher on BT). As for the cycle period, it is up to you to decide it, it shouldn't depend on the connection type. If you want to change the behavior

Re: ioio power

2015-12-01 Thread Ytai Ben-Tsvi
Thanks for the feedback, I agree with most of it, see inline. On Tue, Dec 1, 2015 at 2:22 AM, wrote: > If I manage to desolve one of those components, is the IOIO board still > functional, when powered (5V) using 5V pin ? > For me, powering the IOIO and servos has been

Re: Ioio otg drivers to PC?

2015-11-29 Thread Ytai Ben-Tsvi
Please read the wiki page about ioiodude. I bet it will answer most your questions. On Nov 29, 2015 11:17 AM, "Olli Pyynönen" wrote: > OK, The IOIO-OTG driver (TDFI) is now on com port 7 (USB). To upgrade the > firmware I downloaded IOIOdude files. I tried to open

Re: sequencer library & stepper motor

2015-11-29 Thread Ytai Ben-Tsvi
The best sources of information are: - The wiki page: https://github.com/ytai/ioio/wiki/Motor-control - Javadocs of the Sequencer class (available in HTML form in the software bundle). If you insist on a real-life code example, here's one, but probably not as simple as you had hoped:

Re: IOIO MANAGER

2015-11-22 Thread Ytai Ben-Tsvi
No. It is a little confusing. IOIO Manager cannot be used on newer ( >= 4.1) Android devices, when used for upgrading application firmware for old (v1, mint) IOIOs. I *can*, however, be used to drive a IOIO to be used as a programmer for another IOIO on any Android version. On Sat, Nov 21, 2015

Re: IOIO MANAGER

2015-11-21 Thread Ytai Ben-Tsvi
See inline. On Sat, Nov 21, 2015 at 2:07 PM, andY wrote: > Thanks for the response. > > I have successfully run app ioio0505 on Android Studio. I am a newbie on > android and have zero eclipse-android experience but it was easy to put the > app on my phone with Android

Re: IOIO MANAGER

2015-11-19 Thread Ytai Ben-Tsvi
NO NEED TO SHOUT :) A few things to note: - Upgrading the firmware of old IOIOs (including the Mint) with IOIO Manager only works in Android < 4.1. In other words, you have to get an OLDER phone for that to work. - You seem to have some misconceptions about how IOIO Manager is

Re: IOIO-OTG PC Application Question

2015-11-19 Thread Ytai Ben-Tsvi
It's surprising that this version was already there, I wasn't aware that SparkFun started shipping with this firmware already. In either case, is the switch on the IOIO in the "A" position? Are you using a standard USB A <=> micro-B to connect the IOIO to the PC? If the answer to both questions is

Re: IOIO-OTG PC Application Question

2015-11-19 Thread Ytai Ben-Tsvi
You're connecting it wrong. Just use a standard micro B USB cable to the IOIO. Do not use the red adapter. It is for connecting to Android. On Nov 19, 2015 6:43 PM, "ThePie" wrote: > Actually I forgot to mention that right when I got it I ended up flashing > it so I am

<    1   2   3   4   5   6   7   8   9   10   >