Skip to main content

Week 1: Car Assembling and Raspberry Pi Initializing

Pi2go MK2
Smart car assembling and introduction:
In the first week of the project, the research group received the components that will be used in the project.

The first thing to do is to assemble the smart car Pi2go MK2. In specific, Pi2go MK2 contains a chip which could control different parts of the car. The raspberry pi uses the GPIO connections to control and power the smart car.

Figure 1: GPIO pins to control the car


System instaling:
Having assembled the car, the research group began to initialize the raspberry pi. According to the instruction, the research group had to instore an operating system into the SD card with SD card formatter and Win 32 Disk Imager.


Problem-solving:
However, when the raspberry is equipped with the operating system and plugged into a screen, the screen showed the following alert: kernel failure. To solve the problem, the research group tried to restart the pi for several times and it still shows a failure.

Then, the research group thought that might be a problem related to the ISO copy of the system. Following this train of thought, the research downloaded the system again and install the system again in the SD. Surprisingly, this action did not solve this problem. Instead, the problem remains the same. 
Figure 2: Win32 Disk Imager
Because it seems that the problem cannot be solved on a software level, the research group tried to use backup components to have another trial. When using another SD card to install the system, it turns out that the system could be run on the pi successfully. From this trial, we could know that it must be the problem of the SD card. 

Comments

Popular posts from this blog

Week 3: Main Function Individual Test and Demo Videos

In the lab section of this week, the research group decided to test the main functions of the car including LED test, movement mode and sonar distance sensor. In the first test, the research group used the test file to test the LEDs in the front of the car. By using the LED, we could know the situation of the car when running the program. For example, when the running situations are normal and it is safe to allow the user to control the car, the LED turns green. If the sensors should discover barriers in the moving routine of the car, the LED could turn red and make the user know it might take charge of the car instead of the user. In the test, the LED will turn red, blue, white, green in the turn. The demo is shown in the video. The second test is the motor test. In this test, the smart car should be able to move according to the orders given by the keyboard. The user could use the direction keys to control the moving direction to make it go straight, go left, go right and g...

Week 4: Change of Operating System and Problems

Change system and problems In the lab section of this week, the research group had a difficult time. In detail, it is difficult to have the video of the camera been transmitted to the computer. The data flows to the raspberry in the form of coordinate, length and height of the marked blocks. In this way, the processor of the pi could be relaxed. However, in the first place , the basic function of the car is that the user could see what the car sees with the use of camera. If the control system is not visual, it is meaningless to have such a complex system. To make it possible to visualize the streaming video, the research group checked the driver of the camera. It turns out that it is not designed for Raspbian, and this made its function been limited to this system. To solve this problem, the research group had to change the system of the smart car and recode the programs that have been tested. In specific, the driver is designed for a pure Linux environment. Having don...