Design Contest Projects Highlight

Each year we define a list of recommended platforms for developing Digilent Contest projects. Since we address all students, we have chosen beginner boards, so everybody can have a chance to develop a cool project.

But most of the time, they exceed our expectations and they prove they can insert our products into interesting and rather complex projects. One good example is the Cycling Assistance System Using FPGA project, which is implemented on a Basys 3 board, and its functionalities include object detection in the back of the bicycle, brake recognition, change of direction signalization, speed identification, and communication with a mobile phone application.

The hardware project is written in VHDL, and is divided into 4 major parts: signalization system, phone communication, navigation system, and servo control. Phone communication is divided into 3 parts: receive GPS data, read data from the 3 sonars, and send data to Bluetooth.

Digilent Products Required
 Digilent Basys 3 board
 3 Pmod MAXSONAR
 Pmod GPS
 Pmod BT2
 Pmod NAV

The system’s design is logically divided to meet the major requirements:

  1.  The components which send relevant information to the user were the following assembled: the sonars, the GPS, and the Bluetooth.
  2. The servos which are an addition which enhances the functionality.
  3. The external system comprising the buttons and lights for signalization
  4. The independent braking system.

In the pictures below, the project assembly can be seen:

The top-level block is divided into four parts and is implemented in behavioral VHDL:

The phone application is designed to receive data from the Bluetooth. The information sent from the system is: the 5 messages from the GPS, and the 3 ranges from the sonars.
The messages from the GPS have the following structure:
GPGGA,064951.000,2307.1256,N,12016.4438,E,1,8,0.95,39.9,M,17.8,M,,*65
GPGSA,A,3,29,21,26,15,18,09,06,10,,,,, 2.32,0.95,2.11*00
GPGSV,3,1,09,29,36,029,42,21,46,314,43, 26,44,020,43,15,21,321,39*7D
GPRMC,064951.000,A,2307.1256,N,12016.4438,E,0.03,165.48,260406,3.05,W,A*55
GPVTG,165.48,T,,M,0.03,N,0.06,K,A*37
The GPVTG message is parsed, in order to extract the speed in km/hr, which is the 8th data provided.

From the 3 sonars, their range data is represented using colors. Green means that objects are at a safe distance – greater than 2m, yellow means that there are close items – between 1 and 2 m, and red represents a very close, probably dangerous, proximity – less than 1m.

Engineering Resources Used
Materials used for the mechanical part:
 a plastic box
 a metallic support
 cable ties
 1 iron nail
 a metal wire that is easy to bend
 lighter
 pliers
 a metallic support
 a thick needle
 small L profiled metallic support

Materials and hardware for the electrical part:
 3 X Servo motors
 2 LEDs
 2 resistances
 2 buttons
 a fixed output linear regulator (LM7805)
 a battery of 9 V
 9V battery connectors
 pins
 a solder board
 wires
 a portable smartphone battery charger
 telephone holder for bicycle

Final look of the project in the pictures is below. It’s amazing what you can do with a Basys 3 and a lunch box, plus a couple of sensors and a smart phone!

Be the 1st to vote.

Leave a Reply

Your email address will not be published. Required fields are marked *