iDuino – Arduino compatible prototyping board


HPIM0189.jpg

Hai.. Long time again since my last post. Just updated something, for my own notes, and anyone who an share this.

Last few month I have bought a electronic prototyping platform, which contains a mictrocontroller Atmega168. The board I bought was iDuino, a derivative from another electronic platform, that is Arduino. They are open source hardware and software platform, where you can customize the microcontroller to do almost anything. But right now, I just can blink the light πŸ™‚

This is the iDuino board, a similar version of Arduino Diecimila. I just use the Arduino programming software, Arduino tutorial to start with the board. The only reason I bought iDuino instead of Arduino because its cheaper πŸ™‚

iDuino is a breadboardable version. So, you can test your own circuit directly on a breadboard. There are a few version of Arduino you can choose from, according to your project need. This iDuino is a good start, and surely I will learn alot from it. It took me almost 4 month to get started, because of busy work. From beginning, i start buying tools, completing my toolbox, and now i have the time to play around with it.

I bought a unsoldered board iDuino, it took me almost one hour to solder them, and test it the other day. The board is connected to PC using USB, utilizing FT232RL, the same as in Arduino. So, I need to install USB Serial Converted driver, provided in Arduino programming software package. Arduino software provided with some sample code, and sample wiring to get started. At first when I try to load up a “blink” code, it gives me an error,

[code]avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51[/code]

I search around, and found the solutions in Arduino forum. i just need to go to Device Manager –> Ports, there is a USB serial port. At first it was mapped to Port 15. Go to its properties, Port Setting, Advance, change the port number to something below 10. Then change the port in Arduino software to what you have change, through Tools –> Serial Port. Now I can start the coding and projects. πŸ™‚

There is one guy who already proposing for a sumo challenge, in Ittutor forum. I dont know when I can get involve. I’m a newbie. huhuh.. Tunggu Bro Rizal, bagi saya blaja dulu πŸ™‚

Just an update..

Hai everyone.

It seems a long time since I wrote in my own blog. So busy with life, no activity to post in yet. Btw, I’m thinking there might be something I could share with you guys.

These are a few website I’ve been alot lately. I’m into web development, PHP & Jquery.

http://www.noupe.com/ – Good blog related to web development and design
http://www.problogdesign.com/ – Have good articles on web design and wordpress.
http://nettuts.com/
http://www.devsnippets.com/ – Collection of good tutorials on web development, mostly Ajax, CSS and JS framework.
http://www.smashingmagazine.com/ – This site have a good design articles. Web designers, photographers, you should subscribe to this blog.

I’m planning to develop a new website, my own, from scratch. Previously I’ll just use CMS like Joomla and wordpress. Build it from scratch, I have the freedom to see it the way I want. But still, I’m not good in designing actually.

These are a few website I’ve done for past few month
http://www.iratec.com.my
http://www.amaidnetwork.com
http://www.pmo.gov.my

There are a few more to go:
http://www.wahtec.com
http://www.palmaritime.com.my

Will update more soon..

Web 2.0 button – Photoshop tips

square-button-farhanfaisal.jpg
I just found a new Photoshop tutorial, Its a simple tutorial, to create a Web 2.0 button for your website. It will look like glossy crystal look, some kinda elegant. The article is available here[dead link now].

The tutorial is simple, showing a few suggestion on blending options that needed to give the glossy look. You will find it very easy πŸ™‚ Eventhough I’m not really into graphic and multimedia stuff. Huhuhu..

http://www.xtutorial.info/2007/11/19/13/

Check your design across different browser

browsershot.jpg
This is really a companion for web developers, a website that could test your design compatibility for different browser, just from this single website. This will be a time-saver tricks to check your work, and make sure everything will displayed smoothly on your viewers screen.

You can test your design for different browser. For Linux browser, test it on Epiphany, Firefox, Galeon, Iceweasel, Konqueror and Opera. For Windows, you can test it for Microsoft Internet Explorer, Firefox, Opera and Safari. BrowserShot can also check for Max OS browser, Firefox and Safari.

With a few click, you can know how ready your design to be delivered πŸ™‚

Custom login plugin

custom_login.jpg

You might develop a website for your client using WordPress, and want to customize the login page. There are a hacks to modify custom login screen at BinaryMoon, but they also develop a custom login plugin to make your life easier. Just place the plugin into your wp-content/plugins folder, activate, and you already have a custom login screen. You can use different background image for the screen, by uploading it to wp-content/plugins/bm-custom-login/images folder.

Custom login plugin – http://www.binarymoon.co.uk/projects/bm-custom-login/

Web-based image editor

flauntr.jpg
Once in a while, you might caught at a computer, updating your blog maybe, and you need to edit your pictures. Some would suggest a portable image editor in your pendrive. Another alternative would be online/web-based image editor.

One that you could try is rsizr. It will immediately prompt you to open a image file to edit. You can easily resize and crop any image file you uploaded. Rsizr use a special technique to keep the quality of the image edited. You may experience image quality loss, blurred text after resize, but not with rsizr. I have tried rsizr with 800 x 600 image, it resizes the image from 191kb to 121kb. After editing, the image can be save directly to your computer, or to your ImageShack account.

Another one that you could try is flauntr. Flauntr have a lot of feature for image editing. Just enough to make you comfortable without Adobe Photoshop. You can change hue/saturation, brightness, resize, crop, and you can also applying effects to your image, for example blur, greyscale or sepia. Give it a try πŸ™‚

Rsizr – http://rsizr.com/
Flauntr – http://www.flauntr.com/

Gmail Drive Shell Extension

gmail-login.JPG
gmail-logging.JPG
Just found this useful tool, once installed, it will create a new drive named “GMail Drive”. You can store your files in the drive, that actually store it in your gmail account space.

Gmail Drive will actually send an email to yourself, with the files added to Gmail Drive to yourself. Gmail Drive will login to your gmail account, and perform search function to sort the files viewed in the drive. You may want to make a filter, for emails with prefix “GMAILFS” to moved to your archived mail folder.

Bare in mind, Gmail Drive will break if Google changes its new system. The developer might provides and update with new system. So, dont panic if the tool breaks, and don’t highly depends on the drive.

GmailFS – http://www.viksoe.dk/code/gmail.htm

Batch Image Resize in Linux

Previously I have posted about batch image resizing, in Windows, using a Window tool, Portable Batch Image Resizer. Currently now I’m using Fedora, and I need a tool to automatically resize all my images for uploading.

I found an article telling how to do this. I moved my pictures, to a temporary folder, in case I misresize it πŸ™‚

mogrify -resize 800 *.JPG

The command will resize all file with extension JPG in that particular folder to 800px width and keep the image aspect ratio. You can also change it or put it with exclamation mark, to resize it to that particular size.

mogrify -resize 320Γƒβ€”240! *.JPG

mogrify is tool comes with ImageMagic. Install ImageMagic, and you’re ready to go.

Google Search for Malware and Viruses

malware_search.jpg
There was an article I found in my surfing time about viruses, from PcWorld, Google Binary Search help Identify Malware. Google have a little-known capability to search binaries, that will be useful to search malware and virus binaries across the internet. This google hacks have been implemented by metasploit research team, to provide a good interface and signature database of viruses and malwares. The malware search interface is accessible at http://www.metasploit.com/research/misc/mwsearch/.

In the project information, there are description on how it works, and they also provides ruby script to generate signatures, search for binaries from the signatures and also to download them, basically just wget it.

The installation I did on Fedora works just smooth, installed ruby 1.8.6, ruby-google and also soap4r. ruby-google connects to Google API using SOAP, therefore I have to install Soap4r first, then ruby-google.

This is a sample of 1 virus found, Message.pif (Worm.Bagle.N-1)
this is the clamscan result:

Message.pif: Worm.Bagle.N-1 FOUND

———– SCAN SUMMARY ———–
Known viruses: 152764
Engine version: 0.91.2
Scanned directories: 0
Scanned files: 1
Infected files: 1
Data scanned: 0.02 MB
Time: 2.592 sec (0 m 2 s)

This is the sample usage of the ruby scripts:

$ ./mwsig.rb Message.pif
4053c6c2:00010000:0000e5b0:00005000
$ ./mwsearch.rb 4053c6c2:00010000:0000e5b0:00005000
1 http://archives.neohapsis.com/archives/fulldisclosure/2004-04/att-0795/Message.pif
# ./mwdownload.rb bin to_download
–09:17:57– http://archives.neohapsis.com/archives/fulldisclosure/2004-04/att-0795/Message.pif
=> `bin/0.bin’
Resolving archives.neohapsis.com… 72.32.12.210
Connecting to archives.neohapsis.com|72.32.12.210|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 21,871 (21K) [text/plain]

100%[=================================================================================================================>] 21,871 21.57K/s

09:17:59 (21.55 KB/s) – `bin/0.bin’ saved [21871/21871]

This is the sample search in google.com. It have 4 main information to search for:
1: Virus/malware name
2: Time & date stamp
3: Size of Image
4: Entry Point
5: Size of code

All of these information are basically the last 4 segment in the signatures, created by mwsig.rb