LEGO® Mindstorms EV3 plotter drawing a Hilbert Curve

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/

Пікірлер: 74

  • @tiantian329
    @tiantian3298 жыл бұрын

    The noise from the machine sounded like a song XD

  • @lukarikid9001

    @lukarikid9001

    Жыл бұрын

    Polyrhythm

  • @thetiniestdragon9307
    @thetiniestdragon93079 жыл бұрын

    This is my new jam!

  • @vb0t429
    @vb0t4295 жыл бұрын

    I could watch it all day

  • @emeryshurpit8656
    @emeryshurpit86567 жыл бұрын

    sick beat

  • @iceenderwar1714
    @iceenderwar17147 жыл бұрын

    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 !!!! 👏👏👍👏👍👏👏👍👏👏👏👍👏👏👏👍👏👏👍 СПАСИБО ОГРОМНОЕ ОЧЕНЬ ЗДОРОВО РАБОТАЕТ! ОБЫЧНО ТЕ КТО ДЕЛАЮТ СЛОЖНЫХ РОБОТОВ НЕ ПЫХТЯТ И НЕ СТАРАЮТСЯ СДЕЛАТЬ ИНСТРУКЦИЮ ДЛЯ ДРУГИХ... А ВЫ, ВЫ МОЛОДЦЫ!!!!! ОГРОМНОЕ ВАМ СПАСИБО!!!!👏👏👍👏👍👏👏👍👏👏👏👍👏👏👏👍👏👏👍

  • @iambirds2384
    @iambirds23849 жыл бұрын

    Is there instructions on how to build this amazing creation?

  • @JerryNicholls

    @JerryNicholls

    9 жыл бұрын

    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
    @cooltchemobility7 жыл бұрын

    super

  • @gabrielgibney561
    @gabrielgibney5618 жыл бұрын

    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

    8 жыл бұрын

    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

    8 жыл бұрын

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

  • @JerryNicholls

    @JerryNicholls

    8 жыл бұрын

    +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
    @iceenderwar17147 жыл бұрын

    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

    7 жыл бұрын

    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.

  • @esam1975
    @esam19758 жыл бұрын

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

  • @JerryNicholls

    @JerryNicholls

    8 жыл бұрын

    +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.

  • @yichunzhou2973
    @yichunzhou29736 жыл бұрын

    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

    6 жыл бұрын

    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

    6 жыл бұрын

    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

    6 жыл бұрын

    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
    @iceenderwar17147 жыл бұрын

    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

    7 жыл бұрын

    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.

  • @diederikvandieren6505
    @diederikvandieren65054 жыл бұрын

    Kan dit ook met minstorm 2.0

  • @user-zk2mo5zx8u
    @user-zk2mo5zx8u8 жыл бұрын

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

  • @JerryNicholls

    @JerryNicholls

    8 жыл бұрын

    +차성환 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
    @ffccardoso5 жыл бұрын

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

  • @JerryNicholls

    @JerryNicholls

    5 жыл бұрын

    My LEGO 3D Plott3r can do Hilbert Curves.

  • @iceenderwar1714
    @iceenderwar17147 жыл бұрын

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

  • @JerryNicholls

    @JerryNicholls

    7 жыл бұрын

    jander.me.uk/LEGO/plott3r.html

  • @iceenderwar1714

    @iceenderwar1714

    7 жыл бұрын

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

  • @JerryNicholls

    @JerryNicholls

    7 жыл бұрын

    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

    7 жыл бұрын

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

  • @iceenderwar1714

    @iceenderwar1714

    7 жыл бұрын

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

  • @goodmanbrooklynvids2666
    @goodmanbrooklynvids26666 жыл бұрын

    how do you build it?

  • @JerryNicholls

    @JerryNicholls

    6 жыл бұрын

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

  • @iceenderwar1714
    @iceenderwar17147 жыл бұрын

    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

    7 жыл бұрын

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

  • @JerryNicholls

    @JerryNicholls

    7 жыл бұрын

    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

    7 жыл бұрын

    всё...

  • @iceenderwar1714

    @iceenderwar1714

    7 жыл бұрын

    да...

  • @iceenderwar1714

    @iceenderwar1714

    7 жыл бұрын

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

  • @mathias9628
    @mathias96285 жыл бұрын

    Can this print drawings?

  • @JerryNicholls

    @JerryNicholls

    5 жыл бұрын

    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

    5 жыл бұрын

    @@JerryNicholls can you show how to do that?

  • @JerryNicholls

    @JerryNicholls

    5 жыл бұрын

    @@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

    5 жыл бұрын

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

  • @SVENY
    @SVENY7 жыл бұрын

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

  • @pannesterpants3008
    @pannesterpants30084 жыл бұрын

    OoH aRe YoU dRaWiNg A mAzE?

  • @JerryNicholls

    @JerryNicholls

    4 жыл бұрын

    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

    4 жыл бұрын

    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.