# Rotary Dial Telephone | Boson Artificial Intelligence Starter Kit 02

### Objectives

By the end of the lesson, students should be able to:

1. Understand and use the rotation Module

2. Complete the project under the guidance of teachers

3. Further comprehend the general learning methods

### Materials Preparation

#### Teachers:

Computer with Mind+ installed, BOSON Artificial Intelligence Starter Kit (Microbit*1, Expansion Board*1, Neurone Module*1, Rotation module*1)

Students:

Textbook, pen, scissor, utility knife, double-side adhesive tape, paper box, ice cream stick

### Content

Preface: This is the second lesson of How Does a Machine Learn? In the previous lesson, we learned and used the Neurone module. In this chapter, we are going to continue to make a project with it for further understanding. Starting from the rotary dial telephone that was used in the recent period, students will make a telephone that can recognize the phone number using the neurone module.

For reference: This part uses the old-fashioned rotary dial telephone to lead in the topic, which aims to improve students’ ability to find and analyze problems. The teacher puts forward the problems to trigger students to discuss, and then discover the driving problems of this project, disassemble the functional requirements and general steps, and connect with the knowledge and skills mastered in the previous lesson to initially clarify their own design ideas.

Intro Question: Do you know the rotary dial telephone? What is the difference between it and modern telephones?

Driving Question: In the last lesson, we learned that a neurone module can recognize SOS, so in this lesson how do you use a neuron module to recognize a phone number?

Function Decomposition:

Function 1: dial the number

Function 2: recognize the number

Function 3: respond to the recognized number

For reference: This part mainly includes the knowledge and skills related to the project, let students learn and use the rotation module.

#### Rotation Module

Adjusting the volume by rotation module:

For reference: This part aims to help students formulate design ideas based on the knowledge and skills learned in the previous part.

#### Structure Design

For reference: Implements the project by arranging stage scenes, writing programs, and building structures. You should lead students to complete them step by step.

#### 1. Hardware Connection

##### 2. Arrange Stage Scenes

Background: upload background-"emergency center.png"

Role: upload character-"telephone.sprite3"

##### 3. Write Programs

Phone role program

##### 4. Adjustment

Learning stage: Rotate the knob to learn according to the sequence shown in the figure below, release the learning button, and the phone will ring on the stage to indicate successful learning.

Adjustment stage: According to the rotation speed and sequence of the learning stage, adjust the neurone module according to your needs.

l If Strictly follow the learned actions, and the phone does not ring, indicating that the accuracy is too high.

Adjust the blue precision adjustment knob counterclockwise to lower the matching accuracy of the current input value and the recorded value, also, reduce the requirements. When the arrow of the blue rotary knob points to "-", the accuracy is the lowest.

l If Turn to a random angle, the phone rang, indicating that the accuracy is too low.

Adjust the blue precision adjustment knob clockwise to improve the matching accuracy of the current input value and the recorded value, and the requirement becomes higher. When the arrow of the blue rotary knob points to "+", it means that the accuracy is the highest, because it is difficult to accurately repeat the rotation speed of the knob when learning, so it is difficult to achieve the project effect with the highest accuracy.

#### 5. Hands-on Practice

6. Debug

For reference: This part will ask students to rethink and share their works. You can remind them to complete this part from these aspects: how do you feel after finishing this project? Do you encounter any difficulties in making, and how do you overcome them; What do you think about Artificial Intelligence? Let two students share their work and ideas after a given time.

For reference: In this part, you can summarize the curriculum project by raising questions to let students think and discuss so as to recall the content of this lesson and deepen the understanding of the project.

Question: Why can the neurone module recognize the "120" phone number?

Answer: Because in the learning process, it remembers the signal characteristics sent by the knob at positions "1", “2” and "0", so it can recognize the 120 phone number.

### Extended

For reference: At the end of this lesson, you can assign homework to students as an extension of the course.

Question: Can you add a knob password to the project little gatekeeper?

### Resources

#### Telephone

The telephone is a long-distance communication device that can transmit and receive sound. As early as the 18th century, the term "telephone" has existed, which was used to refer to a microphone stringed with wires (a cup is stringed with a wire). The emergence of the telephone is attributed to Alexander Graham Bell. The principle of the early telephone is: the sound of speech is a compound vibration in the air, which can be transmitted to a solid and transmitted on a conductive metal through electric pulses. Bell applied for a patent for the telephone in March 1876.

Principles:

Telephone communication is a communication technology that uses the medium of "electricity" to transmit language through the mutual conversion of sound energy and electric energy. To communicate between two users, the simplest form is to connect two telephones with a pair of lines.

1. When the caller picks up the telephone and speaks to the microphone, the vibration of the vocal cords excites the air to vibrate, forming sound waves.

2. The sound wave acts on the microphone to generate current, which is called voice current.

3. The voice current is transmitted along the line to the receiver of the other phone.

4. The function of the receiver is just the opposite of that of the microphone-it converts the electric current into sound waves and transmits them to the ears through the air.

### Digital Quantity and Analog Quantity

Physical quantities that are discrete in both time and quantity are called digital quantities, and the signals that represent digital quantities are called digital signals, such as the signal emitted by a button.

Physical quantities that changes continuously in time and value are called analog quantities, and signals that represent analog quantities are called analog signals, such as the signal emitted by a rotary knob.

License
All Rights
Reserved
1