Prox / RFID
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Resume / Consulting
Contact Me

LDmicro Forum - Arduino with Ldr

(you are viewing a thread; or go back to list of threads)

Arduino with Ldr (by Toni)
Hello Does anyone have an example for Arduino Uno with Ldr for analog input?

Fri May 21 2021, 14:33:31
(no subject) (by paulino)
Sun May 23 2021, 11:12:59
(no subject) (by Toni)
Thanks for the answer but I would like to do it with Ldmicro.
Mon May 24 2021, 02:43:17
(no subject) (by MGP)
Use the ADC instruction..that's it

The rest you can find here https://github.com/LDmicro/LDmicro/wiki
Mon May 24 2021, 03:44:06
(no subject) (by Toni)
Ok, Thanks.
Mon May 24 2021, 04:27:22
(no subject) (by Calubert)
Attached LDR test since I understood that you wanted it with arduino 1 I did it with LDMicro, I made you an example of how to control it. I did it with internal relays in the exception of the duty_cicle, with this and your part of intelligence you will get to do great things ..
You have to keep in mind that it works with analogs from 0 to 1023, which is the range if you have a 5v pic 0 = 0V output if you place 511 = 2.5V 1023 = 5v output

Adjunto prueba de LDR ya que entendí que lo querías con arduino 1 te lo hice con LDMicro, te hice un ejemplo de como controlarlo. te lo hice con reles internos en la excepción del duty_cicle, con esto y tu parte de inteligencia llegaras ha hacer grandes cosas..
Mon May 24 2021, 12:08:30, download attachment Prueva LDR.ld
(no subject) (by Toni)
Perfect is what I was looking for, thank you very much.
Tue May 25 2021, 00:14:05
Post a reply to this comment:
Your Name:
Your Email:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):