Hi ItaiI'm new to the development world and will be happy if you can assist mei just bought 2 ioio (probabley will burn one :) ) and try to understand how to work with iti would like to connect a signal from sensor which as an mA output ( 4mA = 0 ; 20mA = Full scale exp: low temp = 0 (4mA) ; Full scale = 50ºC (20mA)each sensor have power supply and for that case i believe i need to connect shunt resistor in order the analog signal as voltage1. Where shuold i connect the shunt resistor?2. how the analog input is sampling the voltage +/-?3. what to do if the sensors has floating ground?i hope it is not too much but i could use a drawing how to sample. also what is the max current to the input? to be able to choose correct resistorthanksAmiram--
You received this message because you are subscribed to the Google Groups "ioio-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/ioio-users/-/REY-Te2sOwUJ.
To post to this group, send email to ioio-...@googlegroups.com.
To unsubscribe from this group, send email to ioio-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ioio-users?hl=en.
Should be fine as long as your shunt is spec'd correctly and the current is indeed within the said range.
--
You received this message because you are subscribed to the Google Groups "ioio-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/ioio-users/-/fmA4I_rOYQ8J.
Hi again,well unfrtunalty, i burd one card :(, but it was due to bad conection :)I'm using a new baord (more carefully now), I connected as suggested and downloaded a ready sw by Michael http://mitchtech.net/android-ioio-dual-analog-inputAs soon as i operate it, the values on x ; y flickers! and i see no changed in the reading values 4.0 mA and 4.65mA which should give me a valid value.
i tested the sw with 2 rotary potentiometers--> saw the changes but always the values flickes. since 4.0 and 4.1mA should be recodnized as different value.
I'll be happy to get some feedback how to get a steady readings maybe hw (diode) or sw average?
thanks for helpingAmiramp.s what if i used 10 inputs and 4 relays driven outputs at the same time? will the board operate correctly? or there are some limitation?
On Thursday, October 11, 2012 7:21:58 PM UTC+2, Ytai wrote:Should be fine as long as your shunt is spec'd correctly and the current is indeed within the said range.
On Oct 11, 2012 9:45 AM, "Amiram Barimboim" <amir...@gmail.com> wrote:thanks a lot for your replyTo post to this group, send email to ioio-...@googlegroups.com.from what you have posted, I beleive it is okay to connect the 22V external votage and connect the GND together with the IOIO GNDthanks again for your helpOn Sunday, October 7, 2012 7:07:45 PM UTC+2, ingdarciac wrote:--Hi again, check this post in the first case.Ok, the supply voltage you tell us is 22V, at 20mA the voltage that you need in the shunt resistor is 3.3V in the worst case for measuring in the A/D.Rshunt = 3.3V/20mA = 165 Ohms, comercially you find a resistor of 160 Ohm giving 3.2V at 20 mA.In the other case Vshunt= 160Ohms*4mA = 0.64VYou must connect an A/D pin of the IOIO in the positive terminal of the shunt Resistor, I recommend you measure this circuit with a multimeter before you connect to the IOIO.Making the Software in eclipse when you read the A/D pin, You need to do a conversion from Voltage to the variable that you need.For Example at 3.2V-3.3V indicates 50°C and 0.64V indicates 0°C, the function could be T(°C)= 18.797x-12.03Where x is the reading in the A/D.
You received this message because you are subscribed to the Google Groups "ioio-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/ioio-users/-/fmA4I_rOYQ8J.
To unsubscribe from this group, send email to ioio-users+...@googlegroups.com.--
You received this message because you are subscribed to the Google Groups "ioio-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/ioio-users/-/u-SeqZKUfLgJ.