Fully automated Arduino controlled train

hi I really need help on this project. I am planning on making an arduino controlled train that -moves forwards and backwards -has a headlight -can sense anything on the track and then will stop. -has train sounds -and has varying speeds The thing is i have never used an arduino before or made any project that went over your average 5th grade volcano, so i am pretty blank when it comes anything of this sort. I have done my research but i can't find good enough instructions that are extremely detailed.

:) :) :) :) :) Thanks

Is the object of the project to demonstrate that you can follow instructions, or that you can think for yourself?

Can you write C or any other programming language?

Do you know basic physics, especially electricity?

AWOL: Is the object of the project to demonstrate that you can follow instructions, or that you can think for yourself?

Mostly think for yourself but there are certain conditions that i need to follow.

GoForSmoke: Can you write C or any other programming language?

Do you know basic physics, especially electricity?

I know the physics behind it but the programming will be the problem. I am a newbie when it comes to specifically Arduino based projects.I have no idea what parts or codes or arduino to use.

What size is the train?

[quote author=Coding Badly link=msg=3121599 date=1486545995] What size is the train?

[/quote] 3 carriages long

:slight_smile:
I think he asked for HO, TT, N …

Budvar10: I think he asked for HO, TT, N ....

Precisely.

And, more importantly, is it a size that could cause damage, injury, or death.

jenna77123: 3 carriages long

No caboose? (I do miss those.)

[quote author=Coding Badly date=1486547336 link=msg=3121623]And, more importantly, is it a size that could cause damage, injury, or death.[/quote] size 1:1

[quote author=Coding Badly link=msg=3121623 date=1486547336] Precisely.

And, more importantly, is it a size that could cause damage, injury, or death.

No caboose? (I do miss those.)

[/quote] I was thinking 0n30 .

jenna77123: I was thinking 0n30 .

You have not told us anything relevant about the train. For example,

  • Will it be battery powered and radio controlled?
  • Or will it be powered and controlled through the tracks?

Do you already have the train and does it work?

More generally, what is your knowledge of model railways?

...R

jenna77123: but i can't find good enough instructions that are extremely detailed.

They won't exist, at least not in the sense that you'll find something ready made to fit your project.

I really think you need to start with the examples in the IDE at File > Examples, which are also available here with circuit details.

Get your hands dirty (metaphorically speaking) getting some LEDs going on and off and fading in and out, read some switches, read some analog inputs like a potentiometer.

Get an ultrasonic or IR distance sensor and see how to read a distance (or detect an obstacle).

manor_royal: They won't exist, at least not in the sense that you'll find something ready made to fit your project.

I really think you need to start with the examples in the IDE at File > Examples, which are also available here with circuit details.

Get your hands dirty (metaphorically speaking) getting some LEDs going on and off and fading in and out, read some switches, read some analog inputs like a potentiometer.

Get an ultrasonic or IR distance sensor and see how to read a distance (or detect an obstacle).

I go with him. And if you want any help with it please visit - imdiode.blogspot.in . I would be happy to guide you.

Nandan_Shukla: And if you want any help with it please visit - imdiode.blogspot.in . I would be happy to guide you.

Why not guide him (or her) on this Forum where others can also benefit?

...R

jenna77123: I know the physics behind it but the programming will be the problem. I am a newbie when it comes to specifically Arduino based projects.I have no idea what parts or codes or arduino to use.

You already stated the new to Arduino part. Me knowing that, I asked about your programming abilities specifically with C but also other languages.

We do get people who figuratively want to write novels without learning the alphabet first.

At the top of your screen in the green bar are links. The Learning link can get you to the Fundamentals page where Arduino parts get explained. You would do well to explore the site and bookmark the help pages, much more well much quicker than playing 20 coy questions and answers.

If you expect to get this done, you have to push.

GoForSmoke: We do get people who figuratively want to write novels without learning the alphabet first.

We also get posts on the forum that look like they haven't mastered the alphabet yet . . .

jenna77123: I have done my research but i can't find good enough instructions that are extremely detailed.

:) :) :) :) :) Thanks

Atmel has datasheets for all their products, the chips that we program, if you want extremely detailed.

As to your specific project, the details are in many examples and past projects but you will need to put them together and make them work together which some people are up to and some are not. Are you ready to learn all you need or will you throw up your hands as a newbie and say it's too much? This is about what you choose to bite off before knowing how well you chew.

AWOL: We also get posts on the forum that look like they haven't mastered the alphabet yet . . .

I blame the Reagans for killing the education budget and starting the facts don't matter movement.

jenna77123: I was thinking 0n30 .

After a quick Google search ... Excellent! ... Looks like a size large enough to fit lots of electronics and certainly small enough that, if something goes wrong, the worst outcome is having to put the train back on the track.