openwaterproject / riffle_328 Goto Github PK
View Code? Open in Web Editor NEWThe main repo for the Atmel 328 variant of the Riffle datalogger device.
Home Page: http://publiclab.org/wiki/riffle
The main repo for the Atmel 328 variant of the Riffle datalogger device.
Home Page: http://publiclab.org/wiki/riffle
so that protect if put battery on VUSB line
Quoting from issue posted by Greg on publiclab.org, here:
I believe I have everything which is included at the top of the .ino file (except stdlib is already installed of course):
include <JeeLib.h>
include <Wire.h>
include <SPI.h>
include <SD.h>
include <RTClib.h>
include <RTC_DS3231.h>
include<stdlib.h>
In addition I got the DHT-sensor-library which isn't referenced in the .ino but is in the riffle-ito-apps github page.
Here's what I get - seems like the RTC_DS3231 library isn't right, it's missing classes and redefining stuff...
In file included from riffle_testing.ino:6: /home/photosynq/arduino-1.0.5/libraries/RTC_DS3231/RTC_DS3231.h:88: error: redefinition of ‘class DateTime’ /home/photosynq/arduino-1.0.5/libraries/RTClib/RTClib.h:10: error: previous definition of ‘class DateTime’ riffle_testing.ino: In function ‘void setup()’: riffle_testing:100: error: ‘class RTC_DS3231’ has no member named ‘begin’ riffle_testing:102: error: ‘class RTC_DS3231’ has no member named ‘isrunning’ riffle_testing:107: error: ‘class RTC_DS3231’ has no member named ‘adjust’ riffle_testing:115: error: ‘class RTC_DS3231’ has no member named ‘adjust’ riffle_testing.ino: In function ‘void loop()’: riffle_testing:194: error: ‘class RTC_DS3231’ has no member named ‘getTempAsFloat’
One connector for general power input, one that allows for lithium battery management.
Current idea:
Datasheet: http://media.digikey.com/PDF/Data%20Sheets/Hirose%20PDFs/DM3D-SF.pdf
More drawings of it: http://www.hirose.co.jp/cataloge_hp/e60900232.pdf
Digikey: http://www.digikey.com/product-detail/en/DM3D-SF/HR1941DKR-ND/1844142
Eagle footprint (unverified, must check): https://github.com/indraastra/eagle/tree/master/libraries
Schematic in which Ben uses the part: https://github.com/bgamari/riffle/tree/fab/hardware
yes: need to know stats
no: can derive stats otherwise
It would help to organize and lay out the pinout diagrams in a more sensible way.
https://github.com/OpenWaterProject/riffle_328/blob/master/pics/medium_riffle_pinouts_detail.jpg
I don't think these labels are correct!
Also, diagrams that have the pin number as well (e.g. 3V3 = 8) are also necessary.
This will allow for applications in which the datalogger is awoken from sleep based on the RTC state.
on the top level I found the CERN licence, but the licence says "2.3. This Licence does not extend to software, firmware, or code loaded into programmable devices..."
I'm working in a project that use some code from Riffle, so I want to choose the right licence.
https://github.com/InfoAmazonia/water-sensor
https://github.com/InfoAmazonia/rede-hardware
Considerations:
Need to find low forward voltage drop diodes
Drawing: http://portal.fciconnect.com/Comergent//fci/drawing/10118193.pdf
Digikey: http://www.digikey.com/product-detail/en/10118193-0001LF/609-4616-1-ND/2785380
MacroFab library
MacroFab Eagle footprint: MF-CON-USB-RIGHT in their library: https://github.com/MacroFab/EDALibraries/tree/master/Eagle
Note: the MacroFab part does have 'through-hole' pins, and thus should be relatively mechanically stable. It also has a 'flare out' at the edge of the part that will require a recess on the board if the part is placed on the edge of the board perpendicular to the length of the Riffle. This will simply require making careful measurements using the above drawing as a reference ... a first pass at this is shown here:
https://www.sparkfun.com/products/12711?_ga=1.123419720.257117221.1421550707
diode used:
http://www.mouser.com/ProductDetail/ON-Semiconductor/MBRA140T3G/?qs=sGAEpiMZZMtqO%252bWUGLBzeD5hzUo7yUpF
datasheet on the diode:
http://www.mouser.com/ds/2/308/MBRA140T3-D-92888.pdf
looks like datasheet on the diode indicates that the forward voltage drop should be under .4 V when above -40 C, for a 20 mA draw from the Arduino. Not sure if we'll have brownouts when larger draw (i.e. when writing to SD card or etc). Can replace diode w/ zero ohm resistor if need be.
Easy to add via SparkFun's footprint -- and will allow for turning a sealed device on and off via an external magnet ...
https://www.sparkfun.com/products/10601
https://www.sparkfun.com/products/13343?gclid=Cj0KEQiAv5-zBRCAzfWGu-2jo70BEiQAj_F8oOruuqXdKK-6-gTWl6RSFn78Wv4c8HTu6GndOrYQ3ZEaAiDj8P8HAQ
Which will allow for wider range of battery input voltages. As long as the quiescent power is reasonable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.