Search the Community

Showing results for tags 'Analog shield'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments
    • LabVIEW
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 28 results

  1. jvandijk

    Analogshield and arduino due

    Hi, I have changed the library analogshield.cpp for werking with the due. Everything looks alright. But one think, way the DAc has two chipselect pins syncpin an dacpin. Especially the Use of dacpin is a bit of surprise. It is Set low in initializing the example codes but never set high? What is the USB of this pin?
  2. I would like to run TimerOne based examples for the Analog Shield on the UNO32. As I see it the Arduino TimerOne library is only for AVR parts. Is there an equivalent library for the UNO32 that provides this functionality. To me the Analog Shield under UNO32 is not very useful without the ability to do Timer/interrupt driven processing. Thanks for any insights the community can provide.
  3. cmeuchel

    AnalogShield

    I am very new to this hardware and C programming. I just purchased the Uno32 with an AnalogShield. I am running the Passthrough program which works. I would like to also display the input voltage but I am not able to calculate from the digital number that I am getting. At 0V, I get -32693 counts. At 1.587V (AA battery), I get -22377. At -1.587V, I get 22533. At -3.127, 12159. AT 3.167, -11989 counts. So at lower voltage, I get higher counts. I think this is lack of knowledge on my part; hopefully someone can help me out. Thanks! int count = 0;float val = 0;void loop(){ count = analog.read(0); //read in on port labeled 'IN0' //count = count; float voltage=count*(5.0/65535.0); val = map(count, -32768.0, 32768.0, 0.0, 5.0); analog.write(0, count); //write out the value on port labeled 'OUT0' Serial.println("count "); Serial.println(count); Serial.println("map -32768, 32768, 0, 5"); Serial.println(val); Serial.println("Voltage as 65535 over 5V"); Serial.println(voltage); Serial.println(" "); //Serial.println("count"); //Serial.println(analog.read(1)); //Serial.println("voltage"); //Serial.println(v); delay(10000);}