Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Green/Red detector and button controlled car (BASYS3/VHDL)

Status
Not open for further replies.

kmesne

Newbie level 5
Joined
Mar 13, 2019
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
146
Hi, I am a 2nd-year ee student, and I need to make a term Project. With BASYS3 by using VHDL.

My purpose is constructing a car which can be controlled with the buttons on BASYS3 ( I think I need Bluetooth module for it to RC a car). In addition to that my car should stop when it sees red ( i think I should use a color sensor for it) and should not work until it sees a green. These “red” and “green” can be anything like green cubic toys.
This color sensor does not have to be mounted on the car, but it would be better if it is.

I have very little information about basys3, vhdl, sensor design, etc. (this is my first course in ee I was learning principle courses like math, phy, cs )

I would appreciate any help.
Thanks.
 

Hello,

you can use one of colors sensors available on the market, for example this one (has quite good parameters):

https://www.adafruit.com/product/1334

It has big dynamic range (light) and I2C interface. It is easy to connect I2C device to FPGA board, there is a lot of example code (HDL languages) on Opencores.org

https://opencores.org/projects

Regards
 


I thought only PMOD sensors are applicable for FPGA

are you sure that i can use this sensor on basys3

Hello,

yes I am sure - it is "normal" I2C protocol that can be implemented on any FPGA board. Just take a look on these free IP-cores at this link (just see projects starting width I2C):

https://opencores.org/projects?expanded=Communication%20controller

PMOD uses SPI protocol for comunication - I don't like PMODs because often their example code is too complicated or weird ;)

Regards
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top