Pages: [1]   Go Down
Author Topic: converting a signals voltage range?  (Read 406 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello

I am fixing an old electronic organ where the top octave generators are broken. I am trying to get a signal from Arduino to match what was originally sent from the IC's. In order to do that i have to convert a squarewave from Arduino going from 0 - 3.3 V to a signal going from -12 - 0 V. I am using the organs 12 V and -12 V supply.

Using an inverting amplifier built with a LM741 op-amp i got an OK result. The squarewave is not really square anymore but it has the correct range of voltage. I am wondering if anyone here has an idea for a simpler or more effective way to do this?

Mikkel
Logged

Montreal
Offline Offline
Faraday Member
**
Karma: 29
Posts: 2590
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Optocoupler.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks. I have never used optocouplers before, but it sounds like a good idea.

Do you know an optocoupler suitable for my purpose? My signal is a squarewave running at 9kHz and below.
Logged

Montreal
Offline Offline
Faraday Member
**
Karma: 29
Posts: 2590
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Look at SFE web-site:
https://www.sparkfun.com/search/results?term=opto&what=products
https://www.sparkfun.com/products/314
Drawings: http://www.sparkfun.com/datasheets/Components/PS2532-Example.jpg
Swap Vcc and Ground with negative Vcc, if you don't need low impedance output , than increase resistors value 10x or 20x times.
Logged

Pages: [1]   Go Up
Jump to: