Color sensor with BASYS3 VHDL

Guest #5775865
Hi, I need to make a circuit which does the following thing:

When it sees a red object it will send output 0 until it sees a green 
object (like a well colored cubic toy), after it sees green it will send 
output 1 until it sees red again. ( If it is hard to implement I'm ok 
with just output 0 when it sees red and outputs 1 when it sees green, I 
mean it is ok if the outputs not continuous but it would be great if 
they are continuous)

I have basys3 and have to use VHDL. I think I should use TCS34725 sensor 
https://www.adafruit.com/product/1334 but I'm not sure I just assumed, I 
would be really glad if someone helps

Some extra questions: If it is possible I will implement it on a toy 
RCcar is it possible to connect it with Bluetooth module to get inputs 
or how should I do it ?- I can use another board JUST FOR CONNECTIONS my 
main Project should be on BASYS-3

Thanks

Reply

A question of your own? This thread is over 7 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.