Japanese Modelling & Japan Rail Enthusiasts Forum
LoginRegister

ForumHelp

JNSwiki
May 25, 2012, 01:12:08 am
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Search  Search for  
Pages: [1]   Go Down
  Print  
Author Topic: Want to explore NMRAnet? Announcing Railstars Io  (Read 1655 times)
0 Members and 2 Guests are viewing this topic.
CaptOblivious 
Philosopher-Engineer
Administrator
******
*****
Offline Offline


485系「あいづライナー」


WWW
« on: January 26, 2012, 03:36:27 pm »

Railstars, in collaboration with the OpenLCB development group, TCH Technology, and the NMRA are proud to announce the impending availability of the OpenLCB / NMRAnet Experimenter's Kit, a set of low-cost tools for getting started with NMRAnet on your layout.

Huh?

OpenLCB / NMRAnet is a new initiative to create a Layout Control Bus (LCB) that is open, freely available, and forward-looking, in contrast with the commercial buses currently available. For example, LocoNet is closed, requires a fee (and product approval from Digitrax), and gets bogged down under load; XpressNet is (somewhat) open and free, but relies on last century's technology (even Lenz is struggling with the limitations this imposes).

(The name derives from the fact that the technology is a collaboration between the OpenLCB group, which got the ball rolling with their OpenLCB networking technology; the NMRA in turn licenses this technology, rebranding the effort as NMRAnet as the certify the various specifications.)

On the other hand, NMRAnet is open and freely available: The specifications are on the internet for free download, and free to use without licensing fees. NMRAnet is based on CAN—the same technology use by auto makers for the networks in your car. CAN is designed for maximum reliability in harsh environments, and high through-put: It does not bog down under heavy loads, for example. More to the point, NMRAnet is designed to anticipate tomorrow's technology: It works with any current layout control system, and will continue to work with systems not yet invented.


We are currently looking for people who are interested in trying out NMRAnet on their layouts. The NMRA and two private individuals are subsidizing a limited quantity of Experimenter's Kits, which contain three NMRAnet nodes (called "Io", and designed by Railstars!), a USB PC interface, and assorted accessories: Everything you need to get started with NMRAnet.

The "Io" nodes can be used to interface with a variety of layout features: Fascia panel input switches or indicators, turnout decoders, signal heads (either directly or via a decoder), block occupancy detectors, layout lighting, etc. For example, you might use one "Io" board to control the fascia panel for your yard, and a second "Io" to handle controlling the turnouts in the yard. Only a single CAT5 cable is needed to connect them together. Then, add the USB interface, and you add computer control of the yard via JMRI.

For the technological dis-inclined, the "Io" nodes are designed to be easily configured without a PC.  For potential developers, the "Io" nodes are Arduino compatible, permitting programmers to create custom NMRAnet hardware quickly and easily.

Pricing hasn't been set yet, but we are aiming for a $50 price tag for the complete kit. This is a significant discount over the $200 retail price, thanks to a generous NMRA and private subsidy. Right now, we are seeking individuals who would be interested in giving NMRAnet a try. Of course, we offer full and personal tech support.

If you think you might be interested in being an NMRAnet early adopter, reply here, or drop me a personal message, and we'll make sure you get hooked up with a kit once they are available (should be about two weeks at the most before we start shipping). Or, if you want to know more about NMRAnet, ask away (…although if the discussion gets too long, Disturbman may evict us to a different board ;) )

Useful links:
http://openlcb.org/
http://www.openlcb.com/trunk/documents/OpenLCBGeneralDescription.pdf
http://railstars.com/hardware/io/
« Last Edit: January 26, 2012, 05:22:15 pm by CaptOblivious » Logged

A miniature slice of geekdom,
Akihabara Station
Martijn Meerts 
Administrator
******
*****
Offline Offline

Gender: Male


WWW
« Reply #1 on: January 26, 2012, 04:17:40 pm »

Wouldn't mind giving it a go, but I'm nowhere near close to having a layout (or part of a layout) to actually use the stuff on =)

I've worked with several digital systems now, and while each of them have their advantages, there doesn't seem to be an "ultimate" digital system. It's not easy to come up with one either though, because people have different wants and needs.
Logged

Mixed Japanese N-scale: http://www.jr-chiisai.net
Era III German 0-scale: http://blackforest.jr-chiisai.net
CaptOblivious 
Philosopher-Engineer
Administrator
******
*****
Offline Offline


485系「あいづライナー」


WWW
« Reply #2 on: January 26, 2012, 04:23:14 pm »

Wouldn't mind giving it a go, but I'm nowhere near close to having a layout (or part of a layout) to actually use the stuff on =)

I've worked with several digital systems now, and while each of them have their advantages, there doesn't seem to be an "ultimate" digital system. It's not easy to come up with one either though, because people have different wants and needs.

I figured you might be interested :D Your experience with other systems and feedback would be particularly helpful to us, too.
Logged

A miniature slice of geekdom,
Akihabara Station
Martijn Meerts 
Administrator
******
*****
Offline Offline

Gender: Male


WWW
« Reply #3 on: January 26, 2012, 04:33:39 pm »

Always interested in new digital systems.. There's a reason I currently have 4 different ones ;)
Logged

Mixed Japanese N-scale: http://www.jr-chiisai.net
Era III German 0-scale: http://blackforest.jr-chiisai.net
CaptOblivious 
Philosopher-Engineer
Administrator
******
*****
Offline Offline


485系「あいづライナー」


WWW
« Reply #4 on: February 01, 2012, 05:15:24 am »

Oooh! Here's a basic video demonstration of Railstars Io, by my colleague David Harris:
<a href="http://www.youtube.com/v/bpIMoQmmhsw" target="_blank">http://www.youtube.com/v/bpIMoQmmhsw</a>
Logged

A miniature slice of geekdom,
Akihabara Station
The_Ghan 

*
Offline Offline

Gender: Male

"The Ghan" - a famous Australian railway.


« Reply #5 on: February 01, 2012, 05:42:36 am »

Nice .... I want one to turn my siding on and off ... how do I do that?

Cheers

The_Ghan
Logged
cteno4 

*
Offline Offline

Gender: Male

Where ever you go, there you are...


WWW
« Reply #6 on: February 01, 2012, 05:45:05 am »

Capt

Very cool! Been on the list to stare playing with Arduino, this looks really promising.

Jeff
Logged

Japan Rail Modelers of Washington DC
http://www.japanrailmodelers.org
CaptOblivious 
Philosopher-Engineer
Administrator
******
*****
Offline Offline


485系「あいづライナー」


WWW
« Reply #7 on: February 01, 2012, 05:58:54 am »

Thanks, guys!

Nice .... I want one to turn my siding on and off ... how do I do that?

Cheers

The_Ghan

Right now, with this board, you would still need a turnout decoder; this board would put that turnout decoder onto an NMRAnet network. But watch this space, I'm working on a variant that can work turnouts directly, without need for a decoder.

Capt

Very cool! Been on the list to stare playing with Arduino, this looks really promising.

Jeff

And, of course, Io is fully Arduino compatible! I'm also thinking about doing up a shield with the necessary hardware to make a simple DIY command station, too.
Logged

A miniature slice of geekdom,
Akihabara Station
The_Ghan 

*
Offline Offline

Gender: Male

"The Ghan" - a famous Australian railway.


« Reply #8 on: February 01, 2012, 12:06:32 pm »

It wasn't clear to me how the green board connects to the blue board. 

I think I need a green board that is populated with 8 x bi-polar relays and has a terminal block.  That would turn my siding on and off quite nicely.

I also presume it can communicate through loconet and runs off its own DC power.

Right?

Cheers

The_Ghan
Logged
CaptOblivious 
Philosopher-Engineer
Administrator
******
*****
Offline Offline


485系「あいづライナー」


WWW
« Reply #9 on: February 01, 2012, 02:58:36 pm »

It wasn't clear to me how the green board connects to the blue board. 

I think I need a green board that is populated with 8 x bi-polar relays and has a terminal block.  That would turn my siding on and off quite nicely.

I also presume it can communicate through loconet and runs off its own DC power.

Right?

Cheers

The_Ghan

The little green board is just for the demo. In reality you would wire the board directly to whatever source of inputs you have.

But the major draw of these boards is that they use NMRAnet as an open and freely available (and technologically superior) alternative to LocoNet. There are other folks working on NMRAnet to LocoNet bridges, though, so you can mix both systems together.

Tell me more about what you are trying to accomplish? You want to turn entire sections of track on and off entirely?
Logged

A miniature slice of geekdom,
Akihabara Station
stevenh 
Tetsudo Staff
*****
Offline Offline

Gender: Male


WWW
« Reply #10 on: February 01, 2012, 10:01:35 pm »

Don,

It seems that we'd want to have a module to control the throttle output to separate blocks for people not using DCC.
This could be a single unit that is the PWM module and then a distribution board that is (as Ghan requests) a multiple-relay board (DPDT relays with center off?) to allow track sections on/off/and-potentially-reverse?

The next issue would be how to control the PWM module... you'd really simply need a matching 'throttle input board' with a directional switch (although that'd conflict with the directional ability on the relay board) and an analogue throttle that sent it's float value to the pwm.

Now that I think of it.. that's a damn neat way to do it. You could actually make it a rotary switch (and push-button directional control) with an LED voltage/direction/speed display so that you could have multiple throttle boards around the layout controlling the one block. Potentially controlling multiple PWM modules as well.

The only issue here would be that the current protocol mentions controlling train speed rather than block speed. There'd have to be a modification to that theory, or a new effort to allow block control over DCC train control. Nothing impossible.

My 2c... but this would really fit in well with the new layout I'm squeezing into a coffee table.

Don, count me in on a dev kit... I'd love to attempt this theory of a PWM module, throttle module and then an extended throttle distribution module :)
« Last Edit: February 01, 2012, 10:31:58 pm by stevenh » Logged

The_Ghan 

*
Offline Offline

Gender: Male

"The Ghan" - a famous Australian railway.


« Reply #11 on: February 01, 2012, 11:15:56 pm »

...
Tell me more about what you are trying to accomplish? You want to turn entire sections of track on and off entirely?

Exactly.  My subway sidings (x8) are each long enough for a 10 car subway train.  These WILL be fitted with internal lights, LED.  I'm looking for a cheap way to turn off the lights when the consist is in the siding.  I currently own 6 subway trains with another 2 on order.  That will be nearly 80 cars.  Cheap decoders would still cost me around $1000 ... and sometimes a particular model might not even be on the tracks!

So, I was going to have a board designed with 8 x bi-stable relays and appropriate terminal blocks.  This would then be hooked up to a Digitrax SE8C.

Costs: the SE8C is around $110 and I was hoping to do the relay board for a similar price.

Cheers

The_Ghan
Logged
CaptOblivious 
Philosopher-Engineer
Administrator
******
*****
Offline Offline


485系「あいづライナー」


WWW
« Reply #12 on: February 01, 2012, 11:22:08 pm »

Don,

It seems that we'd want to have a module to control the throttle output to separate blocks for people not using DCC.
This could be a single unit that is the PWM module and then a distribution board that is (as Ghan requests) a multiple-relay board (DPDT relays with center off?) to allow track sections on/off/and-potentially-reverse?

The next issue would be how to control the PWM module... you'd really simply need a matching 'throttle input board' with a directional switch (although that'd conflict with the directional ability on the relay board) and an analogue throttle that sent it's float value to the pwm.

Now that I think of it.. that's a damn neat way to do it. You could actually make it a rotary switch (and push-button directional control) with an LED voltage/direction/speed display so that you could have multiple throttle boards around the layout controlling the one block. Potentially controlling multiple PWM modules as well.

The only issue here would be that the current protocol mentions controlling train speed rather than block speed. There'd have to be a modification to that theory, or a new effort to allow block control over DCC train control. Nothing impossible.

My 2c... but this would really fit in well with the new layout I'm squeezing into a coffee table.

Don, count me in on a dev kit... I'd love to attempt this theory of a PWM module, throttle module and then an extended throttle distribution module :)

This sounds quite cool, actually. Although because OpenLCB requires communication with trains directly, you'd have to find a way to write a software proxy that could act in stead of the train on the OpenLCB network, and then issue commands to block controllers in response. Would require knowing which block a train is in, which is non-trivial, but not impossible either…sounds like a good project, actually, and a valuable one too.
Logged

A miniature slice of geekdom,
Akihabara Station
CaptOblivious 
Philosopher-Engineer
Administrator
******
*****
Offline Offline


485系「あいづライナー」


WWW
« Reply #13 on: February 01, 2012, 11:23:35 pm »

...
Tell me more about what you are trying to accomplish? You want to turn entire sections of track on and off entirely?

Exactly.  My subway sidings (x8) are each long enough for a 10 car subway train.  These WILL be fitted with internal lights, LED.  I'm looking for a cheap way to turn off the lights when the consist is in the siding.  I currently own 6 subway trains with another 2 on order.  That will be nearly 80 cars.  Cheap decoders would still cost me around $1000 ... and sometimes a particular model might not even be on the tracks!

So, I was going to have a board designed with 8 x bi-stable relays and appropriate terminal blocks.  This would then be hooked up to a Digitrax SE8C.

Costs: the SE8C is around $110 and I was hoping to do the relay board for a similar price.

Cheers

The_Ghan

Ghan, This sounds like an interesting and potentially viable product in its own right. Not sure what the costs would be, but I could get you an estimate later this week perhaps. Send me a PM; if you can, have you specced out the relays? A part number would help.
Logged

A miniature slice of geekdom,
Akihabara Station
The_Ghan 

*
Offline Offline

Gender: Male

"The Ghan" - a famous Australian railway.


« Reply #14 on: February 01, 2012, 11:38:03 pm »

Cap'n,

Let me investigate over the weekend.  I'll send you a PM.

Cheers

The_Ghan
Logged
keitaro 

Offline Offline

Gender: Male


« Reply #15 on: February 01, 2012, 11:44:13 pm »

ghan are you going to have each siding i.e. each line with the ability to turn on/off or just the whole block of sidings.

why am i asking??

Well if this was a subway it would not matter to me as if i were switching 1 consist out and putting one away all the trains would light up ?

this would not be good for me if it were a visible siding on the layout.

If it was set per line on a siding then you could only light up the trains coming in and out. which is what i would want to do for a siding on the ground level of the layout.
Logged

dreaming of a bigger layout
stevenh 
Tetsudo Staff
*****
Offline Offline

Gender: Male


WWW
« Reply #16 on: February 02, 2012, 12:18:41 am »

Keitaro, I'd imagine that, since Ghan has asked for at least 8 relays, he'd want to control each siding/block individually.

This relay board would control both rails of each siding/block.
It would accept a feed, be that the output of a booster or the output of a PWM module.

Each relay would only need to be DPST with one side not connected, being 'off' to shutdown the associated block.
You would use the booster/pwm module to control the polarity.

You could create a variation of this board with a H-Bridge IC for DC control that could allow separate controls from the central PWM module.

There would then need to be reverse communication to declare the voltage output and speed per block to the throttle modules.
« Last Edit: February 02, 2012, 12:25:32 am by stevenh » Logged

KenS 

*
Offline Offline

Gender: Male


WWW
« Reply #17 on: February 02, 2012, 07:58:49 am »

Someone already did this.  The AUX-BOX is an 8-in-1 decoder that switches pass-thru contacts that can carry up to 3A, sufficient for even several N-scale trains:

http://www.aux-box.com/specifications
Logged

Sumida Crossing An N-Scale Japanese-Themed Urban Railroad
The_Ghan 

*
Offline Offline

Gender: Male

"The Ghan" - a famous Australian railway.


« Reply #18 on: February 02, 2012, 11:56:50 am »

ghan are you going to have each siding i.e. each line with the ability to turn on/off or just the whole block of sidings.  Each individual siding.  The control will be between a Digitrax BDL168 and the track.  Reason?  I might want siding 2 on with a train heading north, siding 5 on with a train heading south, and the other sidings off.

why am i asking??

Well if this was a subway it would not matter to me as if i were switching 1 consist out and putting one away all the trains would light up ?  Agreed.  But having thought this through I think it might work better individually.  That said, I might need to turn them all on to discover which siding has the particular consist I want to use..

this would not be good for me if it were a visible siding on the layout.

If it was set per line on a siding then you could only light up the trains coming in and out. which is what i would want to do for a siding on the ground level of the layout.  Agreed again, but there is still the issue of DCC knowing which siding to turn on.

Logged
The_Ghan 

*
Offline Offline

Gender: Male

"The Ghan" - a famous Australian railway.


« Reply #19 on: February 02, 2012, 11:59:40 am »

Keitaro, I'd imagine that, since Ghan has asked for at least 8 relays, he'd want to control each siding/block individually.

This relay board would control both rails of each siding/block.
It would accept a feed, be that the output of a booster or the output of a PWM module.

Each relay would only need to be DPST with one side not connected, being 'off' to shutdown the associated block.
You would use the booster/pwm module to control the polarity.

You could create a variation of this board with a H-Bridge IC for DC control that could allow separate controls from the central PWM module.

There would then need to be reverse communication to declare the voltage output and speed per block to the throttle modules.

Actually I though I might be able to control just the rail that goes through the BDL168.  I thought I could leave the common rail hard wired, no?

Cheers

The_Ghan
Logged
The_Ghan 

*
Offline Offline

Gender: Male

"The Ghan" - a famous Australian railway.


« Reply #20 on: February 02, 2012, 12:27:04 pm »

Someone already did this.  The AUX-BOX is an 8-in-1 decoder that switches pass-thru contacts that can carry up to 3A, sufficient for even several N-scale trains:

http://www.aux-box.com/specifications

Good on you KenS,

That's even better than I was looking for.  I doubt I'll need the sensor inputs as I'll be using occupancy detection anyway.

Cheers

The_Ghan
Logged
CaptOblivious 
Philosopher-Engineer
Administrator
******
*****
Offline Offline


485系「あいづライナー」


WWW
« Reply #21 on: February 02, 2012, 03:23:19 pm »

Someone already did this.  The AUX-BOX is an 8-in-1 decoder that switches pass-thru contacts that can carry up to 3A, sufficient for even several N-scale trains:

http://www.aux-box.com/specifications

This is a really interesting product. I need to learn more about the switches they are using. The Io board I have in my hands now uses n-channel MOSFETs to switch loads on and off by wiring or disconnecting them from ground. This technique doesn't work for DCC, but an H-Bridge might do the trick. Anyway, I clearly need to study it, and learn its ways.

The thing I don't like about the Aux-Box is that it is a stationary decoder, which means it gets its commands over DCC. This is fine, but it leaves no way to communicate feedback, like fault conditions, or successful switching, etc. It also means that you can't easily control it from a fascia, you can only send commands via your DCC throttle. Nor does it work on other control systems like DC, Motorola, etc.

The advantage of something like the Io platform that uses NMRAnet is that it permits control over the outputs from anywhere: Your hand-held throttle, a fascia panel, a second fascia panel, a web browser on a PC on another continent (well, not yet, but soon), etc.

(Also, I think I can beat that price.)

Aside: Ghan: Is your DCC layout wired with common-rail return? I would switch both rails if I were you, much safer that way. And if you haven't wired anything yet, I would avoid common-rail return, as the resistance of N scale rails is too high for that kind of duty, and this can cause real headaches for you later down the road trying to figure out why various things powered from the rails aren't behaving correctly.
Logged

A miniature slice of geekdom,
Akihabara Station
stevenh 
Tetsudo Staff
*****
Offline Offline

Gender: Male


WWW
« Reply #22 on: February 02, 2012, 09:35:29 pm »

Actually I though I might be able to control just the rail that goes through the BDL168.  I thought I could leave the common rail hard wired, no?...

You definitely could, it's more of a design decision for the 'relay board'... i.e. if it were to only contain single pole relays, then you could only control one rail, and then it would be useless for other purposes. Having full DPST (or DPDT for that matter) would allow many more applications.

It would then be up to you as to how you implement it.

I don't know much about 'common rail return'... but Don would be the person to listen to on that :) It'd be just a bit of extra wiring to feed both through the relay board...
Logged

The_Ghan 

*
Offline Offline

Gender: Male

"The Ghan" - a famous Australian railway.


« Reply #23 on: February 03, 2012, 12:28:00 am »

... Aside: Ghan: Is your DCC layout wired with common-rail return? I would switch both rails if I were you, much safer that way. And if you haven't wired anything yet, I would avoid common-rail return, as the resistance of N scale rails is too high for that kind of duty, and this can cause real headaches for you later down the road trying to figure out why various things powered from the rails aren't behaving correctly.

Cap'n,

No, I'm not using common-rail return wiring.  I'm using Direct Home Wiring as shown on p5 of the BDL168 manual.  My subway has two loops, one east and one west bound.  Each loop is wired separately back to the PM42 and interconnecting track is double gapped.  Within each loop, sections/blocks are single gapped, just as shown on the diagram on p5.

Also, I'm using LocoNet and aux power whenever possible.  I'm aiming to keep track power for trains.

Cheers

The_Ghan
Logged
The_Ghan 

*
Offline Offline

Gender: Male

"The Ghan" - a famous Australian railway.


« Reply #24 on: February 03, 2012, 12:48:21 am »

Here's another thing I'm going to do:

I'm setting up one siding for testing and programming.  It needs acces to DC, DCC Programming, and DCC Running.  The idea is that I switch to DC to test a newly arrived consist.  Then install decoders and program it on that siding.  Then run it onto the main lines.  Where the siding meets the main lines I was going to have a S140 double isolated at both ends in case I overshoot in my testing. 

I was thinking of a 4P5T rotary switch and wiring up as follows:

4P5T Position     1         2         3         4         5         
Siding TrackDCOFFDCC Program     OFFDCC Run
Isolating TrackOFFOFFOFFOFFDCC Run

Has anyone else done this or have any thoughts?

Cheers

The_Ghan
Logged
stevenh 
Tetsudo Staff
*****
Offline Offline

Gender: Male


WWW
« Reply #25 on: February 03, 2012, 01:56:01 am »

You could use that 4P5t.. but wiring it would be a nightmare... do-able, but unnecessarily complex?

I would simply use 2 DPDT, one to select programming/normal DCC and then that feeds in to the second which selects DC or DCC.
Logged

KenS 

*
Offline Offline

Gender: Male


WWW
« Reply #26 on: February 03, 2012, 06:47:49 am »

The advantage of something like the Io platform that uses NMRAnet is that it permits control over the outputs from anywhere: Your hand-held throttle, a fascia panel, a second fascia panel, a web browser on a PC on another continent (well, not yet, but soon), etc.

True.  I'm not a fan of controlling non-train systems via the track (I use Loconet).  The good point about the AUX-BOX is that it will work with any DCC control system.  The bad point is, as you say, it has a very limited set of capabilities.

It's also freaking huge, like 7" (19 cm) across.  For something you'd want to tuck away under a layout, finding a place out of the way could be a problem. And I can't really see from looking at it why it needs to be that large.

Quote from: The_Ghan
I'm setting up one siding for testing and programming.  It needs acces to DC, DCC Programming, and DCC Running.  The idea is that I switch to DC to test a newly arrived consist.  Then install decoders and program it on that siding.  Then run it onto the main lines.  Where the siding meets the main lines I was going to have a S140 double isolated at both ends in case I overshoot in my testing. 

I haven't done that, but I think it's a good idea.  I like the idea of the double-insulated section in case of an overrun; that last thing you want is to bridge a DC power pack into a DCC command station or booster.

As Stevenh said, you can use two DPDT switches, but if you do, make sure they're "break before make" (essentially the same as what you're doing by putting unwired terminals on the rotary switch) to avoid the same "shorting the power systems together" problem.

Quote
No, I'm not using common-rail return wiring.  I'm using Direct Home Wiring as shown on p5 of the BDL168 manual. 

Actually, the way they illustrate it (pg 6) it is "common rail return", it's just not what Digitrax calls "whole layout common rail return".  I think the point Capn O. was making was that you need more than just one connection to the non-gapped rail to ensure you have a low-resistance return path.  It's extra wire, but it pays benefits in power quality and debugging.

I like to gap both rails in the same places and put in one feeder on each side (the common ones don't need to be switched; they can all just tie to the bus). That also sets you up for multiple circuit breakers (the PM42 needs to cut both sides) if you want them later.
Logged

Sumida Crossing An N-Scale Japanese-Themed Urban Railroad
The_Ghan 

*
Offline Offline

Gender: Male

"The Ghan" - a famous Australian railway.


« Reply #27 on: February 03, 2012, 11:57:27 am »

KenS,

Oh sure ... my bus is freakin' big AWG10.  When I was just starting out you guys had a thread going about the resistance in thin wire and N scale rails.  I asked a sparky friend if he had any AWG12 that I could beg-borrow-steal.  He didn't, but what he did have was a couple of rolls of AWG10 for me.  Overkill, I know.  Anyway, the common rail is connected via a star type of pattern every two to three feet.  In fact, every section has connections spaced at no more than three feet.

Stevenh,

Thanks for your advice.  I get your point on the 2P2T switches, however I also like the idea of having OFF at my finger tips. It gives me the assurance of a dead track while loading and unloading trains.   This would necessitate a third switch ... plus I'd need an extra switch for the isolated section ... seems to be getting complicated.  I'll give it some more thought, but I DO like the 4P5T rotary.

KenS again,

Do you see any problems programming off the siding with the programming track while other trains are running on the main line?

Cheers

The_Ghan
Logged
CaptOblivious 
Philosopher-Engineer
Administrator
******
*****
Offline Offline


485系「あいづライナー」


WWW
« Reply #28 on: February 03, 2012, 02:27:41 pm »

Here's another thing I'm going to do:

I'm setting up one siding for testing and programming.  It needs acces to DC, DCC Programming, and DCC Running.  The idea is that I switch to DC to test a newly arrived consist.  Then install decoders and program it on that siding.  Then run it onto the main lines.  Where the siding meets the main lines I was going to have a S140 double isolated at both ends in case I overshoot in my testing. 

I was thinking of a 4P5T rotary switch and wiring up as follows:

4P5T Position     1         2         3         4         5         
Siding TrackDCOFFDCC Program     OFFDCC Run
Isolating TrackOFFOFFOFFOFFDCC Run

Has anyone else done this or have any thoughts?

Cheers

The_Ghan

Another plug for the Io system: You can use whatever kinds of inputs you want, really. What Io provides is an array of inputs which are activated by shorting them to ground. I'll need to think about what it would take to wire a rotary switch up to it, but I don't think it would be a problem. The good news is that then you can configure those inputs to trigger any kind of layout event you'd like :D You could even have an emergency  "all off" button that over-rode the switch position.
Logged

A miniature slice of geekdom,
Akihabara Station
stevenh 
Tetsudo Staff
*****
Offline Offline

Gender: Male


WWW
« Reply #29 on: February 06, 2012, 10:48:31 pm »

Back to the original topic...

Don, do you intend on releasing schematics (even via PM) of your current prototype for experimenters who may wish to build-their-own 'base' io to then extend to say a relay board, pwm throttle, etc...?
I'm curious as to how many pins are required for the main CAN interface and, well, just the overall schematics.

It'd be cool to have a 'baseline' schematic for any OpenLCB peripherals (cpu, minimal required ports, etc...). Of course, it'd then be expected that the code be edited via the Arduino IDE with the libraries from OpenLCB and... bingo... life is easy :)
« Last Edit: February 06, 2012, 10:50:18 pm by stevenh » Logged

CaptOblivious 
Philosopher-Engineer
Administrator
******
*****
Offline Offline


485系「あいづライナー」


WWW
« Reply #30 on: February 06, 2012, 11:10:32 pm »

Steven,

You are in luck! The base Io board schematics and PCB layout are available under the terms of the CERN open hardware license for precisely the reasons you enumerate. The files are in EAGLE format, and can be downloaded from the OpenLCB SVN repository (warning! I'm about to go in there and reorganize some things, so links will change) here:
http://www.openlcb.org/trunk/prototypes/hardware/r-io/Eagle/IoFinal20120103/

If that link becomes invalid, you can always find it again by starting here:
http://railstars.com/hardware/io/

The Io is meant as a reference design for other people to adapt and use as they see fit. The only requirement imposed by the CERN is that any modifications be made available under the same license (it's like the GPL in that way): This ensures that everyone can benefit, and that everyone is contributing back to the ecosystem. Do note that the license certainly does NOT prohibit you from offering boards based on the design for sale! Indeed, this is what the OpenLCB group has done; I have licensed the design to them under the CERN license, and they have had a batch of the boards made up to sell.

To answer you question, the CAN interface requires all of two pins. Two more pins are used for on-board button/LED combos, leaving the remaining 48 GPIOs open for your use.

Back to the original topic...

Don, do you intend on releasing schematics (even via PM) of your current prototype for experimenters who may wish to build-their-own 'base' io to then extend to say a relay board, pwm throttle, etc...?
I'm curious as to how many pins are required for the main CAN interface and, well, just the overall schematics.

It'd be cool to have a 'baseline' schematic for any OpenLCB peripherals (cpu, minimal required ports, etc...). Of course, it'd then be expected that the code be edited via the Arduino IDE with the libraries from OpenLCB and... bingo... life is easy :)
Logged

A miniature slice of geekdom,
Akihabara Station
stevenh 
Tetsudo Staff
*****
Offline Offline

Gender: Male


WWW
« Reply #31 on: February 06, 2012, 11:32:33 pm »

Nice, nice and nice...
I can only ask: Is it possible to export to a standard 'open' format as well as the Eagle output files?
The $300 license for Eagle is a little... steep... for a 'Hobbyist' who may want to sell something 
Logged

CaptOblivious 
Philosopher-Engineer
Administrator
******
*****
Offline Offline


485系「あいづライナー」


WWW
« Reply #32 on: February 06, 2012, 11:35:26 pm »

Download the freeware version of EAGLE. You have to hunt a bit for the link, but they have a $0 version for hobbyiests. The Io schematics can be opened and edited with this version!
Logged

A miniature slice of geekdom,
Akihabara Station
CaptOblivious 
Philosopher-Engineer
Administrator
******
*****
Offline Offline


485系「あいづライナー」


WWW
« Reply #33 on: February 08, 2012, 03:40:50 am »

Here's the link to the freeware version of Eagle. And notice that it's only 50USD to upgrade to a commercial license! There are restrictions, of course, but they're not onerous. I don't have any issues working within them.

http://www.cadsoftusa.com/downloads/freeware/
Logged

A miniature slice of geekdom,
Akihabara Station
stevenh 
Tetsudo Staff
*****
Offline Offline

Gender: Male


WWW
« Reply #34 on: February 08, 2012, 03:59:14 am »

For some reason I didn't see that 'Eagle Light' contained the Layout + Schematic + Autorouter ...
It is a good deal and I'll definitely look in to it.

Now I just need to freeze time and get over this head-cold :) Meanwhile my 81x81cm Table Layout can currently fit 3 2-car KIHA200s... time to segment it up and work out the plan of operation.
« Last Edit: February 08, 2012, 04:17:33 am by stevenh » Logged

stevenh 
Tetsudo Staff
*****
Offline Offline

Gender: Male


WWW
« Reply #35 on: February 09, 2012, 04:54:42 am »

Don,

tell me if I've not made any sense :)

http://modelrail.otenko.com/openlcb/openlcb-controlling-your-model-railroad
Logged

CaptOblivious 
Philosopher-Engineer
Administrator
******
*****
Offline Offline


485系「あいづライナー」


WWW
« Reply #36 on: February 11, 2012, 10:03:24 pm »

I've added a new product to the Io line, Io:duino
http://railstars.com/hardware/io/io-duino/

Io:duino is the Io packaged in an Arduino-compatible form factor, opening up possibilities through the use of so-called Arduino shields. Shields are hardware modules that can be attached to Arduino and Arduino compatible boards without tools of any kind; There are many inexpensive shields available for motor control (read: train control!), playing MP3 files, controlling relays, and so on. You can find an extensive list of the kinds of shields available here: http://shieldlist.org

We expect to start shipping Io:duino units in mid-March, and are now taking pre-orders here:
http://railstars.com/store/#ecwid:category=1314839&mode=product&product=9415197
Logged

A miniature slice of geekdom,
Akihabara Station
stevenh 
Tetsudo Staff
*****
Offline Offline

Gender: Male


WWW
« Reply #37 on: February 12, 2012, 07:01:14 am »

Nice work... that's exactly what's needed... instead of a shield with the CAN ICs and ports.

I've just managed a roll-your-own atmega328p with minimal components controlling a servo switching a Peco point... works really well actually.
Managed to kill a bootloader in the process, but can program one completely and then flash it over to the other. Fun and games.

Will have to wait for my CAN ICs to arrive before I can start tinkering with your software ... looking forward to it!

As per usual, great work with concept, the product and the website design/marketing!
Logged

stevenh 
Tetsudo Staff
*****
Offline Offline

Gender: Male


WWW
« Reply #38 on: February 27, 2012, 09:46:43 pm »

Don,

How do the CAN IC(s)? interface with the microcontrolller? I've attempted to find schematics for interfacing teh MCP2515/2551 that I've purchased, but not much luck.
http://ecomodder.com/forum/showthread.php/obd-mpguino-gauge-2702-18.html was the best I could come up with.

Do you have any pointers for interfacing the two? I've noticed on your board that you don't seem to use two ICs for the CAN?
Logged

CaptOblivious 
Philosopher-Engineer
Administrator
******
*****
Offline Offline


485系「あいづライナー」


WWW
« Reply #39 on: February 27, 2012, 09:54:36 pm »

Don,

How do the CAN IC(s)? interface with the microcontrolller? I've attempted to find schematics for interfacing teh MCP2515/2551 that I've purchased, but not much luck.
http://ecomodder.com/forum/showthread.php/obd-mpguino-gauge-2702-18.html was the best I could come up with.

Do you have any pointers for interfacing the two? I've noticed on your board that you don't seem to use two ICs for the CAN?

Stephen, the '2551 uses SPI. You'll want the library available in the "CAN" folder, here:
http://openlcb.org/trunk/prototypes/C/libraries/
Logged

A miniature slice of geekdom,
Akihabara Station
stevenh 
Tetsudo Staff
*****
Offline Offline

Gender: Male


WWW
« Reply #40 on: February 27, 2012, 10:13:35 pm »

Thanks!
And then I'll mimic the spark-fun connections:
http://www.sparkfun.com/datasheets/DevTools/Arduino/canbus_shield-v12.pdf

What MHZ do you run the ICs at on your IO?
Logged

CaptOblivious 
Philosopher-Engineer
Administrator
******
*****
Offline Offline


485系「あいづライナー」


WWW
« Reply #41 on: February 27, 2012, 10:36:36 pm »

Thanks!
And then I'll mimic the spark-fun connections:
http://www.sparkfun.com/datasheets/DevTools/Arduino/canbus_shield-v12.pdf

What MHZ do you run the ICs at on your IO?

16MHz. But you should know that OpenLCB is standardized on using RJ45 modular connectors, FWIW. On my home-made shield, I've just broken the CAN_H and CAN_L signals out to screw terminals, and then attached a stripped CAT5 cable to those terminals.
Logged

A miniature slice of geekdom,
Akihabara Station
CaptOblivious 
Philosopher-Engineer
Administrator
******
*****
Offline Offline


485系「あいづライナー」


WWW
« Reply #42 on: February 27, 2012, 10:39:54 pm »

For the not-so-nerdy in the room, I've got my first shipment of boards for the Io Developer's Board, and Io:duino in, so those items will be shipping in about a week.

More goodies to come!
Logged

A miniature slice of geekdom,
Akihabara Station
Martijn Meerts 
Administrator
******
*****
Offline Offline

Gender: Male


WWW
« Reply #43 on: February 28, 2012, 11:33:58 am »

Finally managed to find some time to sign up for the OpenLCB yahoo group and post an intro and such...

Still not really sure how much use I would be as a tester/developer though. Not enough knowledge about the hardware, and not enough time to work on software (unless I stop building my layout, in which case I wouldn't need a digital system in the first place =))
Logged

Mixed Japanese N-scale: http://www.jr-chiisai.net
Era III German 0-scale: http://blackforest.jr-chiisai.net
stevenh 
Tetsudo Staff
*****
Offline Offline

Gender: Male


WWW
« Reply #44 on: March 03, 2012, 01:14:32 pm »

16MHz. But you should know that OpenLCB is standardized on using RJ45 modular connectors, FWIW. On my home-made shield, I've just broken the CAN_H and CAN_L signals out to screw terminals, and then attached a stripped CAT5 cable to those terminals.

CAN is functional :)
Next, to work out how you've set filters and masks? I imagine that's part of the unique IDs for your OpenLCB nodes.
http://modelrail.otenko.com/arduino/arduino-controller-area-network-can
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

TinyPortal v.1.0.6 beta 2 © Bloc

Problems? Simply email "help" at "jnsforum" dot "com"!
Click here to lend your support to: JNSForum.com Autumn 2012 Maintenance and make a donation at www.pledgie.com !
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Twitter Mod 1.3 created by 2by2host.com - a web hosting company
Valid XHTML 1.0! Valid CSS!
Page created in 0.336 seconds with 41 queries.