-
-
-
-
-
-
Both @Gordon @allObjects how easy would it be to implement the read differential inputs feature? Which is there in the Arduino Lib. That would round the module out and work well for load cells/strain gauges and other inputs from sensors that use a bridge.
-
@Gordon thanks for the tips
-
All I've working with thingstudio and they are currently implementing support for HTTP get/post/put which should mean it will talk to Espruino. They have been doing some great work under the hood. I've just created my first SVG widdgets using their template-ing system.
Will give a heads up when it's in state to play with. -
@Gordon it's just started working again for a reason I can't see.
I've been using IDE every day for last 2 weeks, I always disconnect.One issue is the IDE won't reconnect so what I have to do
is remove USB from pico
Connect on IDE
Reconnect USB to pico
Select given port & then all works -
-
@allObjects as a way of saying thanks would be happy to get an ADS1X15 to you for testing. Would that be OK with you? If so direct mail and I'll arrange.
Lawrence
-
For IoT cloud platforms you can't help but fall over one each week.
For a full list see http://postscapes.com/companies/iot-cloud-servicesOpenSensors.io look interesting given their open data approach. @Gordon cubitic.io now that is interesting predictive analytics. Xively solid but no innovation I met them over 5 yrs ago the only thing that changed is ownership & the name :(
-
@allObjects your real star. Thanks so much for taking the time to dig this one out. So poor assumptions on my part didn't help. I made the fixes to inline code @Gordon used initially (it was a straight port from Arduino Lib). As for modifying the module I can't even find it on Git let alone fork it!
For the optimization I will leave that to @Gordon.
One thing Lines 80..84: think it's best to return the raw value and allow user to scale to suite.Thanks again
Lawrence -
Update this gives me the correct voltage in but I don't understand why?
Gain is 4096 & voltage multiplier 6.144I2C1.setup({ scl: B6, sda: B7 }); var ads = require("ADS1X15").connect(I2C1); ads.setGain(4096); setInterval(function(){ ads.getADC(3, function(val) { console.log("val:"+val+" v:"+(val*6.144/32768).toFixed(3) + "v"); }); },3000);
-
Ok I'm having a senior moment I've clearly misunderstood how prog gain works
I've been banging away at this all afternoon and not getting anywhere.
Tried 2 different ADS1115 (16bit)I'm tying to measure 0 to 3.3v analog in
So started with gain setting is 4096 +/- 4.096V
So if I understand this correctly an input voltage of 2.048 should give 50% of range 32768 and 4.096v would give 65536I can't get an val that correlates in any way.
I've tried other gains same result.
Any ideas welcomed with thanks.Lawrence
-
-
-
@Gordon this great news & 0.01mA would put very close to a deep-sleeping electricimp
-
@Gordon thanks for the heads up on power requirements.
We're oh hols for 10 days but will be back at it on our return. -
@Gordon woo working with my 7yr old we are part way building meArm she thinks this is "kool" Also helps with mechanical construction to see it up so close. Is colour disk dispenser a 3d printed item or sumit you found ebay.
Thanks for sharing
-
-
-
What does repeat: true do? repeat after debounce has expired?
setWatch(function(e) {....}, B10, { repeat: true, edge: 'both', debounce: 200 });
I'm driving a relay via a FET with protection diode from Pico which energises when I run save() from the IDE or from power-on. Not what I want or expected
// main sort of .. pinMode(B15,'output'); digitalWrite(B15,0); I get an odd voltage about 2.43v from B15
To fix it I add pinMode def to
function onInit(){ pinMode(B15,'output'); }
What am I missing?
-- Did you add .connect(...) like I said?
I did but not in the correct place, sorry your going to treat my like eejit & assume nothing!
Ok working will test the differential inputs tomorrow.
And will order some strain gauges to test with.
Thanks @Gordon & @allObjects