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
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
  • More
Arduino
Arduino Forum Have a question on Arduino? Ask our expert Simon Monk
  • 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 437 replies
  • Subscribers 430 subscribers
  • Views 15087 views
  • Users 0 members are here
Related

Have a question on Arduino? Ask our expert Simon Monk

patkelly
patkelly over 13 years ago

This thread has been closed to new questions.

However, we welcome you to Post Your Question about 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

 

 

 

Expertise: imageArduino, .NET Gadgeteer, IOIO, embedded computing, open source hardware


About Simon: Simon is an author, writing books for TAB/McGraw-Hill and O'Reilly. He is best known for his Arduino books: 'Programming Arduino' and '30 Arduino Projects for the Evil Genius'.

 

Simon has a BSc. in Cybernetics and Computer Science and a PhD. in Software Engineering. He spent several years as an academic before he returned to industry, co-founding the mobile software company Momote Ltd.

 

If you need help on anything about Arduino, please post your question here!


 

If your not already, you'll need to login or register to ask your question - just click reply

 

The specified item was not found.

  • Sign in to reply
  • Cancel

Top Replies

  • mcb1
    mcb1 over 12 years ago in reply to aml +2
    Aml I presume you have set the board to UNO under tools, along with the Com port. Have you tried at least the first 10 bullet point s under the link see http:// (You can also select it under hlep on the…
  • simon.monk
    simon.monk over 13 years ago in reply to Former Member +1
    @ jagadeshwaran http://arduino.cc/en/Hacking/Bootloader?from=Main.Bootloader
  • simon.monk
    simon.monk over 13 years ago in reply to Former Member +1
    @ang. This isn't really a task for an Arduino. It does not have nearly enough memory to store a whole image and manipulate it like that. I would not be surprised to find some PC application that would…
Parents
  • Former Member
    Former Member over 13 years ago

    how to use a non boot loaded atmega328 ic in arduino?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • simon.monk
    simon.monk over 13 years ago in reply to Former Member

    You can use the ICSP header with a programmer like the USBTiny ISP to programe the ATMega directly, but if you are doing that, you may as well burn the bootloader using the programmer.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to simon.monk

    Thanks for your reply.I have ARDUINO UNO and an ATMEGA328(without boot loaded) IC.I need some reference for making it to be boot loaded or to program the arduino code into the ATMEGA 328 IC

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • simon.monk
    simon.monk over 13 years ago in reply to Former Member

    @jagadeshwaran

     

    http://arduino.cc/en/Hacking/Bootloader?from=Main.Bootloader

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • billabott
    billabott over 13 years ago in reply to simon.monk

    image

    'ello, Matey.  Please, the next time you see Clive 'Max' Maxfield ask him if he can spell the original unit of conductance:  M??

    Clue:  it is not MOH.

    The source of this posting is the 3rd Ed. of his published book:

    Bebop to the Boolean Boogie, Third Edition: An Unconventional Guide to Electronics

    by Clive Maxfield (Dec 23, 2008)

     

    I mean, REALLY?  in the 3rd Edition!!!

    ================================

     

    American Heritage Dictionary:

                  mho

     

         (mō)
    n., pl., mhos.
    A siemens.

     

    Read more: http://www.answers.com/topic/mho#ixzz26vfj17xi

     

    =========================

     

    And what the heck is a Milliard?    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to simon.monk

    Have you seen a system that could find a dimple target, then move a small ink jet to within  .05in of dimple center?

    Target will be moving down a belt line at 1/sec.

    Roy.   Royincs@gmail.com

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Former Member
    Former Member over 13 years ago in reply to simon.monk

    Have you seen a system that could find a dimple target, then move a small ink jet to within  .05in of dimple center?

    Target will be moving down a belt line at 1/sec.

    Roy.   Royincs@gmail.com

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • simon.monk
    simon.monk over 13 years ago in reply to Former Member

    @roy david. The short answer is 'No'.

     

    That sounds like quite a specialized industrial control problem. What is it for?

     

    Is the target always in the same place? or are you anticipating some kind of optical sensing to find it on a plane?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to simon.monk

    Fish lure has a small dimple where the eye goes. The eye is applied with a drop of ink as the lure passes by.

     

     

    Roy.  Royincs@gmail.com

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • simon.monk
    simon.monk over 13 years ago in reply to Former Member

    @roy - if the lures are on some kind of conveyer, always in the same orientation and position, then could you just use a beam interrupting optical sensor, followed by a delay of just the right amount followed by a squirt?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to simon.monk

    That's a good idea. The present method is to use a person to dot about 3 lures by hand, then move them on down the line.  There are a lot of different size Lures and they are not located well on the belt. The little dot has to be right in the eye center or the part gets rejected. Your idea could be made to work, but it would require a lot of changes in the process to achieve the necessary tolerance. The only dependable

    target with the pesent process is the dimple where that eye goes.  I was hoping to Find a optical way to locate the dimple, then program a little servo system to take the inner head there for a drop of ink.  This would give us a lot of freedom to handle most any body shape and also add some colors to the body.

    Do you think one of your systems using a computer program ,servo and camera might do that job?

    Roy

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • simon.monk
    simon.monk over 13 years ago in reply to Former Member

    @roy

     

    Yes, in theory, an accurate robot arm and a imaging system could look at a tray full of lures and put the dots or fancier painting on, but that's beyond an Arduino.

     

    IMHO A far simpler / cheaper problem to solve is to make some kind of bracket, so that each lure is put in exactly the right place to recieve a dot.

     

    Maybe you have a carrier with cut outs just the right size for the lures, evenly spaced, that moves past the dot painter that is set up the right X position. An indexing hole in the carrier triggers the dot paining as the eye gets to the right place.

     

    Si.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to simon.monk

    Simon.  That's  a great idea.  I will work on it for awhile.  Thanks. Roy

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to Former Member

    Hi.

    I am trying to make a DC motor turn backwards and forwards on a loop using arduino and a motor shield.

    I need it to go 12rpm for about 10 seconds in each direction, with about a 5 second pause inbetween each direction change.

    It seems somewhat straight forward, but I have been searching online for a while but have found no tutorial for this, or a specific code

    If you would be able to help me out asap, that would be greatly appreciated.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • simon.monk
    simon.monk over 13 years ago in reply to Former Member

    @ash - Something a bit like this perhaps?

     

    From my book 'Arduino + Android Projects for the Evil Genius'.

     

     

     

    #define supplyVolts 6

    #define motorVolts 5

     

     

    int pwmLeftPin = 3; 

    int pwmRightPin = 11; 

    int directionLeftPin = 12; 

    int directionRightPin = 13; 

     

     

     

     

    void setup() 

    {

      pinMode(pwmLeftPin, OUTPUT);

      pinMode(pwmRightPin, OUTPUT);

      pinMode(directionLeftPin, OUTPUT);

      pinMode(directionRightPin, OUTPUT);

      setMotors(0, 0);

    }

     

     

    void loop()

    {

      // forward

      setMotors(255, 255);

      delay(1000);

      // stop

      setMotors(0, 0);

      delay(1000);

      // back

      setMotors(-255, -255);

      delay(1000);

      // left

      setMotors(255, -255);

      delay(1000);

      // right

      setMotors(-255, 255);

      delay(1000);

      // stop

      setMotors(0, 0);

      delay(5000);

    }

     

     

    void setMotors(int left, int right)

    {

       int vLeft = abs(left) * motorVolts / supplyVolts;

       int vRight = abs(right) * motorVolts / supplyVolts;

       int dLeft = (left > 0);

       int dRight = (right > 0);

       if (vLeft < 50)

       {

         vLeft = 0;

       }

       if (vRight < 50)

       {

         vRight = 0;

       }

       analogWrite(pwmLeftPin, vLeft);

       analogWrite(pwmRightPin, vRight);

       digitalWrite(directionLeftPin, dLeft);

       digitalWrite(directionRightPin, dRight);

    }

    • 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 © 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