Review

--Originally published at Rodrigo's Blog

Through this semester of the course I managed to learn a lot about programming related to c++. Even though we started with a complicated programming language, at the end I had the ability to do a lot more stuff with c++ that I knew before. Within the semester I hoped to learn an easier language this way we could gave advanced more on that area rather than starting with one of the hardest languages for programming. I think it was a great course after all and a very different way of learning.


Why is Programming important

--Originally published at Rodrigo's Blog

For the people who beleive programming is not important, then you really need to investigate about this. Programming has became an important part of our lives even if we dont do it ourselves, but without programming we would not be able to advance as fast and have as many benefits in our daily lives. I think programming will later on become something we need to learn rather than something extra we can learn as programming has many different important areas in which programming can help as computers are everywhere.


Code Academy

--Originally published at Rodrigo's Blog

For anyone interested in learning more about different programming languages apart from c++, you can learn on this website I found https://www.codecademy.com/es . I learned about this website about 2 or 3 years ago, and I gave it a try and I learned many basic things about programming but you can intensify into each language. Hope this helps.


WSQ13

--Originally published at Rodrigo's Blog

 

So I managed to take a hint on how scilab is used, for what I saw I think this is a great tool that can be used to combine programming and many other areas such as math and physics. This is also a great tool to begin learning as it has many different tools to help you out while starting. On my time I managed to create a graph from 0-1 and each number squared.

2017-11-22

I used the help of a friend and from many different tutorials I found on youtube such as:


Traffic Lights

--Originally published at Rodrigo's Blog

While we all know traffic is a daily problem of our lifes, Gerardo Torres and I decided to work over one of the many dfficulties that cause traffic. Even though many of us think that there is no solution to traffic lights apart from bridges, but having a better timed traffic lights, taking in mind where the most traffic is made and the timing, traffic ights could get an improve. For our work we decided to make a traffic light using an arduino, some cables and programming for the arduino.

The next program is the one we used for the lights, you can change the timing and play around with the code:

const int VERDE = 4000;
const int PVERDE = 500;
const int RAMARILLO = 2000;

// Conexiones
int verde = 2;
int amarillo = 5;
int rojo = 11;
void setup() {
// Inicialización
digitalWrite(verde,LOW);
digitalWrite(rojo,HIGH);
digitalWrite(amarillo,LOW);

pinMode(verde,OUTPUT);
pinMode(amarillo,OUTPUT);
pinMode(rojo,OUTPUT);
}void loop() {
// Secuencia para semaforo 1
digitalWrite(verde,HIGH);
digitalWrite(amarillo,LOW);
digitalWrite(rojo,LOW);
delay(VERDE);
digitalWrite(verde,LOW);
delay(PVERDE);
digitalWrite(verde,HIGH);
delay(PVERDE);
digitalWrite(verde,LOW);
delay(PVERDE);
digitalWrite(verde,HIGH);
delay(PVERDE);
digitalWrite(verde,LOW);
delay(PVERDE);
digitalWrite(verde,HIGH);
delay(PVERDE);
digitalWrite(verde,LOW);
digitalWrite(amarillo,HIGH);
delay(RAMARILLO);
digitalWrite(amarillo,LOW);
digitalWrite(rojo,HIGH);
delay(5000);}


Final Project

--Originally published at Rodrigo's Blog

For the Final Project Gerardo Torres and I are going to work over a sensor in order to receive feedback of how far an item is. We are also planning on using a led to demonstrate if it is near by turning the led on. For this we are going to use an arduino, a protoboard, jumpers, and a sensor, if we choose to use a LED then we will also need an LED.

Resultado de imagen para arduino