17.03.2015

Installed the raspbian.

created new python file named hello.py using the command.

created a new directory called python_files and made it our primary directory using commands.

first code with python that prints out "Hello World".

then try the first For loops.

The below picture shows how we connected the wires between the H bridge and .

 

17.03.2015

Our teacher gave us some files which we were gonna use later on for our robot movement. We used that code for

lightening LEDs (Light-emitting diode- a small, low-power light source) and also gave blinking movement.

We will vary the duty cycle to get our variable brightness. A duty cycle value of 0 means fully off, 100 is fully on. anything between 0 and 100 gives a proportion of full brightness.
We had 5 leds and in the beginning and we put different values from 0 to 100 for each of them. 

24.3.2015

 

Connected our robot components as it seems below:

                                                                      

 

 

                                                                                         

 


Afterwards we wrote a new python code that run the motor of the robot. The code will be find below.

File attacded
Raspbian code 24 March 

 

26.3.2015

We are about to make a robot move.

For remotely controlling our raspberry pi we used mac and the code was; 

"ssh devicename@ip address"

with using the above code we would be able to get the permission to connect to the raspberry pi and control it remotely.

After 1.5 hour, our Robot moved on the ground.

 

 

 

31.03.2015

A robot can only guess the state of the real world based on measurements returned by its sensors. Thus, one of the first steps in control design is to come up with an abstraction of the real world, known as a model, with which to interpret our sensor readings and make decisions. As long as the real world behaves according to the assumptions of the model, we can make good guesses and exert control.

 


                                                  

 

In this session we used sensor which is called 

Photointerrupter to control the movements(distance) of our robot.

GP1A51HRJ00F is a standard, trans-missive photointerrupter with an emitter on the upright and de- tector in a case, providing non-contact sensing . By emitting a beam of infrared light from one upright to the other, the sensor can detect when an object passes between the uprights, breaking the beam.



                                

 

 

 

                                                 

 

The goal   

 

 Robots, like people, need purpose in life. The goal of programming this robot will be very simple: it will attempt to make its way to a predetermined goal point. However, to complicate matters, the environment of the robot may be strewn with obstacles as we also had it a few times but we tried to figure out the accurate numbers for the distance which is going to be passed by our robot on the truck.

 

 

A sample track was made in class. We adjusted our code of automatic movement to fit in the track. After some trial and errors, we were able to run on track properly.

12.05.2015

For the final presentation and a friendly competition with Finnish group we made a poster which shows the summary of what has been done basically during this period. 

                                                            

 

 

 

  • No labels
You must log in to comment.