Shop OBEX P1 Docs P2 Docs Learn Events
Basic Stamp/Boe BOt to UVtron Flame Detector — Parallax Forums

Basic Stamp/Boe BOt to UVtron Flame Detector

Mr.WiodoMr.Wiodo Posts: 2
edited 2006-06-10 07:19 in BASIC Stamp
Dear friends, who knows and give me examples to using UVtron Flame Detector using Boe BOt ? I can't find it . I want to make Boe BOt able to detecting fire.

THanks for your help.

Widodo
Inoneisa

Comments

  • A.C. fishingA.C. fishing Posts: 262
    edited 2006-06-08 10:08
    Well, I'm not sure about this sensor, but you could use a temperature sensor and photoresistor circuit.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

    Somebody said...
    -Never Underestimate the power of human stupidity.
    ·
  • FranklinFranklin Posts: 4,747
    edited 2006-06-08 22:12
    http://www.acroname.com/robotics/parts/R66-R2868.pdf Check their site for more info.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • johnsroboticsjohnsrobotics Posts: 26
    edited 2006-06-10 07:19
    You should wire pad #1 (looking at rear of board there are pads labeled -,+,1,2,3) on your UVtron to directly connect to the stamp's pin if you are also using the driver board. Note that if you built the driver circuit custom, take proper care when connecting to the stamp.
    With the driver board you can purchase from acroname, you can use the COUNT command to count the number of pulses (which is proportional to the amount of UV light) outputted from the sensor.

    ' {$STAMP BS2}
    ' Quick UVTron Demo
    'constants
      UVtron_Pin CON 0  ' use P0 for UVtron
      How_long CON 1000 ' count amount of pulses for 1 second
    
    'variables
      UVlight VAR Word
    
    
    main:
      GOSUB check_sensor
      DEBUG ? UVlight
    GOTO main
    
    check_sensor:
      COUNT UVtron_Pin,How_long,UVlight
    RETURN
    
    



    This worked when I wired up a quick circuit.
    The debug terminal output should be 0 until there is UV light present, then you will get a decimal number that changes with changes in UV light.
    Also note the jumper wire on the right-hand side (facing rear of board).
    There are pairs of pads numbered 3, 5, 7, 9, and a pair with no marking.
    If you place the jumper (requires desoldering and re-soldering) across the pads that are closest to you (no marking), you should get more sensitivity.
    Hope this helps.

    Post Edited (johnsrobotics) : 6/10/2006 7:30:15 AM GMT
Sign In or Register to comment.