How can I drive an FPGA with Digilent Genesys X LEDS with a breadboard and socket 752 DIP? If the LED of range is zero + 445 and the impedence is 74 what is the range of the flash? This is for reconfiguring the blocks WITH CLB Verilog and not using a system of linear equations.
-
1\$\begingroup\$ If you want to make the sensors as realistic as possible, they're normally a big (physically large, I mean) inductor. Metal near them changes the inductance (which you can sense as, for one example, a change in impedance at a particular frequency). \$\endgroup\$– Jerry CoffinCommented Nov 24, 2014 at 6:02
-
2\$\begingroup\$ You should really roll this back. The question now has nothing to do with the accepted answer. \$\endgroup\$– Matt YoungCommented Nov 25, 2014 at 3:20
-
\$\begingroup\$ Rolled back to the version, which was current at the time when the accepted answer was accepted. \$\endgroup\$– Nick AlexeevCommented Nov 25, 2014 at 3:50
1 Answer
Wow, using a Virtex-5 for this is massive overkill - on the scale of using a nuke to open a peanut.
I'm not sure what voltage the I/O on the Genesys board runs at; as long as it's 3.3V (and it probably is) you should be able to connect a LED of any colour via a series resistor (higher or lower value for lower or higher brightness, start with 1kohm) to ground using one of the PMOD ports. Turn the LED on by putting a '1' on the output, or off with any other value. Take a look at Digilent's LED PMOD for a schematic, and also their BTN PMOD.
External sensors are going to be, well, buttons - unless you're trying to detect the presence of vehicles, which could get a bit more complicated. If you are, then something along the lines of a small magnet in each vehicle and a hall-effect switch underneath the model road would do nicely. The outputs of hall-effect switches behave like a switch or button, so they're convenient to work with; they typically provide an open-collector output that pulls to ground in the presence of a (strong enough) magnetic field.
-
2\$\begingroup\$ You can use a reed switch with a magnet attached to a toy car. \$\endgroup\$– efox29Commented Nov 24, 2014 at 12:54