Code Monkey home page Code Monkey logo

sfm3300-arduino's People

Contributors

myelectrons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sfm3300-arduino's Issues

Number of commands needed to retrieve serial number

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?

Volume Measurement Setup?

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:

  • You reported sub-cc accuracy in volume measurement. What volume of airflow was this error measure over? (the greater the volume, the more drift in measurement)
  • What was the peak flow of this measurement? (approximate heuristics/description appreciated, even such as "gentle manual squeezing of a BVM respirator attached to the sensor" helps if nothing else is available)
  • How much tube "space" was there in the setup approximately between the flow generated and the sensor?

Specifics with Arduino Nano 33 IoT

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!

Arduino Initialization

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.

  1. What steps did you take to initialize your Arduino before you could run any of your sketches on it?
  2. I'm guessing you had to follow one of Arduino's Quickstart guides to initialize the microchip you used. I was curious which guide you followed? (For example, I'll probably be using the UNO Rev3, which gives guides for Arduino IDE 2.0, Arduino IDE 1.8, and Web Editor)
  3. If you used a different guide than one I listed, do you know if me using one of these stated above would still allow me to use your sketches?

Thanks for sharing your code, and I hope to hear from you soon!
-Ramon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.