Saturday, 14 January 2017

SSID ( Service Set Identifier )


SSID ( Service Set Identifier )



SSID is simply the technical term for a network name. When you set up a wireless home network, you give it a name to distinguish it from other networks in your neighbourhood. You'll see this name when you connect your computer to your wireless network. WPA2 is a standard for wireless security.

Wired Equivalent Privacy (WEP) Protocol



Wired Equivalent Privacy (WEP) is a security protocol, specified in the IEEE Wireless Fidelity (Wi-Fi) standard, 802.11b, that is designed to provide a wireless local area network (WLAN) with a level of security and privacy comparable to what is usually expected of a wired LAN.





Serial Peripheral Interface

The Serial Peripheral Interface (SPI) bus is a synchronous serial communication interface specification used for short distance communication, primarily in embedded systems. The interface was developed by Motorola in the late eighties and has become a de facto standard. Typical applications include Secure Digital cards and liquid crystal displays.



From
Vishnu Kiran Maragani



Friday, 12 August 2016

LIST OF LINKS: REAL TIME CLOCK (RTC)

READ DATA FROM MICROCONTROLLER ( C# CODE )

using System;
using System.IO.Ports;
using System.Threading;

class PortDataReceived
{
    static SerialPort mySerialPort = new SerialPort("COM2");
    static bool _continue;
    static string indata;
    public static void Main()
    {
     
       
        Thread readThread = new Thread(Read);

        mySerialPort.BaudRate = 9600;
        mySerialPort.Parity = Parity.None;
        mySerialPort.StopBits = StopBits.One;
        mySerialPort.DataBits = 8;
        mySerialPort.Handshake = Handshake.None;
        mySerialPort.RtsEnable = true;
        mySerialPort.ReadTimeout = 500;
        _continue = true;
        mySerialPort.DataReceived += new SerialDataReceivedEventHandler(DataReceivedHandler);

        SerialPort.GetPortNames();

        mySerialPort.Open();

        readThread.Start();
        Console.WriteLine("`");
        Console.ReadKey();
        mySerialPort.Close();
        Console.WriteLine("Press enter to to quit;");
        Console.ReadKey();



    }


    public static void Read()
    {
        while (_continue)
        {
            Thread.Sleep(2300);
            try
            {
                mySerialPort.WriteLine("`");
                //string message = mySerialPort.ReadLine();
                // Console.WriteLine(message);
            }
            catch (TimeoutException) { }
        }
    }


    public static void DataReceivedHandler(
                        object sender,
                        SerialDataReceivedEventArgs e)
    {
        SerialPort sp = (SerialPort)sender;
        indata = sp.ReadExisting();
        Console.Write(indata);

        string filePath = string.Format(@"D:\test\{0}.txt", Guid.NewGuid().ToString());
        /* ********Text file Generwting***********/
        using (System.IO.StreamWriter file =
           new System.IO.StreamWriter(filePath, true))
        {
            file.WriteLine(indata);
        }
    }
}

Friday, 13 May 2016

LOOPING AND JUMPING INSTRUCTIONS: DJNZ

Instruction: An instruction is an order or command given  to processor by a computer program,  set of instruction is known as program.

The DJNZ instruction decrements the byte indicated by the first operand and, if the resulting value is not zero, branches to the address specified in the second operand.

The INC instruction increments the specified operand by 1

The JZ instruction transfers control to the specified address if the value in the accumulator is 0. Otherwise, the next instruction is executed. Neither the accumulator nor any flags are modified by this instruction.



REFERENCE:



Tuesday, 3 May 2016

Registers

The CPU uses registers to store information temporarily,   The information could be two values to be processed or the address of the value needed to be fetched from the memory.

Registers inside CPU  can be 8-bit,16-bit,32-bit or event 64-bit registers.