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
    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
  • More
Arduino
Arduino Forum project of arduino
  • 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
  • State Not Answered
  • Replies 18 replies
  • Subscribers 419 subscribers
  • Views 1724 views
  • Users 0 members are here
Related

project of arduino

e14 Contributor
e14 Contributor over 12 years ago

i want the basic project of arduino with full programmming

  • Sign in to reply
  • Cancel

Top Replies

  • kidiccurus
    kidiccurus over 12 years ago +2
    This is the easiest project possible. Arduino - Blink
  • Robert Peter Oakes
    Robert Peter Oakes over 12 years ago +1
    I am sorry but you need to provide a bit more detail of what you need help with Provide schematic, and or Code up to now, pictures, sketches etc. thanks
  • Robert Peter Oakes
    Robert Peter Oakes over 12 years ago in reply to crosseyejack +1
    void setup() { pinMode(13, OUTPUT); } void loop() { digitalWrite(13,!digitalRead(13)); delay(1000); }
  • Robert Peter Oakes
    0 Robert Peter Oakes over 12 years ago

    I am sorry but you need to provide a bit more detail of what you need help with

     

    Provide schematic, and or Code up to now, pictures, sketches etc.

    thanks

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • crosseyejack
    0 crosseyejack over 12 years ago

    I suggest you read through and do some tutorials if you are just trying to teach yourself the platform.

    http://arduino.cc/en/Tutorial/HomePage

    http://tronixstuff.com/tutorials/

    http://www.ladyada.net/learn/arduino/

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • kidiccurus
    0 kidiccurus over 12 years ago

    This is the easiest project possible. Arduino - Blink

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • crosseyejack
    0 crosseyejack over 12 years ago in reply to kidiccurus

    Doh, I had boolean running = false; on the wrong line. Fixed, formatted the code and included the compile size.

    boolean running = false;
    void setup() {
         pinMode(13, OUTPUT);    
    }
    void loop() {
         digitalWrite(13,running=!running);
         delay(1000);
    }

    Binary sketch size: 1070 bytes (of a 32256 byte maximum, 3.32 percent).

    And tbh we can do even better than that :-) (/me ponders how low can it go?)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 12 years ago in reply to crosseyejack

    void setup() { 
    pinMode(13, OUTPUT);       
    }
    void loop() {
         digitalWrite(13,!digitalRead(13));
         delay(1000);
    }

     

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • crosseyejack
    0 crosseyejack over 12 years ago in reply to Robert Peter Oakes

    Any other takers? we can go deeper :-)    

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 12 years ago

    void setup() {   
    pinMode(13, OUTPUT);         
    }  
    void loop() {  
         digitalWrite(13,!digitalRead(13));  
         delay(1000);  
    }

    compiles to a Binary sketch size: 1,234 bytes (of a 32,256 byte maximum)

     

    void setup() {   
    DDRB = DDRB | B00100000; // set pin 13 to output     
    }  
    void loop() {  
      PORTB = PORTB ^ B00100000;
      delay(1000);  
    }

    Compiles to a Binary sketch size: 666 bytes (of a 32,256 byte maximum)

     

    Oh Ya

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • crosseyejack
    0 crosseyejack over 12 years ago

    Using the registers on the micro and compiling to 666 bytes. NICE :-)

     

    EDIT: Using _delay_ms(); we can get it down even smaller but I still like the 666 bytes compile

    #include <util/delay.h>
    void setup() {   
    DDRB = DDRB | B00100000; // set pin 13 to output     
    }  
    void loop() {  
      PORTB = PORTB ^ B00100000;
      _delay_ms(1000); 
    }

    Binary sketch size: 494 bytes (of a 32256 byte maximum, 1.53 percent).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 12 years ago in reply to crosseyejack

    i looked for a lower level delay function but could not find it, well done image

     

    I will keep a mental note of that call for future

     

    As a beginner of course people will take the first approach but even in this simple demo is shows that when the memory starts to get constrained there are ways of significantly getting it back

     

    we reduced a >1234byte program by 2/3rds  (494 bytes) which is awesome if you think about it.

     

    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 12 years ago

    I am surprised we have not had comments regarding what we just did, Im sure there are plenty of new comers that are just shaking their head image

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