Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Analog Output


  • Please log in to reply
5 replies to this topic

#1 Bernie

Bernie

    Advanced Member

  • Members
  • PipPipPip
  • 40 posts

Posted 24 March 2014 - 06:36 AM

Is there any kind of built in analog output on the Netduino Plus? I thought there was one, but at the moment don't see on. I need to put out an output value between 0 and what ever is the upper supply rail. It's driving into a high impedance load, so virtually no current is required.

 

Bernie

 



#2 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 24 March 2014 - 07:22 AM

All of the outputs on the Netduinos are currently digital (0V or 3.3V).  There are analog inputs but no outputs.

 

Regards,

Mark


To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter


#3 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 24 March 2014 - 07:51 AM

In addition to what Nevyn said, you could use PWM with low-pass RC filter as cheap D/A converter.



#4 mbrossett

mbrossett

    Advanced Member

  • Members
  • PipPipPip
  • 46 posts

Posted 26 March 2014 - 01:38 AM

You could also interface with and SPI or I2C DAC device like this one (MCP4821)...

http://ww1.microchip...eDoc/22244B.pdf

Or better yet (if you are looking for cheap and easy)...

http://www.adafruit....CFSISMwodvSgAZQ

#5 mbrossett

mbrossett

    Advanced Member

  • Members
  • PipPipPip
  • 46 posts

Posted 26 March 2014 - 01:42 AM

Btw, the MCP48xx family have internal voltage references and the MCP4725 references it's supply voltage. Each has its advantages and disadvantages just depends on what you need the DAC for.

#6 Bernie

Bernie

    Advanced Member

  • Members
  • PipPipPip
  • 40 posts

Posted 26 March 2014 - 02:53 AM

Ultimately the analog output will drive an external hydraulic piston. Right now I'm still at the proof of concept phase and the Netduino is the easiest hardware I have around. So I just need to be able to show variable output voltages based on the inputs the program receives. 

 

The other day I ordered parts to build one of these;

http://www.ikalogic....-converter-dac/

 

I just placed an order with Adafruit, so we'll see which parts get here first, hahaha.

 

Thanks!

 

Bernie






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.