why: I had the same problem that appears in this publication ( 
https://groups.google.com/forum/#!topic/ioio-users/t9xaSr8yZNI ). I finally 
decided by the most elegant solution.

How: First of all, it seemed I was too exaggerated change (or extend) IOIO 
much of the code and java interfaces, only to support a particular sensor. 
I found that the port used for logging was a good choice to output sensor 
data. Then use this port for output, and this same signal is forwarded to 
the next pin (put a jumper). On the Java side, I open the latter for UART 
reading.
The data are collected from the sensor by a function located in main.c, and 
sent along with the model of the connected load cell, which then in the 
Java side will be used to configure and calibrate the scale automatically.
Something I forgot ... on the wish list for future versions I think we need 
a memory area for storing certain data like cookies (Java interface: putInt 
(name, value), putString (name, value), etc. ... And then ... support for 
WiFi adapters.

greetings and thanks for your excellent work.

(Sorry if something is not understood quite right, I use Google translator)

El lunes, 7 de marzo de 2016, 13:36:08 (UTC-3), Ytai escribió:
>
> 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 <[email protected] 
> <javascript:>> wrote:
>
>> hi, I mean that the IOIO board is the best way to make new accessories 
>> for android.
>>
>> I finally managed to connect a weight sensor ( hx711 ) with the IOIO , 
>> using a custom firmware , it reads the sensor only when a device is 
>> connected to this.
>>
>> On the Java side , I made an application using IOIOLib and WebView . This 
>> app exposes JavaScript interfaces, which are used by small mini -apps that 
>> emulate different weight indicators used more commonly. These mini -apps 
>> can be created on a website and be available immediately for testing .
>>
>> https://www.youtube.com/watch?v=i4qJ2Rk2740
>>
>> https://www.youtube.com/watch?v=Cawv5VZGuDY
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "ioio-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/ioio-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to