Forum Replies Created
-
AuthorPosts
-
2018-12-04 at 1:45 PM in reply to: Water Monitoring in remote locations with a solar Particle Electron #12676
Nice write up on github thankyou. I’ve got the ParticleIO WiFi going for one project. Particularly interesting your TDS references thanks.
hi @frbiggs I’ve used the teensy – but it comes in a number of flavors.
Checkout https://github.com/duff2013/SDI12_T3
IHMO the Teensy3.5 also has +5V tolerant pins.
The Teensy3.5 and 3.6hi @frbiggs I’ve used the teensy – but it comes in a number of flavors.
Checkout https://github.com/duff2013/SDI12_T3
IHMO the Teensy3.5 also has +5V tolerant pins.
The Teensy3.5 and 3.6 processors have some nice ram. https://blog.adafruit.com/2016/10/06/new-products-teensy-3-5-teensy-3-6/Can you say what your context is – are you looking to use ModularSensors which also has a lot of infrastructure support.
Thanks for all the help in diving into the ModularSensors code.
I’ve captured my notes on how to work as a developer with the layers of ModularSensors/TinGSM/KellerLib/Arduino code – https://githuThanks for all the help in diving into the ModularSensors code.
I’ve captured my notes on how to work as a developer with the layers of ModularSensors/TinGSM/KellerLib/Arduino code – https://github.com/neilh10/ModularSensors/wiki/git-cmds-for-preparing-for-a-PR This is really my cheat sheet – but available if anybody else wants it.I’ve put a discussion of measuring LiIon voltage https://github.com/EnviroDIY/ModularSensors/issues/196
I’m seeing a divergence in between two different sources of measuring LiIon from V_BI’ve put a discussion of measuring LiIon voltage https://github.com/EnviroDIY/ModularSensors/issues/196
I’m seeing a divergence in between two different sources of measuring LiIon from V_Batt and ExtVolt/ADS1115.Hello Shannon/@shicks – thanks for the detail.I missed that it was an internal connection on the mega1284 to the 3.3V
The issue with the 3.3V, is that it is connected to the LiIon through the reHello Shannon/@shicks – thanks for the detail.I missed that it was an internal connection on the mega1284 to the 3.3V
The issue with the 3.3V, is that it is connected to the LiIon through the regulator SPX3819.
The regulator has a dropout that is variable depending on the load, temperature etc – so from the datasheet at load of 500mA it could be a potentially max of 700mv under some extreme conditions, but more likely to be the typical 340mV.
So assuming that the LiIon V is measured before any load is applied ie less than 50mA, the max regulator dropout is 250mV, but more likely to be 125mV…
So I am reading the datasheet, (and sometimes let out the smoke for getting it wrong 🙂 )…Taking worst case analysis – measurement of the LiIon V with std settings, below 3.5V could be distorted.
Practically speaking I’m seeing a distortion of LiIon V when it drops below 4.1V, measured by BattV compared to an ExtVolt with 100K/100K. Still investigating – I’m probably got something wrong, but trying different options.
Thankyou @fisherba thankyou!!!. I got the Xbee SB6 wifi communicating to data.envirodiy.orgI’ve cloned locally github.com/EnviroDIY/ModularSensors
then set to develop
and copied
enviroDIY\Thankyou @fisherba thankyou!!!. I got the Xbee SB6 wifi communicating to data.envirodiy.orgI’ve cloned locally github.com/EnviroDIY/ModularSensors
then set to develop
and copied
enviroDIY\ModularSensors\examples\logging_to_EnviroDIY
Arduino\env02\nanolevelStarting up platformIO I opened the folder Arduino\env02\nanolevel
in platformio.ini I set
[platformio]
;src_dir = logging_to_EnviroDIY
src_dir = .[env:mayfly]
lib_deps =
https://github.com/EnviroDIY/ModularSensors#8f1d8b58c2b9813484feed77a6074f215ecbc3e3
https://github.com/vshymanskyy/StreamDebugger
https://github.com/PaulStoffregen/AltSoftSerial.git
https://github.com/EnviroDIY/SoftwaterSerial_ExternalInts.gitFor my logging_to_EnviroDIY.ino
I merged in specific updates for only Keller Nano
I have the XBEE cmd stream showing with new StreamDebuggerThe commit – https://github.com/EnviroDIY/ModularSensors/commit/8f1d8b58c2b9813484feed77a6074f215ecbc3e3 seems to be there already, but I’ll do a manual compare.
I use meldmerge.org – fantastic compare and merge tool.
Thankyou @fisherba & @srgdamiano for the pointers – there are a lot of changes in ‘develop’ – I can’t imagine how to track them.
Amazing work @srgdamiano for bringing it all together
I’ll let my mayfly+xbee run on my desk and see what happens.Just wondering if I should be able to build from the develop or whether there are dependencies that make it too complex.
If I need to just wait until it gets to master – then thats OK as well, bJust wondering if I should be able to build from the develop or whether there are dependencies that make it too complex.
If I need to just wait until it gets to master – then thats OK as well, but if its useful;I’m using GitHub Desktop (latest 1.4.2)
I switch to ModuleSensors which map to https://github.com/EnviroDIY/ModularSensors.git and maps to my c: git\envirodiy\ModularSensors
Fetch origin shows just updated
I set current branch to develop
In Git Power shell I have
C:\Users\neilh77\git\envirodiy\ModularSensors\examples\logging_to_EnviroDIY [develop]> ls
Directory: C:\Users\neilh77\git\envirodiy\ModularSensors\examples\logging_to_EnviroDIYMode LastWriteTime Length Name
—- ————- —— —-
-a—- 10/11/2018 12:10 PM 44318 logging_to_EnviroDIY.ino
-a—- 10/11/2018 4:33 PM 760 platformio.ini
-a—- 10/4/2018 10:25 AM 917 ReadMe.mdI start up VS with PlatformIO
File->Open Folder->C:\Users\neilh77\git\envirodiy\ModularSensors\examples\logging_to_EnviroDIY
I then press the icon “trash can” PlatformIO Clean
> Executing task: C:\Users\neilh77\.platformio\penv\Scripts\platformio.exe run –target clean <Processing mayfly (framework: arduino; platform: atmelavr; board: mayfly)
—————————————————————————————————————————————————————–
LibraryManager: Installing id=1648 @ =0.15.3
Error: Could not find a version that satisfies the requirement ‘=0.15.3’ for your system ‘windows_amd64’
The terminal process terminated with exit code: 1Thanks for the status 🙂 very much appreciate its a a work in progress – sometimes it just figuring it out. Its great to have it visible on github and to get pointers.
For software stability, teThanks for the status 🙂 very much appreciate its a a work in progress – sometimes it just figuring it out. Its great to have it visible on github and to get pointers.
For software stability, testing is everything, and the options for boards and modems are a matrix.
For the record using the Xbee WiFi S6 hybrid, the current master branch as of this date needs updates to ModemOnOff.cpp to manage the PowerOnOff
With those updates I ran the Xbee Wifi last night posting to data.envirodiy.org
However alot the changes/work that has been performed since May and ModemOnOff.cpp functions are merged into another class – and I’m still exploring what has changed – so will continue that when the changes are released.I do appreciate everyone’s pointers – and also when there is a lot of work being released – sometimes the best for any outsider (me) is just to support with testing when it becomes appropriate, and of course lots of learning about the changes.
Ok thanks – great eye – I caught a couple of spaces when I pasted it in, but the last GUID was later
Now I am posting and getting 201 back.So a question -if I’m going to submit up
Ok thanks – great eye – I caught a couple of spaces when I pasted it in, but the last GUID was later
Now I am posting and getting 201 back.So a question -if I’m going to submit updates – should I be working of the master branch or the develop branch?
currently I have library from May 24th update of
https://github.com/EnviroDIY/ModularSensors/blob/master/examples/logging_to_EnviroDIY/platformio.ini
lib_deps =
EnviroDIY_ModularSensors@>=0.12.2………………
Clock interrupt!
Current Unix Timestamp: 1539171120
Logging interval in seconds: 300
Mod of Logging Interval: 120
Number of Readings so far: 0
Mod of 120: 0
Time marked at (unix): 1539171120
year: 2018
month: 10
date: 10
hour: 11
minute: 32
second: 0
Time marked at [char]: 2018-10-10T11:32:00-08:00
Time to log!
Local:RS485on–
Turning modem on.
nhTurning modem on by setting pin 23 to 0.
Modem now on.
Powering sensors…
Skipping modem in sensor power up!
Waking sensors…
Updating sensor values…Waiting up to 5 seconds for modem to respond to AT commands…
[12578] < 1 >
[12582] ### AT:
[12584] < 1 >
[12593] ### AT: CN
[12595] < 1 >
[12814] < 1 >
[12822] ### AT: AI
[12830] ### AT: CN
[12832] < 1 >
No prior internet connection, attempting to make a connection.
Waiting up to 5 seconds for modem to respond to AT commands…
[13060] < 1 >
[13064] ### AT:
[13066] < 1 >
[13074] ### AT: CN
[13076] < 1 >Waiting up to 5 seconds for WiFi network…
[13297] < 1 >
[13303] ### AT: AI
[13314] ### AT: CN
[13316] < 1 >
Sending credentials…
[13535] < 1 >
[13543] ### AT: EE 2
[13547] < 1 >
……
[13604] ### AT: WR
[13635] < 1 >
[13643] ### AT: AC
[13647] < 1 >
[13654] ### AT: CN
[13658] < 1 >
[13877] < 1 >
[13883] ### AT: AI
[13891] ### AT: CN
……
[18872] < 1 >
[18878] ### AT: AI
[18888] ### AT: CN
[18890] < 1 >
… Connection failed
Connecting to NIST daytime server to check connection strength…
Connecting to 129.6.15.30…[19116] < 1 >
[19124] ### AT: IP 1
[19128] < 1 >
[19146] ### AT: DL 129.6.15.30
[19150] < 1 >
[19159] ### AT: DE 25
[19163] < 1 >
[19169] ### AT: WR
[19202] < 1 >
[19208] ### AT: AC
[19212] < 1 >
[19218] ### AT: CN
[19222] < 1 >
…Success!
Getting signal quality:
[19550] < 1 >
[19556] ### AT: LM
[19566] ### AT: CN
[19568] < 1 >
RSSI: 162
Percent signal strength: 0
Get Values:
Pressure_mbar:3.18
Temp_C: 17.18
Height_m:0.03
Get Values:
Pressure_mbar:3.17
Temp_C: 17.16
Height_m:0.03
Get Values:
Pressure_mbar:3.17
Temp_C: 17.16
Height_m:0.03
Putting sensors back to sleep…
Cutting sensor power…
Skipping modem in sensor power down!
Local:RS485off–
Connecting to the Internet…Waiting up to 5 seconds for modem to respond to AT commands…
[24643] < 1 >
[24647] ### AT:
[24649] < 1 >
[24657] ### AT: CN
[24659] < 1 >Waiting up to 50 seconds for WiFi network…
[24879] < 1 >
[24887] ### AT: AI
[24895] ### AT: CN
[24897] < 1 >
… Connected with saved WiFi settings!
Connecting to data.envirodiy.org…[25120] < 1 >
[25145] ### AT: LA data.envirodiy.org
[25288] ### AT: IP 1
[25290] < 1 >
[25313] ### AT: DL 129.123.41.212
[25317] < 1 >
[25325] ### AT: DE 50
[25329] < 1 >
[25335] ### AT: WR
[25368] < 1 >
[25374] ### AT: AC
[25378] < 1 >
[25387] ### AT: CN
[25389] < 1 >
…Success!\/—- Post Request to EnviroDIY —-\/
POST /api/data-stream/ HTTP/1.1
Host: data.envirodiy.org
TOKEN: 7b19191b-b3d6-416d-9e07-4fbe549f2493
Content-Length: 334
Content-Type: application/json{“sampling_feature”: “b918f150-4fff-424d-813a-a69a808a93b6”, “timestamp”: “2018-10-10T11:32:00-08:00”, “3907922a-56fe-46f3-a56e-9de6b77d3679”: 21.25, “f40a9dff-2c54-43ae-a016-1c5095c188eb”: 0.0324, “7bc30855-ae08-4865-ab89-a8e17df93bfc”: 17.16, “2c58e64d-6b66-4d9e-b893-bfdb10b65426”: 3.972, “0cf94fc8-a5d2-4fbe-82f2-2a81650575a8”: 0}
[26597] < 1 >
[26605] ### AT: TM0
[26609] < 1 >
[26615] ### AT: WR
[26648] < 1 >
[26654] ### AT: AC
[26658] < 1 >
[26664] ### AT: CN
[26669] < 1 >
[26888] < 1 >
[26896] ### AT: TM64
[26900] < 1 >
[26906] ### AT: WR
[26939] < 1 >
[26945] ### AT: AC
[26949] < 1 >
[26955] ### AT: CN
[26959] < 1 >
Closed TCP/IP.
— Response Code —
201
Running a daily clock sync…
Disconnecting from the Internet…
Turning modem off.
Turning modem off by setting pin 23 to 1.
Modem now off.
Successfully connected to SD Card with card/slave select on pin 12
Opened existing file: nh06d_2018-10-10.csv\/—- Line Saved to SD Card —-\/
2018-10-10 11:32:00,21.25,0.0324,17.16,3.972,0——————————————
-
AuthorPosts