LEGO Mindstorms Sudoku Solver

  Рет қаралды 3,090,424

Hans Andersson

Hans Andersson

Күн бұрын

Пікірлер: 1 200
@saikat44
@saikat44 10 жыл бұрын
Scanning -> Thresholding - > Segmentation -> Thinning .... on a lego brick ... truly amazing :)
@FlutterBug
@FlutterBug 9 жыл бұрын
That moment when it suddenly yells "TWO!" ...it made me laugh for some reason x3
@jamescooley8312
@jamescooley8312 8 жыл бұрын
This Lego robot has better handwriting than mine.
@balthazarnaylor5874
@balthazarnaylor5874 8 жыл бұрын
Agree
@amber.mp4
@amber.mp4 8 жыл бұрын
Because it's a frickin' robot!!
@thatoneguy9582
@thatoneguy9582 8 жыл бұрын
not really handwriting because it doesn't have a hand
@amber.mp4
@amber.mp4 8 жыл бұрын
more like robothandwriting...?
@monke9746
@monke9746 8 жыл бұрын
+jayhrod26 RIGHT!!!! LIKE WHAT THE F U EXPECT
@ninjamaster224
@ninjamaster224 9 жыл бұрын
that motor and color sensor accuracy though...
@KandiKlover
@KandiKlover 5 жыл бұрын
Yeah it's a pretty neat setup. I have the 2.0 version and used this program on it. It was really cool.
@ajstevens1652
@ajstevens1652 10 жыл бұрын
That awkward moment when you realise a machine has neater handwriting than you..
@Bladesong0706
@Bladesong0706 10 жыл бұрын
I agree to that
@Wolver_official
@Wolver_official 10 жыл бұрын
Bladesong0706 I agree too :D
@puct9
@puct9 10 жыл бұрын
marioccckc yep
@itay.e7558
@itay.e7558 10 жыл бұрын
XDD so true
@MaxxHahn
@MaxxHahn 10 жыл бұрын
XD
@finnaginfrost6297
@finnaginfrost6297 8 жыл бұрын
Any one of the functions shown here (image recognition, confidence with converting polar to Cartesian, solving, image processing, writing) are amazing.
@uncouple
@uncouple 10 жыл бұрын
i told my dad i could do a Sudoku faster than a computer, he didn't believe me
@decee1157
@decee1157 8 жыл бұрын
Could you explain how you made the program for that? In my head that is damn impressive!
@mpezzi
@mpezzi 12 жыл бұрын
I am just impressed by how precisely it can move and have high repeatability for a lot of moves.
@mwells219
@mwells219 9 жыл бұрын
This kind of shit is how Skynet starts.
@ockertoustesizem1234
@ockertoustesizem1234 8 жыл бұрын
+Arjun Randhawa laddie?
@5degreenegativerake
@5degreenegativerake 12 жыл бұрын
The first wide scan with the light sensor determines which blocks have a number in them. Then it goes back and does a fine scan on each number, then does some image processing to determine the number, like it shows in the video.
@DesignJunkie58
@DesignJunkie58 10 жыл бұрын
Some guys have ALL the talent, show off! hehe
@piro91a
@piro91a 14 жыл бұрын
It's marvelous!! I can't believe that this sensor can see such small fonts properly. And the OCR!! Great job. You're my MASTER!
@MasterGravitron
@MasterGravitron 10 жыл бұрын
Wow. This must have taken some programming. Does mind storm come with ocr or did you have to do that as well?
@OktoberSunset
@OktoberSunset 12 жыл бұрын
The scanning was impressive. I didn't realise nxt light sensors were that good.
@WonderCloudHD
@WonderCloudHD 10 жыл бұрын
Make it divide by 0.
@DlcEnergy
@DlcEnergy 10 жыл бұрын
I made a divider, do you want me to tell you what it says when i divide by 0?
@JonasGarciaV
@JonasGarciaV 9 жыл бұрын
DLC ENERGY Does it say "Your human mother."?
@DlcEnergy
@DlcEnergy 9 жыл бұрын
Jonas G. My divider is 10 bits, so if i divide 9 by 0, the answer is (2^10)-1 Remainder 9 LOL Shit just got real... Whoever said it's impossible? They lie!
@DlcEnergy
@DlcEnergy 9 жыл бұрын
Tyrannosaurus rekt True... The next question is, what can we do with the infinite result? F**k all.... :( And computers just try their hardest to narrow it down as much as possible.... 11111111111111111111111111.11111111111111111111111111111
@hubertryciak
@hubertryciak 7 жыл бұрын
What a joker haha xDD
@63NY1
@63NY1 14 жыл бұрын
thats simply amazing. that is he single most incredible algorithm i have ever seen on such a robot. how did u create such an accurate movement, scanner, number recognizer, sudoku solver, and number writer? its amazing
@speedalavistaracing4659
@speedalavistaracing4659 2 жыл бұрын
First phase: scanning. 2nd phase: Solving the game 3rd phase: saying game over
@chinmaygupta1530
@chinmaygupta1530 9 жыл бұрын
I must say, very innovative thinking. One of the best mindstorm robots I have come across. The programming must have been so hard!
@landfillbaby
@landfillbaby 10 жыл бұрын
this thing's handwriting would make a good font.
@forcefulfour
@forcefulfour 13 жыл бұрын
It is really cool how it can write numbers very well!
@masterbuilder4708
@masterbuilder4708 10 жыл бұрын
when it said 2 I jumped XD
@OldTimeyJunk
@OldTimeyJunk 14 жыл бұрын
Its amazing how these things can solve the day-to-day routine!
@x46andtwo
@x46andtwo 8 жыл бұрын
The noise it makes sounds better than most modern music.
@BrowserError
@BrowserError 10 жыл бұрын
I really love the simplicity of the machine!
@beanies4811
@beanies4811 8 жыл бұрын
Just WOW! This is genius!!! How long did it take you to program this???
@franknerd2412
@franknerd2412 11 жыл бұрын
nxt has a light sensor and a color sensor.you dont't have to use a "read" number option, just use a variable
@MrFliederLP
@MrFliederLP 10 жыл бұрын
Which sensor did you use for recognizing/reading the numbers? Great work!
@prinzeugen4911
@prinzeugen4911 7 жыл бұрын
MrFliederLP that would have been the light sensor
@jacobstern4630
@jacobstern4630 6 жыл бұрын
TOESKATS is that mumbo jumbo!!!
@prinzeugen4911
@prinzeugen4911 6 жыл бұрын
Jacob Stern yep
@rgbelastung8532
@rgbelastung8532 5 жыл бұрын
The colour sensor
@territrades
@territrades 12 жыл бұрын
we are programming such a roboter right now, so I can imagine how hard it was to program this. Very nice work, indeed.
@Realgaps
@Realgaps 10 жыл бұрын
If you're smart enough to make this then you probably don't need it to solve Sudoku problems for you anyway.
@zaya8449
@zaya8449 10 жыл бұрын
But why do it yourself when you have robots to do your bidding?
@otherlego
@otherlego 6 жыл бұрын
i dont care, its cool as shit
@Uvisir
@Uvisir 6 жыл бұрын
heard about doing stuff when you come home from work because you enjoy it?
@konstantinosfousteris2952
@konstantinosfousteris2952 5 жыл бұрын
awesome comment
@MichaelJHuman
@MichaelJHuman 14 жыл бұрын
As a programmer, I have a slight idea of how much work is required to scan the puzzle, resolve the OCR into numbers, apply the solver, then write the solution. I am impressed.
@NULUSIOS
@NULUSIOS 10 жыл бұрын
Fantastic.
@franknerd2412
@franknerd2412 11 жыл бұрын
no, the light sensor, you ave to buy seperately. But you could do it with the 2.o kit probably
@Kenttheclark
@Kenttheclark 10 жыл бұрын
I'll be fun to race this machine.
@maurerpe
@maurerpe 11 жыл бұрын
The high res scans of the numbers take a long time (by necessity, due to hardware limitations) . The robot only does the high res scan of squares with numbers in them. In general, harder sodoku puzzles start with less numbers. I think this means the robot will solve "harder" puzzles faster than easier puzzles.
@fmaz1952
@fmaz1952 8 жыл бұрын
How does the OCR works ?
@Artillerytactics
@Artillerytactics 11 жыл бұрын
Anyone else smile in amazement when the robot started writing the numbers?
@xaviertrahan6820
@xaviertrahan6820 8 жыл бұрын
If I get an EV3 for Christmas what model should I do between EV3RSTORM and GRIPP3R
@susanmorrow8938
@susanmorrow8938 8 жыл бұрын
EV3RSTORM!!!
@xaviertrahan6820
@xaviertrahan6820 8 жыл бұрын
+susan morrow too late I already built everstorm
@lemon3389
@lemon3389 11 жыл бұрын
there exist NXT programs for reading number, they just scan what the case look like and associate it with a previously entered scan of number: it makes it recognize the number
@mozkitolife5437
@mozkitolife5437 11 жыл бұрын
Giving a child a fish, I see...
@entozoon
@entozoon 13 жыл бұрын
Absolutely amazing! Considering it recognises the grid and numbers with just a light sensor mounted on a scara style arm, solves it and also draws the solution. My mind is suitably BLOWWWN
@splintercellfool1
@splintercellfool1 12 жыл бұрын
use appropriate filters like a PDI filter, it will be able to recognize the black lines a lot more accurately. If not then make the ambient light really strong so that the reflection of your sensor is less apparent.
@MrHgbf
@MrHgbf 10 жыл бұрын
HOW!?!?!
@dumle29
@dumle29 10 жыл бұрын
math. and lots of it :P
@VeeBot
@VeeBot 12 жыл бұрын
LEGO Mindstorms motors have a strange "Brake" effect, where they will reverse a bit if they go too far, even a minuscule amount. The differences you see are the motors moving too far and then trying to "Make up" for it.
@fmaz1952
@fmaz1952 8 жыл бұрын
Would probably be faster to solve by hand ;)
@LydiaPuppy
@LydiaPuppy 8 жыл бұрын
the point of this isnt to be practical. its just to show off how someone could take a lego machine not intended for this, and make it solve sudoku puzzles and write numbers.
@fmaz1952
@fmaz1952 8 жыл бұрын
+Shao i know, hence my smiley at the end ... ! Have a good day !
@patelskush
@patelskush 13 жыл бұрын
This is an awesome Mindstorm robot!
@wmutter1
@wmutter1 11 жыл бұрын
and i thought i was good
@SuperMariozify22
@SuperMariozify22 11 жыл бұрын
It was mesmerizing to watch the robot write. Wow. Just wow.
@brandthedog
@brandthedog 13 жыл бұрын
When I was a kid I was excited to find a cool shaped space windshield in my lego box.
@iamloudmusic
@iamloudmusic 11 жыл бұрын
First and foremost, I'm highly impressed generally speaking. It's just impressive. I'm also impressed on another level that the pen didn't dry out and that the battery didn't go flat :D
@ThinkCleverAndSmart
@ThinkCleverAndSmart 11 жыл бұрын
That big program must use all of the memory on the NXT!
@lemon3389
@lemon3389 11 жыл бұрын
they are called Lego Technique, the Mindstorm pieces only are the sensor and other stuff
@matyasarany7408
@matyasarany7408 10 жыл бұрын
This is a perfect robot and program it perfect
@Orangestar1
@Orangestar1 12 жыл бұрын
You can see that it scans the numbers at the beginning using a light sensor.
@lennartschreiber233
@lennartschreiber233 10 жыл бұрын
Pretty awesome build! But wouldn't it make more sense to have an axis for a forward movement of the arm and one for a sideways movement? I guess this would make it faster and let it write better. However, it's great and I would probably not be able to build such a machine
@Hughsie28
@Hughsie28 11 жыл бұрын
I'm working with these NXT bricks in my University, we're teaching school pupils how to program them from a young age, its going really well But bloody hell that program is beautiful, very impressive!
@MekazaBitrusty
@MekazaBitrusty 12 жыл бұрын
Nice. Funny how the bit we find hard, it does very fast but the easy bit, reading and writing take it so long. I never knew you could do stuff like this with NXT.
@angelramirez171
@angelramirez171 11 жыл бұрын
That number voice scared the SHIAAAT OUT OF MEEE
@carlosjosearcilacortes876
@carlosjosearcilacortes876 12 жыл бұрын
What a great idea for a robot.
@Sredleg
@Sredleg 12 жыл бұрын
The "2" voice scared the hell out of me!
@times05
@times05 10 жыл бұрын
Wow, that's pretty awesome. I mean solving sudoku algorithms have been done before, not trivial and not sure how fast it would be on an nxt brick by brute force. Then there's the number scanning algorithm, I'm sure some library was used here, though still not trivial getting it to work. The most impressive part is the writing part, never thought nxt was precise enough to do printing like that. Amazing stuff.
@aschmidt100
@aschmidt100 14 жыл бұрын
There should definitely be a better scanning device like a camera above it or something. But a sudoku solver is just bizarre! congratulations.
@MisterNinty100
@MisterNinty100 13 жыл бұрын
if you made this,you are a genius
@BeBeHu
@BeBeHu 10 жыл бұрын
I thought it only ha s a color sensor, how do you use the sensor to read the numbers? Or is it another type of sensor? Very Cool
@Subjektiv1
@Subjektiv1 9 жыл бұрын
you could do the reading in two steps using a light sensor. first you do a rough sweep over the entire board and record any dark regions (those contain numbers) then you split each dark region into an imaginary grid (rows and columns) and move the sensor to the bottom left of that grid (you'll probably need quite alot of whitespace around the numbers), sweep the sensor from left to right (scanning one row of the grid) and record the darkness of each imaginary grid cell. once the first row is scanned you move forward a tiny bit, scan the cells in the next row, subtract the darkness from the cell in the same column in the first recorded row(since the scanner will cover multiple rows) and record the results in the second row, repeat for the rest of the rows subtracting the darkness from the previous x rows (you'll have to tweak that number based on how accurate and close to the paper your sensor is) once all that is done you have a rough black&white image that you can clean up and work with to figure out what number it is.
@BeBeHu
@BeBeHu 9 жыл бұрын
Very Cool!!
@davide_pgr
@davide_pgr 5 жыл бұрын
Tomorrow are gonna be 10 years
@MegaManiaman
@MegaManiaman 14 жыл бұрын
that thing is neat! I didn't know which ones were there at the beginning and which ones it drew
@TheRealSamWalton
@TheRealSamWalton 13 жыл бұрын
Can you send me the NXT-G program for this? It's Awesome!
@Phygar1
@Phygar1 14 жыл бұрын
The OCR was the most impressive part imo, which I don't think the average person would think. It's all very nicely made though.
@fierwall5
@fierwall5 14 жыл бұрын
that is pretty alright hand writing
@MartinSchmidt204
@MartinSchmidt204 11 жыл бұрын
I believe they were referring to the programming and design of the robot.
@greenaum
@greenaum 11 жыл бұрын
It would then need a way of erasing wrong numbers, writing guesses in pencil, and take about 50 years to run. Actually solving the puzzle is probably the simplest bit of this, implementing optical character recognition, and making a mechanically-scanning camera from light-sensor and a cart with a swinging arm, is genius! I wonder if the Mindstorm's CPU does the character-recognition itself? I'd guess that it does, I think they're quite powerful.
@autotrasportatore
@autotrasportatore 14 жыл бұрын
Congratulations!! You're a Genius!!
@rbaleksandar
@rbaleksandar 12 жыл бұрын
Well done, mate. This is really great!
@diegourena1329
@diegourena1329 8 жыл бұрын
I am a currently taking a degree in programming(java) and when I see what can be done with this kind of toys I feel fascinated. I also would like to learn about robotics, in your opinion what kind of knowledge should I gain to create this type of inventions??
@Firebird356
@Firebird356 11 жыл бұрын
Absolutely fantastic !! Blew my mind !!
@adityamenon
@adityamenon 13 жыл бұрын
awwwwwwwwwwwwwwww! aside from a couple of other, very personal family moments, I think that's the cutest thing I ever saw in my life!!! :) This is beautiful... I never knew you could so much with lego, I'm buying a set right away!
@programagor
@programagor 12 жыл бұрын
Most of the time was spent by reading and writing numbers. The actual solving starts at 2:26 and ends at 2:27, so if it wasn't speed-up, it only took 1 second. I doubt you can do that.
@ChiliFrog
@ChiliFrog 13 жыл бұрын
so, the mindstorms have a scanner, pretty cool
@mishanya8228
@mishanya8228 5 жыл бұрын
Круто, никогда бы не додумался такую сделать!
@atomicsteameng
@atomicsteameng 11 жыл бұрын
The paper reflects more light then the numbers obviously its sensing the differentials between a the two
@projex5894
@projex5894 7 жыл бұрын
In 2 years this video will be 10 years old
@shailpatel3841
@shailpatel3841 6 жыл бұрын
Now only 1 year left
@robotics-wh9hf
@robotics-wh9hf 5 жыл бұрын
Only a few months now
@HarmanMotorWorks
@HarmanMotorWorks 11 жыл бұрын
Holy crap that's awesome! Well done!
@bananaproduction84
@bananaproduction84 14 жыл бұрын
THIS IS SO SMURFING AWSOME !!!!!!
@TheHades98
@TheHades98 12 жыл бұрын
that sudoku is a SPY!
@jholbrook
@jholbrook 13 жыл бұрын
@SMK963 assuming it was programmed with NXT-G, there's a block called 'sound' where you can record your own sound or use a pre-recorded sound.
@honghayun5886
@honghayun5886 10 жыл бұрын
Sudoku as your homework and you have this, let the solver do it >:3
@pcbheaven
@pcbheaven 13 жыл бұрын
That is an excellent job! My congratulations to you! I will feature this in my site today
@thePavuk
@thePavuk 14 жыл бұрын
this is incredible
@bsaget98
@bsaget98 14 жыл бұрын
i am in love with this robot
@nutzeeer
@nutzeeer 13 жыл бұрын
i love to see them work :3
@ervinasroblox3
@ervinasroblox3 12 жыл бұрын
Fucking awesome as heck, its like it has a mind of its own
@Thorralf83
@Thorralf83 11 жыл бұрын
excellent work, Hans Andersson
@ScottBeebiWan
@ScottBeebiWan 11 жыл бұрын
i want to see more of it running :) i like it, it'll help my mom to see if she is totally wrong or in the middle or right (or if she is 0-3 stars)
@ChaoMystero
@ChaoMystero 14 жыл бұрын
It takes longer to determin what the numbers are and to write them in that it dose to comptue the algorithm
@salehag7255
@salehag7255 11 жыл бұрын
This is really really cool.
@MegaMech
@MegaMech 13 жыл бұрын
wow that is awesome, pure awesomeness not bad writing either
@bwhiteballer0365
@bwhiteballer0365 7 жыл бұрын
Why are people disliking this video!!?? That was amazing! Nice work!!
@HarmonicaMustang
@HarmonicaMustang 11 жыл бұрын
I love it's numbers! Although it takes quite a long time (no offense) it works beautifully! Well Done!
@iCantSay
@iCantSay 12 жыл бұрын
Wow, Legos have really changed since I was a kid.
@BuddyHi100
@BuddyHi100 12 жыл бұрын
That robot has really good hand-writing. :o
Making a LEGO Car Cross Broken Bridges...
9:26
Brick Machines
Рет қаралды 7 МЛН
Destroying 28 Lego Mechanisms
8:35
Brick Technology
Рет қаралды 7 МЛН
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 83 МЛН
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34
High precision speed reducer using rope
20:19
Aaed Musa
Рет қаралды 1,8 МЛН
LEGO GBC 20 modules 【レゴ】 玉ころがしをつくってみた
7:56
Akiyuki Brick Channel
Рет қаралды 35 МЛН
Lego Mindstorms EV3 vs NXT 2.0 Comparison
5:54
RoboticLife
Рет қаралды 734 М.
LEGO Mindstorms Bridge Layer
6:17
Digsys II HIOA
Рет қаралды 7 МЛН
LEGO vs FAKE (Motors)
9:25
FunBrick
Рет қаралды 242 М.
The Fastest Maze-Solving Competition On Earth
25:22
Veritasium
Рет қаралды 20 МЛН
I Made SATISFYING Mechanisms In LEGO…
8:57
RJMBricks
Рет қаралды 1,3 МЛН
Shooting LEGO Targets...
11:13
Brick Machines
Рет қаралды 7 МЛН
Building 10 Lego Elevators
10:13
Brick Experiment Channel
Рет қаралды 4,6 МЛН