Pages: [1]   Go Down
Author Topic: DAC voltage  (Read 562 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is DAC voltage 0-3.3V?

I need a 1.1-3.90V to simulate a joystick.

Regards,
Sebastian.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 437
Posts: 23652
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Try it:
analogWrite (pinX, 0x0fff);
put a meter on & measure it.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

The Netherlands
Offline Offline
Full Member
***
Karma: 1
Posts: 123
MKDS hacker and Programmer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It's between 1/6 and 5/6 of 3.3v. So it does not start at 0v and does not end at 3.3v
Logged

Subscribe my youtube channel: http://www.youtube.com/user/MKDS3

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 437
Posts: 23652
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That is odd. Still, will not reach 3.9V. Easy way might be just add a 0-5V opamp and SPI the data that corresponds to the range you want.
Or two I guess, for left-right & in-out.
http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en024016

Could also mess around with op amps, add some offset and adjust the gain so it goes 2.5V +/- 1.4V
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: