Lab Report: Robot Brain

Get ready

Hello, world!

The easter egg

Using a multimeter to measure the voltage output

Extra find

Find limitations when simulating a program

At this part of the lab, I wrote a programme that can display my English name in an iterative loop. And also it has a “beepβ€”β€”” at the beginning.

Program the brain

Using an oscilloscope to read fast response signals (but failed)

Use the sensors

At this part, I wrote a programme to apply the micro: bit as a compass. Moreover, if you push the A button, it will send you a heart.

Think about a basic animal behavior system

Kris and I were thinking of building a basic animal-simulating system, then we came up with an idea to connect a servomotor with the gravity sensor in the micro: bit and adjust the servomotor according to the value of the sensor. By combining these two parts, we can create a simple sample of a balance system similar to the cooperation of animals’ cerebella and limbs.

Connect it

Moreover, we tried to connect two servomotors at the same time, but the delay between the two servomotors is too long that they cannot cooperate with each other simultaneously. 

Extra tiny project

In the last 15min of the lab, I found it pretty fun playing with micro: bit, so I used the rest of the time to write a simple programme to have fun. It makes the board repeatedly display “LIKE⬅️” on the board, and if you do press the left button, a little heart will come out. However, if you insist to push the right one, something bad emerges…

Leave a Reply