01110100110101010101011101100010
Posts tagged project
Simple MVC implementation for PHP
Jan 1st
It has been some time since i have worked on a ‘significant’ side project, i have started to feel a slow down in the number of side projects i do not because of my full time work at Zynga but because i have become too lazy, to break this chain and to make sure i at least work on some project i have decided to work on a side project at least once in 2 weeks, i hope i will be able to keep this new year resolution.
Few weeks ago i tried my hands on Yii i really liked it, its simple, easy and efficient !! which made me wonder how much effort is there in writing a MVC framework in PHP, few hours work and the result was mvc-php (ya i suck at giving names to projects), i have used mod_rewrite and got basic controllers working, now working on getting Smarty integrated but still cant decide on what to use for models, was thinking about doctrine but it looks bulky, i still have no particular use case for mvc-php, i hope it gets some where
Weekend Project IV
Sep 25th
Few days back i bought an Arduino UNO board, this is my first Arduino Project and it was damn easy!! I can see the power that Arduino has to offer for hobbyist, i have worked on 8051 and few avr (without Arduino) before, doing stuff with an arduino is pretty easy and straightforward.
In this weekend project i am using a JHD162a (16×2 LCD) connected with Arduino UNO to display the name of the current song being played, i am running mpd on my machine so have used python-mpd to retrieve song info and pyserial to transfer the data over UART to UNO, the UNO just spits out the data received over UART to the LCD.
This is a copy of my earlier project which i did in my third year in college, but that was using a 8051 and i wrote a library (code available here) to control the LCD, currently i am using the LiquidCrystal Arduino library for that.
here is the demonstration
UPDATE -> song name, artist and time also added, video here
PS – you might also want to see the extremely cheap CNC machine being made by one of my friend
Weekend Project II
Aug 29th
In march i posted about a weekend project which involved controlling a small toy car using my cell phone, this is a similar one again implemented in few hours, here we are trying to play the awesome game of pong using the tilt sensor on Samsung Wave. The pong application running on Laptop is written in Qt (C++) and the application on the Phone is written using the Bada SDK.
The working is simple, the pong application running on Laptop requires phones to make a TCP connection to it. Phones just create a TCP connection to the application on PC and sends tilt sensor data to it, movement of paddles is done by the PC application based on the value it receives from the phones. It still requires better calibration and we will work on it after the exams are over (Education prevents you from doing cool things!!), there are a lot of ideas buzzing in our empty heads (according to our teachers!!) , the original idea was by Abhimanyu which we implemented.
if you cannot see the above video here and here are short demo of how it works.
PS – code and proper working for the previous and this weekend project will be posted soon!





