torstai 27. maaliskuuta 2014

Third day of our project

Changing code of arduino disco robot.
so there is part of code which looks like this:

 Robot.motorsWrite(-255, 255);
      break;
    case 'R':
      Robot.motorsWrite(255, -255);
      break;
    case 'F':
      Robot.motorsWrite(255, 255);
      break;
    case 'B':
      Robot.motorsWrite(-255, -255);
      break;

So, original code just makes robot drive forward, backwards, turn.
If you want to make your own moves, you'll have to change those numbers.
If you change the numbers robot will make different moves. Numbers must be from 1 to 255 and those numbers purpose is how much robot will turn.

I made a cool dance so you can test how much it differs:

 Robot.motorsWrite(126, 255);
      break;
    case 'R':
      Robot.motorsWrite(255, 126);
      break;
    case 'F':
      Robot.motorsWrite(126, 255);
      break;
    case 'B':
      Robot.motorsWrite(-255, 255);
      break;

Now if you copy this code and paste it in your code, robot will make different dance moves, it will wobble left and right.

torstai 20. maaliskuuta 2014

What did i do yesterday?

First of all, I woke up in the morning at 8:05, and I was already late from school, so I didn't have time to eat. Then I put on my college pants and hoody, drank some water and put on my jacket, stocking cap, gloves and shoes. I started to cycle to the school and it felt like forever.

When i got to school, I was 20 minutes late and our teacher wasn't happy about that because I'm late pretty often. Then I had to get my arduino from my locker so I could join the class because we had embedded systems class. I made 3 exercises with arduino that day. But then we had to change class because Spiceman wanted to bring his own class in there so we had to continue our projects in back class. Then I tested my game that on of my classmates had made and i think that game was pretty funny and very good.

Then we had coffee break, so me and few of my classmates got to cafeteria of our school and we drank some coffee. After first coffee break, we had English class which took about 2 hours. After English we had lunch in school which was called yellow broiler casserole(It didn't look good so i didn't eat it but my friends said it tasted good). After lunch, our embedded system class continued and I just surfed internet. I made some more projects and then our teacher Jussi started to explain us something that nobody remembers anymore(I think it had something to do with arduino). Then he allowed us to go home so I grabbed my arduino, threw it in my locker with my other stuff, and then I got out from school.

I grabbed my bicycle and cycled through center to my workplace which is about one kilometer from my school. I work at DL-Ohjelmistot that's a local computer store in city where i live. At my work I built two computers, repaired one and then I crushed cardboard boxed and threw them on my bosses trailer, so he could get them to recycling center Etappi.

After work, I cycled to abc gas station, where my friends use to hang out. I was there for an hour or two just talking about everything and anything. Then I cycled home. When I arrived home, then I had to take dog out and after that, I booted my computer and ate some sandwiches. Then I played some games with my friends and went to shower, and after that i got to sleep.

keskiviikko 12. maaliskuuta 2014

Arduino robot dancing!

Dancing arduino robot!
I made arduino robot dance today and made new moves to it. When I completed this project and activated it first try failed, and it was just showing blank screen and didn't move.

I was going to make robot to follow line but then I decided that dancing robot would be funnier. I created my own moves to robot by altering few lines of original code which were just numbers from 0 to 255.

I am distressed because our teacher is Kim Jong Un and he said that if I don't write something, I will end up working my entire life in concentration camp "for our country"

keskiviikko 5. maaliskuuta 2014

This blog is for introduction of arduino robot!


Technical specs: Click here

We make our codes with arduino ide(integrated development environment). Its pretty simple, easy to use and has many examples of codes and you can use them and extend them.

To use arduino robot, you must charge it first, and install screen and micro sd card. Then you just plug the USB cable in to your robot and your computer. Then just compile and send the code to robot and voilá.

torstai 20. helmikuuta 2014

-Embedded systems
-The purpose of this project
-to combine our vocational and English studies
-our task is to write a blog about the embedded in English
-the focus is both on learning more about embedded systems and ICT key vocabulary that we as students need, to produce English text