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 29th March 2004, 06:09 PM   (permalink)
Default Wave Voltage change

Need to change a 0-5v square wave in to a 0-12v square wave. I could do it with an opamp
but was hoping there was an easier way(i.e. less parts).

Tried to use a transistor but realized that it was not going to give an
off value of 0 volts
and there was to much of a drop accross the transistor.

Anyone got any ideas.
Kingpin094 is offline  
Old 29th March 2004, 11:36 PM   (permalink)
Default

How close to 0 and +12 do you have to get?
__________________
see my website: www.geocities.com/russlk
Russlk is offline  
Old 30th March 2004, 01:15 AM   (permalink)
Default

Less then .5v for the low and at least +10v for the high.
Kingpin094 is offline  
Old 30th March 2004, 02:02 AM   (permalink)
Default

Quote:
Originally Posted by Kingpin094
Less then .5v for the low and at least +10v for the high.
What are you going to do with this 0-12v signal? Does it have to drive a load? If so, what is the load?
Roff is offline  
Old 30th March 2004, 03:19 AM   (permalink)
Default

I am taking the output of a PIC microcontroller to drive a CMOS circuit that is running of 12V.
The CMOS chip is part of a motor drive circuit. There will be almost no load on the circuit.
Kingpin094 is offline  
Old 30th March 2004, 08:28 AM   (permalink)
Default

Quote:
Originally Posted by Kingpin094
I am taking the output of a PIC microcontroller to drive a CMOS circuit that is running of 12V.
The CMOS chip is part of a motor drive circuit. There will be almost no load on the circuit.
A simple NPN transistor is all you require, connect the emitter to 0V, the base via a 1K to the I/O pin, and the collector via a load resistor to 12V. A fully switched on transistor drops far less than 0.5V.

You could also use the open-collector output on the PIC (usually RA4), it just requires a pull-up resistor - it's provided for this very purpose!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 30th March 2004, 02:41 PM   (permalink)
Default

Thanks that will do the job.

Robot moves by itself now. WWOOOOOHHH!!!
Kingpin094 is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 02:28 AM.


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

eXTReMe Tracker