Arduino for Lego Trains #14: 433Mhz Wireless Communications

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024
  • Send signals from a trackside Arduino to another Arduino on your train, using 433Mhz radio transmitter and receiver. This tutorial shows you how to use the VirtualWire library to send data wirelessly, and how to replace the Power Functions infra-red receiver with a dedicated L9110 motor controller.

ความคิดเห็น • 56

  • @KarlthefirstofAustria
    @KarlthefirstofAustria 2 ปีที่แล้ว +3

    Were all waiting for your big return :)

  • @jjspudz4013
    @jjspudz4013 3 ปีที่แล้ว +5

    I've checked maybe once every 2 or 3 months for 4 years to see if I've accidently missed a video... and will continue to

  • @sinus4784
    @sinus4784 2 ปีที่แล้ว +2

    i just remembered this channel existed, and now i'm sad there isn't anymore

  • @charelvanbiljon4823
    @charelvanbiljon4823 3 ปีที่แล้ว +1

    Only found your videos now while looking at adding arduino to my model train projects. Putty you are not active anymore as your videos and explanations are very clear, informative and with just the right amount of humor added. I will be referring back to these videos regularly as I now start my aurduino journey. Thank you

  • @angelogiacon6499
    @angelogiacon6499 6 ปีที่แล้ว +11

    HEY!! PLEASE COME BACK!!! :-)

  • @yekutielbenheshel354
    @yekutielbenheshel354 7 ปีที่แล้ว +6

    The more I watch your videos on this channel the more I am impressed with your elegant (efficient and effective) teaching style. Your videos on this channel are superb.
    If you wanted to promote your videos further perhaps you might post some of your projects to Instructables and/or an appropriate subReddit or maybe even contact Khan Academy.

    • @ArduinoLegoTrains
      @ArduinoLegoTrains  7 ปีที่แล้ว +3

      Thanks. Making tutorial vids is part of my day job, so reading comments like yours helps me take pride in my work.

    • @yekutielbenheshel354
      @yekutielbenheshel354 7 ปีที่แล้ว

      My pleasure.

  • @topgundk
    @topgundk 7 ปีที่แล้ว +5

    Love this train series.

  • @dk-gl
    @dk-gl 6 ปีที่แล้ว +3

    You have nearly 5 000 000 views! That's a lot! Why don't you make videos anymore? Why?! Imagine your every subscriber as a people all in one room. And everyone waits for your videos! Please consider recording new videos!

  • @JavaU18C
    @JavaU18C 5 ปีที่แล้ว +10

    When are you going to upload a new video????

  • @PetrKulda
    @PetrKulda 7 ปีที่แล้ว +3

    Well, nice to see motor driver works with PFs. I was experimenting with l239 trying build motor driver from scratch, but i am too clumsy with hot iron :). This same board was delivered to me last week. My idea was control that board with ESP (8266) . I have made experiments with IR reciever in past, so i will stick with this for a moment. May be i will give 433Mhz chance later.

    • @ArduinoLegoTrains
      @ArduinoLegoTrains  7 ปีที่แล้ว

      Thanks! Just remember that the L9110 board only has two pins to control speed (both PWM), while the L239 (and L298N) boards use three pins: two digital for direction, and one PWM for speed. I use both types in this tutorial, so you may need to modify the code depending on which you use.

    • @PetrKulda
      @PetrKulda 7 ปีที่แล้ว

      Thanks for the hint. I will look into it.

    • @angelogiacon6499
      @angelogiacon6499 7 ปีที่แล้ว

      I am curious as to why you use the motor controllers you use in the different circumstances..
      I am looking at what motor controller to use in the train itself with the arduino nano or digispark and 433Mhz reciever..I am thinking to buy the smallest footprint of motor controller I can to squeeze in the smallest of spaces..(eg Hogwarts train)..But I notice you use the controllers with a heatsink in your "box" to use with your switches, but use the l9110 in the train itself..Does the controller in the train get hot after extended use?? This would be a problem as it would melt the Lego I guess! Thanks..
      Oh also while I'm here....For multiple control of trains I am thinking of incorporating an ID into the message the master sends the controller in the train?
      And I was thinking if you have more than one trainwandering around your layout, using a colour sensor which picks up a coloured tile under the train so it knows what train is at what place/switch etc..
      (i.e pairing up an LDR with a colour sensor) What do you think?

  • @juliestewart3244
    @juliestewart3244 6 ปีที่แล้ว +1

    "used to steal the stereo" ... lol .. Love your videos!

  • @electromuff7870
    @electromuff7870 6 ปีที่แล้ว +3

    So next episode?

  • @Outbricks
    @Outbricks 7 ปีที่แล้ว +2

    Awesome Video and explanation!

  • @bananenbuurman
    @bananenbuurman 7 ปีที่แล้ว +2

    Very interesting! What would be the range? My SBrick certainly doesn't have enough range using bluetooth.

    • @ArduinoLegoTrains
      @ArduinoLegoTrains  7 ปีที่แล้ว +1

      During tests I was able to send signals between the Arduinos across 10metres, through three concrete walls. So it's definitely stronger than Bluetooth. I don't have any more space to test the maximum range!

    • @bananenbuurman
      @bananenbuurman 7 ปีที่แล้ว

      Thnx for letting me know! sorry 4 the late reply, like you probably know youtubes messaging system isn't the best out there... *sighs... I am now experimenting with NRF24L01 modules for more range.

    • @burgerlx8871
      @burgerlx8871 6 ปีที่แล้ว

      Max. of this is 50M!!!

  • @maoie1986
    @maoie1986 6 ปีที่แล้ว +2

    When is the next video? Love your tutorials! :)

    • @MrBradaz111
      @MrBradaz111 6 ปีที่แล้ว

      I've been waiting too!

    • @memenono72
      @memenono72 6 ปีที่แล้ว

      I'm also waiting. I just love these videos.

    • @fabulousprofound
      @fabulousprofound 4 ปีที่แล้ว

      is he still around? it's been awhile now ='(

  • @russellford2069
    @russellford2069 4 ปีที่แล้ว

    That is brilliant. Exactly what I was looking for and is this weekend's project. I'm a newbie to Arduino and only started last week, so would this project bit too much for me ? Would also be interested to see your views on the 'Ultrasonic' detector and how accurate it is. As part of my bigger theme, I am looking at my Train pulling into a siding and using the Ultrasonic detector to bring it to a halt at exactly the right spot, as I will then have a Container crane unload one of my wagons which are actually going to be converted to battery packs, and replace it with a fresh battery pack. Ambitious I know.

  • @artbecker5618
    @artbecker5618 7 ปีที่แล้ว +1

    Thank you for this most excellent video

  • @davidrubio8673
    @davidrubio8673 4 ปีที่แล้ว +1

    please come back

  • @angelogiacon6499
    @angelogiacon6499 7 ปีที่แล้ว +1

    I notice your cables are quite short, did you create (crimp) them yourself? i am cramming motor controller, digispark and wireless Rx into the same train as you but trying to get it all into the part in front of the cabin and behind..part of doing that successfully I think is shortening and managing cables as well as possible!

    • @ArduinoLegoTrains
      @ArduinoLegoTrains  7 ปีที่แล้ว

      +Angelo Giacon I make all my own cables and yes, it's a very tight squeeze.

    • @OfficinadiTommy
      @OfficinadiTommy 6 ปีที่แล้ว

      when the new video will come out?

  • @andrewvickers6847
    @andrewvickers6847 5 ปีที่แล้ว +2

    i think he died 2 years and still has not made video

  • @erhanalankus
    @erhanalankus 7 ปีที่แล้ว +4

    Kids, mark your cables before cutting them.

  • @JavaU18C
    @JavaU18C 3 ปีที่แล้ว +1

    I want to control multiple trains at once😥

  • @yekutielbenheshel354
    @yekutielbenheshel354 7 ปีที่แล้ว +1

    Wow! Thank you!

  • @magicguystudios7940
    @magicguystudios7940 3 ปีที่แล้ว +1

    R-I-P wires

  • @kernel105
    @kernel105 6 ปีที่แล้ว +1

    Could you cover the new generation of lego trains (2018) that come with a bluetooth receiver? Thanks!

    • @satorikraft7299
      @satorikraft7299 5 ปีที่แล้ว

      Same problem here, no way to found a solution to control them with an arduino.

    • @angelogiacon6499
      @angelogiacon6499 4 ปีที่แล้ว

      Hey Andre...if you're inbterested in controlling the new "Powered Up" series of trains, go ahead and google "Legoino" or just "controlling powered up with arduino" and you'll find all the libraries for arduino as well as some tutes..

  • @filipthetrainguy4723
    @filipthetrainguy4723 4 ปีที่แล้ว

    Why did you end this series?

  • @guidoberenstein4775
    @guidoberenstein4775 7 ปีที่แล้ว +1

    your very smart

  • @grunewiese3475
    @grunewiese3475 5 ปีที่แล้ว

    i need somehow to do it for 12v tracks of my old lego sets, but i dont have any ideas how to esp to run them seperately

    • @BarbuDragomir
      @BarbuDragomir 5 ปีที่แล้ว

      You need something to grab the power from te rails or use batteries. As for the motor, you can use the ones with plastic wheels or simply replace the metal wheeels with plastic wheels.

  • @nathanielarzoine
    @nathanielarzoine 6 ปีที่แล้ว

    Hi
    In one word: “awesome”
    Your series of video are very good and your explications are very clear and understandable
    Can i suggest you a very cool way of wireless communication?
    There is a module: D1 (esp8266) arduino compatible
    Its a wifi platform on witch you can code with arduino style.
    And there is a free app: Blynk.
    With witch you can connect to it and connect one node to another
    Very easy to use and very cool
    If you wish to make a new video with it, i will love to help you with it

  • @Chrisbc1989
    @Chrisbc1989 3 ปีที่แล้ว +1

    Come back!!!!!

  • @CrippingLorrislegotechnic
    @CrippingLorrislegotechnic 7 ปีที่แล้ว

    what is this app?

  • @wouterkorlaar6412
    @wouterkorlaar6412 7 ปีที่แล้ว

    Where can i find the codes?

  • @MegaJefflin
    @MegaJefflin 7 ปีที่แล้ว

    SBB lego?

  • @yekutielbenheshel354
    @yekutielbenheshel354 7 ปีที่แล้ว

    Perhaps you might consider including a link to arduinolegotrains.wordpress.com/ in the description of this video as well as in description of past and future videos (when applicable) on this channel.

  • @kyriacosktenas8182
    @kyriacosktenas8182 6 ปีที่แล้ว

    Using Arduino for Lego trains or anything else in fact is a waste of money. Arduino is good for lighting a light with pressing buttons etc. But for real projects it is absolutely useless.

    • @mail2coolnoel
      @mail2coolnoel 6 ปีที่แล้ว

      which controller is ggod for real projects?

    • @angelogiacon6499
      @angelogiacon6499 4 ปีที่แล้ว

      I am not sure what you base that assumption on, since using RF receiver and digispark costs like $3 whereas buying Lego stuff to do the same costs like 20 times that..(at least)..please elaborate?