END REPEAT Lesson 2 Goals Introduce the concept of network protocols. Calculate bitrate. Introduce the concept of a Local Area Network (LAN). Simulate a network hub. Review of previous lesson You may wish to begin by having students practice once more with the setup from last lesson. If necessary, put the transmit and receive program onto both micro:bits again, then practice sending a simple message in Morse Code. Introduction What do computers use for network signals, instead of Morse Code? It is the same system they use for storing letters and numbers: binary. Binary is covered in the Data and Information strand (Victorian Curriculum) or the Knowledge and Understanding strand (Australian Curriculum). Data is stored in bits - 1s or 0s. To send a binary message, the 1s and 0s are pushed out as high or low voltages. A small whole number might be transmitted as a single byte of 8 bits: eg. decimal number 57 = binary 00111001 A letter or other character might be encoded using a system like : eg. letter = ASCII code 01100111 ‘g’ What would be the challenges for humans trying to send messages to each other with binary? Too many codes to remember. Not natural to convert binary in our heads (we use decimal for a reason!). How fast should the signal go? What if the transmitter and receiver are thinking at different speeds? Network protocols
END REPEAT Lesson 2 Goals Introduce the concept of network protocols. Calculate bitrate. Introduce the concept of a Local Area Network (LAN). Simulate a network hub. Review of previous lesson You may wish to begin by having students practice once more with the setup from last lesson. If necessary, put the transmit and receive program onto both micro:bits again, then practice sending a simple message in Morse Code. Introduction What do computers use for network signals, instead of Morse Code? It is the same system they use for storing letters and numbers: binary. Binary is covered in the Data and Information strand (Victorian Curriculum) or the Knowledge and Understanding strand (Australian Curriculum). Data is stored in bits - 1s or 0s. To send a binary message, the 1s and 0s are pushed out as high or low voltages. A small whole number might be transmitted as a single byte of 8 bits: eg. decimal number 57 = binary 00111001 A letter or other character might be encoded using a system like : eg. letter ‘g’ = ASCII code 01100111 What would be the challenges for humans trying to send messages to each other with binary? Too many codes to remember. Not natural to convert binary in our heads (we use decimal for a reason!). How fast should the signal go? What if the transmitter and receiver are thinking at different speeds? Network protocols
a-morse-code-network-(2).docx