Hi! I'm Brian Foshee. I write software. I also take pictures, film videos, and play music.
brianfoshee / aquire Goto Github PK
View Code? Open in Web Editor NEWPull data from i2c probes
Pull data from i2c probes
The 1wire sensor id is hard coded which prevents other temperature sensors from being used.
The current calibration functions in atlas.go require user input which limits the usability/extensibility of the package. The calibration functions in atlas.go should be generalized to accept a type of atlas chip {ph,do,tds,ec} and the value for the calibration; all user interaction would be expected to occur outside of the library calls.
Utility Go script to make calibrating atlas probes easier
Introduced an edge condition last commit which can cause an index out of range error when trying to derive 1wire id
Let's write up a getting started kind of document for new users.
If a temperature sensor is not connected to the board, the board would ideally assume a standard temperature and proceed to collect data from the sensors available.
Currently, if a temperature sensor is not connected to the board, an uncaught exception preventing the other sensors from being solicited.
open /sys/bus/w1/devices/28-031466321eff/id: no such file or directorypanic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x14 pc=0x84944]
goroutine 1 [running]:
github.com/brianfoshee/raspberrypi/onewire.(*DS18S20).Read(0x0, 0x2, 0x2, 0x0, 0x0)
/home/pi/go/src/github.com/brianfoshee/raspberrypi/onewire/ds18s20.go:80 +0x3c
main.main()
/home/pi/go/src/github.com/brianfoshee/aquire/aquire.go:78 +0x8b0
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_arm.s:1322 +0x4
goroutine 5 [runnable]:
github.com/alexcesaro/statsd.func·005()
/home/pi/go/src/github.com/alexcesaro/statsd/conn.go:66
created by github.com/alexcesaro/statsd.newConn
/home/pi/go/src/github.com/alexcesaro/statsd/conn.go:78 +0x520
exit status 2
I swapped out my solar monitoring to use this instead, and I don't have the 10x issue with numbers
instantiating onewire connections in main loop causes system heap memory issue
talked about generated uuid and writing to file on system
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.