Intellecta Technologies Pty Ltd

for PICAXE education, Roland CAM, Techsoft CAD, Intellecta control, Atmel, Arm and Microchip education

Buggy Task 3:

This is a simple task that turns on the red and green led in relation to the light intensity recorded by the light sensor.

The functions of the icons are:

Light sensor - a number between 0 and 5 is sent out from this icon. Notice that the link is in red to show that this is an analog value.

Viewer 1 - this displays the value from the input.

Comparator - this icon makes a comparison between the input and either an internal value or another input. In this case, the comparison is with an internal value. The output of this icon is either an ON/OFF or REVERSE value. The actual value is -1.0. 0.0 or 1.0.

Viewer - This is the same viewer icon but it uses a set of arrows to define the reverse/off/forward values. The status view makes it easier to see the values as colors rather than numeric values.

Status viewer

Light red (ON) - the red led will illuminate when an ON value is received by the icon. The ON condition is set in the property of the light.

Light condition

Light (RVSE) - links the red led to the strategy. In this case, the light comes on when the icon input is the REVERSE value.

Light condition reverse

 

Buggy _task 3_e02

Buggy _task 4_e_comparator property

Comparator properties:

The light sensor value is compared to an internal reference value 0f 2.5V with a tolerance value of 0.01V. These values can be changed to suit the light conditions in the area.

The three options are defined as

  • Light sensor = reference,
  • Light sensor > reference and
  • Light sensor < reference
  •  


    [Home] [About] [News] [Events] [Products] [CAD] [CAM] [Control] [Mechatronics] [Science] [Materials] [Support] [Map] [Contact]

    PICMicro & Microchip logo are registered trademarks of Microchip Technology Inc. AZ. Atmel AVR & Atmel logo are registered trademarks of Atmel Corporation. CA. Philips Logo is a registered trademark of Philips Semiconductor Inc & Philips SA, Netherlands. Picaxe is a registered Trade mark of Revolution Education. Intellecta is a registered trademark of Intellecta Technologies. All other logos and trademarks are the property of their respective owners.

    © 1997- 2005 Intellecta Technologies - All rights reserved - email: support@intellecta.net