LEGO® Mindstorms EV3 plotter drawing a Hilbert Curve

Sdílet
Vložit
  • čas přidán 22. 05. 2015
  • This is my LEGO® plotter that I'm designing. This is an early experiment with it to draw a Hilbert curve. Programming the curve in the EV Home Edition software itself was a challenge as it's not possible to use recursion. Instead I implemented a simple stack-type system to allow the use of a "while" loop.
    When completed, full details about it will appear along with my other LEGO® creations at jander.me.uk/LEGO/

Komentáře • 74

  • @tiantian329
    @tiantian329 Před 8 lety +35

    The noise from the machine sounded like a song XD

  • @vb0t429
    @vb0t429 Před 5 lety

    I could watch it all day

  • @thetiniestdragon9307
    @thetiniestdragon9307 Před 8 lety +2

    This is my new jam!

  • @iceenderwar1714
    @iceenderwar1714 Před 7 lety +3

    HUGE THANKS VERY GREAT WORK! USUALLY THOSE WHO DO NOT sophisticated robots panting and not trying to make INSTRUCTIONS FOR OTHER ... and you, you rock !!!!! Thank you so much !!!! 👏👏👍👏👍👏👏👍👏👏👏👍👏👏👏👍👏👏👍
    СПАСИБО ОГРОМНОЕ ОЧЕНЬ ЗДОРОВО РАБОТАЕТ! ОБЫЧНО ТЕ КТО ДЕЛАЮТ СЛОЖНЫХ РОБОТОВ НЕ ПЫХТЯТ И НЕ СТАРАЮТСЯ СДЕЛАТЬ ИНСТРУКЦИЮ ДЛЯ ДРУГИХ... А ВЫ, ВЫ МОЛОДЦЫ!!!!! ОГРОМНОЕ ВАМ СПАСИБО!!!!👏👏👍👏👍👏👏👍👏👏👏👍👏👏👏👍👏👏👍

  • @emeryshurpit8656
    @emeryshurpit8656 Před 7 lety

    sick beat

  • @iambirds2384
    @iambirds2384 Před 9 lety +1

    Is there instructions on how to build this amazing creation?

    • @JerryNicholls
      @JerryNicholls  Před 9 lety

      Blockinator MEGAFINN yes, on the website referred to in the video description above. The build instructions are completed, and some code is available. I'm still working on some calibration code to improve the accuracy wrt backlash.

  • @cooltchemobility
    @cooltchemobility Před 7 lety

    super

  • @diederikvandieren6505
    @diederikvandieren6505 Před 4 lety

    Kan dit ook met minstorm 2.0

  • @esam1975
    @esam1975 Před 8 lety

    hi , i did build it but it gives me file error when i run the program hilbert curve
    file access error

    • @JerryNicholls
      @JerryNicholls  Před 8 lety

      +Esam Alkhateeb sorry about that. I haven't written operating instructions. There's a program "Reset Calibration" that needs to be run first. This creates a default "calibration" file that is read in by the main programs. The "file access error" is due to the program trying to read a non-existent file.
      All the plotting programs offer a calibration step. I'd ignore that in general, and just press the middle brick button. If you do want to play with calibration the top/right buttons are yes/+1 and bottom/left are no/-1 where relevant.
      If no paper is already in the machine it will wait until it "sees" paper, ie the light sensor sees a reflection. So, you can either manually feed in paper when needed, or (like I do) pre-load the paper before running a program.

  • @iceenderwar1714
    @iceenderwar1714 Před 7 lety

    I forgot to say. Just had an idea! What if the place where the pencil attached to attach the color sensor! It turns out: the robot scans, and then prints out !!!
    Забыл сказать. Просто в голову пришла идея! Что если к месту где крепится карандаш прикрепить датчик цвета! Получается: робот сканирует, а потом распечатывает!!!

    • @JerryNicholls
      @JerryNicholls  Před 7 lety

      I've tried that already :-) www.jander.me.uk/LEGO/scann3r.html - it didn't work as well as I wanted. I never released any code for it and don't have any plans to either.

  • @user-zk2mo5zx8u
    @user-zk2mo5zx8u Před 8 lety

    jerry i cant execute your program in lego mindstorms..
    plz help me

    • @JerryNicholls
      @JerryNicholls  Před 8 lety

      +차성환 In what way can you not execute the program? You've not given me any details to work from :-/ I take it you've built the plott3r then already?

  • @ffccardoso
    @ffccardoso Před 5 lety

    make 3D plotter for bend noodles in 3d Hilbert curve cube...

  • @gabrielgibney561
    @gabrielgibney561 Před 8 lety

    hey i made the printer in my engineering class and now i am at the programming stage. i checked out your link to programming, but to me it's a bunch of numbers. what do i do with them and where do i plug them in

    • @JerryNicholls
      @JerryNicholls  Před 8 lety

      I don't quite understand what you mean by programing it. There is an example .EV3 file that can be downloaded to be used with the EV3 home software. Just make sure you run "Reset Calibration" before using it the first time.

    • @gabrielgibney561
      @gabrielgibney561 Před 8 lety

      +Jerry Nicholls (Jander) so on the home software there is a banner printer, do i use that?

    • @JerryNicholls
      @JerryNicholls  Před 8 lety

      +Gabriel Gibney no, there's no banner printing code in there. That's a "challenge for the reader." The example code has MyBlocks that can be used for absolute or relative movement, so they can be the basis of anyone else's projects.

  • @iceenderwar1714
    @iceenderwar1714 Před 7 lety

    Please change that so many questions to ask, but they each hour climb in a head. You can answer: how the scanner, which displays an image obtained and whether you can print it or even be saved in the phone? Please change if bored.
    Прошу извенения, что столько вопросов задаю, но они каждый час лезут в голову. Можете ответить: как работает сканер, куда выводится полученное изображение и можно ли распечатать его или хотябы сохранить в телефоне? Прошу изменения, если надоедаю.

    • @JerryNicholls
      @JerryNicholls  Před 7 lety +1

      The Scann3r project never got very far - there was no way to print out any scanned image, or send it to a phone. I doubt I'll work on the Scann3r again. I'm currently leaving any programming of the Scann3r to other people if they want to try to make it work.

  • @yichunzhou2973
    @yichunzhou2973 Před 6 lety

    I built the plotter but whenever I try to run "Reset Calibration" , nothing happens. And whenever I run "Calibrate Page" it just draws a squiggly line and raises and drops the pen repeatedly. How do I fix this?

    • @JerryNicholls
      @JerryNicholls  Před 6 lety

      That's actually the correct behaviour. Don't worry about the "Calibrate Page" function - select "no", or don't run that program. It was an old idea of mine for detecting the backlash and calibrating for it - I'd look for the first line that wasn't squiggly and use that one's value. I just haven't removed it from the public code.
      You only have to run the "Reset Calibration" program once.

    • @yichunzhou2973
      @yichunzhou2973 Před 6 lety

      I don't get what you mean by "I'd look for the first line that wasn't squiggly and use that one's value." But after I run "Reset Calibration", and I try the "Hilbert Curve" program, it just raises and lowers the pen repeatedly. The screen says "Initializing Carriage" and it just keeps saying that.

    • @JerryNicholls
      @JerryNicholls  Před 6 lety

      The "Calibrate Page" program/option was for my benefit - I forgot to remove it before posting the code. You don't need to use it.
      I think you've built the pen holder incorrectly. If you look at the video, you can see the two yellow 1/2 bushes are between the 7x5 frame and the cross-blocks at the top - I suspect you've got them in the wrong place. The motor that lifts the pen is meant to stall as it can't fully rotate the 2M lift arm inside the mechanism. If those two bushes aren't there then the motor can just keep rotating, hence the pen just going up and down.

  • @iceenderwar1714
    @iceenderwar1714 Před 7 lety

    ОГРОМНОЕ СПАСИБО!!! НИГДЕ НИГДЕ НЕТУ ССЫЛКИ НА ИНСТРУКЦИЮ ПО СБОРКЕ! ЕЛЕ ЕЛЕ НАШЕЛ!!!! ОГРОМНОЕ СПАСИБО!!!!!! Да если можно отдельно сделать видео о различных программах для этого принтера.

    • @JerryNicholls
      @JerryNicholls  Před 7 lety

      jander.me.uk/LEGO/plott3r.html

    • @iceenderwar1714
      @iceenderwar1714 Před 7 lety

      Я плохо разбираюсь в английском, но если можно напишите сколько программ с готовыми картинками есть для этого принтера?

    • @JerryNicholls
      @JerryNicholls  Před 7 lety

      Don't worry - I have no Russian - I'm using Google Translate :-)
      It can plot a Hilbert Curve, Dragon Curve, Lissajous figure, Spiral. It can also plot a simple data file with X & Y coordinates.
      I am planning for it to be able to write text too - input from an Android device. This is some months away as I am working on a new project at the moment.

    • @iceenderwar1714
      @iceenderwar1714 Před 7 lety

      А вы сами работаете над программами?! Здорово!

    • @iceenderwar1714
      @iceenderwar1714 Před 7 lety

      У меня просто учёба некогда заниматься программированием, не могли бы вы оставить ссылки на программы и вы вообще проффесионально занимаетесь программированием?

  • @goodmanbrooklynvids2666

    how do you build it?

    • @JerryNicholls
      @JerryNicholls  Před 6 lety

      Instructions and code are available from the link in the description.

  • @SVENY
    @SVENY Před 7 lety

    niiice, my mom has a real plotter (Curio something)

  • @mathias9628
    @mathias9628 Před 4 lety

    Can this print drawings?

    • @JerryNicholls
      @JerryNicholls  Před 4 lety

      Yes. I have code for this plotter that can read in a data file to draw out pictures. I regularly have it draw things like minifigs when showing it.

    • @mathias9628
      @mathias9628 Před 4 lety

      @@JerryNicholls can you show how to do that?

    • @JerryNicholls
      @JerryNicholls  Před 4 lety

      @@mathias9628 sorry, I'm kinda leaving any more work on the plotter "to the reader". The code for moving the pen X/Y/Z axes is all in my published stuff. If someone wishes to extend that code to their own needs, then they are welcome to do so.

    • @mathias9628
      @mathias9628 Před 4 lety

      @@JerryNicholls its all good thx for sharing this awesome creation!

  • @pannesterpants3008
    @pannesterpants3008 Před 4 lety

    OoH aRe YoU dRaWiNg A mAzE?

    • @JerryNicholls
      @JerryNicholls  Před 4 lety

      No, it's an L-System Fractal, known as a "Hilbert Curve". It does look rather like a maze, but isn't. It's a "Space Filling Curve".

    • @pannesterpants3008
      @pannesterpants3008 Před 4 lety

      If you weren’t aware, I was making a joke. I am fully aware of the fact that this is a Hilbert curve and have made this comment out of experience drawing one.

  • @iceenderwar1714
    @iceenderwar1714 Před 7 lety

    I have a problem!!! It does not work ((((start and here: first, writes that the waiting paper and then goes to the main menu !!!!!!!!!!! I channel video I uploaded please see what happens when I try to turn on; !!
    У меня проблема!!! Не работает(((( Запускаю и вот: сначала пишет что ждёт бумагу а потом выходит в главное меню!!!!!!!!!!! У меня на канале я видео загрузил посмотри пожалуйста что происходит когда я пытаюсь включить;!! ПОЖАЛУЙСТА!!!!!!

    • @iceenderwar1714
      @iceenderwar1714 Před 7 lety

      а нет загружаю бумагу а потом появляется восклицательный знак и выходит в главное меню!!! очень прошу помочь!;!! и ещё выходит надпись: ОШИБКА ЧТЕНИЯ ФАЙЛА!!!

    • @JerryNicholls
      @JerryNicholls  Před 7 lety

      Yeah - that's a known issue. There's a "Reset Calibration" program that you need to run first. That creates a default calibration file that's used to manage the backlash in the gearing.

    • @iceenderwar1714
      @iceenderwar1714 Před 7 lety

      всё...

    • @iceenderwar1714
      @iceenderwar1714 Před 7 lety

      да...

    • @iceenderwar1714
      @iceenderwar1714 Před 7 lety

      просто... разобрался...