How To design High Traffic Website | Link To How : How To Articles By Expert TechnoGeeks

How To design High Traffic Website | Link To How : How To Articles By Expert TechnoGeeks

Here is a checklist of the factors that affect your rankings with Google, Bing, Yahoo! and the other search engines. The list contains positive, negative and neutral factors because all of them exist. Most of the factors in the checklist apply mainly to Google and partially to Bing, Yahoo! and all the other search engines of lesser importance. If you need more information on particular sections of the checklist, you may want to read our SEO tutorial, which gives more detailed explanations of Keywords, Links, Metatags, Visual Extras, etc


Read More:
Read More

How To Make Small Home Controller

SerReg is a small home controller intended to turn your personal computer ( PC ) into a process control / data collection system. With the appropriate sensors SerReg can monitor physical variables such as pressure, temperature, light intensity, weight, movement etc, process the information and then use the result to control up to three physical devices such as motors, heaters, sirens, lights or other appliances around the home, office, laboratory or factory . You can program your appliances to operate automatically in conjunction with your weekly and daily schedule, manualy turn them on/off from your PC or use SerReg as a process ON/OFF controller to regulate some kind of physical variable ( process variable - PV ) to the desired value ( setpoint - SP ).

Main Window

The SerReg software includes two applications - Interface application and Analog Configuration Tool. The interface application is designed to provide a friendly and flexible interface to the controller. The main window of the interface application is shown below ( fig. 1 ). Analog Configuration Tool is a utility that helps to configurate the analog inputs. It will be described in detail later in Analog Configuration topic.

Main Window of Interface application
Fig 1. Main Window

Overview of the main window controls:

 Black display - the current analog value ( PV )
 Red LED - the output relay is turned on
 Green LED - the output relay is turned off
 Combo box - the number of the comunication port ( RS232 ) COM 1 to 8
 The name of the channel - user can change it from the configuration dialog
 Yelloy LED - blinks when the microcontroller sends data
 Start button - turns the output relay on
 Stop button - turns the output relay off
 Auto On Channel 1 ( 2, 3 ) - when checked, activates the automatic mode
 Configuration button - opens the configuration dialog ( fig.3 )

Tray bar

When the main window is minimized, it goes to the tray bar.
Additional analog displays

fig.2 Alphanumeric Displays
The current analog value ( PV ) of every channel can be shown on the desktop as an alphanumeric display ( fig. 2 ).This is convenient when the main window is minimised.To enable this feature select Show Value On Desktop checkbox in the configuration dialog box ( fig. 3 ) of the corresponding channel.You can change the position of this dislplay on the desktop by clicking and holding the left mouse button ( the cursor will change to a cross-hair ).Also when you double-click it, a configuration dialog box is opened. This dialog box allows to adjust settings such as font typeface, font size or colors when the output relay is turn on or off.

alphanumeric display

Configuration dialog for an alphanumeric display



Read More

How To Make TV Remote Jammer

The circuit is just a flasher operating at 40 kHz which is the carrier frequency used by common remote controls. The strong 40 kHz infrared flashing interferes with the signal from the remote.
The 50k potentiometer is adjusted to achieve a 40 kHz flash rate (around 20 kohms) and this adjustment is fairly critical. When it is set properly and the LEDs are pointed directly at the receiver's photodiode, the remote control will stop working. The LEDs are operating at about 30 mA when on but the duty cycle is low and the circuit only draws about 7 mA.

TV Remote Jammer

Trouble may be encountered if the frequency is set wrong, the LEDs are not pointed correctly, or if the remote is a real brute. More light may be had by adding another resistor and diode string from the collector to the switch but the most likely problem is the frequency adjustment. Use a 10-turn pot and adjust it slowly while changing channels. Or use a frequency counter or oscilloscope to set the frequency, if possible. Make sure that the current drain is about 7 mA - if not, check the polarity of the diodes. A photodiode infrared recaeiver is handy for checking the light output and comparing it to the remote's.

Read More

Some Web Design Mistakes You Should Avoid | Link To How : How To Articles By Expert TechnoGeeks


Do not use tiny fonts: the previous point applies here, you want to make sure that readers are comfortable reading your content. My Firefox does have a zooming feature, but if I need to use on your website it will probably be the last time I visit it.

Website Design Mistakes

Read More

How To Make Solar Charger with Day Night Switch

What I have done is to link up a 15w, 1.2 A solar pannel to 2 by 7.2 AH batteries. This I run trough a controller that charges the batteries during the day and then runs the lights at night. During the day I use the system to power my hydroponic motor.

Parts:


  • 40v to 13.3 v, 1.5A voltage regulator, mounted on pc heat sink.
  • 10v low battery cut off.
  • 12v regulator that is switches the power from day night sensor.
  • 3 diodes to modify the output of the regulator to 14.4 to charge my 12v battery.
  • Gate controller circuit to switch off the pump after 15 min.
  • Day night sensor with sensitivity switch to control the power to the relay.



Step 1: Setup charger
Step one was to set up the panel and the charger unit. I took a PB137 voltage regulator, max 40 volt in @ 1.5A and attached it to a heat sink as my panel will supply up to max of 26v at 1.2A 15w. I think took 3 1N5408 diodes connected in series to the earth pin of the regulator to modify the output to 14.4 to charge my 12v batt


Step 2:
I now take the +/- 14.4v (depending on weather conditions and cloud coverage) and pas sit though the relay up to the to the low battery cut out sensor. this is set to 10v to prevent damage to your batteries from excessive discharge. I need this as I often used to forget to turn off the hydroponic pump.

Solar charger with day night switch

Step 3:

The batteries are off the pic are 3 x 7.2Ah 12 volt batteries the same used in computer UPS linked in parallel
I set up a day night sensor that I got from a electronics website here this is a 2N3904 NPN Transistor, linked to photo transistor and then using a 100k pot to regulate the sensitivity level. This controls the step 2 relay. At night I am running about 100 ultra bright LED's in and around the house to provide off the grid light and security lights. during the day the relay allows me to run my hydroponic pump

Step 4 :
I set purchased a timer relay that they use in electric gates to control the run time of the pump. If  you are anything like me you will forget to switch it off so I had to set up some sort of forget me not system. These units are easy to find and cheap about R100.00 (15usd) this unit has a trigger point and a reset so I inserted to switches on to set it off and then to kill it is I need to. You can set them to run for anything from 30sec to 3 hours.
I like to give my plants 15min water every 3 hours ... this will be the next step is to build in a 24h timer.

So far day 1 on the system so let us see how she handles the changes and I will get back to you with more info.

Comments and suggestions welcome on how to make the system better and fool (me) proof .....

Read More

How To Make Induction Cooker

The induction cooking design consists of a small number of simple blocks.
The isolated power supply is obtained directly from the mains, 220 V AC 50 Hz. 15 volts are
used to supply the IGBT driver, fan, relay and feedback circuitry, while 5 volts are needed to
supply the rest of the ICs, including the MCU.
The ST7FLITE09Y0 microcontroller controls the whole process and communicates with the
user interface (buttons and display), drives the fan and the relay, receives feedback from the
cooking element (referred to in this document as “plate” for simplicity) and generates the
PWM signal to drive the IGBTs.

Induction Cooker Block Diagram
Schematic
Although the schematic is not very complex, this section presents the different parts as
separate topics:
  • Mains, DC link and zero voltage switching
  • Isolated power supply
  • Power stage
  • Feedbacks
  • MCU pin configuration
Isolated power supply
An isolated power supply is connected immediately after the mains filtering, without passing
through the safety relay. A VIPer22A and a simple voltage regulator provide 15 and 5 volts
respectively. The power supply ground is isolated from the system ground.

Induction Cooker Circuits

For Circuit Diagram and other details: Click Here


Read More

How to Hide Adsense Ads from self ip address | Link To How : How To Articles By Expert TechnoGeeks

Read More

MP3 Cutter : Online MP3 Cutter

This MP3 Cutter is а free on-line service. It is a Web tool to quickly split music files of а variety of formats. The Cutter is handy and quite easy to use. And that makes it even more popular.

MP3 Cutter

I. To get started click the button “Upload” to upload the music filе to the site.
II. Then select thе file you intend to split on yоur computer. Mark the selectеd part оf the recording with the slider bar (“scissors”).
III. Splitting will start just as you click the button “Cut”.
This MP3 Cutter features additional “Inversion” and “Fade in/Fade out” functions. Using the latter you can switch to gradual increase оr reduction in sound volume at either beginning оr end of a melody. Using the “Inversion” function you may eliminate any portion оf the recording. When in playing mode the sound volume may be doubled. This Online MP3 Cutter has several positive features.

MP3 Cutter
1. First of all, it supports a numbеr of formats. So it may bе used as а file converter to MP3 format, which is а rarе function with similar software.
2. The function of fading in sound effect at the very beginning of a composition or fading out at its end helps to prоduce a high quality ringtone. You won’t be startled by sharp initial tones or abrupt sound drop at the melody’s end.
3. And of course, if you want tо create a really good tune for your cellulаr phone the possibility to double the sound volume is indispensable.
4. The input file size does not matter. The service is working with files of any size or any duration time.
5. Using the аrrow keys on уour computer keyboard yоu can choose thе starting point аnd the end pоint for your melody. With it you can easily select any part of a continuous recording and adjust start/end cutting time with a millisecond accuracy.
6. This MP3 Cutter Online service allows you to edit several smaller music files out of one huge file without additional uploading.

The project developers give some recommendations which might bе very useful for thosе who often use the tool:
1. Splitting MP3 audio files spares much time. The processing will takе just seconds.
2. Using additional functions of Online MP3 Cutter such as twofold volume increase and fade in/оut sound effect at thе beginning or еnd of a composition would slow down the splitting process.
Read More

Get Facebook Insights For Blogger blogs/Websites

Facebook Insights provides Facebook Platform developers and Facebook Page owners with metrics around their content. By understanding and analyzing trends within user growth and demographics, consumption of content, and creation of content, Page owners and Platform developers are better equipped to improve their business and create better experiences on Facebook.

Insight for website
  • A lightbox window will appear. Enter your domain name and make sure you link it with "You". Look at the picture below. 
Meta tag for Insight
  • Copy the meta tag given in light box window. It will be something like this :
                   <meta property="fb:admins" content="100000317480862" />
  • Login to your Blogger account and go to "Edit HTML" of your blog. Now add the meta tag you have copied just below the <head> tag. 
  • Save your template.
  • Now click on "Get Insights" button in light box window. you are done.
  • Now when you visit the Facebook Insights page, you will see your website listed under Websites.
  • Click on your site name, you will be able to access all sort of insights.
Sort of Insights
Read More

How To Make Cat and Dog Repellent


Nowadays, just about every house has an outside lamp with a motion sensor. Such a device eliminates the need to feel your way to the front door, and it apparently also scares away intruders. The only problem is that free-running dogs and cats in the neighborhood have little regard for such lamps and continue to deposit their excrement in the garden, once they have found a habitual location there for this purpose. This gave rise to the idea of connecting a sort of siren in parallel with the outside lamp to clearly advise dogs and cats that they are not welcome.

Naturally, it would be nice to avoid startling the entire neighborhood with this alarm signal. Here we can take advantage of the fact that dogs and cats have a significantly better sense of hearing than people. Not only are their ears more sensitive, they can also perceive significantly higher frequencies. With people, the upper limit is around 18 kHz, but dogs and cats can hear frequencies in excess of 20 kHz. We can take advantage of this by building a siren that emits a frequency just above 20 kHz. This will scare off dogs and cats, but people will simply not hear it.

All we need for this is an oscillator with an amplifier stage and a tweeter that can reproduce such high frequencies, such as a piezoelectric tweeter. The schematic diagram shows how easily this can be implemented. The power supply for the entire circuit is formed by the components up to and including C2. The 230-V leads are connected in parallel with the motion-sensor lamp. C1 and R1 provide capacitive coupling to reduce the 230 V to an acceptable voltage. A DC voltage of approximately 9.1 V is generated from this voltage using a bridge rectifier and D1, filtered and buffered by C2. The oscillator is built around R3, C3 and IC1a.
Cat and Dog Repeller Circuit Diagram

Cat and Dog Repeller Circuit Diagram

The frequency of this oscillator is rather dependent on the specific characteristics of IC1, so the values shown here should be regarded as guidelines. If the oscillator frequency is too high, it can be reduced by increasing the value of R3 and/or C3. If the frequency is too low (which means that the siren tone it is audible), the value of R3 and/or C3 should be increased. The square-wave signal from the oscillator is applied to the input of an H bridge composed of several Schmitt triggers in combination with the final output stages (T1–T4). This approach causes the peak-to-peak value of the square wave signal to be twice the supply voltage.

As a result, a respectable 18 V is obtained across the piezoelectric tweeter, which is sufficient to produce a quite loud whistle tone. When building the circuit, you should bear in mind that it is directly powered from 230 V and not electrically isolated from the mains network. It is thus necessary to avoid contact with all of the components when the circuit is in use. In practice, this means that the circuit must be fitted into a well-insulated, waterproof box. If you want to test the circuit, it is a good idea to first discharge C1 using a resistor, since it can hold a dangerous charge. You must also ensure that components F1, C1, R1 and B1 all have a mutual insulation separation of at least 6 mm!
Author: I. Fietz
Copyright: Elektor Electronics
Read More

How To Make Church bell Controller


Description
This circuit is a church bell controller. Basic component is an ATmega32 microcontroller. At the circuit 1 24LC32 eeprom memories is being used.

As control I created a menu who will be appeared on 4x20 LCD (Liquid Crystal Display). The menu browsing can be done by 6 buttons at the face of the circuit's box (Menu, Up, Down, Enter, Start, Stop). The all firmware binds about 30Kbytes flash memory and can be increased by adding new features-functions. This program has been written in C with CVAVR compiler.

The idea of this circuit is being given by a friend of mine who has an foundry and he is building bells. I have made the PCB by my self.


Features


1. More 75 different melodies (ADAM, PANYGJRJKO, AGJORJKO, etc)
2. Control of electrometrical clock of church with the production of pulse of duration 1Sec each one minute.
3. Automatic correction in case of power loss.
4. Percussion of clock each half but also entire hours, with possibility of choice of hours of silence (for tourist regions and hours of common quietness).
5. Manual correction of electromechanical clock.
6. All regulations become with the help of guidance (menu, up, down, enter, start, stop)
7. When it runs a rhythm we have the possibility of increase or decrease her speed, the information will stored in memory 24LC32.
8. Display time (DS1307), with backup battery.
9. All the in formations are displayed on 4X20 LCD.
10. Control up to 5 bells and 1 clock.
11. The user create his own program


Schematic




PCB



Photos




Photos





Improved version












Downloads






Improved version











Downloads

Read More

How To Make Ethernet based Security System


The need for Security systems have rapidly grown from being specialized for high-risk areas (like banks, companies , governmental institutions), to be available and demanded rapidly by the average public. In the last ten years, small businesses have rapidly grown and expanded and the need of reliable, cheap and effective security system is becoming a must ,not only for the business owners ,but also at homes . One of the offered way of security systems offer the SMS notification service , nice but not that reliable . SMS center could have a congestion at the time the thief was sleeping in your company (or home) borders . Well another method of creating a security system and which would be very effective is to use the Internet or Ethernet Notification system . It is reliable, when using TCP, and effective where most internet services are always on demand and it is very rare , and very unlikely to have a sudden failure. 



Commercially available Security systems are too expensive

Unfortunately, this could be a little pricy since most embedded Ethernet devices cost a large amount of money and they are usually hard to deal with . That’s why I was so interested and a little bit surprised with wiznet offering of the W5100 Hardwired TCP/IP Ethernet chip . I was so amazed of its various features especially the support for TCP and UDP protocols essential for an Ethernet based security system . And what shock me the most was its price ($5.20) . You can actually build a security system over the internet using an Ethernet device that would cost you about the same as any microcontroller. Simply amazing !

Now, why to even bother to create such a system while it could be commercially available ? Well, here the problem arises, Despite their commercial success, most if not all commercially available devices target large corporations and companies ,neglecting the need for this system to the home residents and small business owners . I am not saying it is not available for them , but it is way pricy for normal consumers. Here comes my project into place .

My Solution

I have constructed a TCP based security system using the Ethernet module offered within the contest , an ATmega16L microcontroller , a PIR as a sensor and few other peripheral devices , which is specially targeted for homes and small business owners.

I have used through for my final design a combination of the WIZ810MJ module , an ATmega16L microcontroller , a 7.3728 MHz crystal (compatible with my bootloader programmer), a DS1302 timekeeper , a PIR to sense the human movement through the body heat , a keypad for initial configuration and a 2×16 LCD for display. The design also include regulators to power up the circuits.

See ! it is really a simple but effective design . It is a compact, complete, and easy to install security system designed with home users and small businesses, since it is affordable as you can see that it was built using an handful of inexpensive and cheap parts.
 
How it works

Well , the system should be installed near an internet source and a cable (crossover or straight-through as it depends) should be plugged in to the module’s Rj-45 jack.

If the system is in rest mode (acting as TCP server) . It waits for commands from the client (its IP address can be programmed or change initially or during operation) and execute them (after a password is entered obviously )while still inspecting for any Alarm which would arises from the PIR sensor . When any Alarm triggers , it switches into client mode (acts as a TCP client) and starts sending warning signs.

The system uses motion sensing (based on human body heat) to trigger an alarm which sends a message to the server containing a timestamp presenting the exact time the Motion was detected acting as a real-time surveillance system . For increasing safety from the risk arising from a false alarm , it sends the alarm signals for about 5 minutes and then it stops for 10 minutes and so on assuming the alarm was still active ... Clearing the way for the costumer to stop the alarm if he noticed some kind of a failure as the system acts as a server in these 10 minutes. This false alarm is very rare and it could occur as a result of maybe a passing squirrel maybe or some relative passed by and forgot to turn the alarm off .. etc .. So although it is rare but should be taken care of.

Once it is connected and powered on , (it takes power from 3 sources ,3.3v ,5v,and 12 v for the PIR) the system enters into the configuration mode .
 
Configuration mode

In the first start-up of the system, it enters the configuration mode . It is just a feature that I added for the design to be more flexible. The System asks you first (through the LCD interface) to enter a 4 digit password , I didn’t do a masking feature because I sense there would be less error when you can really see the password written on the LCD , and there isn’t off course any viruses or key loggers are there ?!

The system will also ask you about the current date and time which is necessary for the validity of the timestamp associated with the Alarms. Otherwise, if the time was miss-entered ,the customer may lose track of when the alarm was really triggered.

After entering the current date the system asks the customer to chose between accepting the default IP setting or reconfigure them depending on his own needs . The customer will be asked to enter the System IP Address ,the subnet mask, the default gateway address , the MAC address desired , and the destination or Server IP address in which will give commands remotely to the security system and will also receive Alarm signals when the motion is sensed . and here ends the configuration , I didn’t really see any more necessary feature to add to the configuration ,but this doesn’t block the way for future improvement as minor adjustments could be made and the user could be given more flexibility in the future versions.
 

Server Mode : what happens when the alarm isn’t on

Well , in this mode , I added some features which I guess were essential and primary for this application . When I first thought about the design , I said hey ,, lets control all the damn house ,, why not right ? especially that the wiznet chip can tolerate such feature . But as time ran over I decided to stick to the main idea of security system . why would anyone control his home while he isn’t there ?!! He would just need to protect it ,,, and thus I optimized the control for security purposes only.

OK, what happens when the customer connects to the system . Off course everyone would expect there will be a password so not anyone who would connect to the system would mess up your house. So you must enter a password before you can send commands. The command set is limited actually for the purpose I mentioned above to be dedicated only for security. Therefore , you can turn the lights on and off . This feature looks at the first time as control but it is an effective way to say to the burglar stop , I am in the house and fully alert ... The burglar wouldn’t expect that you have my product.

Anyway, you can also change the destination IP address of the server in which it is eligible to connect to the system as you could change your location and as a result you may have to change the server address remotely. Off course, you have to logout after you finish configuration to be safe and secure that no one but you could log in to your system.

One nice feature I added is the ability to turn Lights on and off to convince any potential thief that the house is already occupied, so he would forget the whole operation from the start , and while it is a control feature , it is a very good security feature. PS: the led’s o/p could be connected to any relay’s input and it will work splendidly .
 
Client Mode : When a movement is sensed

When the system detects any motion through the PIR , It directly switches into the client mode . It reads the current time and sends the alert message containing the timestamp . As I mentioned before it keeps doing so for 5 minutes, stopes for 10 minutes and resume the operation if the alarm was still triggered and so on . Through these 10 minutes , it goes back to server mode just in case the customer know that it was a flow and wanted to turn it off.

Block Diagramm


I was really interested since I went to college to study communication systems ( I am now in the junior year in college in the CEE department, Communications and Electronic Engineering), to be able to monitor my home in my absence. This is a big issue here since most people in my country own summer homes in the mountains which remains unprotected and empty all winter . There were I first decided to build a compact remote security system designed for ordinary people to protect their valuables . I did chose the Internet as the abstract though, since through my search on the net it seemed very complicated and expensive . Therefore when I heard about the contest from my colleague I was both thrilled and surprised. Thrilled to find my call and surprised to hear about such a product. When the wiznet module first came three weeks ago I was so enthusiastic I began developing the module adapter right away .(The PCB was already published on the net , I just did the fabrication)
As I run over the datasheet I was really relieved that the module supports SPI as I usually chose components in embedded design to be compatible with SPI and I worked a lot with it on the past. It was really easy to control W5100 sing SPI and after I initialized The PORTS and the SPI registers , the rest was easy using the following function :

unsigned char spi_transfer(volatile unsigned char data)
{
SPDR = data; // Start the transmission
while (!(SPSR & (1<<SPIF))); // Wait for the end of the transmission
return SPDR; // return the received byte
}

It was a little disappointment though the lack of support for the SPI Interrupt handler . But It worked smoothly nevertheless .

After we have forgotten all about SPI using this function the next thing to do is to write functions which would be able to read and write to the module’s registers, and as you can see below, this wasn’t a hard job to do either .

unsigned char wiz_rd(unsigned int address)
{
unsigned char data = 0x00;
PORTB &= ~(1<<PIN_SLAVE_SELECT) ; //enable slave
spi_transfer(WIZNET_OPCODE_READ);
spi_transfer((address>>8) & 0x00FF);
spi_transfer(address& 0x00FF);
data = spi_transfer(DUMMY_DATA);
PORTB |= (1<<PIN_SLAVE_SELECT) ; // Disable slave
return data;
}
void wiz_wr(unsigned int address, unsigned int targetValue)
{
PORTB &= ~(1<<PIN_SLAVE_SELECT) ; //enable slave
spi_transfer(WIZNET_OPCODE_WRITE);
spi_transfer((address>>8) & 0x00FF);
spi_transfer(address & 0x00FF);
spi_transfer(targetValue);
PORTB |= (1<<PIN_SLAVE_SELECT) ; // Disable slave


And after this was done , my first task was to make the module accept the ping to its IP address. And unfortunately it was a challenge , why? ,, lets see .

As I first run the application ,, I was so surprised it didn’t work ,, I used the terminal to figure out where the problem was and my functions were 100% correct , I could write and read from the device register but still the ping command didn’t work .. That’s when I began to worry about being a problem with the module itself .Especially that the module wasn’t sending any signals for being alive . After days of manipulating the code and checking connections which led to re-examine the module’s adapter . Finally ,, I realized what the problem was , I noticed that the power-on LED faints every time I insert the module which led me to a theory that the current wasn’t enough for the module and I was right . By replacing the old adapter with a powerful 1200 mA adapter and that’s it. The module finally started to give response, both leds of the Rj45 jack were illuminating , and it successfully gave reply to my ping request . So I was relieved and went through with experimenting the W5100.
 
Why TCP

Actually I first started my project using UDP packets , and all operations went smoothly . Then again , I noticed that I needed a more reliable method for the security system as UDP is very unreliable , for the data loss is always possible , and you cant really figure out if you are really connected to the server or not . So TCP was undoubtedly a more secure solution for the system to work reliably as it requires .

The Transmission Control Protocol (TCP) is one of the core protocols of the Internet protocol suite. TCP provides reliable, in-order delivery of a stream of bytes making it very suitable for secure data communications .

This is the TCP packet simplified ,, scary isn’t it . But the great thing about W5100 is that

it relief you from all the messy work of having to worry about sequence number and checksums ,... etc .. And DO BELIEVE me when I tell you this because I suffered alot dealing with nokia’s F-bus protocol which has annoying checksum and sequence number fields . Anyways back to our subject , the W5100 Ethernet chips let you worry about handling only the data , and it stores the destination IP address and PORT address in special registers .
 
TCP MODES
Server Mode

TCP can act as a client or a server. Acting as a server it listens continuously for connection requests until a request is received .It off course keep monitoring in the process the PIR for any motion detection. In this stage, the peer IP address isn’t of great importance, since when you send back information to the client his IP address will be initially captured by the W5100 and stored in the proper registers. Although I thought of limiting the connection to the module as a server to only one IP address, but it seems the password solves the security problem as the customer may use a shared computer at work from one side , and for the other side , it makes space for more flexibility to send commands from everywhere and from any computer through the net. Therefore as you see I only locked the IP address in which the ALARM is sent to.
Here is how it is done :

server_mode:
mode=2;
Listen_TCP(Sock0); // Listen for requests on socket0
while (wiz_rd(Sn_SR(Sock0)) == SOCK_LISTEN)
{
if(Alarm) //if Alarm is detected -> connect to server
{
lcd_clear();
lcd_putsf("Alarm Detected");
goto tcp; //switch to client mode
}
}; //wait for request

 
Client Mode

When acting as a client it directly connects to the previously saved destination IP address and send an embedded message containing the alarm and the time of occurance. The rest of the functionality is as explained earlier is all about alarming for 5 minutes, suspension for ten minutes to allow disabling the alarm in case of a fault , and so on .
client_mode:

mode=1;
wr_dst_addr_TCP(Sock0,config_dst_ip_address,config_dst_port_address);
Connect_TCP(Sock0);

 
The PIR

Well the PIR was easy to interface, it has 3 pins : 1 connected to V+ , One to Ground , and one to the microcontroller . whenever body heat based movement is detected , the PIR triggers high and the microcontroller is notified and the info is transmitted . This sensor could be replaced with any similar sensor but the primary application for this project was protection against burglary , so this PIR fits perfectly.
The PIR is the Green PCB module in my hand

The LCD, Keypad, and the Timekeeper

Well, the LCD and the timekeeper had already developed functions embedded inside the CodeVisionAVR, so I used it directly to save time developing the projects and it fitted perfectly .

As for the keypad I had developed a software for the mission a year before, so this was a good opportunity to really use it.
Unfortunately I had a little error back then, the values of the first row are shifted right ! Looks like a keypad hardware error ,, BUT I over passed it by a little code manipulation as you see below so it worked with me perfectly.
 
Free Software Used

As for receiving packets and controlling at the other end you can use any free software available, I use Hercules , because it is easy to use and supports both TCP client and server .. So this software works perfectly . You can Use also Ethereal or any other similar free software.


Project Overview Block Diagram


Complete High Resolution Schematic



Parts List

As you can see above I used for this project in addition to the WIZ810MJ module :

1) ATmega16L microcontroller
2) 7.3728 MHz crystal oscillator
3) PIR
4) 2 33pF capacitors
5) A timekeeper
6) 1 65536 Hz oscillator for the timekeeper
7) 1 LCD
8) 1 Keypad
The overall cost was about : 2 $ for the keypad
5 $ for the PIR
2 $ for the timekeeper
1 $ for the oscillators
5 $ for the LCD
4 $ for the ATmega
None for the WIZ810MJ module ;)
Total cost = 19 $
Total cost (including the WIZ810MJ module real cost)=19+12 =31$ for a secure and reliable Ethernet based security system.



credit: http://www.electronics-lab.com/
Read More

How To Make Micro FM Transmitter

This is the standard model of Mr. Kogawa's simplest FM transmitter, which is slightly more complex than his most basic design in that it includes a trim capacitor to adjust the transmitting frequency. It can be powered by a 9V battery and uses a hand-turned copper coil.

I'm using the PCB and parts from Sonodrome's old kit, but the circuit is extraordinarily simple and could be built on perfboard or on a panel almost as easily. Sonodrome provides free PCB art if you want to etch your own board. Kogawa himself provides instructions for building the transmitter on an unetched copper-clad panel.

Relevant parts

  • Copper wire (4 inches), enameled, solid, 19 AWG or 20 SWG
  • 1/4" TRS jack, AKA "phono jack" Only tip and shield connections are used.
  • Battery holder clips, 9V, with 4" leads
  • PCB, bought or home-etched or use perfboard and jumpers.
  • Double-sided foam tape (1.5")
  • Case, glass, wood, or plastic use your imagination! Mine was salvaged from a thrift-store digital clock. A jelly jar works great, too!
  • Battery, 9V
  • Mini trim capacitor, 20 pƒ
  • Ceramic capacitor, 10 pƒ
  • Ceramic capacitor (2), 0.01 μƒ
  • NPN silicon transistor, BC337
  • Electrolytic capacitor, 1 uƒ
  • Metal film resistor, 470 Ohm
  • Metal film resistor, 10 K Ohm
  • Metal film resistor, 27 K Ohm
  • Multistrand hookup wire (8"), 24 AWG
  • Bubble wrap (6 sq in)

Tools
  • 3/8" drill bit
  • Audio signal source, with 1/4" phono out
  • Bolt or machine screw, 1/4-20 thread For use as a mandrel in forming the coil.
  • FM radio
  • Helping hands
  • Needle Nose Pliers
  • Scissors
  • Screwdriver, small To fit trim capacitor.
  • Side-cutting pliers
  • Soldering Iron and rosin core solder
  • Wire cutter/stripper
  • hand-held electric drill
Step 1 — Prep case 
  • Disassemble your case.
  • Mark and drill a 3/8" hole, in an appropriate location, for the TRS jack.
  • At this time, you may also want to drill mounting holes for a power switch and/or a power jack, if you choose to use an external supply.

standard image 1
standard image 2
standard image 3

Step 2 — Prep jack 
  • Strip about 1/2" from each end of two 4" pieces of 24 AWG hookup wire.
  • Tin the stripped ends.
  • Solder one end of one lead to the front leg of the 1/4" TRS jack, and one end of the other lead to the back leg.

standard image 1
standard image 2
standard image 3

Step 3 — Form coil 
  • Take a piece of 19 AWG enameled copper wire, about 4" long, and wind at least four turns about the threads of a 1/4-20 bolt or machine screw.
  • Rotate the bolt counterclockwise to unscrew the coil from the thread.
  • You want a total of four turns in the coil. Use small pliers to bend two legs down, as shown, and side-cutting pliers to clip them to about 1" long.
  • The mounting holes for the coil legs should be 12mm apart on the surface of the PCB. The act of installing the coil on the board should stretch it to the correct length, but you may have to tweak it a bit with pliers or a screwdriver to make sure the rate of coiling is even between the two legs.

standard image 1
standard image 2
standard image 3

Step 4 — Install components
  • Bend and slip the component leads into the correct holes in the PCB.
  • Carefully note and verify the correct orientation of the electrolytic capacitor and wire leads.
  • Bend the leads on the solder side of the board to temporarily secure the components in place. Clip them to about 1/4" to open up a bit of room to solder in.

standard image 1
standard image 2
standard image 3

Step 5 — Solder components
  • Clip the PCB, trace-side up, into your helping hands, or otherwise secure it, in a level horizontal orientation.
  • As always when soldering, be sure to work with plenty of ventilation and avoid inhaling fumes.
  • Flux, heat, and solder each lead in place.
  • Once the solder has cooled, clip any protruding leads with side or end-cutting pliers.

standard image 1
standard image 2
standard image 3

Step 6 — Mount PCB 
  • Mounting details will naturally vary with the case you choose. This foam-tape method worked great for my salvaged clock case, but your mileage may vary.
  • Attach a strip of double-sided foam tape to the featureless corners of the PCB, on the trace side, as shown. Each strip is about 1/4 x 3/4".
  • Do not attach tape directly over the traces, or you may damage them if you ever have to remove the tape.
  • Remove the backing from the foam tape strips on the PCB.
  • Making sure the leads are first correctly positioned, carefully orient the PCB and press it into place.

standard image 1
standard image 2
standard image 3

Step 7 — Tune circuit 
  • Connect a fresh 9V battery to the battery clip, and an audio signal to the TRS jack. I used the headphone jack of my laptop for an audio source.
  • Turn on your FM radio, and scan around looking for your signal. I found mine at around 99.8 MHz. It may be quite static-y and noisy at first.
  • Use a small screwdriver to adjust the trim capacitor, as shown, until your signal comes through loud and clear.

first image

Step 8 — Assemble 
  • Remove the washer and nut from the phono jack and thread it, from inside the case, through the hole you drilled in Step 1.
  • Put the washer over the threads and tighten the nut down from outside the case, to secure the jack. Finger-tight is fine.
  • Attach a 9V battery to the clip, pad it with a scrap of bubble wrap, and stuff it in the case before sealing up.
  • I'm going to to modify my transmitter with a jack for an external regulated power supply. You may want to do the same, or at least add a power switch between the battery and the board. But for testing purposes, this set-up will suffice.


standard image 1
standard image 2
standard image 3

Step 9 — Use it! 
  • Turn your radio on again, pick it up, and walk away from the bench 'til the signal fails. Mine was loud and clear to about 30 feet.
  • Depending on where you live, operating even a very short range FM transmitter like this, without a license, may conflict with applicable laws and/or regulations. Be sure to investigate carefully before turning it on, and err on the side of caution if in doubt.
first image


Read More