Shop OBEX P1 Docs P2 Docs Learn Events
My suggestion is that if you sell a sensor, provide Spin demo code. — Parallax Forums

My suggestion is that if you sell a sensor, provide Spin demo code.

vanmunchvanmunch Posts: 568
edited 2015-02-05 18:48 in General Discussion
This is a frustration that I come across more than I like. I want to try out a new sensor (from Parallax) for an application and I end up spending a day just trying to find demo code for it. It's gotten much worse since the new website went up and you have to click through so many pages before to find out that there isn't anything, or that the only demo code provided by Parallax is for an Arduino

Case in point, I'm comparing different color sensors and I want to see how well the TSL235R Light to Frequency Converter works. http://www.parallax.com/product/604-00084 There are no objects or forum posts for Spin examples and the only demo code is for an Arduino. http://learn.parallax.com/tsl235r-light-frequency-converter-arduino-demo

I've had this problem a couple of time before, but never wanted to point it out. Providing demo code and a wiring schematic is standard on the other big DIY sites and is probably a turn off to beginners.

Dave

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2015-02-04 13:17
    Search the OBEX for a TSL230 driver. It should also work for the TSL235R.

    -Phil
  • vanmunchvanmunch Posts: 568
    edited 2015-02-04 14:51
    Search the OBEX for a TSL230 driver. It should also work for the TSL235R.

    -Phil

    Hey Phil, thanks for the suggestion. I found that this object worked. http://obex.parallax.com/object/614 The others might too, but I haven't tried them. In case someone else tries this in the future, I connected it to 5V with a 2K ohm resistor between the output (called "Input" in the object) and the propeller.

    Dave
  • GordonMcCombGordonMcComb Posts: 3,366
    edited 2015-02-05 17:58
    And there is a spelling error in my Arduino text for this sensor:

    "affective sensitivity"

    should be

    "effective sensitivity"

    I'll blame Microsoft and their auto-correct feature in Word.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2015-02-05 18:25
    affective sensitivity (def.) perception and empathy characterized by capriciousness and unpredicatability

    -Phil
  • Beau SchwabeBeau Schwabe Posts: 6,566
    edited 2015-02-05 18:48
    I always remember it as .... The affect causes the effect
Sign In or Register to comment.