I'm Vasyl Pominchuk, Full-stack Web Developer from Ukraine, currently in Calgary, AB, Canada.
I work as a Software Developer since 2006.
Website: pominchuk.com
Twitter: @VasylPominchuk
Lightmeter/Flashmeter for photographers, based on Arduino.
License: GNU General Public License v3.0
I'm Vasyl Pominchuk, Full-stack Web Developer from Ukraine, currently in Calgary, AB, Canada.
I work as a Software Developer since 2006.
Website: pominchuk.com
Twitter: @VasylPominchuk
Battery meter always show 100% and by the time battery dies, its just died without showing battery low
Привіт, Валиль, я в захваті від вашого проекту. Хочу його повторити, тільки додати ще одного сенсора 1750. Щоб потім отримати з нього даннин lux і розділивши їх на lux з першого 1750, і так дізнатися контрастність, між світлом двох датчиків. я спробував скетч з бібліотеки сенсора, і в серійний прорт обидва сенсора відправляють дані, але в ваш скетч, цей код вписати вірно я не зміг. Допоможіть, будь ласка.
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.
Would be great to add On/Off switch.
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.
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
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"));
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.
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.