element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Partners
    Products & Partners
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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
Arduino
  • Products & Partners
  • More
Arduino
Arduino Forum Have a question about Arduino? Ask me!
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1914 replies
  • Subscribers 527 subscribers
  • Views 69831 views
  • Users 0 members are here
  • jeremy_blum
  • expert
  • student
  • arduino
Related

Have a question about Arduino? Ask me!

sciguy14
sciguy14 over 15 years ago

This thread has been closed to new questions.

However, we welcome you to Post Your Questionabout Arduino in the element14 Community Arduino group.  You'll find many fellow members and experts who have just the answer you're looking to find! 

 

Thank You, Your Friends at element14 Community


image

Jeremy Blum

Jeremy is an Electrical and Computer Engineering Student at Cornell University. He has been building microcontroller projects since high school, from a prototype prosthetic hand with a novel control scheme, to a nerf gun that fires at the intruders and uploads their picture to the web.
  • Sign in to reply
  • Cancel

Top Replies

  • billabott
    billabott over 13 years ago in reply to e14 Contributor +2
    @Brendan Your video is somewhat adequate for the intended purpose, however, from an engineer's point of view it is lacking in providing pertinent facts. Such as the part number, data sheet, and source…
  • e14 Contributor
    e14 Contributor over 15 years ago +1
    Jeremy, thanks for your intro videos. I am just getting started myself in Arduino though I have done some simple electronics projects using Atmel chips. Here is an example using ATTiny13 chips. www.youtube…
  • e14 Contributor
    e14 Contributor over 15 years ago +1
    Hi Jeremy I've built a device (see picture) with an Arduino and Ethernet shield that connects to our Network Monitor (Nagios) and moves an arrow to indicate if any of the computers we monitor are not responding…
  • e14 Contributor
    e14 Contributor over 15 years ago in reply to fustini

    please stop ure emails or provide an opt-out, ray k

     

     

    From: Drew Fustini <messages@element14.com>

    To: raykeith7 <raykeith7@yahoo.com>

    Sent: Tuesday, May 17, 2011 9:41 AM

    Subject: - Re: Have a question about Arduino? Ask me! [7v37o7-7su-ogy]

     

     

    Re: Have a question about Arduino? Ask me! created by fustini in Arduino - View the full discussion

    Happy Brirthday!  And it was awesome to hear you on my most favortist podcast in the whole wide world, the Amp Hour!

     

    My question is: any DIY projects that you were itching to do but couldn't until you were 21? image

     

    Cheers,

    Drew

    Reply to this message by going to element14

    Start a new discussion in Arduino at element14

    Sitemap |Feedback & Support | Contact Us | Terms of Use | FAQ | About element14

    **************************Disclaimer**************************

    The contents of this e-mail and any file transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed.  The content may also contain legal, professional or other privileged information. If you received this e-mail in error, please destroy it immediately.  You should not copy or use it for any purpose nor disclose its contents to any other person. The views stated herein do not necessarily represent the view of the Company.

    Please ensure you have adequate virus protection before you open or detach any documents from this transmission. The Company does not accept any liability for  viruses.

    Premier Farnell plc

    150 Armley Road

    Leeds

    LS12 2QQ

    Telephone +44 (0) 870 129 8608

    Fax +44 (0) 870 129 8610

    Registered in England

    Company Number 876412

    Registered Office: Farnell House, Forge Lane, Leeds LS12 2NE

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 15 years ago

    Hi,

     

    Wanted to tell you how much I loved your video tutorial series. I've been involved with industrial robotics for several years and just started playing with the Arduino for a hobby project here recently. I am still a bit new to this controller and the programming but have picked up a lot very rapidly, thanks in part to your excellent tutorial videos... but, on to my question...image

     

    I am trying to use the Arduino Uno to control servo motors via a bend sensor. The sensors are extremely sensitive (~400ohms to over 200Kohms with a 45° bend) I have been using this sensor across the 5v supply using a pulldown resistor as my analog input but the servo jitters and does not hold any particular position very easily and the movements are large and jerky. I am trying to reduce this using hardware (resistors, wheatstone bridge) and some programming but have not had much luck so far. I am also trying to set a stable midpoint for the servo with the bend sensor giving a smooth (or at least smoother) response for back and forth movement. This is basically for a spine type robot in two sections with one servo controlling up/down and one for left/right on each section with one bend sensor per servo. Any ideas on what to try next?image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • BigG
    BigG over 15 years ago

    Hi Jeremy

     

    I'm not an Electronic Engineer so struggling here. I would like to use my Arduino to generate some Wiegand compliant logic signals as an output. So not sure if I should use Digital IO's or Analogue or otherwise (I2C SPI?) and whether I need one or two IO ports to do it. Assuming you're not acquainted with Wiegand, here is my take.

     

    You require two data wires (Data 0 and Data 1). Both are default high at 5V (max 1mA). Having seen your tutorial on I2C (very good by the way) I'm assuming I need somewhere some pull-up resistors (or do I). The Wiegand operates using 26 bit code to transmit the data. This code is generated using the two wires (without a timer clock). Thus if you want to generate a data bit "1" you open the Data 1 line to generate a 0V pulse and similarly for your data bits with zero binary value you use the Data 0 line. The standard is particular about the timings of these (square wavish) pulses. The data pulses for the Data One and Data Zero shall not overlap or occur simultaneously. Pulse Width Time should range from 20microseconds to 100

    One and Data Zero shall not overlap or occur simultaneously.

    microseconds and the Pulse Interval Time should be anywhere from 200microseconds to 20milliseconds.

     

    Is this readily done. I'm assuming that one will always need a microcontroller to convert any input - say a mobile phone number or a keypad pin code or any unique identifier and convert this into 26bit format and then send this to my Wiegand signal generator to send the code.

     

    Any help gladly appreciated.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • sciguy14
    sciguy14 over 15 years ago in reply to fustini

    The amp hour was a ton of fun.  Thanks for the birthday wishes!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • sciguy14
    sciguy14 over 15 years ago in reply to e14 Contributor

    You can opt out in your account preferences.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • sciguy14
    sciguy14 over 15 years ago in reply to e14 Contributor

    Try implementing a moving average in software - with a large enough window size, you should have no problem smooting the movement.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • sciguy14
    sciguy14 over 15 years ago in reply to BigG

    Yes you should be able to write a library for the arduino to accomplish this - It should probably be done in actual C code for efficiency.  I'd start by taking at a look at the I2C library source files for hints.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 15 years ago

    Dear Jeremy,

    I am a novice in electronics, but with great learning skills. I need to make the following project for which I need your help: using a HMC5843 or other recommended compass chip, I need to came up with this chip connected to a battery and to a lcd screen (as small as I can get from the market) on which to be written only 4 digits: 222 d (degree) or whatever is the mommentum direction. Can you please give me feedback on this? Thanks in advance!

     

    Attila

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dirtdiver
    dirtdiver over 15 years ago

    Hi Jeremy, my questions are two: How to slow down servo motor (I'm using that code)

     

    val = analogRead(potPin);                
    if(val>300){                             
      myservo1.write(90);
      
    }else{                                  
        myservo1.write(180);
    }}

     

    And second:

    how to add delay for the last two servos only,here's the code:

     

    if(val>300){                          
      digitalWrite(ledPin, HIGH);          
      digitalWrite(ledPin1,LOW);          

      myservo1.write(90);
      myservo2.write(90);
      myservo3.write(90);
      myservo4.write(50);
      myservo5.write(50); 
    }else{                                   
      digitalWrite(ledPin, LOW);
       digitalWrite(ledPin1, HIGH);
      myservo1.write(180);
      myservo2.write(180);
      myservo3.write(180);
      myservo4.write(0);
      myservo5.write(0);  
    }}

    servos 1-3 going at the same time, S-4 and 5 with delay

     

    Thanks in advance!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • sciguy14
    sciguy14 over 15 years ago in reply to e14 Contributor

    Instead of using an LCD display, you might be better off with a few 7-segment number displays.  You can use a simple shift register to control each one.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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 © 2026 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.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube