Google Summer of Code 2013.. I am IN for the second time!!







So Glad to heard that I have been selected for "Google summer of code 2013" as a Student this year again, yeap for the second time! :-) This year it was very amazing and much more competitive than last year. To mention a lil wow fact: I have been selected for *two* open source organizations this time!! In-fact those are two great organizations:"Raxa" and "OpenMRS" both are related to Healthcare informatics. (Sometimes we need to take some crucial decisions in our life.) So finally I chose OpenMRS as my organization, because of my love towards this awesome open source community which I have been with over year now,
And ripen, I love this concept by now, "Write codes, Save lives!" I dont think we (as coders) can do much better work than this to serve the global healthcare informatics force. Saving human lives is a priority among all other alms-giving stuff. 

Lastly I wanna thank Lord Budhdha who were always blessed me to get through this big achievement! නමෝ බුද්ධාය.

Congratz everyone! Looking forward for a great summer with OpenMRS!

If you are interested, My Project details can be found here:
I will be developing a "User-driven healthcare" system by integrating OpenMRS-core as the base.

1) https://google-melange.appspot.com/gsoc/project/google/gsoc2013/durapix/118001
2) https://wiki.openmrs.org/display/projects/Patient+Narratives+Upload+-+Project+Proposal



Few Links:
OpenMRS GSoC 2013 students list: https://wiki.openmrs.org/display/RES/Summer+Of+Code+2013#SummerOfCode2013-Interns,Mentors,andProjects

GSoC 2013 Accept students at Google Melange web: https://google-melange.appspot.com/gsoc/projects/list/google/gsoc2013








Weekend Raspberry-Pi experiments!



Raspberry PI is an awesome mini Linux Computer. I was totally amazed with the computing power it bears and the inbuilt GPIO pins make it even more awesome! I am pretty sure this cute lil linux box opens unlimited possibilities for a creative tech person because of this Computing and Electronics prototyping features it bears. So thats it a lil intro about RasPi and here we go, my 1st project using it! xD

I have used Raspbian Wheezy Linux distro installed to my Sandisk SDHC 8GB class 10 microSD card. My monitor has no HDMI port, So I had to use home Sony TV for it. Plugged everything, powered on, And booyah!the PI booted successfully!

Small issue was noticed after few mins, its only about colors! the colors were only black and white. So I googled about it and found that some TVs display like this and i need to edit a conf at PI O/S. If you need more info can be found here: (Simply the fix is change to: "sdtvmode=2" at "/boot/config.txt" file, and do a sudo reboot, Voila! colors will come up!)







Despite blinking LEDs xD I have tried a new tutorial to stream video from a Web Cam attached to PI to Web server, So the video stream can be accessed by the LAN network. I have used my router for this connected to PI.




RaspberryPI is awesome for electronics-computer-mobile combinated projects. And while surfing I found theirs another product called beagle board similar to RaspberyPI. : http://beagleboard.org/
Since the highly marketing strategies of RasPI we dont aware much about this gadget, But I think it can do more stuff than RasPI though the cost it lil bit larger. RaspPi is 35$ and BeagleBrd is 89$ A nice comparison between both those two credit card size Linux Computers can be found here:

And finally i wanna thank my friend "Harsha Kumara" who provided me his awesome gadget to play with it for couple of days! Thanks harsha!

Playing with GPIO!


Let's start with the first method (File System):

*Before starting startx
Use SuperUser (After every reboot) or use sudo before any command
sudo su

Connect an LED using a resistor between GPIO11 and GND.

Creating a File access to GPIO using console commands:

If you write to the ./export file in the /sys/class/gpio/ subdirectory, the system creates a file with a GPIO structure according to the input. In this case we want to create an access to write directly to GPIO11 in order to handle an LED.

Create a GPIO file access:
echo 11 > /sys/class/gpio/export 

Configure the Pin Direction (In/Out):
echo out > /sys/class/gpio/gpio11/direction

Write a value to turn on the LED using the GPIO11:
echo 1 > /sys/class/gpio/gpio11/value

Now your led should be ON!!!

Write a value to clear the LED using the GPIO11
echo 0 > /sys/class/gpio/gpio11/value

Now your led should be OFF!!!

Delete the created GPIO (11)
echo 11 > /sys/class/gpio/unexport
 
Ref: https://sites.google.com/site/semilleroadt/raspberry-pi-tutorials/gpio


lil guide on RasPI




lil guide on Beagle Bone/Board





Links:

Login using Remote Desktop to Raspberry PI: http://forum.xda-developers.com/showthread.php?t=2119786
Raspberry Pi Hardware Overview, Documentation, and Research
http://forum.xda-developers.com/showthread.php?t=1945778

Raspberry Pi Supercomputer





Arduino to PC/Android -- 2 way serial connection via Bluetooth (using a cheap BT module) :-)



Finally i was able to blink a LED on my Arduino through an Android app. Well! it was a really glad moment for me. :-D



I have used a cheap Bluetooth module called RS232 BT Module even you could use this one as well.

 
Note that TX of BT module need to connect with Arduino's RX
And RX of BT module with Arduino's TX, I have wasted few hours to figure out this mistake :-D

BT-RX >> Ard-TX
BT-TX >> Ard-RX



Notes:
On bluetooth, Pair them-- default password is: 1234
My BT device name was recognized as : "Linode"

Tutorials I followed:
1. http://www.instructables.com/id/Cheap-2-Way-Bluetooth-Connection-Between-Arduino-a/
2. http://www.instructables.com/id/Androino-Talk-with-an-Arduino-from-your-Android-d/step2/Setup-the-Arduino-hardware/
3. http://english.cxem.net/arduino/arduino4.php