New Email Notifying Script

Posted in Uncategorized on February 19, 2015 by Ruchira Hasaranga

Following bash script checks your mail account for every 3 minutes.


while true; do
latestid=`curl -u username:password https://mail.google.com/mail/feed/atom/ -k --silent | awk 'BEGIN{ RS="</id>"}{gsub(/.*<id>/,"");print}' | sed -n '1p' | grep -o "[0-9]*" | sed -n '2p'`

if [ ! -z "$latestid" ]; then
oldid=`cat /tmp/mailcount.txt`
if [ ! -z "$oldid" ]; then
if [ "$oldid" -lt "$latestid" ]; then
echo "new mail received"
fi
fi
echo "$latestid">/tmp/mailcount.txt
sleep 180
else
sleep 10
fi

done

Taskmod Released

Posted in Uncategorized on September 5, 2014 by Ruchira Hasaranga

interface

Taskmod is simple & easy to use task management software. It allows you to define tasks for files & folders. Unlike other standard to-do list managers, Taskmod puts small icon beneath your file to indicate progress of your tasks. This unique feature allows you to get idea about each file progress by just looking at them.

More Details…

STM32F4 Beginner Steps (using free tools)

Posted in Uncategorized on March 8, 2014 by Ruchira Hasaranga

original

PrintString calls can be view using ST-LINK Utility SWO viewer.  (@168000000Hz speed)

Simple blink example:

==============================================

InitGPIO();

SetPinMode(GPIO_Pin_13, OUTPUT);

while(1){

SetPin(GPIO_Pin_13, HIGH);

Delay(1000);

SetPin(GPIO_Pin_13, LOW);

Delay(1000);

}

==============================================

You may also like to play mp3 files from usb pendrive.

SONY Cinema Space Effect Circuit

Posted in Uncategorized on February 19, 2014 by Ruchira Hasaranga

untitled

Arduino Multitasking Library

Posted in Uncategorized on October 24, 2013 by Ruchira Hasaranga

untitled

This Library allows you to do multiple things at same time without interfering each other.

Download

16×2 LCD Spectrum Analyzer Plugin for Winamp

Posted in Uncategorized on September 25, 2013 by Ruchira Hasaranga

lcd_panel

LCDSmartie + matrixorbital didn’t worked for me. So, I made my own plugin & sketch for arduino!

installation:
put “gen_crownsoft_lcd.dll” file into winamp plugin directory
put “lcd_analyzer.ini” file into C: drive
edit “lcd_analyzer.ini” file ( set port,baud rate etc…)
run winamp!

Download

Update (2017-05-08) :

found a tutorial in Turkish language: http://www.mikrocore.com/genel/arduino-lcd-spektrum

raul barreto made an awesome project by using this plugin:

All the tools under one name…

Posted in Uncategorized on May 29, 2013 by Ruchira Hasaranga

I transferred some of tools into http://www.CrownSoft.net .