GithubHelp home page GithubHelp logo

lightmeter's Introduction

🤗 Hey! Nice to see you.

I'm Vasyl Pominchuk, Full-stack Web Developer from Ukraine, currently in Calgary, AB, Canada.

I work as a Software Developer since 2006.

💞️ Things I code with

image image

image

image image image image image

image image image image image image

image image image image image

image

📫 How to reach me:

Website: pominchuk.com

Twitter: @VasylPominchuk

lightmeter's People

Contributors

vpominchuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lightmeter's Issues

Battery meter

Battery meter always show 100% and by the time battery dies, its just died without showing battery low

Ще один сенсор 1750

Привіт, Валиль, я в захваті від вашого проекту. Хочу його повторити, тільки додати ще одного сенсора 1750. Щоб потім отримати з нього даннин lux і розділивши їх на lux з першого 1750, і так дізнатися контрастність, між світлом двох датчиків. я спробував скетч з бібліотеки сенсора, і в серійний прорт обидва сенсора відправляють дані, але в ваш скетч, цей код вписати вірно я не зміг. Допоможіть, будь ласка.

my oled display stretched

Hello, my oled display is stretched so the shutter speed won't displayed.
how to fix this?

thanks

119430

I dont think you can use this sensor for flash measurements.

How can this work as a flash meter?

You code says its measuring time in milliseconds, and the fastest measurement this sensor can do is 16ms!

While camera flashes operate in 0.05-10ms range. There is no way you can use this sensor to measure camera flashes accurately. You would need to be able to take measurements in microseconds, and measure time in microsecond resolution.

incident or reflective?

Hi,
The maths equations for an incident reading are different to that of reflective readings.

Which of the two does this code use?

There is reference to using a dome, with correction factor in the code, which would indicate this is an incident meter, however the pictures do not show a dome?

It is now possible to buy a BH1750 sensor with dome, so this would be a good option if the code is an incident meter.

Has anybody built the meter & compared the readings to a professional meter?

Thanks.

Error on compile

Hi,
Using UDE 2.0.3 and library BH1750 by Christopher Laws, version 1.3.0

In file included from C:\Users\Nigel\Documents\Arduino\lightmeter-master\lightmeter-master\src\lightmeter\lightmeter.ino:76:0:
C:\Users\Nigel\Documents\Arduino\lightmeter-master\lightmeter-master\src\lightmeter\lightmeter.h: In function 'float getLux()':
C:\Users\Nigel\Documents\Arduino\lightmeter-master\lightmeter-master\src\lightmeter\lightmeter.h:52:49: error: no matching function for call to 'BH1750::readLightLevel(bool)'
uint16_t lux = lightMeter.readLightLevel(false);
^
In file included from C:\Users\Nigel\Documents\Arduino\lightmeter-master\lightmeter-master\src\lightmeter\lightmeter.ino:7:0:
c:\Users\Nigel\Documents\Arduino\libraries\BH1750-master\src/BH1750.h:70:9: note: candidate: float BH1750::readLightLevel()
float readLightLevel();
^~~~~~~~~~~~~~
c:\Users\Nigel\Documents\Arduino\libraries\BH1750-master\src/BH1750.h:70:9: note: candidate expects 0 arguments, 1 provided

exit status 1

Compilation error: no matching function for call to 'BH1750::readLightLevel(bool)'

Seems to be line 52
uint16_t lux = lightMeter.readLightLevel(false);

Now, if I remove the word 'false' so the line is as below, the code compiles without error

uint16_t lux = lightMeter.readLightLevel();

I have no idea what the 'false' does in the code, I wonder if it is there to wait for the read cycle from the sensor is complete?

Looking at the advanced example file, (pasted below), I'm wondering if the library file has been updated so one now uses something like
'if (lightMeter.measurementReady(true))' instead of the 'false' argument?

Help/advise appreciated.
thanks.

void loop() {
// we use here the maxWait option due fail save
if (lightMeter.measurementReady(true)) {
float lux = lightMeter.readLightLevel();
Serial.print(F("Light: "));
Serial.print(lux);
Serial.println(F(" lx"));

if (lux < 0) {
  Serial.println(F("Error condition detected"));

I2C Screen

Is it possible to change the code from the SPI screen to I2C? I'm using the same SSD1306 but it is the I2C model.

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.