element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
FPGA
  • Technologies
  • More
FPGA
Forum Altera/Terasic DE1 Output Voltage
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join FPGA to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 5 replies
  • Answers 3 answers
  • Subscribers 546 subscribers
  • Views 702 views
  • Users 0 members are here
Related

Altera/Terasic DE1 Output Voltage

djfraz
djfraz over 7 years ago

I am working on a project for university using Altera/Terasic DE1 Cyclone ii Starter Board. I am trying to test a servo module, the output waveform is as expected, but the output voltage is only about 5mV. Can someone give me a simple answer as to how i can change the output voltage which the board is supplying?

  • Sign in to reply
  • Cancel

Top Replies

  • djfraz
    djfraz over 7 years ago in reply to johnbeetem +1
    It was first connected to a servo, but when i wasn't seeing any movement (i had the pulse width controlled by onboard switches) i connected it directly to my oscilloscope. I was seeing the correct pulse…
  • johnbeetem
    0 johnbeetem over 7 years ago

    I'm not familiar with the DE1 or Cyclone II, but one possibility is that your output isn't strong enough to drive your load.  What kind of load are you driving?  If you disconnect the load, does the output work correctly?  Some FPGAs have programmable output drive, so if it the default strength is too low you may be able to increase it.  Otherwise you need an external driver.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • djfraz
    0 djfraz over 7 years ago in reply to johnbeetem

    It was first connected to a servo, but when i wasn't seeing any movement (i had the pulse width controlled by onboard switches) i connected it directly to my oscilloscope. I was seeing the correct pulse width with the switches, between 1ms and 2ms but the peak to peak voltage was only 5mV.

     

    I then set up a simple verilog source which put the output high when a switch is set high then checked the voltage using my multimeter, the highest value i was getting was 66mV. After Talking with my lecturer this afternoon he suggested that the IO buffers might have blown, i will be taking the boar down to out lab technician to test the board/ replace it so i can get going with the project.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rachaelp
    0 rachaelp over 7 years ago in reply to djfraz

    Hi Duncan,

     

    Other things which could be wrong:

     

    1) What buffer type have you chosen for your IO? If you have chosen an open drain output type type you'll need add a pull-up resistor.

    2) I think that board might allow for configuration of the IO voltage for different banks (I can't remember it's a while since I checked the specs) so check the voltage config jumpers are connected correctly if it has any.

    3) You say you were driving the servo, as in directly driving the coil? If so your lecturer might be right about it being blown. You wouldn't want to drive a servo coil directly from an FPGA output.

     

    Best Regards,

     

    Rachael

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • djfraz
    0 djfraz over 7 years ago in reply to rachaelp

    We are not using any external buffer, the buffer on the DE1 board is just a resistive one . I am not sure about configurable voltage, online sources i can find online would indicate that the voltage is set for the IO Banks.

     

    The servo is connected to VCC5 and GND on the IO Banks which are connected directly to the ob board voltage regulator and would not appear to have a buffer on them, and i am reading 5v on the VCC5 pin, so the voltage regulator hasn't blown. The IO pin is only sending the servo signal out and would assume for the servos we have been given, Parallax servos, that the VCC would be driving the coil although i cannot be sure as i cannot find the datasheet on their website

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • johnbeetem
    0 johnbeetem over 7 years ago

    Rachel is correct about driving coils.  You usually can't drive a coil (or motor or speaker) directly from an FPGA output because you usually need more current than a typical FPGA can source or sink.  You also must make sure you have a flyback diode.  The current through an inductor cannot be shut off instantaneously, and if you try to do this you get a large voltage spike.  The flyback diode provides an alternate path for this current so the voltage spike doesn't destroy the transistor you're using to switch current on and off.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube