Retro RTC

April 5, 2010 4 comments

5th of April’10

<1130> Got up after a long sleep.

<1200 – 1300> WTH was I doing then? Probably taking some pills for having a good memory huh!

<1330> Had lunch.

<1600> Came back to room.

<1630> A KNOCK at my door.

A friend of mine was asking for some assistance in his mini project. I thought it would be fun and started discussing about it. It’s a retro RTC (Real Time Clock). The fact that I call this a retro is that he didn’t want to use any RTC chip and he brought an AT89C2051 microcontroller for this 24 hour clock project.

<1700> Project started.

It has a timer facility as well. The relay in the above picture is to drive a load connected to AC mains. Read more…

Home Automation through Cellphone Keying (H.A.C.K)

February 23, 2010 15 comments

I always wanted to control my lights and other appliances in my room remotely while I’m somewhere else. Many a times I forget to switch off the fan or AC in my room and then I have to go back and switch it off. I always wondered how cool it would be if I could control my appliances through something like my cellphone (which I never forget to take). Well now I can see that dream right in front of me. Yes, its yet another hobby project by Kaushani and me. Its the ‘Home Automation through Cellphone Keying(H.A.C.K)’ .



Fig.1 H.A.C.K’s Main Circuit

For those who are not aware of, for every key press on a standard telephone keypad an audible ‘beep’ is generated. It actually is a signal which is a combination of two distinct frequencies i.e. every key is uniquely defined by the combination of two distinct frequencies. Many (multiple) frequencies are used in which combination of any two defines a key on your keypad hence the name Dual Tone Multiple Frequencies (DTMF)’

Fig.2  DTMF  Frequency Combinations

H.A.C.K uses a Full DTMF receiver CM8870 from CMD which gives the binary output of the key being pressed. For more details refer the datasheet.

Fig 3 DTMF Receiver Circuit

The DTMF receiver circuit is interfaced with an ATmega16 MCU which is used to drive the external appliances ON or  OFF. For demonstration purpose I’ve used 3 leds to be my external appliances. I’ve also used my old NOKIA 2300 in the automatic answer mode and the earphone is used to give input to the DTMF receiver circuit.

Working:

  • Call the control phone from any other phone from anywhere in the world.
  • The control phone being in the automatic answering mode picks up your call.
  • Press the correct password to have access.
  • If the password is correct a buzzer will ring which you can hear through your phone   otherwise you can’t control the appliances.
  • Press Keys on your phone to control your appliances.
  • I’ve used the keys 1 to 7 to control the LEDS  but the other keys 8,*,0,# can also be included.
  • I’ve not used any password in the demonstration.

Feel free to post your queries and feedback in the comment section below.

GALLERY

Twimer – schedule your tweets

August 24, 2009 Leave a comment

This is a script that lets you to either ‘send your tweets at a sheduled time when you are not with your phone or computer ‘ or  ‘send a direct message as a reminder at your set time’. These features are already there in the web like twitter-timer and in futuretweets . However the script combines both in it. As per the present it has only these features but I’m trying to aggregate some more cool features in it. Kindly bear with these features till then. The present version has a maximun time of waiting of 24 hours ( made intentionally).You can add for particular dates and months as per your wish.

To run the script you’ll need python-twitter API. You can download it from here. Follow the installation steps.

You need to enter your username and password in some parts of the script.

api=twitter.Api(username='<username>',password='<password>') # enter ur usesname & password within qoutes

status = api.PostUpdate(tweet,'<username>')     # enter your username

directMesg= api.PostDirectMessage('<username>',dmesg) # enter your username

DOWNLOAD  TWIMER

Note: when you are prompted with “Enter time(hh:mm): “  it will take input in 24 hours format with hours and minute separated by ‘:’

eg.  20:15 for 8:15 pm

Categories: Codes Tags:

wep v9.04 : ‘Duplex Intercom’

April 9, 2009 Leave a comment

Its another technical weekend for Kaushani and me. After burning our grey cells in debugging the decade counter 7-segment display circuits of the first years in ‘Innovent’ ( organised by IEENC Manipal,MIT) we decided to come up with a new weekend project (Wep) and this time its a ‘DUPLEX INTERCOM . With a 6-12 Volts power supply its a very simple DIY hobby circuit using TDA7052 Audio power amplifier (manufactured by Philips) which gave us a gain of about 40db.

http://farm4.static.flickr.com/3606/3425649541_262d212e66.jpg?v=0

The very interesting part of this circuit is it uses very simple technique to minimise the ‘Larsen Effect’ which i’ll explain in a bit. First of all, there has to be (yes, you guessed it right!) two sets . I’ll call it SetA and SetB to make things clearer. Now whatever I speak in the mic in SetA should not get amplified in the speaker of the same set and similarly the speaker’s output(voice from SetB) shouldn’t be fed into the mic again.This audio feedback is what we call as the Larsen Effect and it becomes a very vital role to minimise this whenever you deal with audio frequencies .You must have felt  the Audio feedback many times -a high-pitched squealing noise during musical performances; that’s why we use monitors to avoid such effect. Now in this circuit the audio input signal is first amplified by a BC547 transistor and an intermediate output(before feeding into the power amplifier) is taken from collector as well as emitter of the transistor.As we know the output is in-phase and out-of-phase to the i/p signal in emitter and collector respectively, therefore by using a 22k Timpot we can minimise the input from the mic.The cable (o/p) from SetB  is fed at the collector of the transistor at SetA which we can hear in the speaker.

http://farm4.static.flickr.com/3388/3425667397_f5fba4064b.jpg?v=0

Can you see the switch (red colour) up there ? Well if you close this ,there won’t be any signal transmission but signal reception is independent of the switch.As we can’t get any log potentiometer in UDUPI, we managed with a simple 22k pot and it worked fine (of course not amplified as the way it should).We worked  using 9 Volts and the Duplex Intercom is running absolutely great!

http://farm4.static.flickr.com/3359/3425649551_c941c60361.jpg?v=0

For any queries and suggestions about the circuit, comments are always welcomed or mail us at

dydflyer[at]gmail[dot]com

or

kaushanihp18[at]gmail[dot]com

Wep v9.03: Audio Splitter for laptops

March 21, 2009 9 comments

Its yet another tech weekend for me and Kaushani. This time we have come up with a hobby circuit called the “Audio splitter” specially meant for laptops as we’ve taken the power supply from USB. Its implemented using TDA2822M Dual OPAMP IC with internal feedback which gives a gain of 89 (39db).

http://farm4.static.flickr.com/3578/3373288566_bdfd3affb2.jpg?v=0

It has separate volume knobs for each headphone(o/p) as you can see in the photo below,works on a 10mA current.Its based on a prototype designed by Vasuki Prasad,an ex MIT,Manipal student.

http://farm4.static.flickr.com/3658/3373288562_37b07a75c4.jpg?v=0

http://farm4.static.flickr.com/3472/3373288570_17b5a5bb6d.jpg?v=0

Main features:

1. Power supply from USB (5 Volts)

2. 39db gain and low noise (A bit of hiss sound when fully amplified)

3.Separate volume knobs to control volume of your choice on each o/p.

4.Low cost (complete prototype @Rs 190)

N.B:

(i) Wep stands for Weekend Project

(ii) Version format :Year.Month

Categories: Electronics, Projects

Zehen:Live in Revels’09

March 8, 2009 Leave a comment

Zehen’s performance in Revels’09…

Categories: All Misc Tags: ,

Evergreen retouched!

March 7, 2009 2 comments


Evergreen retouched!

Originally uploaded by wordiac

Ever Green rocked MIT with Deep Purple’s Perfect Stranger in Revels ’09. While the crowd was ponderously waiting for the problem with the equipments to be laundered,they came like a fire and swept the air around to a cyclone of thrills. Heretic was supposed to come but they didn’t turn up due to some circumstances. However, Ever Green expunged all the depression and kept the crowd alive. According to organizers, Opeth will be a wonderland for the next Revels.If it goes fine it will be awesome.So to all the music fans listen to Evergreen’s latest hit “Altar of Dreams” .

Categories: All Misc

Zehen on a winning drive!

March 5, 2009 Leave a comment

Eastern Battle of Bands is a part of “Revels” , a cultural fest of  our college. It was held on 4th of March this time i.e on the first day. We were told that there won’t be any such event this time as there were no other bands and later told us (Zehen-thats our band) to give a half an hour performance.Just before the registration in the morning we got to know that a Band from NIT-K was coming and we got so excited as we were told that the competetion was on again.

Later in the evening while we were back stage another band from MIT turned up and we thought yeah…its gonna be fun now! The first band performed was from NIT-K.Inspite of taking so much time in sound check they managed to do pretty good.There were couple of moments when there music went so messy but i truly agree its because of our Marshall MG series amps (worst and cheapest of its kind).

Then it was our turn and we performed three songs.First one was ‘Khidki’ by Raghu Dixit ( Its a new band coming up with a project known as the Raghu Dixit project).Second was ‘Bande’ by Indian Ocean.I think the crowd enjoyed it and the last but not the least was ‘Nayan tarse and Emotional Attyachar ‘ from DevD.

Zehen by you.
Zehen during the Revels ’09 Eastern Battle of Bands.
And then the third band performed which i missed as i went to
have dinner.Later i was being told that we have actually WON
and there were two winners. We had to share with the band
from NIT-K.It was a awesome experience and with Rs 8-9K we
have now got enough budget to purcase our new Bass Guitar.
Categories: All Misc

Cross ‘n’ Not using Tkinter

March 3, 2009 2 comments

Me and Kaushani were reading the tutorials on Tkinter (its a GUI module in python for those who don’t know) and we thought of writing a simple Cross’n'Not game using that.We are just so called ‘Bathroom Coders’(plz don’t take the literal meaning) and so our code might seem a little inappreciable to the regular coders.Therefore, we firmly welcome recommendations,comments and suggestions wherever needed.

Here’s the code for Cross ‘n’ Not V0.1 or you can even download from the link given at he bottom of the post.

P.S. Few exceptions will be raised when you terminate the application.Kindly bear with it as we are currently working on it and will come up with a better version very soon .Suggestions are always welcomed.

DOWNLOAD

Categories: Codes Tags: ,

A beautiful poem

February 15, 2009 Leave a comment

I read this yesterday and i find it really expressive

A Valentine is nothing like
A chocolate or a rose.
For in a week these shall be gone,
But Valentines remain.

If love were always sweet to tongue
Or fragrant to the nose,
Each day would be like Valentine’s,
And we would go insane.

A Valentine just hangs around
Waiting to be kissed
Long after special days have passed
And every days are here.

So one is wise to choose one well
And chocolates to resist.
For in the midst of mania
It’s nice to have one near.

courtesy:www.poemsforfree.com

Categories: All Misc
Follow

Get every new post delivered to your Inbox.