robert 0 Report post Posted July 25, 2013 hello, im using some sensors, so i need to find a way to get his data. regards Share this post Link to post Share on other sites
alex 21 Report post Posted July 25, 2013 Is this sensor classified Top Secret or would you care to enlighten us with some more details? We don't mind helping you out if we can, but you have to meet us half way with some information. So far you have told us nothing. Share this post Link to post Share on other sites
robert 0 Report post Posted July 25, 2013 the only information who matters is the infra red sensor has a out put voltage between 0 and 3.3 V i need to get its precise voltage in order to determine the distance of an object Share this post Link to post Share on other sites
alex 21 Report post Posted July 25, 2013 The Spartan FPGAs have no A/D converters built in so there in no easy way to sample an analog voltage directly. There are hacks where you could use a couple of pins and some external logic to make an A/D but frankly your best bet is to buy an A/D converter. I suggest you look at http://digilentinc.com in their PMOD section and buy something suitable. I have personally purchased a PmodAD2 which is a serial (SPI) A/D based on a AD7991 chip with four analog inputs and I would recommend that. Also I should say that since the Papilio can't accept PMODs directly you need some accessories such as these to hook up PMODs to the board. and Share this post Link to post Share on other sites
Jack Gassett 0 Report post Posted July 25, 2013 The LogicStart MegaWing also has a SPI ADC built into it that will allow you to sample the voltage you need. Jack. Share this post Link to post Share on other sites
t90add 0 Report post Posted January 26, 2014 The LogicStart MegaWing also has a SPI ADC built into it that will allow you to sample the voltage you need. Jack.How? Share this post Link to post Share on other sites
hamster 47 Report post Posted January 26, 2014 Using the SPI ADC can be seen http://hamsterworks.co.nz/mediawiki/index.php/SPI_ADC and http://hamsterworks.co.nz/mediawiki/index.php/A2d_graph Mike. Share this post Link to post Share on other sites
offroad 14 Report post Posted January 26, 2014 if it's of any use, here is an example project that dumps the 16 ADCs from the "Retrocade" add-on board to a PC, where you get them in a terminal window. http://forum.gadgetfactory.net/index.php?/topic/1889-ouch-retrocade-adc-tester/#entry12717 Share this post Link to post Share on other sites
t90add 0 Report post Posted January 26, 2014 Thanks! I'll check them out! Share this post Link to post Share on other sites
t90add 0 Report post Posted January 27, 2014 Using the SPI ADC can be seen http://hamsterworks.co.nz/mediawiki/index.php/SPI_ADC and http://hamsterworks.co.nz/mediawiki/index.php/A2d_graph Mike.How did the PPG work out for you? That's one of the signals that I'm interested on viewing via adc using this http://embedded-lab.com/blog/?p=5508. Any pointers? Many thanks! Share this post Link to post Share on other sites
Jack Gassett 0 Report post Posted January 27, 2014 By the way guys, there is now an Analog Wing available in the store that is much cheaper then the PMODs are. I just added an SPI ADC library to the ZAP IDE and am working on some example code to use with this wing, it should be released sometime this week. Jack. Share this post Link to post Share on other sites