The "small MCU" option is along the line of putting something like an
Arduino between the IOIO and the sensor, which will translate the unusual
protocol of the sensor into something more standard, such as serial (UART).
That is, this middleman will constantly wait for samples from the HX711 and
as soon as one arrives, it will write the value on a serial output. The
IOIO can then read those values by listening for serial input, which is
easy.

Custom firmware means changing the inner workings of the IOIO and client
library so that it can talk to this specific sensor. The advantage is that
you're saving the middleman. However, it requires you to study the inner
workings of the IOIO, be comfortable in developing software for a PIC24
microcontroller, which can be quite a steep learning curve if you haven't
done this before.

On Tue, Sep 19, 2017 at 7:47 PM, Maximillian <felix.c.sapu...@gmail.com>
wrote:

> Can you give some hint for the "Custom Firmware" or the small MCU you
> talking about on your previous response?
>
> On Wednesday, September 20, 2017 at 9:43:57 AM UTC+7, Ytai wrote:
>>
>> See my previous response about your options
>>
>> On Sep 19, 2017 6:51 PM, "Maximillian" <felix.c...@gmail.com> wrote:
>>
>>> Hi Ytai,
>>>
>>>
>>> Thanks for reply and sorry for the confusion.
>>>
>>> I plan to use this weight sensor with IOIO
>>>
>>>
>>> <https://lh3.googleusercontent.com/-DovYQ-cu_0A/WcHHVgmhvUI/AAAAAAAA9gU/zapvVE91XJ4gPelwMdvaWKxUhjjrU6WLACLcBGAs/s1600/22141909_52dcbe9c-2d96-456c-ad76-7df1487b1ce9_800_800.jpg>
>>>
>>> The item title is "(Load Cell) 20Kg + Driver HX711 24bit gain amplifier
>>> ADC Module"
>>>
>>> There is one illustration for connecting it to arduino
>>>
>>>
>>> <https://lh3.googleusercontent.com/-zxYvBoklcaE/WcHIvzNiA4I/AAAAAAAA9gg/ECSEqhvvl6867SeKvuemj0FdhOz53fG0wCLcBGAs/s1600/22141909_d3c60c0d-b9ee-40f4-b98c-207ad682d8cd_800_800.jpg>
>>>
>>> Based on this illustration, can I assume that I can just connect the
>>> load cell to the Driver, and connect the driver to the IOIO?
>>>
>>> Or I will need anything else? Maybe the "custom firmware" that you and
>>> Juan talking about.
>>>
>>> Thanks a lot.
>>>
>>>
>>> On Wednesday, September 20, 2017 at 5:26:52 AM UTC+7, Ytai wrote:
>>>>
>>>> I don't understand the question. Are you talking about not using the
>>>> HX711 altogether or something else?
>>>> From what I can tell, using the HX711 with the IOIO would inevitably
>>>> require either custom firmware or some small MCU between the IOIO and HX711
>>>> to act as an adapter.
>>>>
>>>> On Mon, Sep 18, 2017 at 11:23 PM, Maximillian <felix.c...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi Juan/Ytai,
>>>>>
>>>>> Can I just use the HX711 weight sensor + Driver HX711 24bit gain
>>>>> amplifier ADC Module
>>>>> and connect it to the analog input pin of IOIO, then read the value?
>>>>>
>>>>> Or I really need a "custom firmware" as you say?
>>>>>
>>>>> Please advise.
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>> On Tuesday, March 8, 2016 at 10:41:25 AM UTC+7, Juan Carlos Contador
>>>>> wrote:
>>>>>>
>>>>>> 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 <
>>>>>>> bake...@gmail.com> 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 ioio-users+...@googlegroups.com.
>>>>>>>> To post to this group, send email to ioio-...@googlegroups.com.
>>>>>>>> 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 ioio-users+...@googlegroups.com.
>>>>> To post to this group, send email to ioio-...@googlegroups.com.
>>>>> 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 ioio-users+...@googlegroups.com.
>>> To post to this group, send email to ioio-...@googlegroups.com.
>>> 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 ioio-users+unsubscr...@googlegroups.com.
> To post to this group, send email to ioio-users@googlegroups.com.
> 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 ioio-users+unsubscr...@googlegroups.com.
To post to this group, send email to ioio-users@googlegroups.com.
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