Archive

Archive for the ‘Electronics’ Category

Plug and Play DDS VFO with arduino

December 7th, 2013 Comments off

I have been trying to program  cheap Chinese DDS modules recently.   I wanted to  add a DDS VFO to one of my bitx rigs. These modules are available  at $4.5 from aliexpress. They claim that it can work up to 40Mhz.

I used an arduino Uno along with a rotary encoder for  controlling the module. The DDS module pin out is shown below.

 

DDS_module_pinout

The connections to arduino and rotary encoder is  shown below.

 

dds_bb

 

 

You can download the code hosted on github from  here. 

The code is for 40m VFO    with IF of 9Mhz.  You can easily modify it for other  bands and IFs. Additional functions can be programmed easily.

The DDS modules  are available on line form from many sources. The rotary encoder can be obtained from element14.

 

 

Hacked by Bader2010

May 30th, 2009 1 comment

I  was away  from home for a week and returned back yesterday evening.  As I had a weeks emails pending, the first thing I did after reaching home was to  access gmail. To my horror,  google was telling me that I am providing a wrong password. Then, I tried to log in to my blog. I found out that my blog has been defaced. I was getting the following screens, Some Arabic bymn was played in the background.

bad1

bader2010

This page will give you some more information on how a hacked page look like.    I contacted my web hosting provider  and got the password for the site reset and the site was  back with in my control.

However  gmail id  was my lifeline and I had to recover it at any cost. I tried to  recover my password from the gmail login page as below.

google1

The next page had these options.google2

I selected my account has  been compromised  which gave me the following link.

google4

The account recovery page is here. Have a look at it.  Your scucess in retrieving the  account lies in accurate answers in this page. I filled out the following sections.

google51

google6

Fortunately, I remembered who invited me to gmail.( I  had a gmail account at a time when gmail invites were sold on ebay).   Also, I use filters and labels heavily for handling mail.   There was some fuzziness with dates , still I could approximate it.   I have a couple of blogs linked to the account and an orkut profile. I knew only the url of my blog on blogspot.  I  was very skeptical whether I will get it back. I submitted and waited  any response form google.  About an hour later I recievd the following mail from google.

google7

I reset the password and  retrived my account.  The attaker had tried to capture some of my other  on line assets from the gmail id. Some of  the automated responses had his IP address logged( or it might be a proxy). I traced the attacking  IP  to Saudi Arabia.

Why I lost my account ?

There  may be several reasons. Here are some of my assumptions .

a) I had a weak password. ( 6 letters and that too based on a dictionary word)

b) I had enabled POP3 access for my gmail account, even though I was not using it. There are plenty of scripts like this available on the Internet  for  brute force  attack on gmail accounts via POP3.

c) I had used my account from a friends place last week  on a windows XP machine. May be that machine has a key logger installed and the attacker might have obtained the password via IRC  from there.  I cheeked my home machines  for  any possible root kits,  but I could not find any.   My windows machines do not have internet access.

d) Some one might have stolen the password from one of the machines that I use at college. ( As we are having vacation now , I  can safely rule out this possibility)

What  information one must keep about  google accounts.

1) If some one invited to a gmail account ,  keep the email.  It can save you a lot of trouble.  It will give you some idea about the date of creation  of your account.

2)  If you use labeling and filters , remember the labels.  You can give easy to remember names  and  context relevant labels to your mail.

3)  Even if you are not blogging , create a blog on blogspot . The URL of the blog can be an important information.

4)  Email addresses are not by hearted as phone numbers.  So export the your gmail contact list to a file and keep it. The account recovery page asks for   up to five frequently contacted email ids. ( Click on contacts on the left side of any gmail page and select export to save the contacts.)

5) Set up a secondary email id  and give it a different password.  ( You can use Settings->Accounts->google account settings-change security question for this.)

6) Set up a  security question.  It can save you a lot of trouble.

7) If you use orkut, keep the URL of your orkut profile.

You can obtain it from your orkut home page as shown in the figure below.

orkut

9) Disable POP3 and IMAP if you are not using them.

10 Use a Strong password. This is the most important step.  In the change password page, make sure that your password is strong as shown in the picture  below.

gmialpass

Categories: Computers, Electronics Tags:

Bitx Progressing

September 28th, 2008 3 comments

The Bitx completed

My bitx project has been lying dormant for a couple of months now. I completed wiring about 2 months back. The transmitter was working properly. But the receiver was not receiving anything . When I tried to increase volume, it started howling. After initial testing, I became QRL with lot of other activities. This weekend I decided to look at bitx board again. I carefully rechecked all stages and found out that I had made 2 mistakes in wiring components , a 22 ohms resistor was in the place of 220 ohm and at another place I put a 1k instead of 100 ohm. After correcting the mistakes I fired up the receiver , I could hear some CW transmission around 14.01Mhz. When I increased the volume, the audio stage was howling. I decided to discard the audio stage and build a new one. I bought a small audio module form local market for Rs 25 and fixed it to the board. Now the audio is clean even when the volume is maximum. I am still not satisfied with the sensitivity of the receiver. I made the following measurements on various transistors today. The table of the voltages on transistors are given below. The transistors numbers are based on Bitx V3 diagram by OM vu2wmj Rahul.

BitX20 Voltage chart

Voltages on Receiver Chain  Supply voltage 12 V.  Transistor used 2N3904

Transistor Emitter Base Collector
Q1 1.64 2.38 8.22
Q2 1.8 2.5 8.14
Q3a 0 .6 4.46
Q3 4.04 4.76 10.6
Q4 0 .6 2.04

Voltages on Transmitter Chain, Supply Voltage 12V

Transistor Emitter Base Collector
Q10 1.72 2.33 7.7
Q11 1.5 2.1 7.3
Q12 1.31 1.95 6.2
Q13 1.41 1.96 6.4
Q14 2.2 2.9 9.5

I think I need to verify the voltages with some other builder.

Categories: Electronics, Ham Radio Tags:

Building Bitx part 2- The crystal filter.

July 15th, 2008 Comments off

The 10 MHz crystal filter is one of the most important modules of bitx transceiver. Bitx uses an IF of 10 MHz. 10 MHz crystal filters are available at approximately Rs10 ( 1 US$ = Rs40 approximately) in the Indian market. I bought 10 crystals from a local electronics shop. The first thing I did was to number the crystals with a marker pen.

10mhz_crystals

I wired up the following circuit (as described in Farhan’s website.

I didn’t have 680pf in my junk box I used 560pf capacitor. The circuit was built on a small PCB as shown below.

crystal_test_oscilattor

The Test Circuit

oscilattor-board

The crystal test circuit wired in ugly style

Then I measured the frequency of the oscillator. My readings are tabulated below.

Crystal no Frequency in MHz
before closing the
switch
Frequency in MHz after closing the switch
a 9.99531 9.99819
b 9.99535 9.99809
c 9.99553 9.99832
d 9.99560 9.99835
e 9.99547 9.99818
f 9.99558 9.99809
g 9.99530 9.99810
h 9.99560 9.99824
i 9.99567 9.99827
j 9.99587 9.99814
k 9.99582 9.99815

As per Farhans advice I choose 4 crystals that are matched.

Then I built the filter as shown below.

filter_halfbuilt

The filter half built.

filter_completed

10mhz filter completed.

filter_readyfor_testing

10 MHz filter fixed to a small PCB for testing.

I have the following test set up in my shack.

a) a frequency counter. ( A beautiful piece of equipment I bought form vu2ptr during ham Fest.)

b) A DDS vfo

c) An oscilloscope.

mytest_setup

My Test Setup

I terminated both sides of the filter with 200 ohm resistors and then the DDS out put was fed to the filter. The DDS frequency was varied and the filter output observed on the CRO. I have taken readings at 100 Hz apart. I plan to plot a curve using gnuplot tomorrow.

PIC 16F877 prototyping board – part 2

July 15th, 2008 Comments off

A low cost PIC 16F877 prototyping board is being developed at College of engineering Attingal under my guidance. The credit for develoment goes to Shibu and Manoj. The board is intended for classroom use. The idea is to provide a low cost platform for experimenting with PIC micro controllers. The proposed board will have easily attachable daughter boards for connecting various accessories such as key board, LEDs , switches etc. The board will be programmable via serial port through an ICSP programmer.

The first draft schematic of the board is give below. This board contains a PIC 16F877 and ICSP programmer interface. All ports of the PIC are available via FRC connectors.

GENPICBOARD_v2

The PCB pattern along with component lay out for building the board is shown below.

genpicboard_v3_all

You can download a PCB pattern suitable for homebrewing can be found here.

We have just completed the first board and pictures of the same are provided below.

pic_prototype_board pic_protype_board1