GithubHelp home page GithubHelp logo

Comments (8)

xSnowHeadx avatar xSnowHeadx commented on May 23, 2024 1

...but then... how does it turn off everything except green (high on pin7)

To switch LED off the pin is set to tristate (or as input without pullup). So it is in fact disconnected and the voltage from power supply is not sufficient to reach the resulting flow voltage of the four LED in series.

Pin7 controls the brightness of all LED with the photosensor PD1. The higher the voltage on Pin7 the brighter the LED. To decrease the overall brightness of the LED put a resistor in parallel to R8.

from esp8266-vindriktning-particle-sensor.

Hypfer avatar Hypfer commented on May 23, 2024

There already is a light sensor for automatic dimming in place, however even in the "dim" state, the LEDs are still way too bright IMO.

I've mitigated that issue with my sensors by taking a black permanent marker and adding a few layers of paint to the LEDs.
They're still a bit too bright though

from esp8266-vindriktning-particle-sensor.

fabiosoft avatar fabiosoft commented on May 23, 2024

So next step... cut out uC for led 😇 ...and use pins and transistors/relays to control colors with a rule based on epa rules (already followed by original fw) AIR QUALITY STANDARDS (page 4)

from esp8266-vindriktning-particle-sensor.

brev-dev avatar brev-dev commented on May 23, 2024

I believe the image below shows the resistors corresponding to the LED pairs (greens are in parallel with two resistors; red and yellow are in series, with one each). So you should be able to tweak their values to reduce the offensive glare. I've popped-off R9 as a quick way to halve the green output. The least destructive alternative might be to shove some paper behind the frosted window.

edit: Yes, a few sheets of paper works quite well. Keep it off the top of the window if you don't want to obscure the light sensor. No need to go removing resistors LOL.

board

from esp8266-vindriktning-particle-sensor.

mamama1 avatar mamama1 commented on May 23, 2024

So next step... cut out uC for led 😇 ...and use pins and transistors/relays to control colors with a rule based on epa rules (already followed by original fw) AIR QUALITY STANDARDS (page 4)

at that point it would be easier to just ditch the original uC board and use the ESP or whatever uC for everything...

from esp8266-vindriktning-particle-sensor.

fabiosoft avatar fabiosoft commented on May 23, 2024

I found this schematic online
Vindriktning_shematic_Foto 19-08-21, 14 46 02

As far as i understant the PIN7 controls the GREEN LEDs and Pin3 controls the orange and red colors. I'am thinking how...maybe the uC ouputs low for turn on red and high for turn on orange? ...but then... how does it turn off everything except green (high on pin7)

My idea is to chop off uC legs 3 and 7 but i don't know what signal to generate to control LEDs individually.

Some suggestions? Thanks

from esp8266-vindriktning-particle-sensor.

mcodebase avatar mcodebase commented on May 23, 2024

Hi,
I try the solution from xSnowHeadx (add a resitor in parallel to R8 (22k)),
this resistor will be reduce the brightness when it's bright to the "dark" mode (has only 2 levels, normal or "dark").
But no chance to reduce the "dark mode" darker ...

My question, is there a Pin or an option to cut a ciruit path physically, so the LED will be completly "off".
My idea is to add a switch or relay so the Vindrikning is completly dark in the night (but still woking).

from esp8266-vindriktning-particle-sensor.

xSnowHeadx avatar xSnowHeadx commented on May 23, 2024

There is no simple solution for that. You only can switch the LED completely off by removing the connections of the red and green LED to the positive voltage and of the orange LED to ground by scratching the copper lines and using a dual poled switch to reconnect them on demand.

from esp8266-vindriktning-particle-sensor.

Related Issues (20)

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.