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

    Hello All,

    I am so close to completing my project but I just do not know enough about code to get the bugs out. It's almost completed,

    I'm just hung up on a couple of line errors. I'm really hoping someone can take a look at it and see if they can clean it up or

    suggest a place where they can give me some help. Is Instructable's good?

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

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

    Shame no-one picked this up. Anyway, I'm back, I have an hour or two, so let's get this done! image

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

    Okay, I'm a bit stuck, so I'm going to break a few things, remove functionality, and then we can add that functionality back once the barebone application is up and running. Does that sound good to you?

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

    That would be so cool. Forgive me if I do not reply back right away. My father passed away last Tuesday. The wake is today and the funeral is tomorrow. Allot of people are in town. He was an awesome father, he will be missed! THANK YOU.

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

    That would be so cool. Forgive me if I do not reply back right away. My father passed away last Tuesday. The wake is today and the funeral is tomorrow. Allot of people are in town. He was an awesome father, he will be missed! THANK YOU.

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

    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 to light levels, and there is minimal code for a real-time clock, but I've removed most of the control structures. Don't worry, we can add them back in as soon as I know exactly what you need. Nothing is lost, it's just been trimmed down, ready for things to be added back later.

     

    UPDATE: Here's the link: [C] //Locking, Automatic Chicken Coop Door //By Seth Johnson Land To House llc - Pastebin.com

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

    Hello James,

    I hope all is well with you? It's been a busy spring. I cannot believe it's been a month already since my father passed.

    I was staining and resin coating my bee hives and now that that's all done, I have started building my chicken coop door.

    I built the door yesterday, double checked the stepper motor would lift the 17x18x1/2 in piece of plywood and it did no problem.

    I loaded up your code and ran it through the motor and switches and it worked as it should. The only thing that's not showing

    proper data is the LCD. I am not sure if I need to enter the date and time so I left the code alone and just wanted to send you a note.

    Thank you for taking the time to help me out. I am just about ready to start installing all the stuff. I have the solar panel,

    lawnmower battery and solar regulator all ready to go. Just need to finalize the code and mount it all into by box and start running wires.

                                                 Neal

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