Skip to content

Latest commit

 

History

History
53 lines (28 loc) · 2.31 KB

README.md

File metadata and controls

53 lines (28 loc) · 2.31 KB

Self-Driving Maze Reconstructing Vehicle

Description

This branch contains the source code and design files of a Maze Reconstructing Vehicle. This vehicle uses 3 HC-SR04 ultrasonic sensors in order to messure the distance of the vehicle relative to the maze walls and navigate throughout them. In addition, an OV7670 camera module allows the vehicle to identify the color of the geometrical figures located on some of the corners. The camera data is obtained and processed by a ZyboZ7 FPGA, while the navigation, distance messurements and Bluetooth communication with a PC is carried out by an ESP32 microcontroller.

The block diagram used during the design process was:

Diagrama HW-SW

Some Results

Image Capture Hardware Module

Selfie

Picture of the vehicle captured by its camera module.

Maze reconstruction

Selfie

Image of an explored maze constructed with turtle python library.

General Considerations

As you might notice, this branch contains 4 folders: Code, ChasisDesign, GeneralInformation, Tests.

Code

Contains the code used in the final implementation of the vehicle. This is the only folder requiered in order to replicate the device and have similar results.

ChasisDesign

Due to the huge size of the ZyboZ7, our team made a custom design for the vehicle's chassis in order to assemble all the components. The design files can be found on this folder.

GeneralInformation

Has some PDFs with documentation about the OV7670 as well as a report in Spanish with a full description of all the design and test process.

Tests

Some of the previous versions of source code were gathered together into this folder. Here you can find folders with the code for:

  • Reading and reconstructing an image from the camera in a python code.
  • Reading an image and sending the color of the figure to a python script.
  • Drawing a road on a Python script using test data from a microcontroller.
  • Testing the UART modules of the FPGA with a microcontroller.