Let's learn together - LnControlPanel! (DCC model railway with Arduino 9)

  Рет қаралды 2,821

Luca Dentella

Luca Dentella

Күн бұрын

Пікірлер: 33
@billflude5204
@billflude5204 3 жыл бұрын
Completed the build of one of these boards yesterday - worked first time - a really brilliant project - thanks Luca!
@lucadentella
@lucadentella 3 жыл бұрын
Bill thanks for your comment, glad you found my project useful!
@medwaymodelrailway7129
@medwaymodelrailway7129 3 жыл бұрын
Like the video lots of detail.Hope to see more
@lucadentella
@lucadentella 3 жыл бұрын
Thanks! I still have many topics to cover in future videos, stay tuned ;)
@medwaymodelrailway7129
@medwaymodelrailway7129 3 жыл бұрын
@@lucadentella Will do
@roydom5
@roydom5 3 жыл бұрын
just what I've been looking for! Almost as if you designed it with me in mind! Thanks so much for sharing your knowledge.
@lucadentella
@lucadentella 3 жыл бұрын
;) Thanks for your comment!
@roydom5
@roydom5 3 жыл бұрын
@@lucadentella I have started to assemble this board - is C3 really a ceramic capacitor - it looks like a polyester film box type?!
@lucadentella
@lucadentella 3 жыл бұрын
@@roydom5 it really doesn't matter, you can use ceramic or polyester
@philnewman1110
@philnewman1110 Жыл бұрын
Looks like a really useful item Luca can it be used for current monitoring of track detection? Great video well done indeed, and thank you!
@lucadentella
@lucadentella Жыл бұрын
Hi Phil, well this board can report the status of a sensor but you have to add the "sensor" part (current monitoring, infrared...) as I explained in a previous video. This board indeed has digital inputs; therefore an external board should "detect" the train and report a digital signal (1 = detected, 0 = free)
@jean-paul2845
@jean-paul2845 2 ай бұрын
Hi, just a remark, there is a bug with the I/O pin 1. after a while the ADDRESS is lost. I have this problem with other Arduino boards (arcomora borads also). so I don't use PIN 1 only the 15 other I/O pins.
@lucadentella
@lucadentella 2 ай бұрын
thanks!
@johanneskuhnel6701
@johanneskuhnel6701 2 жыл бұрын
Hi Luca, first I wan't to thank for publishing this great project. It seems that the arduino sketch does not work with the current Adafruit MCP-Library. Can you publish the version of the Adafruit-Library you used for your build? Thanks, Johannes
@lucadentella
@lucadentella 2 жыл бұрын
Hi, it was compiled with ver 1.3.0
@antoniomonte4928
@antoniomonte4928 3 жыл бұрын
Hi Luca, You have 3 .ino files. How do you upload all of them to the Atmega chip? Also how do you open the terminal to configure the board?
@lucadentella
@lucadentella 3 жыл бұрын
Hi Antonio, open the LnControlPanel.ino file, the IDE will open the others for you. After having uploaded the firmware, use the Arduino Serial Monitor to configure the board (set 115200 baud)
@ricshaw4293
@ricshaw4293 3 жыл бұрын
Hi Luca, Could you please advise where you got your MCP23017 modules from, I ordered some, but they have come back short in width by one pin. The above link takes one to the Micrchip datasheet for the chips only not the module boards. Thank you for the developement of these interesting projects for us DIY model railway people. Ric Shaw
@lucadentella
@lucadentella 3 жыл бұрын
Hi Ric! Thanks for your comment. I got my modules from this store on Aliexpress but I found similar modules on eBay: www.aliexpress.com/item/32957655097.html
@ricshaw4293
@ricshaw4293 3 жыл бұрын
@@lucadentella Thanks Luca will re-order. Ric
@billflude5204
@billflude5204 3 жыл бұрын
Hi Luca I have now ordered boards from PCBWay - thanks for your help! What model of Loconet socket are you using on your board - I saw YH-55-10 - where can I get this model? Cheers Bill
@lucadentella
@lucadentella 3 жыл бұрын
Hi Bill, I usually source them from aliexpress, just compare the product photos with the ones on my board, the code may be different
@felipesanchezcuriel
@felipesanchezcuriel 3 жыл бұрын
Thank you for sharing all this. Two questions: 1) If I don't have the shield to burn the controller, can I "cannibalize" it directly from an Arduino uno board? 2) I'm guessing yes, but is possible to configure the outputs to control servos?
@lucadentella
@lucadentella 3 жыл бұрын
Hi! Thanks for your comment: 1) yes, or you can buy a chip with the bootloader already flashed 2) the goal of this board is to control/monitor other devices: for example an accessory decoder made for moving servos... the idea is that you can configure a channel to send a specific DCC turnout command to that decoder and in the end move some servos
@felipesanchezcuriel
@felipesanchezcuriel 3 жыл бұрын
@@lucadentella thank you
@billflude5204
@billflude5204 3 жыл бұрын
Can we buy the PCB from you Luca?
@lucadentella
@lucadentella 3 жыл бұрын
Hi Bill, unfortunately no... at the moment is much cheaper for you to order them directly from a PCB service (PCBWay, JCLPCB, Oshpark...) using the Eagle files I provided in the Github repo.
@billflude5204
@billflude5204 3 жыл бұрын
Hi Luca - do we have to upload your .brd file to PCBWay? Loving the videos - you make it really easy to follow! Cheers Bill
@lucadentella
@lucadentella 3 жыл бұрын
@@billflude5204 thanks! You cannot use brd files directly with pcbway but you have to convert them in Gerber format. Because every pcb service has its own settings, I uploaded the brd file so you can use the service you like. Alternatively you can use oshpark that accepts brd. If you need I can send you the Gerber files pcbway expects, just send me an email through my website!
@billflude5204
@billflude5204 3 жыл бұрын
Boards arrived from PCBWay - they look very good!
@billflude5204
@billflude5204 3 жыл бұрын
Thanks for access to the files!
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 116 МЛН
How to use the LocoNet Interface (Video#64)
19:35
IoTT
Рет қаралды 7 М.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 613 М.
【For Beginner】How to start electronics and what item is needed
18:16
Arduino DCC SoundShield
11:25
Luca Dentella
Рет қаралды 1,4 М.
DCCconcepts Cobalt Alpha and Alpha Switch-D - Using them with any DCC system
3:26
SPI: The serial peripheral interface
33:00
Ben Eater
Рет қаралды 701 М.