![]() |
![]() |
![]() |
|
|
|||||||
| 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? |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
I'm looking to generate a 10k potentiometer output, I have a schematic to take a PWM output and generate the potentiometer output, but it isn't exactly working, the source wasn't really that great so maybe it doesn't work. Maybe I hooked it up wrong, don't know. Here is the picture of the schematic I have http://www.transproducts.net/pics/interface.jpg
Really, if you look at that schematic, I don't know what the 2K thing is in the upper right, I guessed it was a potentiometer, for tweaking I guess, if it's not, please tell me what it is I've searched the web for other schematics defining how to do this, this is the last thing I need to figure out before I can get my creation up and running, any help or advice would be very much appreciated. Any other schematic for doing this would be great, and I have looked into Digital Potentiometers, but really haven't seen exactly how I would hook it up with PWM to use it. Really I don't mind ordering them, but i was hoping to test my project out this weekend, there are pictures of my "creation" at http://www.rimmel.org yes, it's scary looking. Thanks in advance Ross |
|
|
|
|
|
|
(permalink) |
|
The circuit will take a PWM output from the BS2 and put out a voltage which is the average, (by virtue of the 1k/10uF low pass filter), of the waveform coming from the BS2, minus 0.7 volts (the Vbe of the transistor). The 2k "thingy" is indeed a potentiometer, connected as a rheostat. It's function is to limit the maximum voltage at pot middle. The transistor is an emitter follower. It's function is to buffer the output of the low pass filter so that the load presented by the 10k resistor and the PWM80 won't load down the low pass filter.
You shouldn't measure the output at pot middle with an ohmmeter, you should measure it with a voltmeter. The PWM80 apparently needs a DC voltage which is normally derived from the wiper of the "10k pot" that you are trying to emulate. This circuit allows you to create that voltage by varying the duty cycle from the BS2. |
|
|
|
|
|
|
(permalink) |
|
So you see no reason as to why this shouldn't work? I made the board and hooked it up, doens't really seem to work for me, maybe i'll go play with it for a bit, test it with a voltage meter like you said.
Do you think i should hookup the pot left to anything? ground maybe? since normally the potentiometer is hooked up to all 3 pins of course. Is there a standard name for this kind of schematic, I did see you mention low pass filter, which in my searching I found some thing refering to that as maybe potential solutions, but as i'm sure you can tell, i'm not an expert at this stuff Thanks so much for the info, Ross |
|
|
|
|
|
|
(permalink) | |||
|
Quote:
Quote:
Quote:
I'm assuming you are using a Basic Stamp BS2. Where are you getting the PWM80? It looks like an H-bridge motor controller with an added DC speed control circuit. |
||||
|
|
|