Це відео не доступне.
Перепрошуємо.
Answers About JMRI DCC++ And Raspberry Pi
Вставка
- Опубліковано 19 сер 2024
- In this video we have answers about JMRI, DCC++, and Raspberri Pi and how to have them work together. I recently posted several videos on the subject of running DCC++ on a Raspberry Pi using JMRI. There were several questions and usefull information in the comments of these videos. Here I will share what I found out and how I answered the questions from the viewers.
I would like to give a big thank you to all that contributes to this community through Patreon and my PayPalme account. Thank you very much.
Links mentioned in this video:
Arduino: store.arduino....
Pololu: www.pololu.com...
Deek-Robot: www.deek-robot....
DF Robot: www.dfrobot.co...
Steve Todd: mstevetodd.com...
S U P P O R T THIS C H A N N E L
LOCALS: trainofthought...
Rumble: rumble.com/c/T...
Amazon Link:www.amazon.com...
PayPal : paypal.me/toms...
Membership:
/ @tomstrainsandthings
Music on all videos from Epidemic Sound. Get One Month Free when you subscribe through this link. Here is a short playlist
share.epidemic...
CONTACT INFORMATION:
workbenchwednesday@gmail.com
tomstrainsandthings@gmail.com
tomstrainofthou...
#tomstrainofthought
#structurekits
#floridatrainshows
Disclaimers: all opinions are my own, sponsors are acknowledge.
Intended for viewers over the age of 14
Some of my head scratching was answered right off. The rest I'm putting in the old "parts drawer" for possible down the road issues. It is impressive that you do this. It's a lot of work, prepping, on camera, editing and posting - THEN the work starts with the Q&As. I'm glad your "there" doing it for us all.
Thanks for sharing...
Your welcome. Glad I can help!
Thanks for the narrated walk
through with Pi resolution in the 1st question. You got the pronunciation absolutely right! It's a conjunction of my 2 favorite Italian driving machines from definitely much younger days; Moto Guzzi & Alfa Romeo. I became GuzziAlfa all over the net and the name just stuck! Easily 20+ years now, post CompuServe when it still had just 3 digits after the name. 😉
Your welcome. I haven't heard anyone refer to CompuServe in ages. It might have been me. Back when 8 Mhz Turbo was a fast dial up connection on a Hayes modem.
@@TomsTrainsandThings 300 baud & 4.77 Mhz was all we had before those superpowers at 8 Mhz swept the market. I started w9tu CP/M with an MSDOS daughter board.
Great Q & A session ,well done ,as usual . very helpful and looking forward to your next post buddy ,Take Care for Now
Thank you John
hahahah Joe G has a lot of questions lol Youre a great asset to this community, thank you for continuing to produce such good content.
Thank Joe, glad I can help!
nice Tom...I used a deek robot clone which looked like the deek robot (it had no name on it) one for my DCC++ system It has the 298 chip set and it has worked flawlessly. I think I told you it was a deek one but it isn't....Thanks for the answers Tom
Thank you Tom. If you still have it, can you share the link for the one you have. The more motor shields that work with DCC++ the better.
@@TomsTrainsandThings sure Tom I'll look and see if I can find it
Adafruit has a motor controller for almost $20. I have not used it. I have had success with a lot of their products.
Adafruit has a lot of good products that I have purchased. Unfortunately, their motor controller is not compatible with DCC++ .
Hi I am new u channel can you help me can u use the raspberry pi on dc n gage trains on my dads army layout
Hi tom i have dabbled in arduino am just building a dcc ++ unit i have had block signals running on arduino with ir sensors that said i'm looking for a more accurate way to get these signals more accurate as the ir sensors are good but have flaws and mis signal any suggestions on sensors welcomed
I have a few videos in Arduino Projects playlist that cover IR Sensors.
I am having an issue with JMRI , on my web server I see my panels, but I cannot get any of the turnouts to move, but it works fine on the computer that is attached to my NCE system, Im not sure what to do I have searched online for this issue, but I cannot fine anything? your help is greatly appreciated! :)
You may find an answer on a JMRI users group or forum.
Can you connect your smartphone with the Z21 App directly to DCC++ (without JMRI) ?
Waldo, I'm not familiar with the app but from reading the first line of the description it is used to connect your phone to the Z21 command station.
@@TomsTrainsandThings Yes, its primary use is the Roco Z21 command station. However, you can also connect it to the Digikeijs DR5000 station. So I was wondering if it can connect to the DCC ++ station as well.
You might want to ask the developer of the Z21 app if it connects with DCC++. I doubt it though since the last time the app was updated was in 2012 before DCC++ was released to the public.
hi, just tried creating a dcc++ controller as the various videos on youtube & as far as i can see when i verify the code it produces errors with the code has anyone else had this problem?
If you have an error with the code the IDE will highlight the line of code and will state at the bottom in red what it is looking for. If you haven't changed anything in the code it should work. You may have accidentally changed or deleted something. Are you pressing the Verify button or the compile button. If you hit the compile button it will also give an error at the bottom of the page. You could have the wrong component or port selected.
Send me an email with the screen shot of the error and I can answer your question better.
hi, downloaded the files twice to make sure nothing was changed by me, all i get is the error codes on verify & if i compile the code & upload to uno, the loco with a hornby decoder in lights up but will not talk to dcc++ controller, 15V 1.4A dc power pack, erros are:-
C:\DCC++\BaseStation-master\BaseStation-master\DCCpp_Uno\DCCpp_Uno.ino:427:152: warning: backslash and newline separated by space
R.currentBit=0; /* reset current bit pointer and determine which Register and Packet to process next--- */ \
^
C:\DCC++\BaseStation-master\BaseStation-master\DCCpp_Uno\DCCpp_Uno.ino:433:100: warning: backslash and newline separated by space
R.tempPacket=R.currentReg->activePacket; /* flip active and update Packets */ \
^
C:\DCC++\BaseStation-master\BaseStation-master\DCCpp_Uno\DCCpp_Uno.ino:449:103: warning: backslash and newline separated by space
} /* END-ELSE */ \
^
C:\DCC++\BaseStation-master\BaseStation-master\DCCpp_Uno\DCCpp_Uno.ino:450:88: warning: backslash and newline separated by space
\
^
C:\DCC++\BaseStation-master\BaseStation-master\DCCpp_Uno\DCCpp_Uno.ino:196:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
CurrentMonitor mainMonitor(CURRENT_MONITOR_PIN_MAIN,""); // create monitor for current on Main Track
^
C:\DCC++\BaseStation-master\BaseStation-master\DCCpp_Uno\DCCpp_Uno.ino:197:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
CurrentMonitor progMonitor(CURRENT_MONITOR_PIN_PROG,""); // create monitor for current on Program Track
^
Sketch uses 18516 bytes (57%) of program storage space. Maximum is 32256 bytes.
Global variables use 898 bytes (43%) of dynamic memory, leaving 1150 bytes for local variables. Maximum is 2048 bytes.
First place to look is in the error message, it tells you where it finds a problem. Find where it is. It's not in the sketch it's finding a problem in your file directory:
C:\DCC++\BaseStation-master\BaseStation-master\DCCpp_Uno\DCCpp_Uno.ino:433:100: warning: backslash and newline separated by space
Hi Tom, thanks for your help so far, what i have done is gone through the lines of code & deleted all the spaces in between the backslach & newline characters, all i have now it two error codes about converting strings into chars, which i will look at tomorrow morning, about to go to work so have a nice day, will let you know i how get on. Thanks.
Not quite sure you understand the error. The code doesn't care if you have 50 spaces between lines, it does not recognize the spaces. Only looks at lines with code and ignores commented lines and spaces.