Recent Posts

Pages: 1 ... 8 9 [10]
91
SoilWatch 10 / Re: Problems with soilwatch in mkr Fox 1200
« Last post by pinolec on February 04, 2019, 08:04:54 AM »
That's great!  :)

Please let me know how the field tests go.

Piotr
92
SoilWatch 10 / When to use 1.1 volt v.s. 3 volt?
« Last post by kamloops on February 01, 2019, 06:43:59 PM »
First, I apologize if this has been covered or is so obvious that the question didn't need to be asked. I have googled the daylights out of this and can't find the info, so know I tried  ;D

My big question is, why and when would you would use the 1.1 volt v.s. the 3 volt sensor?

I currently have an Arduino UNO R3 with the inferior resistance-style sensors, but it has allowed me to get things going at least.

I have two sensors and two pumps running off of one Arduino and would like to keep it that way with the SoilWatch 10's if that's possible.

I am getting confused on whether I am restricted to either the 1.1 or the 3, or whether each offers different levels of sensitivity or other qualities, and whether you can run more than one sensor with the internal reference if using the aref on the board.

Can I just use the analog inputs with the 3volt version and be good to go?

Thanks in advance for any guidance you can give me before I order.

Cheers

93
SoilWatch 10 / Re: Problems with soilwatch in mkr Fox 1200
« Last post by martin.i.tycgis on January 31, 2019, 09:49:14 AM »
Quick Update:


It Works with 2 Soilwatch 10 and the SEN0148, now i have to do field test! I will tell you how this is going!

Un abrazo! (A hug in spanish!)

Martín
94
SoilWatch 10 / Re: Problems with soilwatch in mkr Fox 1200
« Last post by martin.i.tycgis on January 31, 2019, 08:58:16 AM »
Hi Piotr!

It work ! I´ve change the 7N2000 for a BS 170 and work perfectly, I will try to install the SEN1480 and the other Soilwatch 10, wanna try if i can control the 3 with one MOSFET .

I let you know the results! as always Thanks!

Martin

95
SoilWatch 10 / Re: Problems with soilwatch in mkr Fox 1200
« Last post by pinolec on January 30, 2019, 11:24:00 AM »
Hi,

From what I can see on the picture source and drain are connected the other way round. Just swap leads on leg 1 and 3 of the MOSFET.
If everything else is ok it should work then.
Make sure you put 100ms delay in your sketch after you turn on the MOSFET.

I hope this will work now  ;)

Kind regards,
Piotr
96
SoilWatch 10 / Re: Problems with soilwatch in mkr Fox 1200
« Last post by martin.i.tycgis on January 29, 2019, 09:26:43 AM »
Hello Piotr!

I am trying to use the 2N7000 Mosfet (I have the BS170 too) but i do not get the desire result, I think i am following wrong your schema, right now i get almost  the same readings for the sensor with the mosfet on and off, with the mosfet on :

ADC = 174, Moisture value = 0
ADC = 194, Moisture value = 3
ADC = 190, Moisture value = 3
ADC = 967, Moisture value = 130
ADC = 188, Moisture value = 2

the low ADC is around 160-200 and the high 950-980 in water and air

with the mosfet off

ADC = 361, Moisture value = 31
ADC = 450, Moisture value = 45
ADC = 334, Moisture value = 26
ADC = 437, Moisture value = 43
ADC = 325, Moisture value = 25
ADC = 402, Moisture value = 38
ADC = 497, Moisture value = 53
ADC = 1003, Moisture value = 136
ADC = 1001, Moisture value = 136
ADC = 1002, Moisture value = 136
ADC = 1002, Moisture value = 136

the low ADC is around 330-500 (in air) and the high 1000 (in water)

i put a 1M resistor and a 100 one ( At the moment i do not have 470 Ohms resistor) i read the specs and watch a lot of tutorials and people get results with the 100 resistor, I´ve changed the Mosfet to a new one, to discard that the mosfet factory errors,

I know this is for my electronic  knowlegde, I attach 2 pics of my circuit. The blue wires are the ground ones the red the VCC the white is for reading the sensor and the orange is to control the mosfet, the resistor closest to the orange wire is the 100 ohms and the other to the ground is the 1M one.

https://drive.google.com/file/d/1LUEg-T-2KOLSCw-pb6mt9N30Q3qJv0wz/view?usp=sharing
https://drive.google.com/file/d/18nFvt-TI2rGdJ6FRyyPaC7d6DzF_s_Km/view?usp=sharing

I am pretty lost, I have tried all, and I know that is a noob error probably, wanna figure it out myself but I could not do it.

Thanks for your Help Piotr, i am learning a lot thx to you, I understand you can not loose time because you have your own things to do, but I can not thank you for all the times you´ve helped me.

Kind regards,

Martín
97
SoilWatch 10 / Re: SoilWatch 10 with particle boards
« Last post by pinolec on January 28, 2019, 10:20:21 AM »
Hi,

It looks perfectly good. It seems that the default ADC mode for this board is 12-bits instead of 10-bits for Arduino UNO. This is why your ADC readings will span from 0 to 4096. To get 0 - 100% readout just modify enter correct minADC and maxADC you have read:

int minADC = 230;                     
int maxADC = 3733;

This should give you Moisture values in 0-100% range. If you like to calibrate the sensor with VWC scale then read the https://pino-tech.eu/forum/soilwatch-10/soil-specific-calibration/

The code was written for Arduino Uno so it may not be 100% compatible with all Arduino IDE compatible boards. You have managed it well.
I have no experience with Particle boards but if you have any issues then just ask. I will try to help the best I can.

Kind regards,
Piotr
98
SoilWatch 10 / SoilWatch 10 with particle boards
« Last post by mannydeleon99 on January 27, 2019, 01:19:34 AM »
Hello,

Just go a soilwatch and uploaded the code provided from you website.  I had to remove

//if(is1V1Output == true)
    //analogReference(INTERNAL); //set ADC reference to internal 1.1V

for the code to work.

When I have the sensor submerged in water it ready


ADC = 3729, Moisture value = 656
ADC = 3690, Moisture value = 649
ADC = 3709, Moisture value = 652
ADC = 3733, Moisture value = 656
ADC = 3695, Moisture value = 650
ADC = 3703, Moisture value = 651
ADC = 3711, Moisture value = 652
ADC = 3711, Moisture value = 652
ADC = 3700, Moisture value = 650
ADC = 3708, Moisture value = 652



When in air it

ADC = 231, Moisture value = 31
ADC = 238, Moisture value = 32
ADC = 231, Moisture value = 31
ADC = 236, Moisture value = 32
ADC = 244, Moisture value = 33
ADC = 235, Moisture value = 32
ADC = 232, Moisture value = 31
ADC = 231, Moisture value = 31
ADC = 231, Moisture value = 31
ADC = 230, Moisture value = 31
ADC = 234, Moisture value = 31


This is wrong correct?   Has anyone used these sensor with a particle argon or particle boron yet.  Can someone provide any helpful code.  Thank you
99
SoilWatch 10 / Re: Problems with soilwatch in mkr Fox 1200
« Last post by pinolec on January 17, 2019, 04:15:37 PM »
Hi Martin,

The 2N7000 and BS170 will most likely be good enough. Two sensors consume about 50mA which is within a specified limit of the 2N7000 and BS170. Both MOSFETs work up to around 100mA but you can read from the graph that at Gate-Source equal 3V the current is somewhere between 50-100mA. These MOSFETs are really cheap so simply ty it.
If for some reason the above solution doesn't work then you can also use one MOSFET for each sensor and turn it on with one pin.

The link you provided is for the level shifter. That is handy when you connect two devices with different core voltages and expect them to work together. "The logic level converter is a small device that safely steps down 5V signals to 3.3V AND steps up 3.3V to 5V at the same time".

So try one of these MOSFETs and let us know  ;)

Kind regards,
Piotr
100
SoilWatch 10 / Re: Problems with soilwatch in mkr Fox 1200
« Last post by martin.i.tycgis on January 16, 2019, 11:24:01 AM »
Hello Piotr i am trying to get the transistor you suggest me, but it´s to tiny i do not really now how to use it, i guess i need something like this ? i can not get too much information about it.

 https://www.amazon.es/iHaospace-Channel-Converter-Bi-Directional-Arduino/dp/B06Y5KKMLL/ref=sr_1_6?s=electronics&ie=UTF8&qid=1547637619&sr=1-6&keywords=Bi-Directional+Logic+Level+Converter

if i can use one of theese would be nice, on the other hand is easiest for me to get the El 2N7000 or BS170 can not work for this project ?

Kind regards,

Martin
Pages: 1 ... 8 9 [10]