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
Arduino
  • Products
  • More
Arduino
Arduino Forum Need a challange? - Can someone help with some code?
  • 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 Verified Answer
  • Replies 30 replies
  • Answers 6 answers
  • Subscribers 394 subscribers
  • Views 2128 views
  • Users 0 members are here
Related

Need a challange? - Can someone help with some code?

nealbopper
nealbopper over 8 years ago

Hello Everyone, image

Well, I am just about ready to start constructing my Chicken coop automatic doors. (I am building 2 automatic doors) I got away from the DeWalt drill motors

and just bought 2 12v 30a step motors. I needed to combine some code into another code I am using from Seth's code from his coop door project. Seth has

a site called, "Land to House" I am wanting to add the Helloworld code to his code because Helloworld is how I got my LCD and RTC (real time clock) to work

together. Do I post the code here or do I zip it and send it to you so I'm not going overboard here. Is someone willing to take a look at it? How do you wish I present

the code to you? Thanks in advance. Everyone has been so helpful so far. It will not let me attach a file.

  • Sign in to reply
  • Cancel

Top Replies

  • COMPACT
    COMPACT over 8 years ago +2
    I don't think I can coop with it!
  • nealbopper
    nealbopper over 8 years ago in reply to jlangbridge +1
    Good morning, I didn't work on the doors yesterday. I got some new LED shop lights I wanted to wire into the garage. That's done. I have a question for you. As you can see, this code is for 1 motor. I…
  • jlangbridge
    jlangbridge over 8 years ago in reply to nealbopper +1 suggested
    My sincerest condolences for your loss. Take the time you need, of course. I'll be here, adjusting code and fiddling with devices. From what I can tell, you have here the basics; motors will activate according…
Parents
  • nealbopper
    0 nealbopper over 8 years ago

    I'm still looking for help as there are still errors. James Langbridge helped out but the code is still unfinished.

    I'm sorry, I do not know code so trying to combine 2 separate codes should be furthest from my mind but

    I need to do that for my coop design to work. Can someone help out with the errors?

    https://www.element14.com/community/external-link.jspa?url=http%3A%2F%2Fpastebin.com%2FFyUsCjPM

    Thank you for helping. image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jlangbridge
    0 jlangbridge over 8 years ago in reply to nealbopper

    Hi Neal,

     

    I'm still here, but heading back home, so I won't be able to connect much until tomorrow. Don't worry, we'll get this done, your ladies will be safe and sound soon image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • jlangbridge
    0 jlangbridge over 8 years ago in reply to nealbopper

    Hi Neal,

     

    I'm still here, but heading back home, so I won't be able to connect much until tomorrow. Don't worry, we'll get this done, your ladies will be safe and sound soon image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • nealbopper
    0 nealbopper over 8 years ago in reply to jlangbridge

    AWESOME, I welcome your help. I can work on the door construction today so no worries. Have a safe trip. Neal

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • nealbopper
    0 nealbopper over 8 years ago in reply to jlangbridge

    Good morning,

    I didn't work on the doors yesterday. I got some new LED shop lights I wanted to wire into the garage. That's done.

    I have a question for you. As you can see, this code is for 1 motor. I have a motor controller that can control 2 motors.

    My plans is to run 2 automatic doors from one arduino. Trying not to get to far ahead or pile too much on, do you think

    we can just copy code for the limit switches and another motor and  supply delays for the second door so both doors

    do not run at the same time? I would like to know your thoughts on this. Will the Uno hold that much code? I have a

    Mega we could use just in case. Have a great day.

    • Cancel
    • Vote Up +1 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 © 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