Episode 16, Part 1 of JMRI via Bluetooth serial.

  Рет қаралды 137

FunWithHOScaleStuff

FunWithHOScaleStuff

Күн бұрын

Пікірлер: 15
@markh4531
@markh4531 Жыл бұрын
Excellent video. Looks like a fun challenge. Can’t wait to see the next update.
@FunWithHOScaleStuff
@FunWithHOScaleStuff Жыл бұрын
Hi Mark and thank you for watching. I'm anxious to present a working conclusion to this effort but as you probably know, things don't always turn out as we plan. Anyway, my next video will be about how I pair the bluetooth module with the PC. I'm keeping my fingers crossed that it works out. ;-)
@Christiane069
@Christiane069 Жыл бұрын
Ooh! I am learning so much from your channel. Where have you been till now. I can't wait for the next video.
@FunWithHOScaleStuff
@FunWithHOScaleStuff Жыл бұрын
You're very kind to write that. I hope you enjoy the upcoming videos documenting my effort to connect JMRI to the NCE Power Cab via Bluetooth. I'm hoping that it works ;-)
@Christiane069
@Christiane069 Жыл бұрын
Just one quik question. You are using Arduino control for your set up if I understand correctly. So, why are you using NCE, and not the Arduino system. Not possible, or too complex? How about a good challenge!@@FunWithHOScaleStuff
@FunWithHOScaleStuff
@FunWithHOScaleStuff Жыл бұрын
I apologize for the late response. KZbin is supposed to notify me and never did. That is an excellent question. I am sorry for any confusion. The Arduino work for the Throttle/Controller was a project I started about two years ago. I wanted to share what I found so far but it the development time is so long that it wasn't prudent to depend on that project reaching a point where I could use it to actually run my locomotives and accessories. I bought the NCE Power Cab starter set in order to stress test my other project of the DCC Monitor. That code requires some magical interrupt and data stack management. :-) Both of these projects are on currently on hold. I'm very willing to share what I've found so far working on them if you are interested. I could write a book with all of that. :-) Thank you for your interest and for the comment.
@mike9repeating
@mike9repeating Жыл бұрын
That sounds like a really interesting project your going to start. Good luck!
@FunWithHOScaleStuff
@FunWithHOScaleStuff Жыл бұрын
Thanks Mike. I'm excited about using the Bluetooth. It is entirely new to me. I'll try to include some of the gritty details for the more techy folks but keep the discussion as straight forward as possible so any young folks watching this can gain an understanding of how I tried to do this one.
@Christiane069
@Christiane069 Жыл бұрын
Well. Thanks for the response. I can't wait for the book. I will buy the first 10 copies if it can help you going. Yes, I am very interested about any info on this project of yours. I am not new to coding. I stated long time ago (I mean some time ago) with COBOL and then BASIC , but of course it's been a will.
@FunWithHOScaleStuff
@FunWithHOScaleStuff Жыл бұрын
Almost ready to post part two of the JMRI via Bluetooth Serial series. It has become rather longwinded and I propose that this will substitute for any book in length. Thanks for watching. I hope you continue to enjoy the content I post. 👍
@Christiane069
@Christiane069 Жыл бұрын
OK. It is very nice talking to you. You are a very nice man. Looking of any of you videos.@@FunWithHOScaleStuff
@mobahartenholm9289
@mobahartenholm9289 Жыл бұрын
Hello, I did subscribe your channel month ago, but I lost it. I can't remember the name of your channel but I find it today, great surprise and I'm very lucky about that. Thats a very interesting projekt, can't wait to see your progress. Regards from germany - Rainer
@FunWithHOScaleStuff
@FunWithHOScaleStuff Жыл бұрын
Thank you for the kind response and welcome back. I'm pleased that you share my interest in this hobby. I plan to make a bluetooth connection to the Arduino Uno in the very next episode and I will share as much detail about the bluetooth module and its connection as possible.
@nedmerrill5705
@nedmerrill5705 Жыл бұрын
Do you need the protocol for what you want to do? Isn't it all under JMRI, or within the NCE domain? Isn't Powercab the NCE starter DCC system with only two jacks, the left one for the Powercab and the right one for the slave? Mine only has two, not 4. You have an interesting project on hand and are speaking my language...
@FunWithHOScaleStuff
@FunWithHOScaleStuff Жыл бұрын
Thanks for that kind comment. About the protocol, the JMRI does everything correctly for NCE to understand and execute the user commands. But that information is wrapped in a local NCE protocol (handshaking) that determines when the JMRI information is permitted onto the RS485 network. That network consists of up to three additional cab controllers and each one must have a different address. Each controller must buffer it's NCE command data until it is addressed by the NCE master controller. From what I've seen at this time is that the addresses are issued one at a time on the RS485 lines and each one is followed by a period of tri-state (released from transmit) and evidently waiting to see if there is a response. So the Arduino I'm using will need to be that addressable device and must buffer JMRI information until it is addressed. Once the Arduino sees its address I plan to dump the JMRI information that is buffered (if any) onto the RS485 bus. At least this is the expectation/plan for now. Whether this project is successful... well we'll see, eh? Stay tuned. ;-)
Top 10 DIY Arduino Projects
17:24
Evopost
Рет қаралды 438 М.
More DCC Wiring at Chadwick Model Railway | 128.
26:59
Chadwick Model Railway
Рет қаралды 62 М.
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 43 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,4 МЛН
Episode 26 Part 2 of the HO scale terminal yard.
22:10
FunWithHOScaleStuff
Рет қаралды 300
This tiny computer changes EVERYTHING
15:57
Jeff Geerling
Рет қаралды 841 М.
Episode 34 Part 10 of the HO scale terminal yard.
37:49
FunWithHOScaleStuff
Рет қаралды 243
Episode 24 Part 9 (final) of JMRI via Bluetooth
48:56
FunWithHOScaleStuff
Рет қаралды 27
Cleaning the nastiest piano I have EVER seen
11:47
The Piano Doctor
Рет қаралды 81 М.
Magnorail - how to use reed switches and Arduinos
8:33
johns miniatures
Рет қаралды 372 М.
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 43 МЛН