robert Posted July 25, 2013 Report Share Posted July 25, 2013 hello, im using some sensors, so i need to find a way to get his data. regards Link to comment Share on other sites More sharing options...
alex Posted July 25, 2013 Report Share 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. Link to comment Share on other sites More sharing options...
robert Posted July 25, 2013 Author Report Share 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 Link to comment Share on other sites More sharing options...
alex Posted July 25, 2013 Report Share 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 Link to comment Share on other sites More sharing options...
Jack Gassett Posted July 25, 2013 Report Share 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. Link to comment Share on other sites More sharing options...
t90add Posted January 26, 2014 Report Share 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? Link to comment Share on other sites More sharing options...
hamster Posted January 26, 2014 Report Share 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. Link to comment Share on other sites More sharing options...
offroad Posted January 26, 2014 Report Share 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 Link to comment Share on other sites More sharing options...
t90add Posted January 26, 2014 Report Share Posted January 26, 2014 Thanks! I'll check them out! Link to comment Share on other sites More sharing options...
t90add Posted January 27, 2014 Report Share 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! Link to comment Share on other sites More sharing options...
Jack Gassett Posted January 27, 2014 Report Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.