myelectrons / sfm3300-arduino Goto Github PK
View Code? Open in Web Editor NEWSample code for Sensirion SFM3000 Series Air Flow Sensors - with Arduino
License: MIT License
Sample code for Sensirion SFM3000 Series Air Flow Sensors - with Arduino
License: MIT License
I'm writing an Arduino library to use this sensor in an open source ventilator project. I have seen You just use 1 command 0x31AE to get serial number as indicated in the sensor I2C functional description document but there is another document indicating a second command (0x31AF) is needed.
As we still don't have the sensor , do you know the reason for this difference?
I'm working on a related project with this sensor in the ventilation space and running into volume accuracy issues. It seems like for low flow values, the volume is reasonably accurate (but on the order of ~ 2-3ml error over 500ml of flow).
The sensor is actually being talked to indirectly through an I2C -> FTDI converter cable. This seems to be robust, but I also suspect some error here as the USB connection adds a few milliseconds of delay.
I was wondering what your setup was for testing volume -- I suspect that my inaccuracy is due to either turbulent flows or some other sensor issue. I've been able to improve accuracy by implementing a temperature control loop.
In particular:
I tried to rebuild this project with an "Arduino Nano 33 IoT". It's this device: https://store.arduino.cc/collections/iot/products/arduino-nano-33-iot
That's it. I had a lot of fun solving the problems. Thanks a lot @MyElectrons!
Hi @MyElectrons,
I am a biomedical engineering student trying to use your code to develop a class project. I have some coding experience, but have never used an Arduino before. I have a few questions regarding the initialization process that you followed to setup your Arduino.
Thanks for sharing your code, and I hope to hear from you soon!
-Ramon
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.