!!

Not Registered?

Welcome!  Please register to view all of the new posts and forum boards - some of which are hidden to guests.  After registering and gaining 10 posts you will be able to sell and buy items on our N'porium.

If you have any problems registering, then please check your spam filter before emailing us.  Hotmail users seem to find their emails in the Junk folder.


Thanks for reading,
The NGF Staff.

Author Topic: Bealman meets Arduino!  (Read 6774 times)

0 Members and 1 Guest are viewing this topic.

Online Bealman

  • Moderator
  • Trade Count: (0)
  • Full Member
  • ****
  • N Gauge Society Number: 23151
  • Posts: 12004
  • Country: au
  • Gender: Male
  • Whoops back we go
    • Awards
Re: Bealman meets Arduino!
« Reply #45 on: October 21, 2015, 02:37:52 am »
Yeah, I'm becoming quite addicted!

The PP3 is really just so I can do stand-alone demos to people. Anything I do in connection with my layout will be permanently powered.
Vision over visibility. Bono, U2.

Online Malc

  • Trade Count: (+3)
  • Full Member
  • ***
  • N Gauge Society Number: 21878
  • Posts: 4047
  • Country: gb
  • Gender: Male
    • Awards
Re: Bealman meets Arduino!
« Reply #46 on: October 21, 2015, 12:27:33 pm »
You are tempting me to get my Arduino out of the box and have a play. Must look up those tutorials on YouTube.
I'm not sure if life is passing me by, or trying to run me over.

Offline martink

  • Trade Count: (0)
  • Full Member
  • ***
  • N Gauge Society Number: 10410
  • Posts: 529
  • Country: au
  • Gender: Male
    • PhotoBucket
    • Model Railway Musings
    • Awards
Re: Bealman meets Arduino!
« Reply #47 on: October 21, 2015, 03:32:54 pm »
I have always found that the key for learning how to work with something like this is to have a definite project goal to work towards.  Simply experimenting and playing around with a development kit is one thing, but this tends to be unfocused and the effort soon peters out.  So, pick some specific thing you want to build to enhance your railway so that as you read or watch tutorials you can think about how that lesson would apply to it, then actually do it. 

So - choose controller, level crossing, signals, sounds, lighting effects, traffic lights, simple automation, fast clock, speedometer, whatever, then go for it.

Offline Zogbert Splod

  • Trade Count: (0)
  • Full Member
  • ***
  • N Gauge Society Number: 25518
  • Posts: 1082
  • Country: scotland
    • Zog Trains
    • Awards
Re: Bealman meets Arduino!
« Reply #48 on: October 21, 2015, 06:54:39 pm »
 :thumbsup: :thumbsup: :thumbsup:
That is exactly right!  Playing with the bits in the experimenters kit box gets stale VERY quickly.
"When in trouble, when in doubt, run (trains) in circles..." etc.
There, doesn't that feel better? 
Lovely!

Planning thread:
http://www.ngaugeforum.co.uk/SMFN/index.php?topic=25873.0

My website: Zog Trains

Run what thou wilt shall be the whole of the law
I may appear to be listening to you, but inside my head, I'm playing with my trains.

Offline Zogbert Splod

  • Trade Count: (0)
  • Full Member
  • ***
  • N Gauge Society Number: 25518
  • Posts: 1082
  • Country: scotland
    • Zog Trains
    • Awards
Re: Bealman meets Arduino!
« Reply #49 on: October 21, 2015, 09:32:33 pm »
You are tempting me to get my Arduino out of the box and have a play. Must look up those tutorials on YouTube.
Go on Malc!!!  You KNOW you wanna.  Come on over to the dark side (we have tea and biscuits  ;) )
If you are referring to those tutorials by Jeremy Blum they are an excellent way to go.....
"When in trouble, when in doubt, run (trains) in circles..." etc.
There, doesn't that feel better? 
Lovely!

Planning thread:
http://www.ngaugeforum.co.uk/SMFN/index.php?topic=25873.0

My website: Zog Trains

Run what thou wilt shall be the whole of the law
I may appear to be listening to you, but inside my head, I'm playing with my trains.

Online Bealman

  • Moderator
  • Trade Count: (0)
  • Full Member
  • ****
  • N Gauge Society Number: 23151
  • Posts: 12004
  • Country: au
  • Gender: Male
  • Whoops back we go
    • Awards
Re: Bealman meets Arduino!
« Reply #50 on: February 18, 2016, 02:47:58 am »
Just spend a pleasant couple of hours getting me head around daisy chaining shift registers:
Sorry about the glass of beer in the background, but I felt I needed a drink after putting that lot together  :D :beers:
Vision over visibility. Bono, U2.

Offline Zwilnik

  • Trade Count: (+4)
  • Full Member
  • ***
  • N Gauge Society Number: 19730
  • Posts: 1673
  • Country: gb
    • Awards
Re: Bealman meets Arduino!
« Reply #51 on: February 18, 2016, 08:34:01 am »
I did the shift register tutorial too, but having learned it, built it and tested it decided it's going to be much easier (and probably cheaper) to just get an Arduino Mega to do my layout with and use its many, many, more pin outs/ins :)

Online Bealman

  • Moderator
  • Trade Count: (0)
  • Full Member
  • ****
  • N Gauge Society Number: 23151
  • Posts: 12004
  • Country: au
  • Gender: Male
  • Whoops back we go
    • Awards
Re: Bealman meets Arduino!
« Reply #52 on: February 18, 2016, 09:19:43 am »
I agree totally. I have a Mega, and it is so much easier just to directly connect the pins. The Mega board is not that much more expensive anyway.  :thumbsup:
Vision over visibility. Bono, U2.

Offline njee20

  • Trade Count: (+1)
  • Full Member
  • ***
  • N Gauge Society Number: 22598
  • Posts: 2413
  • Country: gb
    • Awards
Re: Bealman meets Arduino!
« Reply #53 on: February 18, 2016, 10:57:39 am »
I've got a Mega (clone), was sufficiently cheap that it didn't seem worth going with an Uno!

Have played around with the tutorials and plugged some LEDs in, mimicked a traffic light cycle etc. I'm hoping to use it to control signals, using JMRI. Took far longer than it should have for me to work out how to get it to talk to JMRI, but managed that, got an individual switch in that changes lights and so on, just need to think about expanding the logic!

Quite good fun, not entirely sure I'll manage the complexity I'd like, given my mediocre skills, but it's something to play with!

Offline scotsoft

  • Global Moderator
  • Trade Count: (+20)
  • Full Member
  • *****
  • Posts: 6765
  • Country: scotland
  • Gender: Male
  • Scottish n' Newcastle
    • YouTube
    • Awards
Re: Bealman meets Arduino!
« Reply #54 on: February 20, 2016, 06:33:40 pm »

Sorry about the glass of beer in the background, but I felt I needed a drink after putting that lot together  :D :beers:

Who are you trying to kid George, having a napkin under your beer glass  :smiley-laughing:

Cheers John.

Online Bealman

  • Moderator
  • Trade Count: (0)
  • Full Member
  • ****
  • N Gauge Society Number: 23151
  • Posts: 12004
  • Country: au
  • Gender: Male
  • Whoops back we go
    • Awards
Re: Bealman meets Arduino!
« Reply #55 on: February 20, 2016, 08:32:58 pm »
Hey man, we're posh downunder, don't ya know  ;)
Vision over visibility. Bono, U2.

Offline Zogbert Splod

  • Trade Count: (0)
  • Full Member
  • ***
  • N Gauge Society Number: 25518
  • Posts: 1082
  • Country: scotland
    • Zog Trains
    • Awards
Re: Bealman meets Arduino!
« Reply #56 on: February 21, 2016, 04:26:45 am »
Something else you need to include in the Uno/Mega consideration is this...  Even with a Mega, the available program memory is not huge, so it makes sense to use as many in/outs as possible directly.  It's easier to program that way and there are not too many applications that need more than the available number of I/O pins that can be programmed in the space available.
"When in trouble, when in doubt, run (trains) in circles..." etc.
There, doesn't that feel better? 
Lovely!

Planning thread:
http://www.ngaugeforum.co.uk/SMFN/index.php?topic=25873.0

My website: Zog Trains

Run what thou wilt shall be the whole of the law
I may appear to be listening to you, but inside my head, I'm playing with my trains.

Offline deibid

  • Trade Count: (0)
  • Full Member
  • ***
  • Posts: 158
  • Country: gb
  • Gender: Male
  • Next station...
    • Ebay
    • Google+
    • YouTube
    • Skype
    • Awards
Re: Bealman meets Arduino!
« Reply #57 on: February 21, 2016, 03:01:00 pm »
Hi! another convert here. My layout Leiretown had a Raspberry Pi controller... a total distaster. The servos for the points were unreliable and noisy, I burnt digital pin after digital pin till I barely could wire the basics for operation. Then a servo point motor burnt... and the Pi started to overheat and became so slow that is was useless.

I switched to Arduino... I wrote the program in 20 minutes, re wired everything in an hour... and is reliabily working since then, not a single problem, smooth point operation,all the servos are quiet and work perfectly,  immediate startup of the layout, no overheating at all...  :angel:

never looking back!
Next station...

Online Bealman

  • Moderator
  • Trade Count: (0)
  • Full Member
  • ****
  • N Gauge Society Number: 23151
  • Posts: 12004
  • Country: au
  • Gender: Male
  • Whoops back we go
    • Awards
Re: Bealman meets Arduino!
« Reply #58 on: March 06, 2016, 03:02:52 am »
Oh no! This Arduino thingy is getting to me - these have wheels, but they are not trains! Perhaps I'd better put it in the "Other hobbies" thread... but we've already created this section after much deliberation.

Robotics!!

I'm starting off small with this two wheeler....
.....the Arduino and light are nothing to do with the robot, by the way - I just plomped them on top for the photo! I'd only just finished putting the chassis together after several false starts because it came without instructions!

Once I've got the two wheeler functional, I'm going to start on this caterpillar-tracked beastie, which I'm told can handle a 2Kg load (though I find that a bit hard to believe):
Yeah, I know, there's another glass of beer in the photo, but if you look at the screen of the weather station on the extreme left, you might just be able to make out the outside temperature of 30.5 degrees, 25.5 inside, and that's with the aircon going!

I like a drink on a hot day  :beers:

Looks like me Blue Pullman is consigned to the box for a while....  :-[
Vision over visibility. Bono, U2.

Online Malc

  • Trade Count: (+3)
  • Full Member
  • ***
  • N Gauge Society Number: 21878
  • Posts: 4047
  • Country: gb
  • Gender: Male
    • Awards
Re: Bealman meets Arduino!
« Reply #59 on: March 06, 2016, 11:01:03 am »
Is that the same expensive beer mat as in the previous photos?
I'm not sure if life is passing me by, or trying to run me over.

 

Please Support Us!
December Goal: £55.00
Due Date: Dec 31
Total Receipts: £55.00
Below Goal: £0.00
Site Currency: GBP
100% 
December Donations


Advertise Here
anything