Help with Code For Elevator Project

Hi Y’all,

looking for full code to do a simple elevator simulation using LED lights. Can someone help?

Hey @mamawhat,

Yeah, I think for something like this you need to take a design approach and have a go at writing down what sort of behaviour you want to see from the system. Think about what your inputs and outputs are, and try to imagine what sorts of sensors and actuators you might be able to use. When you are able to describe your needs in a bit more detail I think you will be ready to ask some more specific questions that we can try to help you with.

Is that enough to get you thinking?

Good luck! Richard :smiley:

Like @mamawhat may have been implying, this isn’t where you come for a “full code”.

Try google, or try again if it was google that landed you up here. You aren’t the first person to want to do this. No doubt some one who put in a wee bit of time and effort will have left something around for you to take or maybe even learn form.

Good luck!

a7

Thanks for the advice man for sure looking and my needs and possibly more specific questions now!

Thx man will keep looking as I refine my needs and requirements.

A good time to explore flowharts and state machines/diagrams.

Hi,
Welcome to the forum.

Please read the post at the start of any forum , entitled “How to use this Forum”.

Can you please tell us your electronics, programming, arduino, hardware experience?

How many floors do you want to simulate?
Will you have “Call” buttons on each floor?
Do you want to simulate doors opening and closing or just elevator position?

A good start is to consider your I/O requirements.

Tom… :grinning: :+1: :coffee: :australia: