Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб Model Railway Sensors & Detection Part 1 - Build a Sensor Hub for Under £50! 😮 в хорошем качестве

Model Railway Sensors & Detection Part 1 - Build a Sensor Hub for Under £50! 😮 4 года назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



Model Railway Sensors & Detection Part 1 - Build a Sensor Hub for Under £50! 😮

A step by step guide to adding sensors to your layout using an Arduino and JMRI. Adding sensors is the first step in automation and can be used to control trains, signals and points. Part 1 - we build the sensor hub and connect an infrared (IR) sensor. This can be used to provide feedback from analogue or digital layouts. Part 2 - we use two IR sensors to automate a train controlled by JMRI on a digital layout.    • Model Railway Sensors & Detection Par...   Geoff Bunza's blog for the code and documentation: https://model-railroad-hobbyist.com/n... ##### IMPORTANT INFORMATION ##### A few people have pointed out that the link to the files (script and sketch) on Geoff Bunza's website no longer works. I have uploaded these files to my GitHub area (https://github.com/LittleWicketRailwa..., but all credit should still go to Geoff Bunza for developing this system. This is a simple way of adding sensor to a layout, but I would encourage anyone interested in this to explore the CMRI video series which uses the same hardware, but allows use of different sensor names, doesn't require a script to be run in JMRI and can be adapted to change inputs to outputs. CMRI Part 1 -    • Arduino, CMRI and JMRI - Part 1 - Com...   CMRI Part 2 -    • Arduino, CMRI and JMRI - Part 2 - Add...   CMRI Part 3 -    • Arduino, CMRI and JRMI - Part 3 - Mul...   ######################################## The code you need to drop into the script to allow inverted sensors: if sensor_state == 1 : if s.getInverted() : s.setKnownState(INACTIVE) else : s.setKnownState(ACTIVE) if sensor_state == 0 : if s.getInverted() : s.setKnownState(ACTIVE) else : s.setKnownState(INACTIVE) ######################################## Ebay and Amazon Affiliate Links (Full disclosure, as an Amazon Associate and Ebay partner I earn from qualifying purchases through these links and this helps to support the channel) Arduino Mega: https://amzn.to/3poEBQK https://ebay.us/Zl3sDT Mega Sensor Shield: https://amzn.to/3rTq80V https://ebay.us/M2VnYX Variable Voltage Power Supply: https://amzn.to/3b4wtj9 IR Sensors: https://amzn.to/2LQJmVF https://ebay.us/rnR5wn 26AWG Servo Cable: https://amzn.to/3daEp55 https://ebay.us/L1q3FE Crimping Tool: https://amzn.to/3tRJXHE https://ebay.us/XE2Dxl Servo Wires (male to male): https://amzn.to/3alIrFS https://ebay.us/HfgTaO Wire: https://amzn.to/3dgxY0q Chapters 00:07 - Introduction 01:00 - Tools & Equipment 04:26 - Steps 05:08 - Step 1 - Install Arduino software 06:23 - Step 2 - Connect Arduino to computer 06:44 - Step 3 - Download sensor sketch 07:28 - Step 4 - Upload sketch to Arudino 08:43 - Step 5 - Connect sensor shield 11:29 - Step 6 - Connect power supply (optional) 14:15 - Step 7 - Connect sensors 18:50 - Step 8 - Install JMRI software 19:53 - Step 9 - Create sensors in JMRI 22:11 - Step 10 - Download and run JMRI script

Comments