Show Posts
Pages: 1 2 [3] 4
31  Forum 2005-2010 (read only) / Interfacing / Re: interfacing a 12 Bit SPI ADC on: July 02, 2008, 06:07:21 pm
  I'm pretty sure it is a pin mapping problem. I just checked out the schematic at:

http://wiring.org.co/download/WiringMini.pdf

It looks like Port 3 is where I need to be wiring the ADC to ... I was originally trying to use Port 1 on the Wiring Mini

Wiring Mini Board pins        MCP3208 ADC Pins
 
           24             ----->   CS Chip Select Pin 10
           25             ----->   CLC Clock Pin 13
           26             ----->   Din MOSI Pin 11
           27             ----->   Dout MISO Pin 12


  Looks like this should work. I'm out on the road with my job right now. I should be able to check this on Monday.


Phil
32  Forum 2005-2010 (read only) / Interfacing / Re: interfacing a 12 Bit SPI ADC on: July 01, 2008, 08:23:13 pm
  That's a good possibility, but I don't think I would have seen anything on the serial monitor.



Phil
33  Forum 2005-2010 (read only) / Interfacing / Re: interfacing a 12 Bit SPI ADC on: July 01, 2008, 06:33:47 pm
  Thank you. I checked it a few times over and then switched to a different set of pins with the same results. It is strange. Do you think it has something to do with timing? ... maybe the wiring board's timing is different from the Arduino.



Phil
34  Forum 2005-2010 (read only) / Interfacing / Re: interfacing a 12 Bit SPI ADC on: July 01, 2008, 01:30:57 pm
Hello Halabut,
  
    I recently bought a Wiring Mini board and hooked up one of these mcp3208's to it .. using the same code you provided. It compiled with no errors and successfully uploaded to the wiring board. It doesn't seem to work though. All I see in the serial monitor of the Wiring IDE is either 0 or 4095 ... and the occasional random number every once in a while.

  I'm using the same pin #'s ... 10,11,12,13


  It works 100% on my arduino.


thanks,
Phil
35  Forum 2005-2010 (read only) / Interfacing / Re: interfacing a 12 Bit SPI ADC on: June 16, 2008, 01:15:38 pm
  Thanks. It works great now.



Phil
36  Forum 2005-2010 (read only) / Interfacing / Re: interfacing a 12 Bit SPI ADC on: June 15, 2008, 07:21:46 pm
Hello again Halabut,

  I just got a few of these ADC's, tried to run the code, but I'm getting a strange error:

error: expected constructor, destructor, or type conversion before '(' token


  It highlights this portion of the code:

digitalWrite(SELPIN, HIGH); //turn off device



  Any ideas?


thanks,
Phil
37  Forum 2005-2010 (read only) / Interfacing / Re: interfacing a 12 Bit SPI ADC on: May 19, 2008, 01:51:25 am
  Thank you halabut,
 
  I'll have to check that out.
 
 I'm using a pressure sensor from Allsensors. It maxes out at about 4.88V and its minimum is a "don't care" in my project.


  I got some freescale pressure sensors sample that I have yet to play with.


Phil
38  Forum 2005-2010 (read only) / Interfacing / Re: interfacing a 12 Bit SPI ADC on: May 17, 2008, 11:27:59 pm
Anyone know of a good 12bit ADC that has +VREF as well as -VREF?



thanks,
Phil
39  Forum 2005-2010 (read only) / Interfacing / Re: Right angle Female Headers for Proto shield on: May 02, 2008, 07:14:49 am
 Yup, exactly like that. Thank you.
40  Forum 2005-2010 (read only) / Interfacing / Right angle Female Headers for Proto shield on: May 01, 2008, 06:33:40 pm
  Hello people.

  I would like to purchase a bunch of right angle female headers ... I'm gonna solder them onto a proto shield and then plug in my parallax 900MHz transceivers (I want the transceivers to lay parallel to the proto shield).

  I've looked all over the net ... found male right angle headers and a bunch of straight ones.


thanks,
Phil
41  Forum 2005-2010 (read only) / Workshops / Re: South Florida Workshop / Group on: July 15, 2008, 10:04:04 am
  I'm in Hollywood FL. I would be interested in a Workshop.



Phil
42  Forum 2005-2010 (read only) / News / Re: New! Integrated ATMEGA Arduino Xbee (50% savings) on: August 15, 2009, 12:26:02 pm
  I have series (2) I believe ... with an external RP-SMA antenna. Looking at your picture, the antenna would hit the crystal.



Phil
43  Forum 2005-2010 (read only) / News / Re: New! Integrated ATMEGA Arduino Xbee (50% savings) on: August 13, 2009, 02:47:03 pm
  I really love this design. I just have one major problem. I have Xbee's with external antennas. It doesn't look like they will fit ... too close to board components. Am I correct?



thanks,
Phil
44  Forum 2005-2010 (read only) / News / Re: New! Integrated ATMEGA Arduino Xbee (50% savings) on: May 22, 2009, 12:32:55 pm
  Very cool. So version 3 will be compatible with Arduino Shields & also have the FT232 built in?




thanks,
Phil
45  Forum 2005-2010 (read only) / News / Re: New! Integrated ATMEGA Arduino Xbee (50% savings) on: May 22, 2009, 10:30:44 am
   Looks really nice. I was wondering when the new version will be available (With FT232 built in).



P.S.  Awesome price


thanks,
Phil
Pages: 1 2 [3] 4