Shop OBEX P1 Docs P2 Docs Learn Events
how to measure voltage from a elmos E527.16 PWM — Parallax Forums

how to measure voltage from a elmos E527.16 PWM

Francis160791Francis160791 Posts: 28
edited 2013-11-07 16:43 in BASIC Stamp
hey guys. may i know how to i write a code to measure the voltage of elmos E527.16 ? like when like light went dim, and i need to test the voltage. thanks guys :) please help. SOS !!!:blank::blank:

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2013-11-06 08:45
    You have not provided information on the device you're referring to. You should link a datasheet or product page to at least let us know what it is you need help with. At that point we can possibly steer you toward the correct information.
  • Francis160791Francis160791 Posts: 28
    edited 2013-11-06 16:42
    http://www.elmos.com/fileadmin/2013/02_products/04_sensor/04_halios/e527-16_elmos_ds.pdf this is the datasheet. i need to design a code and mesure the voltage.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2013-11-07 08:26
    That IC is designed to be used in the same manner as our Si1143 Gesture Sensor using two LEDs and a phototransistor to detect hand gestures. What are you trying to measure voltage from?
  • Francis160791Francis160791 Posts: 28
    edited 2013-11-07 16:34
    cause i need to measure the voltage of the distance of the light .
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2013-11-07 16:43
    I thought the IC would basically do that in the manner that is needed for it to function. I suppose you could put an ADC on the phototransistor and measure voltage there but that won't tell you which LED the light is coming from and then there's the issue of calibration. Yeah, you're going to have to do some experimenting.
Sign In or Register to comment.