Electronics Friday 24 Feb 2012 is On

February 21, 2012 by · Leave a Comment 

OK Folks, the space will open these Friday, this is one of our usual bring your project session.

Event: Electronic Friday

Date: 24 Feb 2012

Time: 19:00 – 22:00

Sorry for the late notification

Share this article

The Space will closed by 17 Feb 2012

February 15, 2012 by · Leave a Comment 

The space will be closed this Friday 17 Feb 2012. Sorry for all the trouble

Share this article

We are open 3rd Feb i.e TODAY

February 3, 2012 by · Leave a Comment 

Alrighty folks, CNY is just over, we will open today!!!!! Not just today, we will open NEXT FRIDAY AS WELL.

Today the agenda is, bring your own project day. Anything you want to work on or want to know come to us.

If you can’t make it today, come next friday, it will be another bring your own project day!!!!

P.S I Apologize for the late notification

Share this article

Live Long and Prosper

January 21, 2012 by · Leave a Comment 

For this Lunar New Year, we wish everyone, a Happy New Year. 新年快乐。。

 

 

Share this article

Automated Payment Reminder Email Test

January 10, 2012 by · 2 Comments 

We are currently testing an automated Payment Reminder mailer, please check your email, and if there is any feedback, drop in the comments.

p.s the account number is wrong though

Share this article

HSKL Meeting Notes for 17/12/2011

December 17, 2011 by · 1 Comment 

Attendance

  • Kakeman
  • Mel
  • Marcus
  • Tinker
  • Syed
  • Tracey
  • sweemeng

About

Financial

  1. Balance in account: Negative RM2290.51
  2. RM350 From HITB Booth
  3. Members That Paid, 7
  4. Members That Haven’t Paid, 6
  5. Total owed by unpaid,  RM1850 until Dec
  6. Moving Forward:Actively Sending Reminder to Members for the membership dues
  7. To remind members of payment dues
  8. Per Members Payment, and dues record, and automated reminder.
  9. Building lease continue until end of 2012

Membership

  1. There will not be increase in fees,
  2. There will be a optional extra contribution, for members that want to contribute more money.
  3. Add donation button i.e paypal and alternative in blogs. Get help from sniffit
  4. Money from donation use mel’s paypal account.
  5. Suggestion: Add a centralized bank account for HSKL under mel.
  6. Test run on ads on blogs. Ads format, make it relevant to community.

HSKL Direction 2012

  1. Group Study for Stanford Machine Learning and Crypto class on weekend, depend class schedule
  2. Monthly electronic project, with kits, one friday for one month.
  • We prepare the kit
  • The participant will pay for the kit, the price shall include some contribution to the space
  • Anyone can start joining
  1. We should start Workshops,
  • no tentative schedule.
  • Anyone with participate with donation.
  • Not formal.
  • It will depends on those that want to coordinate it
  1. Security meet up,
  • first Tuesday of the month, tentative.
  • Get OWasp to get involved.
  • We provide a space, and reserved for Security Meetup.
  • Member do not need pay
  1. We offer a space to other community
  • Members come in for free. If payment ever needed
  • Standard Rule apply Read the wiki
  1. Google spreadsheet for events
  2. AGM in 2012, so need item, action item, who is responsible.
  3. Update google calendar

AOB

  1. EShop, is a go.
  2. Accept electronics junks
  3. Help the space button, with donation for both money and toys

The note is online in https://docs.google.com/document/d/1nSHLZFhxYC1EAR4LW4ZB3-K7pSOtpECI8JOjYKRJSFE/edit?hl=en_US

Share this article

Board Game Event Cancelled

December 15, 2011 by · Leave a Comment 

Due to our host, Chee Leong, have last minute issue crops out. The board game saturday event is cancelled. REPEAT CANCELLED.

The meeting is still on, this have nothing to do with the meeting, happening the same day.

I APOLOGIZE FOR ANY INCONVENIENCE.

Share this article

Boardgame Saturday

December 14, 2011 by · Leave a Comment 

We going to have a boardgame session this Saturday, we have game brought in by Chee Leong, one of our geeky friend.

Event: Boardgame Saturday

Date: 17 December 2011

Time: 11:00 – Before sun down, maybe

Agenda:  we will play the game below;

  • Battlestar Gallectica the Board Game (it’s a game of surviving and betrayal)
  • Bang! The Bullet (western shootout with some suspense element)
  • Power Grid (management and mathematics)

 

Anyone is welcome to join. And we will continue until we decide to done. Interested in these game. JOIN US ON THIS SATURDAY!!!!

p.s I have posted there event on facebook for sometime, I just forget to put it here. sorry
https://www.facebook.com/events/295891067105754/

Share this article

Making a Robot With Arduino Bonus Material: NewSoftSerial

November 19, 2011 by · Leave a Comment 

This is the last post of the robot adventure. Along the way, I am debugging the robot, and realized that the zigbee is hijacking the serial port. Once again the arduino community to the rescue. Introducing NewSoftSerial. What this do is, it provide ‘soft’ serial, i.e another serial port to be used for let say, your xbee shield.

A sample usage is below, it is just a relay from the real serial to a soft serial, which I set to run on digital 2 and 4. The seeestudio doc says it can run on digital 11 and 12, but digital 11 and 12 is used by the motor driver. So I set it to use digital 2 and 4.

#include <NewSoftSerial.h>

uint8_t pinRx=2;
uint8_t pinTx=4;
long BaudRate = 57600;

NewSoftSerial mySerial(pinRx,pinTx);

void setup(){
  Serial.begin(BaudRate);
  mySerial.begin(BaudRate);

}

void loop(){
  if(mySerial.available()){
    int val = mySerial.read();
    mySerial.print(val);
    Serial.print(val);
  }
}

It just echo what the hardware serial to the serial I set for the zigbee. As you the library is pretty easy to use. To me anyway. You can download it on that page. And install it like any arduino library.

Share this article

Making a Robot With Arduino Part 5: The PC Program

November 19, 2011 by · Leave a Comment 

The remote control part of the robot already done, now to control it. Because I am out of component. So I decide to write a program to do so. The control program uses python, and it control via serial interface to the arduino, without the microntroller.

Python have many stuff in their standard library, but they don’t have a serial library. On the other hand, python community have created many library that is not in the standard library, pyserial is one http://pyserial.sourceforge.net/. To install it, just use

pip install pyserial

The library is very easy to use too. You need a sleep because sometime the arduino will drop the command if you send it too fast. So just use sleep as a delay. The serial port on windows it is comN, on the constructure replace ‘your serial port’ with a number without quote, it could be 0 for com1, etc. On linux you can specify the path, ‘/deve/ttyUSB0′ or 1 or what not.

import serial
import datetime.time as time
s = serial.Serial('your_usb_serial_port')
time.sleep(2)
s.write('serial command')
s.close()

Essentially just 4 line minus import just to send serial command.

To make it fancy, I just bundle it with tkinter library for UI, which is part of the python standard library.

from Tkinter import *
import serial
import time

class RobotUI:
    def __init__(self,master,port):
        self.port = port
        frame = Frame(master)
        frame.pack()
        self.forward_button = Button(frame,text="Forward",command=self.move_forward)
        self.forward_button.pack(side=TOP)

        self.backward_button = Button(frame,text="Backward",command=self.move_backward)
        self.backward_button.pack(side=BOTTOM)

        self.left_button = Button(frame,text="Rotate Left",command=self.rotate_left)
        self.left_button.pack(side=LEFT)

        self.right_button = Button(frame,text="Rotate Right",command=self.rotate_right)
        self.right_button.pack(side=LEFT)

    def move_forward(self):
        print "forward"
        self.move_('w')

    def move_backward(self):
        print "backward"
        self.move_('s')

    def rotate_left(self):
        print "left"
        self.move_('a')

    def rotate_right(self):
        print "right"
        self.move_('d')

    def move_(self,direction):
        s = serial.Serial(self.port)
        time.sleep(2)
        s.write(direction)
        s.close()

root = Tk()
app = RobotUI(root,2)
root.mainloop()

Again the code for the controller can be found here https://gist.github.com/1378327

Now the robot is complete. And can be used. The last post, is on newsoftserial library for arduino. Not directly related to the robot. I experiment on it as I build it.

 

 

Share this article

Next Page »

Performance Optimization WordPress Plugins by W3 EDGE

Switch to our mobile site