Monday, November 11, 2013

Programming

   Programing is important to understand how a robot works, without it it is just wires and movable pieces of metal. To program is to provide a computer or machine how to perform an automatic task with coded instructions. Programming we used in class was not as complex as making them with algorithms on the computer but was still complex. The programming we did in class was that each sensor or moving part was wired into a port into the computer. You then chose a specific action and how it would perform it ( Ex. Move two wheels, forward) and then what would follow it until you reached your goal. Another thing we did was that we created individual programs for the robot to do if it sensed specific things and then added them to the bigger program overall ( Ex. sensing the color green and playing a sound. sensing the color blue and go backwards).
What programming looks like coded



Programming is used to make computers and calculators and other things we use every day, ways programming has been integrated into technology is that it is used in many things in the media. People program websites and online widgets using JavaScript and other programming systems. Programing is used to create the worlds and AI of things in video games and programming is also used in hacking which is  accessing a computers original program and changing it to access and steal data, send viruses, or take control of the computer allowing you to change things and is illegal , unless hired to hack a computer to check it's security.

To conclude programming is creating a code that machines follow and is used mainly in robots and computers but is used in the media and can be exploited to control private computers. 


Robotics

   As we integrate into a new age of technology we have the power to create what was once a dream of a far away future, robots. Although the robots we have today don't act as our personal helper to do are every wish they instead  work behind the scenes performing tasks we seem to oversee. So what is a robot and how is it used today? Surprisingly to some people robots are not machine like humans here to take over the Earth but are machines that can carry out complex series of actions autimatically   and most can be programmed through computers. Taking this definition into account robots vary from    things in our household like an automatic vacuum cleaner to a complex machine that manufactures goods on a conveyer belt. These robots may perform tasks that are easy but they change our way of life drastically and are a giant leap in science.


Robot sorting goods sung complex machinery to perform an easy task



     A robot, although a machine, has parts that mirror our body and the way it works. There is normally a metal structure that surrounds the robot to protect the machine and wires to get damaged like a layer of skin. A system of wires that connect the moving and sensing parts of the robot like the nervous system, which is connected to the brain or the computer which sends the signals in the wires to the moving parts and sensors according to the program . Sensors that see things like color or objects and sense things like touch which then send signal back to the computer which sends out the order for the  next part of the program resamples our five senses. It also has pieces that makes up the infrastructure like bones that move. In the example of our robot it mirrored the actions of a puppy but instead of being living it is made up of wires and moving parts. Another example of a robot mirroring the actions of humans  is robotic prostetics and even surgeries done by robot hands by specialists in other countries

    To conclude robots are machines that are programed to perform tasks and they can even mirror the way our body works, this leap in technology affects medicine, manufacture of goods, and the way we live.

My EV3 MIndstorm Robot: Puppy

We were assigned to choose between 4 different programs an robots to build, our Lego robot was the Puppy, the Puppy included a touch sensor, color sensor, and wheels to move and reacted to certain colors. The puppy robot was constructed over a series of three class periods and was successfully programmed to react to  colors ( Green, Blue, Red, Yellow), change the display on the screen, lift up legs, bounce and turn, lifting up hind leg, and play sounds ( eating, barking, and growling).

This is the final product of our robot

Our robot would sense a color and it would play an eating sound and a face on the screen, and a mechanic on its back would trigger a motion sensor when it was touched representing "petting". If you "fed" and "pet " the robot enough it would bounce  up and down, play a barking sound, and display hearts in its eyes. If you "petted" it too much it would play a growl sound and crouch. Feeding it too much will make it lift u its back left leg to symbolize peeing . Some things included on this robot were two mechanical legs in the back and two non mechanical in the front. A head the moves up and down and ears as well as a tail made out of a ball and cup.



This is a video of the robot being fed, peeing, petting, and being happy