Wednesday, February 24, 2010

Robotics first contact: Lego Mindstorms 1 - Can-pusher

Finally! we had our first robotics lesson! (sort of)
A few weeks ago, our System Programming lab professor told us he is imparting this extracurricular course on robotics based on Lego Mindstorms, consisting on 3 four hour long lessons in which we had to develop and program some robots to do some automatic tasks, such as making the robot take 12 cans out of a half a meter radius circle, sumo fighting and make the robot follow a line.
And yesterday we started with task 1: can-pushing
It was so much fun! the robots were programmed in NXC (Not eXactly C) using Bricxcc IDE, As the name indicates, it is fairly similar to C and somewhat similar to Java, but thanks to Alex, we had no problem with the programming.
As of the Lego building, we had the instructions and we added some parts to make it more efficient for picking up the cans while maintaining stability and mobility.
The main idea behind our robot was to use a color finder to check if it found the black line (border of the circle) and if so, turn around, then spin for a few seconds using ultrasound in case it found another can nearby, but that did not work so well, so we finally decided to exclude that (would have worked had we given more time). In the end it worked out pretty good I think.
Conclusion: So much fun in an evening I should have spent studying for a test that I had next day, but whatever right?

Posted via email from Juanlu's posterous

Wednesday, February 17, 2010

My new 4x4x4 Rubik's cube!

Thanks to my cousin I've been able to solve 3x3x3 Rubik's cubes for a year and half or so, time to upgrade!
I did some googling and had a look at the official Rubik's cube website, and although it wasn't really expensive (20$), shipping to Spain was 31$ or so, and took from 1 to 2 MONTHS! finally I had a look at Toys'R'Us' website (I had to copy-paste it, I never get the name right when typing) and found it!
15 minutes walking from university and I was standing on a Toys'R'Us door (lucky me it opened a few months ago, otherwise I'll still be on my way there), 15€ and voila!
I've been playing with it for half an hour or son, and I've managed to get all centers where they're supposed to be (all by myself, promise! no algorithms!), see how long it takes for me to solve it entirely

Posted via email from Juanlu's posterous

Saturday, February 13, 2010

Saturday, February 6, 2010

Excel FAIL

21.5" 1920x1080p Acer Screen

Bought it today in Alcampo (parque sur), for only 129€
Specs here
No comment on the wallpaper please xD

Posted via email from Juanlu's posterous

Our 21€ NES!

Ahh the NES, aka Famicom, that beloved piece of 80's technology... well I have one now!
Actually, is not exactly "mine"... well 50% of it does, the other half belongs to Zenitram, who also thought of the awesomeness of having a NES, and given that there was only one available...
Here is a list of everything we bought for a total of 21€:
  • Console - 12€
  • NES
  • Controller
  • Nintendo Zapper
  • Cables
  • Super Mario 1 and Duck hunt - 3€
  • Zelda 1 - 3€
  • Zelda 2 - 3€
  • Totally worth it!

    Posted via email from Juanlu's posterous

    Climbing Wall in one of my University buildings!

    Found it after programming class, on top of one the doors to enter building 1 in my campus. I guess when everything goes wrong with exams and so on, you can always climb up and jump down.

    Posted via email from Juanlu's posterous

    PSP BSOD

    The other day, I was trying this homebrew program in my PSP that unfortunately turned into a Blue Screen of Death... I didn't know Microsoft sold failures (and I didn't expect Sony to buy them!).

    Posted via email from Juanlu's posterous

    Wednesday, February 3, 2010

    The truth about women

    “Whatever you give a woman, she will make greater. If you give her a house, she’ll give you a home. If you give her sperm, she’ll give you a baby. If you give her groceries, she’ll give you a meal. If you give her a smile, she’ll give you her heart.
    She multiplies and enlarges what is given to her.
    So, if you give her any crap, be ready to receive a ton of shit.”

    Posted via email from Juanlu's posterous