Intellecta Technologies Pty Ltd

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

Buggy _task 4_e_graph and sensor

Buggy Task 4:

This is a simple task that turns on the red and green led in relation to the light intensity recorded by the light sensor. Both the light level and the comparator output are shown on the data logger graphical display.

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

Data Logger: - this icon allows data to be shown on a graph. Both the light sensor value and the comparator icon output is connected to the data logger, it is important to set up the correct scales on the y or vertical axis. The comparator icon can output values from -1 to 1 so the scale is set to -2 to 5. This will ensure that all the data is captured.

The following figure shows a typical output.Buggy _task 4_e_graph

Data Logger Properties:

Vertical axis: The Max and Min windows set the limits for the vertical axis

Log for : set up the total time for the horizontal axis display

Display graph: Make the graph visible with this selection.

Log point every: defines the sample rate for the display.-

data logger property02

[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