Thursday, August 15, 2019
The Curious Case of Benjamin Button
After his mother dies giving birth to him on the day of victory in World War I in 1918, Benjamin is taken by his father, Thomas Button (Jason Flemyng), and deposited on the doorstep of a home for the elderly. That is fitting since the infant looks like an 80-year-old man with sagging skin, cataracts, and wrinkles all over is body. Queenie (Taraji P. Henson), an African-American attendant at the place, finds him. She immediately decides that baby who is ââ¬Å"as ugly as an old potâ⬠is a child of God who must be cared for, no matter how difficult that may be. And so Benjamin (Brad Pitt) the man-child grows up in the presence of elders who share their stories with him and accept him as one of their own; they are all outsiders in a country where youth is worshipped and the elderly are viewed as obsolete. Benjamin starts out in a wheelchair and proves himself to be a great listener: everyone wants to tell him what they've been through in life. A man with a poor memory points out again and again that he was struck by lightening seven different times. ââ¬Å"God keeps reminding me I'm lucky to be alive. A wealthy woman who keeps to herself teaches him to play the piano. A gregarious visitor, an African bushman (Rampai Mohadi), takes a fancy to the man-boy and introduces him the joys of sex in a bordello. At the age of 12, Benjamin looks about 70. He meets Daisy (Elle Fanning), the granddaughter of one of the residents at the home. They become instant friends and forge a bond which will last for a long time. In fact, Benjamin's story is shown i n flashbacks as Daisy lies near death's door in New Orleans at the time of Katrina. As the winds howl outside, her 40-year-old daughter Caroline (Julia Ormond) reads to her from a diary filled with pictures and postcards about this strange man who played such a major role in her life. At age 17, Benjamin is much younger and stronger. He leaves New Orleans for life aboard a tugboat that is piloted by Mike (Jared Harris), a colorful character with tattoos and a love of liquor. He travels to many cities and in Murmansk encounters Elizabeth (Tilda Swinton), who is intrigued by his mysteriousness. Although married, she begins a brief affair with Benjamin and introduces him to the pleasures of caviar, night-time dialogue, and sex. Benjamin also tastes the rush of adrenalin in war when he and the tugboat crew take on a Nazi U-boat that has just sunk a troop transport in World War II. Many of his shipmates are killed in the clash. Benjamin returns to New Orleans in 1945 and encounters his father, a rich entrepreneur who runs a button business. He is a lonely old man who is dying and wants to reconnect with the boy he ditched years ago. Instead of showing anger or seeking revenge, Benjamin treats him with kindly compassion for he has come to realize that death is a tender moment that must be treated with respect and dignity. Daisy (Cate Blanchett) is now a renowned dancer in New York who stops by for a visit. She has read his postcards from around the world and still feels they are soulmates. She tries to seduce him, but he is not ready for the changes that he sees in her. But after he inherits his father's estate, he travels to New York to be with her. But now she is too caught up in the drama and excitement of her career and artist friends. There is more to their relationship as new twists and turns bring them together again as Benjamin grows younger and more handsome. The Curious Case of Benjamin Button is one of the best films of the year with its complex story, idiosyncratic characters, and treatment of the themes of love, time, aging, youth, change, death, and the impermanence of life. David Fincher directs this soulful movie with a marvelous attention to detail and pacing. The secret to the film's powerful impact is the terrific screenplay by Eric Roth who wrote Forrest Gump, a 1994 movie that was also a picaresque tale about a strange outsider and his wild adventures. The Curious Case of Benjamin Button is based on a short story by F. Scott Fitzgerald that has been substantially changed for the screen. Another plus is the melodic and impressive music by Alexandre Desplat. What does Benjamin learn from his odd condition that makes him grow younger instead of older? What are the lessons of his adventures that take him around the world and back home again? At one point, he says: ââ¬Å"You can change or stay the same. There are no rules to this thing. You can make the best or the worst of it. â⬠Benjamin always keeps an open mind and uses each encounter as an opportunity to soften his heart. He makes the best of bad situations and does not allow them to bring him down. He demonstrates an equanimity that enables him to handle failure and success, defeat and victory, with calm. One of his favorite mantras is ââ¬Å"You never know what's coming for you. â⬠It is best to see everything as a mystery that does not need to be solved or explained away. Just live in the present moment and savor what presents itself to you. A sense of wonder is a trademark of Benjamin's personality. As a man-child in the home for the elderly, he listens to the house breathing. As a child-man he savors the start of the day looking out over the water just like his father did. Benjamin learns how to let go and not to cling to anyone: ââ¬Å"We're meant to lose the people we love. How else will we know how much they meant to us? â⬠From start to finish, this character tries to be himself, accepting his flaws and celebrating his strengths as a human being: ââ¬Å"It's never too late or too early to be whoever you want to be. The Curious Case of Benjamin Button reminds us that the best thing we can do is make the most of our journey and be thankful for the people we meet along the way. It's all gift. Benjamin embodies the zest for life described in one of our favorite quotations by Diane Ackerman: ââ¬Å"The great affair, the love affair with life, is to live as variously as possible, to groom one's curiosity like a high-spirited thoroughbred, climb aboard, and gallop over the thick, sunstruck hills every day. . . It began as mystery, and it will end in mystery, but what a savage and beautiful country lies in between. ââ¬Å"
Wednesday, August 14, 2019
Sms Based E Notice Board
Abstract The goal of this project is to design an embedded device which can control up to 8 devices by sending a specific SMS message from a cell-phone. This controller is extremely handy at places where we have to control the ON and OFF switching of the devices but no wired connection to that place is available. To implement this, a GSM modem is connected to a programmed microcontroller which would receive the SMS from a reference cell phone. The control signal part of the received SMS is extracted and is changed to microcontroller-preferred format.In regular intervals, the modem would also send the local temperature We have selected GSM because the ubiquity of its standard makes international roaming very common between mobile phone operators, enabling subscribers to use their phones in many parts of the world. A PC which is connected to the micro-controller using a serial communication through RS232 can be used for monitoring and transmission of the control signals to the modem. T he monitoring is also done by interfacing a LCD to the microcontroller. AT commands were used for controlling the functionality of modem. Main hardware requirements:Renesas SKP16C62P Starter Kit Plus This contains the micro-controller. (used for controlling the different external devices connected as per the SMS received ) GSM modem (GM28 from Sony-Ericsson) This GSM/GPRS terminal equipment is a powerful, compact and self contained unit with standard connector interfaces and has an integral SIM card reader. It is used for receiving the SMS from the mobile device and then to transmit to the Renesas SKP. A MAX232 chip This converter chip is needed to convert a TTL logic from a Microcontroller (TxD and RxD pins ) to standard serial interfacing for PC (RS232) A DB9 connectorThis takes the signals coming form the MAX232 chip to the PC. The typical applications of this serial modem is for developing a wide range of equipment like Security and alarms devices Monitoring and control devices Vending machines Utilities devices Fleet Management devices Embedded Project- ECE 5101 Page 3 2. Project Description Renesas SKP16C62P Starter Kit Plus Device 1 Device 2 MAX 232 Device 8 DB9 Connector DB9 Connector GM28 (GSM Modem with SIM card working in 850 MHz /1900 Hz) Antenna Computer (For displaying the received SMS) Figure 1: Block diagram of the project setupInitially the SMS is received from the person authorized to use this setup (destination) by the GSM modem (GM28) & is transferred to the Renesas SKP16C62P SKP with the help of a MAX 232 chip. As per the AT commands given by the microcontroller to the modem, the control signal from the SMS is extracted and is used to control the devices connected to it. We have to convert the ââ¬Ëseptets' of the phone to ââ¬Ëoctets' because the micro-controller need bytes with 8 bits length ( The ââ¬Ëseptet' is 1 byte with 7 bits length and ââ¬Ëoctet' is 1 byte with 8 bits length). All this process is necessary to decode the m essage from SMS.A program (for extracting the control signal part from received SMS) is loaded into Renesas SKP16C62P SKP, and then the circuit is connected to the modem. The microcontroller now tries to read the SMS from the 1st memory location of the modem and it keeps trying again until the modem receives any (programmed for every one second). Before implementing the control signal part of the SMS, the modem extracts the number from the SMS and verifies if this number has the access to control the device or not. For controlling the devices, the message will be sent in hexa decimal format.The hex data is converted to the equivalent binary and the particular output is enabled. For example if the message is ââ¬Å"ABâ⬠the equivalent binary is ââ¬Å"10101011â⬠this implies that the output 1, 3, 5, 7, 8 are enabled and the remaining ports are disabled. We have connected LEDs to the ports of microcontroller to show the output and their status indicates whether the ports are set to ââ¬ËONââ¬â¢ or ââ¬ËOFFââ¬â¢. The microcontroller is also programmed to read the temperature from the thermistor every 15 minutes and to send a SMS to the destination number. Embedded Project- ECE 5101 Page 4 3. Device Description 3. 1. Renesas SKP16C62P Starter Kit PlusThe SKP16C62P StarterKit Plus (SKP) is a low-cost environment for evaluating M16C/62P group of microcontrollers (MCU) and Renesas Technology America, Inc. software development tools. The SKP board provides an evaluation and development environment for the M16C/62P group of MCU. It has pushbutton switches, LEDââ¬â¢s and LCD for user interface. Standard connector ports are available to expand the range of applications through the use of expansion boards, etc. The kit comes with an integrated software development environment, HEW (IDE, C-compiler, assembler, and linker), KD30 Debugger, and FoUSB (Flash-overUSBâ⠢) Programmer.A real-time, source-level debug environment is implemented using the K D30 debugging software with the RTA-FoUSB-MON Flash Programmer/In-Circuit Debugger (ICD). The Flash-over-USBTM (FoUSB) Programmer software, with the ICD, allows in-system programming of the M16C/62P flash MCU. The ICD and firmware provide a convenient USB (Universal Serial Bus) interface between the SKP16C62P board and the host PC. This interface reduces resource requirements on the M16C/62P MCU, allows faster code downloads and, can also be used with many other Renesas Flash MCUââ¬â¢s, SKPââ¬â¢s, and userââ¬â¢s target board.Figure 2: SKP16C62P System Connectivity (From the hardware manual of SKP16c62P ) Embedded Project- ECE 5101 Page 5 3. 2 GSM modem: (GM28 from Sony-Ericsson) Figure 3. a Figure 3. b Figure 3. c Figures 3. a, 3. b and 3. c show the different views of the GSM modem GM28 (From the Hardware Manual of GM28 Modem) The Global System for Mobile Communications (GSM) is the most popular standard for mobile phones in the world. It is the European standard for digit al cellular service that includes enhanced features. It is based on TDMA technology and is used on 850/1900 MHz. We are using the GM28, a GSM modem from Sony-Ericsson.This is a powerful GSM/GPRS Terminal with compact and self-contained unit. This has standard connector interfaces and has an integral SIM card reader. The modem has a RJ9 connector through which a speaker and microphone can be connected allowing audio calls being established, but this feature is not utilized in this project as only data transfer is needed. Following are few technical details of the modem. Interfaces: â⬠¢ Data: RS232 9ââ¬âway (V. 28) â⬠¢ Power and Extended I/Os: 5 ââ¬â 32VDC (RJ11) â⬠¢ Audio 4-wire Handset Interface (RJ9) â⬠¢ Antenna: 50 (FME male) â⬠¢ SIM card reader: 3V/5V interface with SIM detectionFeatures: â⬠¢ ME + SIM phone book management ââ¬â read/write/find, call screening, groups â⬠¢ SIM Application Toolkit Class 2 â⬠¢ Real Time Clock â⬠¢ Softwa re upgradeable â⬠¢ Audio control â⬠¢ Fixed dialing number â⬠¢ UCS2 16 bit data supported. Embedded Project- ECE 5101 Page 6 SMS features â⬠¢ Supports both Text and PDU modes â⬠¢ MT/MO & CBM â⬠¢ Cell Broadcast â⬠¢ Concatenation ââ¬â up to 6 SMS The TT4030 (SE-GM28) uses the following industry standard connectors to interface with the external application and the GSM network; â⬠¢ â⬠¢ â⬠¢ â⬠¢ â⬠¢ RJ11 (plug-in power supply connector). RJ9 (handset audio connector) Integral SIM card reader.FME male (antenna connector). Sub-D socket, 9 pin (RS232 serial port). 3. 3. Power Connections All electrical connections to the TT4030 (SE-GM28) are designed to meet the standard air (4 kV) and contact (8 kV) discharge ESD tests, of EN 301 489-1. Figure 4 RJ11 connector as power supply to the modem (From the Hardware Manual of GM28 Modem) 3. 4. Antenna Connections The used antenna (Figure 4. a) operates at 850/1900 MHz which is suitable for transmit ting and receiving of RF signals for the GSM modem (GM28) used. Some of the key features of this antenna are: â⬠¢ Bandwidth is 280 MHz â⬠¢ VSWR is +3. 0V Signal = 1 (HIGH) < -3. V Embedded Project- ECE 5101 Page 9 Pin No. Name Notes/Description 1 DCD Data Carrier Detect 2 RD Receive Data (a. k. a RxD, Rx) 3 TD Transmit Data (a. k. a TxD, Tx) 4 DTR Data Terminal Ready 5 SGND Ground 6 DSR Data Set Ready 7 RTS Request To Send 8 CTS Clear To Send 9 RI Ring Indicator Table 1 Pin description of a DB9 connector 6. GM28 in a Communication System Figure 10, Illustrates the main blocks of a wireless communication system using the TT4030 (SE-GM28). It also shows the communication principles of the system. The definitions in the figure are in accordance with the recommendations of GSM 07. 7. The MS (mobile station) represents the TT4030 (SE-GM28) modem plus SIM card. The modem excluding SIM card, is known as the ME (mobile equipment). The TE (terminal equipment) is a micro-controller and is a part of the application. Figure 10. a Main blocks in communication between the GM28 (modem) and the microcontroller (TE) (From the Hardware Manual of GM28 Modem) The end-to-end communication path to be established between the external telemetry/ telematics application and a remote terminal or host, via the GSM network is done through the serial communication.Serial data with flow control according to the RS232 signaling protocol operates between the modem and the external application. The modem performs a set of telecom services (TS) according to GSM standard phase 2+, ETSI and ITU-T. Control of the TT4030 (SE-GM28) is by the external application, via the RS232 serial interface, using a set of AT commands. The TT4030 (SEGM28) supports the full set of AT commands according to GSM 07. 05 and GSM 07. 07. It also supports an extended set of Ericsson proprietary AT commands to add extra functionality. Embedded Project- ECE 5101 Page 10AT commands are used to operate the modem a nd have a broad range of Functions including: Configuring general parameters of the modem (SE-GM28) Setting up and controlling communications to and from the GSM Network Configuring the modem to communicate across the RS232 serial interface Obtaining GSM network status information. Figure 10. b Interface between the GM28 (modem) and microcontroller (TE) (From the Hardware Manual of GM28 Modem) The modem also supports the Voice, Data, Fax services but since these are not required for the current application, they are not taken into consideration as of now. . AT commands The AT command set is the fundamental interface with the modem. An AT command is simply a string of characters preceded by the AT prefix that is sent to the modem. The commands typically instruct the modem to perform some action or set some characteristic within the modem. The modem has two states: command state and on-line state. In command state, the modem will accept and respond to AT commands. In the on-line state , the modem will transmit data, but ignore AT commands. Typically the modem is in the on-line state after dialing.AT commands has the following format: The command is prefixed with AT (Attention) The command is terminated by a carriage return (except the A/ command and escape sequence). The commands can be entered in upper case or lower case. The AT prefix can be in upper case or lower case, but both the A and the T must be the same case. Characters that precede the AT prefix are ignored. Multiple commands can be strung together on a single line and spaces may be included between commands but are not necessary. The command line interpretation begins upon receipt of the carriage return.These commands are used for request information about the current configuration or operational status of the mobile phone/modem and test availability and request the range of valid parameters, when applicable, for an AT command. Embedded Project- ECE 5101 Page 11 General Syntax of AT-Commands: Basic AT [=] [] Extended AT+= [] AT*= [] Read command AT+? AT*? AT? Test command AT+=? AT*=? Response command AT+ : AT* : Important AT command used to Test and Design: 1) ATD To dial a voice call from the modem. 2) AT+IPR To set the baud rate for the modem ( here for our application the baud rate is set as 9600) ) ATA To answer an incoming call. 4) AT+CHUP To hang up the initiated call. 5) AT+CFUN To set the phone functionality. Set to 0 to deactivate the modem. 6) AT+CLIP To identify caller number this command is set to 1 7) AT+CLIR For calling line Identification Restriction. 8) AT+CNUM To identify the subscriber number. 9) AT+CMGR To read the message at particular location . The location number is given as index. 10) AT+CMGD To delete the received message 11) AT+CMGS To send the message. 12) AT+CMGF To change the message format to PDU or Text mode. 13) AT+CMGL To see all the list of messages. 4) ATE To enable and disable command echo. 8. Installation and Functionality of modem To install this modem in the communication system to PC, the following procedure is adopted: â⬠¢ â⬠¢ â⬠¢ Select the phone and modem options from the control panel. By browsing the disk for the modem drivers, the modem is selected and configured to a particular port through which it is connected to the PC. The terminal package like HyperTerminal is selected in the initial stage to check the functionality of the AT commands to control the GSM modem and later this hyper terminal is just used to monitor the serially received output.Hence finally a three way communication is established, the modem directly communicates with the micro controller to control the switching of devices externally and the hyper terminal package in PC is used just for monitoring the results (hence only receive and ground of connected to the PC). Embedded Project- ECE 5101 Page 12 â⬠¢ â⬠¢ The parameters for serial communication can be set in two ways; either by terminal equipment or by serial communicat ion with the micro controller. It should be noticed that the DTR pin should be enabled high in the initial tage to turn-on the modem, for this flow control of hardware is to be taken and the communication initially is 115200 bauds/second with 8-n-1 configuration (i. e. 8-Data bits, Parity none and 1-Stop bit). Later the baud rate can be changed to 9600 bps through the AT command: AT+IPR = . The settings for the hyper-terminal should have the default input translation and ASCII setup, the emulation can be either VT100 (preferable) or Auto-detect. To setup the serial port the following procedure has been followed: â⬠¢ â⬠¢ â⬠¢ Select system from the control panel and thereby select the device manager in the hardware option.Now the exact serial COM port where the modem is configured is selected manually. Select port settings and then bits per second to get the exact baud rate. Now that the modem is configure itââ¬â¢s the task of setting up the volatile profile and enter t he AT commands required to select the SIM memory and then extract the text message. Hence, serial communication is established between GM28 and the microcontroller using a DB9 connector with a level shifter (MAX232). A level shifter is connected between the microcontroller (SKP) and the modem/computer and null modem connection is connected for the DB9 connector.The above discussed points are depicted in the Figure 9. Figure 9 Circuit for connecting the microcontroller to the modem/computer Embedded Project- ECE 5101 Page 13 9. Short Message Service (SMS) The GSM GM28 Modem supports the following SMS services. Sending, MO (mobile-originated) with both PDU (protocol data unit) and text mode supported. Receiving, MT (mobile-terminated) with both PDU and text mode supported. CBM (cell broadcast message), a service in which a message is sent to all subscribers located in one or more specific cells in the GSM network. This feature is network dependent.SMS STATUS REPORT according to GSM 03 . 40. SMS COMMAND according to GSM 03. 40. It should be noted that the maximum length of an SMS message is 160 characters when using 7- bit encoding. For 8-bit data, the maximum length is 140 characters. The Modem supports up to 6 concatenated messages to extend this function. Before we start working on the application design we should ensure the network subscription status Before the application is implemented, we must ensure that the chosen network provides the necessary telecommunication services. Else, the service provider should be contacted to obtain the necessary information.Since SMS features are used in this application, we have to ensure that these are included in the (voice) subscription. 10. PDU SMS format: There are two ways of sending and receiving SMS messages: by text mode and by PDU (protocol description unit) mode. We can switch from text mode to PDU mode and vice versa by selecting the AT+CMGF command. If AT+CMGF = 0 then PDU mode is selected and if the mode is 1 then text mode is selected. The text mode is just an encoding of the bit stream represented by the PDU mode. If we read the message on the phone, the phone will choose a proper encoding.An application capable of reading incoming SMS messages can thus use text mode or PDU mode. If text mode is used, the application is bound to the set of preset encoding options. In some cases, that's just not good enough. If PDU mode is used, any encoding can be implemented. The PDU string contains not only the message, but also a lot of metainformation about the sender, its SMS service center, the time stamp etc. But as of now for our application we require the phone number of the caller for authentication and the length of the message and the text message which contains the binary message.Let us take a example for the text message of ââ¬Å"abcdefâ⬠. This message contains apart from the basic text message a lot of redundant data (meta information about the sender). In PDU mode the SMS looks li ke: 07914140279542F7000B816187220731F700006010413283900A0661F1985C3603 In TEXT mode the SMS looks like: +CMGR: ââ¬Å"REC READâ⬠,â⬠16782270137â⬠³,,â⬠06/01/14,23:56:1720â⬠³,129,0,0,0,â⬠+14047259247â⬠³,145,6 abcdef Embedded Project- ECE 5101 Page 14 The octets of the PDU message contain lots of information, in the above example the PDU can be divided and different octets signify the following information: 07 Length of SMSC information. 1 Type of address of SMSC. 4140279542F7 Encoded Service center number. 00 First octet of SMS delivery message. 0B Address length of the sender message. 81 Type of address of the sender number. 6187220731F7 Sender number with a trailing F. (number is 16872270137). 00 TP-Protocol Identification Address. 00 TP-Data coding Scheme. 601041328390 TP-SCTS Time stamp. 0A TP-User data length. 0661F1985C3603 Encoded Message ââ¬Å"abcdefâ⬠. All the octets are hexa-decimal 8-bit octets, except the Service center number, the send er number and the timestamp; they are decimal semi-octets.The message part in the end of the PDU string consists of hexa-decimal 8-bit octets, but these octets represent 7-bit data. Basically the transformation of the septets to the octets is based on the GSM 03. 38 standard. This is helpful when we try to communicate with the PDU mode but if we use the CMGF command then text mode is activated to get the converted text message. So to get the message in the Text message we need to send the following commands AT+CMGF=1 to activate the text mode AT+CMGS=1 to check whether the modem supports the SMS message or not.AT+CMGR=I to read the message at the location I in the SIM card. 11. Code /*******************************************************************/ /* FILE :main. c DATE : Jan 2nd 2006 /* */ DESCRIPTION :Main Program To receive SMS from GM28 and to extract the control information part, then to control LEDs accordingly. Send the ambient temperature as SMS back to the user. AUTHORS: B. VAMSEE KRISHNA ; B. PRANEETH KUMAR */ /******************************************************************/ #include ââ¬Å"skp_bsp. hâ⬠// include SKP board support package #include ââ¬Å"string. hâ⬠void uartinit();Embedded Project- ECE 5101 Page 15 unsigned char result; char sms_text[200],sms_msg[10],num_text[10]; unsigned int f,f1,t,time=0,k=0,count=0,p=0; /* Prototype declarations */ void mcu_init(void); // MCU initialization void main(void); void timer_init(void); void uartinit(void); int map(char); #pragma INTERRUPT rx_isr void rx_isr(void); /* DEFINE QUEUES*/ #define Q_SIZE (200) typedef struct { unsigned char Data[Q_SIZE]; unsigned int Head; // points to oldest data element unsigned int Tail; // points to next free space unsigned int Size; // quantity of elements in queue Q_T; Q_T tx_q, rx_q; int Q_Empty(Q_T * q) { return q-;gt;Size == 0; } int Q_Full(Q_T * q) { return q-;gt;Size == Q_SIZE; } int Q_Enqueue(Q_T * q, unsigned char d) { // if queue is full, abort rather than overwrite and return // an error code if (! Q_Full(q)) { q-;gt;Data[q-;gt;Tail++] = d; Embedded Project- ECE 5101 Page 16 q-;gt;Tail %= Q_SIZE; q-;gt;Size++; return 1; // success } else return 0; // failure } unsigned char Q_Dequeue(Q_T * q) { // Must check to see if queue is empty before dequeueing unsigned char t=0; if (! Q_Empty(q)) { t = q-;gt;Data[q-;gt;Head]; -;gt;Data[q-;gt;Head++] = 0; // empty unused entries for debugging q-;gt;Head %= Q_SIZE; q-;gt;Sizeââ¬â; } return t; } void Q_Init(Q_T * q) { unsigned int i; for (i=0; iData[i] = 0; // to simplify our lives when debugging q->Head = 0; q->Tail = 0; q->Size = 0; } void timer_init(void) { //Timer initialisation ta0mr = 0x80;//timer mode ta0 = 0x927C;//for 50 msec delay ta0ic = 0x03;//timer priority tabsr=0x01; // starting the timer Embedded Project- ECE 5101 Page 17 } int map(char c) { int a=(int)c; switch (a) { case 48: return(0); break; case 49: eturn(1); break; case 50: return(2); break; case 51: return(3); break; case 52: return(4); break; case 53: return(5); break; case 54: return(6); break; case 55: return(7); break; case 56: return(8); Embedded Project- ECE 5101 Page 18 break; case 57: return(9); break; case 65: //returns 10 if ââ¬ËA' is entered return(10); break; case 97: //returns 10 if ââ¬Ëa' is entered return(10); break; case 66: //returns 10 if ââ¬ËB' is entered return(11); break; case 98: //returns 10 if ââ¬Ëb' is entered return(11); break; case 67: //returns 10 if ââ¬ËC' is entered return(12); break; ase 99: //returns 10 if ââ¬Ëc' is entered return(12); break; case 68: //returns 10 if ââ¬ËD' is entered return(13); break; case 100: //returns 10 if ââ¬Ëd' is entered return(13); break; case 69: //returns 10 if ââ¬ËE' is entered return(14); break; case 101: //returns 10 if ââ¬Ëe' is entered Embedded Project- ECE 5101 Page 19 return(14); break; case 70: //returns 10 if ââ¬ËF' is entered return(15); break; case 102: //returns 10 if â⬠Ëf' is entered return(15); break; default: break; } } #pragma INTERRUPT timer_a0 void timer_a0(void) // the timer is set for every 50 milliseconds
Tuesday, August 13, 2019
Detecting preventing or mitigating DoS or Distributed DoS attacks Research Paper
Detecting preventing or mitigating DoS or Distributed DoS attacks - Research Paper Example This process requires a large network of computers running malicious program. To acquire the network, the attacker uses software that recruits vulnerable computers (Glen, 2013). That is, the computers with improperly patched antivirus, out of date antivirus and without antivirus (FU, 2012). To recruit machines into his/her DDoS attack, the attacker may follow several processes. Firstly, the attacker may use a machine infected with malicious programs to search, find, and infect another machine (Patrikakis, Masikos, & Zouraraki, n.d.). The infected machine joins the previous in the haunt of the unprotected machine and infects them. Secondly, the attacker may create a long list of the machine he/she want to recruit before infecting them with the malicious software to make them join his/her army of attacking computers (Glen, 2013; Patrikakis, Masikos, & Zouraraki, n.d.). Notably, some public servers, when compromised, become effective to the attacker when creating the hit list (Patrikakis, Masikos, & Zouraraki, n.d.). For instance, the attacker may run topological scanning where one machine is infected and finds other machine to infect through url it stores (UMUC, 2012). Local subnet scanning uses a compromised host to attack another computer within its own network without firewall detection as it uses the information stored in the local addresses (UMUC, 2012). Lastly, permutation scanning infects the machines allocated a regular pseudorandom combination record of IP addresses (Patrikakis, Masikos, & Zouraraki, n.d.). It searches for uninfected machine in the IP addresses and infect it. When it identifies the infected machine, it jumps over it to the uninfected (UMUC, 2012). The process stops when the infected machine finds several infected machines while it scans (Patrikakis, Masikos, & Zouraraki, n.d.). There are various frames used in the wireless network as a way of
Monday, August 12, 2019
Budgeting Assignment Essay Example | Topics and Well Written Essays - 1500 words
Budgeting Assignment - Essay Example ndividual budget estimates, Suggesting revisions in individual budget estimates ,Approval of budget and later revisions., Receiving and analyzing budget reports, recommendations of actions needed and designed to improve efficiency where necessary. Cumulative efforts are made at all levels , at the decision making process for establishing targets and making estimates and at the implementation phase also when the budgeted target has to be achieved. Otley (1999) suggests that the budgetary control process provides an encompassing framework through which all aspects of an organizationââ¬â¢s activity are summed up into a single set of financial statements but at the same time It acts as a valuable source of monitoring the actual outcomes with the budgeted and also helps to identify and eliminate the inefficiencies in an organization performance, for example. In some type of businesses where there is rapid change in current environment conditions because of any economic or social factors, frequent budget changes are avoided because budget revision are considered as time consuming and loss in budgetary control. Itââ¬â¢s difficult to avoid the inevitable distorting effects arisen when managers are rewarded for achieving the budget targets. This can be reduced by giving some proper and justified incentive schemes like bonuses or overtime premium or any other reward system to the subordinates. It should be kept in mind that it is the overall collective team effort and the usually the pressure is usually taken by the middle and lower level management to meet the targeted goals. For example preparation of purchase budget can never be made without the production budget in any manufacturing concern. The purchase department must know the targeted production in order to estimate the amount and qty of raw material required for the finished goods. Similarly, the sales budget is a prerequisite of making a production budget because the production department must be aware
Sunday, August 11, 2019
Sentiment in financial markets Essay Example | Topics and Well Written Essays - 1750 words
Sentiment in financial markets - Essay Example But if you have no feel for what the expectational environment is, you're kind of flying blind. You might have a good feel for the fundamentals and the technicals, but very often it's the expectational backdrop that makes the difference. For example, many investors are frustrated because they own a stock and the stock's earnings meet or perhaps even exceed expectations. And lo and behold, the stock goes down and people are at a loss to explain why. But for other stocks, the earnings come in and exceed expectations, and the stock skyrockets. Why the difference The reason is sentiment. Very often, the sentiment had been excessively bullish before the positive earnings report. In the days before the announcement, there may have been a heavy accumulation of call options. So there is a lot of anticipatory buying of the stock, which then pretty much has run its course when the earnings come out. But with these and other measures, you must wait until they get to some kind of extreme level before they carry contrary implications. For example, when everybody who could potentially be bullish is already bullish, then essentially most of the buying power in that particular market has been dissipated. At that point, the market becomes very vulnerable to selling because there isn't enough buying to offset the selling. Similarly, if only a very, very smal... Perhaps they have even shorted the market. That means the market has become more primed to move upward because if buyers should come in they will not encounter much selling pressure because the selling has already occurred. So imagine a poll today that says 80 percent of futures traders are bullish. Remember that people, whether futures traders or individual investors or market-letter writers, tend to be trend followers. Their opinion tends to be a reflection of what's going on in the market. So if 80 percent are bullish that doesn't mean that the market is at its peak. No. 1, you would expect them to be bullish, and, No. 2, they can always get more bullish. I think this points out a trap that the bears have fallen into. They've noticed signs of bullishness, namely the amount of money that's flowing into mutual funds, the investment clubs, the Beardstown Ladies' books and so on. You get into trouble when a market is in a powerful technical trend and you analyze it without reference to the fact that you expect people to be bullish in a bull market. When a stock rises on positive earnings, which also occurs often, there may have been a lot of concern about the earnings report and investors may have bought a lot of put options, or shorted the stock. Without a measure of sentiment that is accurate, you can go down all kinds of blind alleys. Some of those who have been bearish on the stock market will tell you that there are many more investment clubs than there were 15 years ago, or that mutual funds now outnumber the stocks on the Big Board. These are all good cocktail-party things to talk about, but they're not really measures of sentiment that have parameters associated with them. They're just anecdotal. Academic
Personal Action Plan Statement Example | Topics and Well Written Essays - 1000 words
Action Plan - Personal Statement Example The first thing scholars need to know how to do is an effective library and/or internet search. Before a search can be started the student needs to choose keywords which will narrow down the search criteria. For example, if a student is considering doing a paper on the Civil War and reconstruction then those would be your keywords. However, if you are given a broad subject area then you will need to narrow down your search. For example, you need to write a 10 page research paper in American History to 1877. That includes a large number of topics. During the course of the class you are drawn to the Jacksonian Era, so you decide to write a paper about Andrew Jackson. Next you need to narrow down even more because Andrew Jackson is just too big of a topic for a 10 page paper. So you decide to do your paper on his term as the President. That narrows down your time frame to just eight years, manageable but still too big for your assignment. Next decide on what aspect of Andrew Jackson Pre sidency you are going to focus on. You find yourself interested in the Nullification Crisis that involved South Carolina. Now you have a reasonable size topic for a paper and your keywords would be: Andrew Jackson, Nullification, and South Carolina. These keywords allow a student to perform an effective library and/or internet search. ... All students should know and understand the definition of plagiarism. My definition of plagiarism is using somebody else's ideas or words in your own paper without giving them proper credit. An example of a plagiarized quote would be if you were to use a direct quote without offsetting it with quotation marks and not giving the original author credit. Another thing that you cannot do is just replace two or three words and call that a paraphrase. The safest thing to do is to summarize an author's main point in your own words. Another area of upholding academic honesty is to not cheat. This means that you personally will not cheat on papers or test. Yet, it also means that if you find another student cheating you have a responsibility to report him or her. My personal action plan for upholding academic honesty is to follow all posted school rules regarding academic honesty. Developing effective study skills consists of finding what works for you and using it to the best advantage possible. The most important elements of effective studying are lecture notes, reading notes, place, and time. The lecture notes are important because they tell you information that will be on the test. Lecture notes should be read immediately after the lecture and again in preparation for any test, at a minimum. Reading notes are notes taken while you are reading your textbooks. Some classes use regular text books and other classes will use novels, fiction and nonfiction, so you need to learn how to take notes on booth types of books. The place you study is important also. It should be a quite place where you will not be interrupted by friends and family. It should be comfortable but not so comfortable you fall asleep. It
Saturday, August 10, 2019
EB Outcomes Essay Example | Topics and Well Written Essays - 1000 words
EB Outcomes - Essay Example This paper will discuss the implementation of a change program covering poor hand washing among healthcare service providers at Veema center, which has been found to cause adverse outcomes, during service delivery (Titler, 2008). Planning for Change This stage will cover the phases of preparation (Phase I), Validation (Phase II), and Decision making/ Comparative Evaluation (Phase III) From the evidence given studies, including Garrette (2013) and Canham (2011) hand hygiene is acknowledged by control experts and infection prevention personnel, as the single and most effective measure that helps in reducing the spread of infections in the community and at health care settings (Garrette, 2013). This is the case, because the hands are transmission areas between individuals and the objects, as well as the surfaces within the healthcare environment. Some of the objects that can transfer infections in the healthcare setting include blood pressure cuffs. The means of hand hygiene include tha t of using soap and water, and using alcohol-based products, in the cases where water and soap cannot be used. The World Health Organization (WHO) and the CDC (Center for Disease Control and Prevention) maintain that hand hygiene can aid healthcare providers to uphold quality practice, and patient safety (Pittet, Allegranzi & Boyce, 2009). The practice of extensive hand washing will lessen the risk of infection between patients, lessen the infection of healthcare personnel, and lessen the cases of morbidity, mortality and the costs incurred during the treatment of infection-based conditions (Garrette, 2013). In preparation for the change, a survey was administered to the personnel at the health care center, aiming at realizing the factors limiting hand hygiene. Some of the factors explained as causes of poor hand hygiene at the health center and from studies like Garrette (2013) and Pittet, Allegranzi and Boyce (2009) include that hand washing agents leads to dryness and the irritat ion of the skin; sinks are not available in convenient areas and there is also a lack of soap, water, and disposable towels for drying hands. Others include understaffing, giving priority to patient care needs, disagreement with hand hygiene directives and the low risk of getting infected by patients (Cambell, 2010). Towards ensuring that the factors affecting hand hygiene at the Veema health center are addressed through consulting the medical personnel at the center, when developing the best recommendations on hand hygiene. Secondly, the materials required for hand hygiene, which may not be available should be supplied at all times and hand washing areas should be available at all areas, including wards, casualty and admission centers. From the evidence of studies like Garrette (2013) and Pittet, Allegranzi and Boyce (2009), alcohol-based agents should be used for hand washing, before and after patient contact, after removing gloves, and in emergency situations where water is not a vailable. Implementing the EBP Project (Phase IV Translation/ Application) Towards the implementation of the project, a team will be formed, comprising of staff nurses and doctors, clinical nurse specialists, departmental nurse administrators, nurse and doctor researchers and infection control nurse and
Subscribe to:
Posts (Atom)