Embedded Software Project
This repository contains the embedded software project called "finder." The project focuses on controlling LED and MOTOR driver modules
through a main program.
-
Target System Kernel Install - How to install the kernel on the Raspberry Pi 4B used in the project
reference : https://wikidocs.net/3243 is how the kernel is built.
-
Components - The project consists of the following components
Motor driver
: Motor drivers to control the RC motors on each wheel of the vehicleLED driver
: Led driver for controlling Leds with on/off functionality
Follow the steps below to get started with the "finder" project:
-
Clone this repository to your local machine.
-
Obtain administrator privileges
$ sudo -i
-
In motor directory,
# make # mknod /dev/motor_driver c 237 0 # chmod ug+w /dev/motor_driver # insmod motor_driver.ko // in short, # make # make device # make chmod # make insert
-
In led directory,
# make # mknod /dev/led_driver c 237 0 # chmod ug+w /dev/led_driver # insmod led_driver.ko // in short, # make # make device # make chmod # make insert
-
In main directory on target system,
# python3 cam.py
-
In main directory on target system,
# make finder_run # ./finder_run [IP Address] [Port Number]
-
In main directory on client,
# make finder_control # ./finder_control [IP Address] [Port Number]
-
Input "w", "a", "s", "d", "t", "r", "p" at client