Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OptoShield LED too bright / major hardware issue #14

Closed
gergelytakacs opened this issue Apr 6, 2018 · 3 comments
Closed

OptoShield LED too bright / major hardware issue #14

gergelytakacs opened this issue Apr 6, 2018 · 3 comments
Labels
bug Something isn't working major Major issue or bug. opto OptoShield functionality
Projects

Comments

@gergelytakacs
Copy link
Owner

@Gabor7697 has found out that the LED in the OptoShield is too bright, causing resolution and calibratin issues. At 5/255 analogWrite levels the sensor ouput is 900/1023; reducing resolution. Moreover according to him:

  • The 10 k resistor for the LDR divider is not optimal, he calculated 2.3 kOhm (see below).
  • A different colored LED can also help to reduce output.
  • Larger LED resistor could reduce power.

All of the solutions above should be possibly tested.

@Gabor7697's calculations on a possible change in the LDR voltage divider.
image

The feedback process (because of the bad ranging) is not very nice, looks something like this:
image

@gergelytakacs gergelytakacs added bug Something isn't working opto OptoShield functionality major Major issue or bug. labels Apr 6, 2018
@gergelytakacs
Copy link
Owner Author

@Gabor7697 pls. talk to @TiborKonkoly on possible HW changes when you can.

@Gabor7697
Copy link
Contributor

Ok.

@gergelytakacs gergelytakacs added this to First try in PID Apr 7, 2018
@gergelytakacs gergelytakacs removed this from First try in PID Apr 7, 2018
@gergelytakacs gergelytakacs added this to Hardware in OptoShield Apr 7, 2018
@gergelytakacs
Copy link
Owner Author

@Gabor7697 and @TiborKonkoly have patched the shield successfully. @TiborKonkoly should (after his thesis) modify the remaining boards. Do not forget to update any documentation, e.g. the wiki!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major Major issue or bug. opto OptoShield functionality
Projects
No open projects
OptoShield
  
Hardware: ToDo
Development

No branches or pull requests

3 participants