Teasel Bay

Post

Posted
Rating:
#250497
Full Member

Early construction of a simple 00 garage layout

Slow progress over the last few nights, while I planned and setup the lights for the sea wall. As always all my lighting is powered from an Arduino. The Ardunio is now placed behind the sea wall under the layout. The Arudino itself is doing very little, as all it does is provide power to each pin and listen to the USB signal from the laptop which tells whether they should be off/on.
 


I didn't realise when I bought them that the Gaugemaster lights use lamps rather than LED's, this requires them to be powered by each pin on the Ardunio separately. It does mean when I come to the Christmas display, I can individually turn each light off…. For general use, I've tied them all to a single on/off button.  Each button is placed in a retaliative position to the light it controls, it is a functional UI!









Even though it is going dark, the lady is still exercising on the sea wall….






I've placed one on the corner of the steps leading down. I think it finishes them quite nicely (Although I've just noticed I need to tend to the handrail and nudge it back into palace after sitting it sideways to drill, solder!



Online now: No Back to the top

Post

Posted
Rating:
#250498
Avatar
Full Member
Wow !!  No wonder the Council Tax is so high at Teasel Bay wih all that street lighting to pay for !!!

It looks great Chris - I'm particularly looking forward to seeing that Arduino perform a lift-off - it sure looks like the shuttle flight controls ………………………. :shock: :shock: :shock: :shock: 

 My system looks far less complicated - a big white 3 inch square switch which gives me a choice of "ON" or "OFF" - the bonus being the "ON" bit has a red background to add some colour.    
Does your Arduino do the same ?…………………… :mutley :mutley



'Petermac
Online now: No Back to the top

Post

Posted
Rating:
#250499
Full Member
[user=6]Petermac[/user] wrote:
My system looks far less complicated - a big white 3 inch square switch which gives me a choice of "ON" or "OFF" - the bonus being the "ON" bit has a red background to add some colour.    
Does your Arduino do the same ?…………………… :mutley :mutley


I'd image under every layout is at least one dim red light confirming power. You only need two wires with DDC though remember…..
Online now: No Back to the top

Post

Posted
Rating:
#250500
Avatar
Full Member
Even highly complex systems usually only need 3 - pos, neg and earth ………………………and I still can't get my head around electrickery ………….. :oops:

'Petermac
Online now: No Back to the top

Post

Posted
Rating:
#250574
Full Member
It was our ten year wedding anniversary on Friday, I faired quite well with the addition of a Hornsby Class 43. The mainline must be closed so they have had to divert through Teasel Bay. I took the liberty of upgrading them with a pair of ESU Loksound decoders. 





Both the power car and the dummy now have a nice squeal of a Valenta engine. 






There are a lot of improvements over the 70s model my dad had. One think I didn’t consider is acquiring coaches, they seem hard to get hold of. So far I’ve got the restaurant and two others on the way…






So at the moment I’m running the unusual set of 2 + 1…. suppose you don’t have far to go if your hungry….. oh well, 2 more arriving soon and Hornby releasing a new set at the end of the year, I’ll have a full set one day.


I’ve also upgraded the coupling to use Hunts Coupling. It is a new 3D printed NEM socket fIt magnets. So basically makes my stock compatible with the boys Brio! I’m pretty impressed with them so far. 




Last edit: by TeaselBay

Online now: No Back to the top

Post

Posted
Rating:
#250576
Avatar
Full Member
Hi Chris. If my “ Dicky Ticker “ hadn’t got in the way of my plans, I had put my line down for use as a Relief line when the Mainline was closed at Ashford (Kent).      Best wishes Kevin 

Staying on the thread Kevin.
Online now: No Back to the top

Post

Posted
Rating:
#250584
Avatar
Full Member
[user=1801]Passed Driver[/user] wrote:
Hi Chris. If my “ Dicky Ticker “ hadn’t got in the way of my plans, I had put my line down for use as a Relief line when the Mainline was closed at Ashford (Kent).      Best wishes Kevin 
Ah! Happy memories of Ashford station… my father had been a mechanical engineer there and my uncle and cousin were both train drivers based there….

Michael
Online now: No Back to the top

Post

Posted
Rating:
#250585
Avatar
Full Member
Congratulations on the anniversary, Chris.  I must be doing something wrong - I have to treat the wife, it doesn't happen in reverse!  She says it is a day to remember how lucky I am and it doesn't work the other way round….
You might strike it lucky on a well known auction site for coaches, although prices for things seem particularly high at the moment. Although not in the league of purchases such as a leaking tent or a boat with a hole in it, I've seen second hand stock selling for more than brand new.  Anyway, the new gift looks super travelling through Teasel Bay.

A quick question, if you don't mind….  What is the advantage of running the lights from an Arduino?  I understand that you control it from the laptop - is all of your layout computer controlled?  And do the lights get their power from the arduino?  Do you still have to use resistors?  (And I appreciate that that is actually 4 questions!)

I only ask because I will eventually get around to making my permanent control panel and am considering how I will operate lights…..

Regards

Michael
Online now: No Back to the top

Post

Posted
Rating:
#250592
Full Member
Hey,
The trains are controlled with eLink and Railmaster and the lighting through the Arduino on my laptop. I have a touch screen so I can poke away!

In theory one day I want to write my own software to control the trains and take on some automation. I have a proof of concept which I've written which controls the trains I created a thread a while back (http://yourmodelrailway.net/view_topic.php?id=15609&forum_id=32). At the moment though, all my time has been taken on improving the scenery!

My plan is to add some infrared sensors under the track, I have 4 to try out and fire back trains location again using the Ardunio. I can then have route planning and automatic signalling….. I have so many ideas, just no time to implement them! haha…
Online now: No Back to the top

Post

Posted
Rating:
#250600
Avatar
Full Member
Ah!  Thank you….  now you say it, I remember the fabulous touch screen!  
Michael
Online now: No Back to the top

Post

Posted
Rating:
#250643
Full Member
So for the last few nights I’ve been fiddling with my new decoders to get them right…
So first problem is that both cars were orientated in the same direction, so I attempted to switch cv29 to reverse, but the decoder failed. I have then since learnt that a decoder can’t return a signal without a motor. Does any smart person know why/how that works!?

I then had set the value incorrectly so had lost the lights altogether (I didn’t read the value first). Resetting the decoders did this, but at this point I swapped the locomotive bodies so the lights now worked in the opposite direction to travel….. many resets later I realised my error. 

I have now got it to a state where the trailing car is working but the power car’s sounds work in reverse only. So you only get a horn in reverse, which is not ideal. 

I now have the number of the guy who writes the sounds to these things and he has just spent an hour looking through and chasing the problem and is emailing me new codes to hopefully fix the issue. 

So here is the circles I’ve been following for the last 5 evenings!! How for frustrating….. Hats off to the guy who helped me through my own issues and then the problem with the decoder. 
Online now: No Back to the top

Post

Posted
Rating:
#250644
Full Member
So he has just emailed me the steps to switch the sounds it is as easy as changing:
CV31=16 and  CV32=3  then set  CV369=8, CV385=8 and CV401=8

Simple, aye…
Online now: No Back to the top

Post

Posted
Rating:
#250645
Avatar
Full Member
I'm surprised you didn't know that Chris !!   :shock: :shock: :shock: :shock:

I'd have loved to be a fly on your wall when you were working your way through that - I'll bet there were some words even I don't know …………………… :roll: :roll: :roll:

Did your Guru's reset work ?.

'Petermac
Online now: No Back to the top

Post

Posted
Rating:
#250657
Avatar
Full Member
Hi Chris.  I was advised not to bother with CV’s? Maybe that is poor advice, but as long as it goes in the correct direction and stops when I want it to that is good enough for me. Best wishes Kevin 

Staying on the thread Kevin.
Online now: No Back to the top

Post

Posted
Rating:
#250662
Full Member
[user=1801]Passed Driver[/user] wrote:
Hi Chris.  I was advised not to bother with CV’s? Maybe that is poor advice, but as long as it goes in the correct direction and stops when I want it to that is good enough for me. Best wishes Kevin 
A sound piece of advice Kevin. The only advantage is that no matter what you do they are easy to reset to factory default. A trick I applied many times above! 
Online now: No Back to the top

Post

Posted
Rating:
#250675
Full Member
Didn’t work!:hmm:hmm  

Back to the shop to be tested the decoder goes I guess. 
Online now: No Back to the top

Post

Posted
Rating:
#250691
Avatar
Site staff
Barchester is in the usergroup ‘Super-moderators’
Do both chips have the same decoder address Chris ? And does the power car operate as it should ? Both lights and sound in forward and reverse ?

Edit - Just re read your posts and I see that  its now the powered car that is operating incorrectly. Are both chips under the same Address ?

Wasnie me, a big boy did it and ran away

"Why did you volunteer ? I didn't Sir, the other three stepped backwards"
Online now: No Back to the top

Post

Posted
Rating:
#250692
Full Member
Regarding setting cv's etc. If you solder a 100 ohm resistor across the motor (orange and grey) wires the decoder thinks it's a motor and will be able to be written to.

Cheers Pete.
Online now: No Back to the top

Post

Posted
Rating:
#250693
Avatar
Site staff
Barchester is in the usergroup ‘Super-moderators’
[user=1120]peterm[/user] wrote:
Regarding setting cv's etc. If you solder a 100 ohm resistor across the motor (orange and grey) wires the decoder thinks it's a motor and will be able to be written to.

Never heard that one before  :thumbs. The method I've used is to put both powered and dummy on the programming track,  program in the address and cv settings you want  on the Dummy, remove the dummy and then program the address and cv settings you want for the powered car. In Ian's case as its pre programmed sound decoders I would have removed the powered car chip, put the dummy car chip in, make cv changes and replace both chips in the relavent cars so removing any chance of beggering up the settings in the powered car 

What I dont know in this case is wether the wiring in the dummy car has been reversed ? Which would change things a bit

Wasnie me, a big boy did it and ran away

"Why did you volunteer ? I didn't Sir, the other three stepped backwards"
Online now: No Back to the top

Post

Posted
Rating:
#250694
Full Member
[user=2080]Barchester[/user] wrote:
[user=1120]peterm[/user] wrote:
Regarding setting cv's etc. If you solder a 100 ohm resistor across the motor (orange and grey) wires the decoder thinks it's a motor and will be able to be written to.

Never heard that one before  :thumbs. The method I've used is to put both powered and dummy on the programming track,  program in the address and cv settings you want  on the Dummy, remove the dummy and then program the address and cv settings you want for the powered car. In Ian's case as its pre programmed sound decoders I would have removed the powered car chip, put the dummy car chip in, make cv changes and replace both chips in the relavent cars so removing any chance of beggering up the settings in the powered car 

What I dont know in this case is wether the wiring in the dummy car has been reversed ? Which would change things a bit
Great bits of advice there! There is no way I’m soldering inside the engine though! I use the swap approach above. 

The guy who sets the sounds said he did change the horns so they only worked in the correct direction but he thinks he has made a mistake. I’m sure it’ll work perfectly once completed!
Online now: No Back to the top
1 guest and 0 members have just viewed this.