Preview

Nt1110 Unit 3 Assignment

Good Essays
Open Document
Open Document
655 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Nt1110 Unit 3 Assignment
3.3 Hardware Assembly
The next part is assembling all the components together. The Raspberry Pi 2 (in this case) contains a single 40-pin ex-pansion header labeled as ‘J8’ providing access to 26 GPIO pins[1] which is illustrated in Fig. 4.

Fig. 4.Raspberry Pi J8 Header
Since Pi4J will be used as an external library which enables us to control the GPIO pins using Java Fig.5 illustrates the GPIO pinout using the Pi4J [18] numbering scheme. Fig. 5. GPIO Pinout of Raspberry Pi using Pi4J
After completely understanding the pinout of Raspberry Pi the (Fig. 6) will help us understand how the components are to be connected with the pi and it will also help us understand the flow of data in the Brain-Bot. Fig. 6. Flow of Data
In the above chart
…show more content…
Here, Raspberry Pi will act as a server which will open a socket on a specified port which will wait for the incoming connection from the client machine once the connection is established it will send and receive messages and the connection will termi-nate only when the client side application exits. As mentioned earlier it is similar to a simple chat server where the client ma-chine will send some instructions as messages and the Pi will send acknowledgment or error message as message only. One thing that should be kept in mind here is that in the case of an error the server side code should not terminate. Now from here code can be further divided into five parts i.e.:
4.1 Sever Side Code
Server side code will include the portion of opening a socket on a specific port as discussed earlier and in addition to it there will be some if-else construct or a switch case implementation that will interpret the incoming instructions from the client ma-chine and will call the related method associated with the in-struction

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Nt1310 Unit 8 Assignment

    • 459 Words
    • 2 Pages

    In this paper you will find 3 factors that could affect splicing performance, 3 intrinsic factors, and 3 extrinsic factors.…

    • 459 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Nt1310 Unit 1 Assignment

    • 634 Words
    • 3 Pages

    The skin is an organ composed of three anatomical layers: epidermis, dermis, and hypodermis. These anatomical layers together function to provide the body with a protective barrier, body temperature regulation, sensation, excretion, the outer layer of skin…

    • 634 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    IS3220 FINAL STUDY GUIDE

    • 1708 Words
    • 7 Pages

    b. SYN-ACK: In response, the server replies with a SYN-ACK. The acknowledgment number is set to one more than the received sequence number, and the sequence number that the server chooses for the packet is another random number.…

    • 1708 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    Nt1310 Unit 3 Assignment

    • 355 Words
    • 2 Pages

    Frequency: When describing energy that acts like waves, the number of times that the entire waveform repeats per second.…

    • 355 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1310 Unit 5 Assignment

    • 532 Words
    • 3 Pages

    There are different ways through which businesses can add value to their products and services.…

    • 532 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Nt1310 Unit 1 Assignment

    • 987 Words
    • 4 Pages

    Layer 5: The session layer...This layer sets up, coordinates, and terminates conversations, exchanges, and dialogs between the applications at each end. It deals with session and connection coordination.…

    • 987 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Nt1330 Unit 5 Assignment 1

    • 1348 Words
    • 6 Pages

    4. The server accept the connection and to send the data from server to client and vice…

    • 1348 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Nt1330 Unit 3 Assignment

    • 356 Words
    • 2 Pages

    Note: Follow these instructions carefully: There could be modifications that could limit your use of the Ghost software.…

    • 356 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    IT302 Assignment 5.1

    • 308 Words
    • 2 Pages

    g. What is the ability to respond to multiple IPs or names as if the server were multiple servers called?…

    • 308 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1310 Unit 4 Assignment

    • 1851 Words
    • 8 Pages

    Provide a short summary (including the name) and details of the contribution that each of the following organizations have played in facilitating effective data communication. Summarize the types of standards that would be found at each organization and map those to the layered model used by Kurose Ross.…

    • 1851 Words
    • 8 Pages
    Powerful Essays
  • Satisfactory Essays

    Nt1310 Unit 1 Assignment

    • 361 Words
    • 2 Pages

    According to the standard account, true belief is not sufficient for knowledge. It states that knowledge requires, not only that our beliefs be true, but that we have good reasons for believing them to be true. In standard account, knowledge is justified true belief.…

    • 361 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1310 Unit 1 Assignment

    • 2784 Words
    • 12 Pages

    • In 1970, Corning used pure silica to create a fiber with a loss of…

    • 2784 Words
    • 12 Pages
    Powerful Essays
  • Satisfactory Essays

    Nt1310 Unit 1 Essay

    • 443 Words
    • 2 Pages

    Client/ server computing – is a program that distinguishes relationship between the client and the server. The client will request a service or resource from another program and this is the server. Once the server has fulfilled the client’s request the connection is terminated. Overall a client/server computing is linking to a computer system where a central server supports a number of networked workstations.…

    • 443 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1310 Unit 4 Assignment

    • 259 Words
    • 2 Pages

    My major personal is to stay dedicated, be focus and do my work and pull thru any positive goals. My professional is to maintain motivated and to earn a promotion and one day make a successful business for being counseling. My academic is to set a good goal that will benefit me and my future of life, also finish school, get a bachelor’s degree for being a counseling and raise my GPA up to be successful. The ways i can work around these challenges are being present in school.…

    • 259 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The server sits in an infinite loop listening for incoming UDP packets. When a packet comes in and if a…

    • 540 Words
    • 3 Pages
    Satisfactory Essays