Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 2nd March 2007, 05:03 PM   (permalink)
Default Digital Sampling of PWM

I have a LED whos power i want to control by PWM, 1khz. Duty cycle adjustable from 20% - 50%.

This LED points at a sensor.
This sensor is sampled at a rate of 25khz.


Im struggling to get my head around whether the sensor will consider the LED to be a digital series of pulses, or one analog signal.

Can any of the clever Trevors on this forum offer any advice? Websites to look at or whaterver. Its more important to me that I understand whats going on, than whether I get the correct answer.

Cheers
John
__________________
The first rule of mstechca club is do not talk about mstechca club.
http://www.electro-tech-online.com/s...induser&u=1245
2camjohn is offline  
Old 2nd March 2007, 05:07 PM   (permalink)
Default

What sort of sensor is it?, if it will respond to the PWM pulses then those pulses will appear on it's output. You might consider PWMing MUCH higher (say 100KHz) and lowpass filtering the output of the sensor.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 2nd March 2007, 05:53 PM   (permalink)
Default

Hi Nigel,
Thanks for the speedy and sound advice as always.




Its an IR phototransistor.

Unfortunately Im restricted to software changes only right now.




The purpose of the PWM in this situation is to effectively get a lower intensity signal at the reciever, however im starting to think thats a bit of a flawed concept.
__________________
The first rule of mstechca club is do not talk about mstechca club.
http://www.electro-tech-online.com/s...induser&u=1245

Last edited by 2camjohn; 2nd March 2007 at 06:50 PM.
2camjohn is offline  
Old 2nd March 2007, 07:06 PM   (permalink)
Default

Quote:
Originally Posted by 2camjohn
Its an IR phototransistor.
It will respond nicely to the PWM frequency

Quote:

Unfortunately Im restricted to software changes only right now.
Does the word 'stuffed' mean anything to you?.

Quote:

The purpose of the PWM in this situation is to effectively get a lower intensity signal at the reciever, however im starting to think thats a bit of a flawed concept.
Yes, but why would you want to?, is it for range finding?, easiest method though would be to switch different series resistors in circuit.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 2nd March 2007, 08:13 PM   (permalink)
Default

Quote:
Originally Posted by 2camjohn
The purpose of the PWM in this situation is to effectively get a lower intensity signal at the reciever, however im starting to think thats a bit of a flawed concept.
I don't understand the point of this. are you overloading the receiver or something? Put a neutral filter in front of it if you are.
philba is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Digital Proportional Radio Control nye Electronic Projects Design/Ideas/Reviews 11 21st April 2008 06:07 PM
The Oscilloscope ElectroMaster Electronic Theory 12 3rd February 2008 02:45 PM
Digital control of a LM350/333 dwurmfeld Electronic Projects Design/Ideas/Reviews 2 8th September 2006 04:13 PM
Digital Troubleshooting and testing walters General Electronics Chat 38 24th August 2005 09:21 AM
audio recording,need help drom Electronic Projects Design/Ideas/Reviews 14 16th March 2005 05:07 PM



All times are GMT. The time now is 05:14 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker