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

LDmicro Forum - I have sensor which gives Analogue output 2-10v, Now I want to operate two Relays

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

I have sensor which gives Analogue output 2-10v, Now I want to operate two Relays (by RAJEEV)
I have sensor which gives Analogue output 2-10v, Now I want to operate two Relays.
First relay I want to operate with 5v output and second relay should operate when my sensor give 9v output.

thanks in advance.
Fri Feb 12 2016, 09:48:50
(no subject) (by Boris)
Analog input goes from 0-1024 (1000) for input signal 0-5V.

First You have to divide input signal by two, and then use analog input.

0-10V input is 0-1000
5V is 500
9V is 900

I hope You understand.
Fri Feb 12 2016, 11:08:17
(no subject) (by RAJEEV)
Dear Mr. Boris,

Thank you very much for your reply and I really appreciate for your help.

I had seen Samples files of LDMICRO programs. I was little confuse, now its clear.

Can you give any example file related to my program if possible.

Thanks
Fri Feb 12 2016, 14:21:30
(no subject) (by Rafael)
Microcontroller only works with input 5V, first you need a voltage divider.
Its sensors is 0-10v should divided by /2 through a voltage divider. Voltage divider are made with resistors and not with programming.
Fri Feb 12 2016, 19:18:44
(no subject) (by RAJEEV)
Dear Mr. Rafael,

Thanks for your reply.
Sat Feb 13 2016, 01:56:35
(no subject) (by Boris)
in interfacing You have:
"Measure a DC Voltage Between 0 V and 15 V"
instead R1-20k use 10k

Check in simulation to see how it works

You can display value on LCD if You want.
Sat Feb 13 2016, 07:01:57, download attachment Test.ld
(no subject) (by RAJEEV)
Thank you.
Sat Feb 13 2016, 07:40:47
Analog sensor (1-5v) display fluctuates (by Mukesh Pandey)
I have sensor which gives Analog output 1-5v. But my display fluctuates. please check the program & suggest any modifications. do I need an averaging circuit? if yes please suggest how to perform. if we have any instructions for the same in Ldmicro. I congratulate & thankful to you for launching new version.

Thanking you for your precious guidance
Sat Nov 18 2017, 14:52:26, download attachment ADC.ld
Is there any way to use Vref- & Vref+ pins to alter analog input reference voltage by using move instruction (by Mukesh )
Is there any way to use Vref- & Vref+ pins to alter analog input reference voltage by using move instruction in LD micro. Please check if this program will change the reference voltage of analog input.
Thanks & Regards
Thu Jan 11 2018, 11:22:06, download attachment analog ref voltage.ld
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):