Friday, September 24, 2010

SFDKL The end

Software Freedom Day was held in PJ, Malaysia Last week at Hackerspacekl

The event itself draws a small crowd, I wouldn't call it a party, but it is a start(of a new thing I hope).

The guys that comes much later

While things don't goes as planned, and the LAN party didn't happen, video screening starts much later. And we have a Coffee session and Lunch Session, so we ends up with a very informal discussion. Especially with 2 very interesting gentlemen from India working in Malaysia, which also involved a lot in Open Source Community in their home town.

Rajiv and Ashik from India

The session starts with the screening of Code Rush, after lunch

Code Rush, video Screening
Then introduction of the unix-g33kz session on hackerspacekl

Then we ends with another round of coffee session.

Saturday, September 18, 2010

Software Freedom Day, how to go

To go to hackerspacekl, the precise address is


21B, Jalan SS21/1A,
Damansara Utama,
47400 Petaling Jaya,
Selangor, Malaysia

It is at uptown damansara near TM point, you can see the entrance at the shop under a big Antique Shop Sign.


The number to call if you need direction is 017 626 6011

#sfdkl status on game survey

Alright guys/gals, Software Freedom Day is tomorrow!!!

A little update

The result of the game survey, suggest that we should have a multiplayer round of hedgewars
https://spreadsheets.google.com/ccc?key=0AmN4VC_DvFzBdHZzZkdwR0psSy0tMTItNGRsMDg2YlE&hl=en#gid=0

Want to know what is it about go to this side,
http://www.hedgewars.org/

It works major platform, and quite well on eeepc(which I own)

Sunday, September 12, 2010

#sfdkl status redux

This is schedule for the Day, the planned talk don't goes as plan, it is replaced by Lightning Talk and video screening. I still hoping to have a gathering of foss geeks in KL.... 

A little explanation on what is Lightning Talk. Lightning talk is a 5 minute presentation volunteered by attendee on topic related to the event. So I hope to hear on foss related story that you have, or free culture, or open hardware stuff, from all of you guys during SFDKL. Though I doubt that 30 minute is enough for a lightning talk

  • 10:00 AM : Welcome + Lightning Talk
  • 11:00 AM : Screening of Revolution OS / Patent Absurdity/Code Rush
  • 12:30 PM : Lunch and mingle around aka networking
  • 13:30 PM : Unix G33kz
  • 15:30 PM : Frag Fest
I hope to see all of you guys there!!!!

Friday, September 10, 2010

When Python talk to Arduino

Yesterday I show a code where when we send a 't' via serial connection, the LED will blink while the arduino board, send back a series of string via serial, the code below is what I used to run on arduino, to test with the python code.
link


In the arduino development environment, there is a serial monitor that do the the testing.


Since it is just a standard serial interface, so one can just do it anyway they want. Here I show how to do it via python. First what we need, is the pyserial library, you can install it using pip or easy_install or grab it from pyserial site

To install, just use to following command. if you need more detail, read the docs, because I use python 2.7 it just works for me,
pip pyserial
or
easy_install pyserial
To use it, with the arduino code from the top of the page just, do the following
link


The line s=serial.Serial(2) points to com3 on windows, on linux it should be s=serial.Serial('/dev/ttyUSB0'), or other port that shown by the arduino serial monitor. Pyserial actually have a few options on the Serial object, but I found that for arduino, the default is adequate.

And this is how to use arduino to interface to your computer using python. enjiy