All public logs
Jump to navigation
Jump to search
Combined display of all available logs of Smart Box. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 23:50, 6 October 2023 Benryves talk contribs uploaded File:Tutorial-fig14.png
- 23:46, 6 October 2023 Benryves talk contribs created page Average (Created page with "The AVERAGE command is useful if you want to look at the changes on a sensor over a longer period of time. For example taking a reading of sound levels during the night could be done by storing the sound level every five minutes, but this will only store the volume at the precise moment the reading is taken. By averaging the readings for every five minute period a better impression of the sound levels during the night will be built up. An example procedure using the AVER...")
- 23:46, 6 October 2023 Benryves talk contribs created page File:Tutorial-fig13.png
- 23:46, 6 October 2023 Benryves talk contribs uploaded File:Tutorial-fig13.png
- 23:42, 6 October 2023 Benryves talk contribs created page Data capture (Created page with "Smart Move includes the facility to save readings from the sensors to disk. This allows data to be gathered under certain conditions and at various times. The information is saved in a form which can be read by most spreadsheets and word processors. An example procedure for capturing data is shown in fig. 12. frame|none|fig. 12 ''How it works.'' The first line resets the internal clock to 0. Line two opens a file to save the readings to, in...")
- 23:40, 6 October 2023 Benryves talk contribs created page File:Tutorial-fig12.png
- 23:40, 6 October 2023 Benryves talk contribs uploaded File:Tutorial-fig12.png
- 23:37, 6 October 2023 Benryves talk contribs created page Making decisions (Created page with "In many cases you will want to make your program choose between one action or another depending on the sensor reading. One example of this is given in fig. 11. This procedure will constantly check the temperature and switch on either one of two lamps depending on the reading. frame|none|fig. 11 ''How it works.'' The REPEAT and UNTIL lines form a loop. The lines within the loop will repeat until sensor A falls below 10. Each time round the lo...")
- 23:36, 6 October 2023 Benryves talk contribs created page File:Tutorial-fig11.png
- 23:36, 6 October 2023 Benryves talk contribs uploaded File:Tutorial-fig11.png
- 23:30, 6 October 2023 Benryves talk contribs created page Using sensors (Created page with "You can attach various sensors to Smart Box and then write a Smart Move program which uses the reading from a sensor to determine whether or not to carry out a command. The sensors will return a value when you ask Smart Move to check them. The digital sensors will return either a 1 or a 0, the analogue sensors will return a number dependent on the reading from the sensor. Connect the temperature sensor into sensor socket A. You will notice that the screen display chang...")
- 23:28, 6 October 2023 Benryves talk contribs created page Loading procedures (Created page with "To load a procedure or group of procedures type LOAD followed by the filename. If you are not sure of the filename type LOAD < Enter > this will display a catalogue of the available procedures. Category:Tutorial Category:Missing images")
- 23:27, 6 October 2023 Benryves talk contribs created page Saving procedures (Created page with "As you create your procedures they are stored in the memory in Smart Box, but they are lost when the power is switched off. You can save your procedures to the disk on your PC so that they can be recalled at a later date. With Smart Move you can save individual procedures or save all the procedures you create as a group. To save all procedures together type SAVE followed by a filename. The filename must be different from any of the procedure names you have used when you...")
- 23:24, 6 October 2023 Benryves talk contribs created page Procedures within procedures (Created page with "When Smart Move sees a procedure name it performs the sequence of instructions that you have created, Smart Move treats your procedure as one of its commands. Type the example procedure lights as shown in fig. 5 into the editor. frame|none|fig. 5 Return to the main screen by pressing < Esc >. When you type lights < Enter > the procedure will first flash output 1 five times and then switch each output on in turn. ''How it works.'' When Smart...")
- 23:22, 6 October 2023 Benryves talk contribs created page File:Tutorial-fig05.png
- 23:22, 6 October 2023 Benryves talk contribs uploaded File:Tutorial-fig05.png
- 23:19, 6 October 2023 Benryves talk contribs created page Variables (Created page with "The FOR NEXT loop is a way of making a certain action occur a set number of times. Sometimes it is necessary to change something each time the action is performed. One way of doing this is to use a ''variable''. A variable is a word which can be given a numerical value. Try this example. From the Smart Move main screen type LET cars = 23 < Enter >, then type PRINT cars < Enter >. The current value of cars (i.e. 23) will be printed. The example shown in fig. 4 uses a va...")
- 23:18, 6 October 2023 Benryves talk contribs created page File:Tutorial-fig04.png
- 23:18, 6 October 2023 Benryves talk contribs uploaded File:Tutorial-fig04.png
- 23:13, 6 October 2023 Benryves talk contribs created page Repeating actions (Created page with "You have created your first procedure and tested it. Hopefully it switched on output 1 for one second. Procedures can be developed, tested and then developed further. The flash procedure can now be extended to flash 5 times. Return to the editor by typing EDIT flash and press < Enter >. Now edit the procedure to add the lines shown in fig. 3. Press < Tab > to insert a line above the cursor. When you have finished press < Esc > to close the procedure editor. Now type fl...")
- 23:13, 6 October 2023 Benryves talk contribs created page File:Tutorial-fig03.png
- 23:13, 6 October 2023 Benryves talk contribs uploaded File:Tutorial-fig03.png
- 23:09, 6 October 2023 Benryves talk contribs created page Procedures (Created page with "You have typed some commands and Smart Move has acted on them immediately. The next stage is to build a sequence of commands to perform a task which Smart Move will carry out. A procedure is a sequence of instructions. Each procedure is given a name, which can be up to 15 characters in length, when you create it. Follow these instructions to create a procedure called flash which will switch on one of the outputs for one second. Begin by typing BUILD flash < Enter > The...")
- 23:09, 6 October 2023 Benryves talk contribs created page File:Tutorial-fig02.png
- 23:09, 6 October 2023 Benryves talk contribs uploaded File:Tutorial-fig02.png
- 23:03, 6 October 2023 Benryves talk contribs created page File:Tutorial-fig01.png
- 23:03, 6 October 2023 Benryves talk contribs uploaded File:Tutorial-fig01.png
- 22:45, 6 October 2023 Benryves talk contribs created page Switching outputs on and off (Created page with "Begin by typing SWITCH ON OUTPUT 1 < Enter > The green light next to digital output 1 on your Smart Box will light. Any device that you may have connected, such as a bulb, will now receive power. : ''Note - You can type commands using either upper or lower case characters, Smart Move will change any keywords it finds to upper case and highlight them.'' Now type SWITCH OFF OUTPUT 1 < Enter > Digital output 1 will switch off. You can switch on and off more than one out...")
- 22:40, 6 October 2023 Benryves talk contribs created page Tutorial (Created page with "* Switching outputs on and off * Procedures * Repeating actions * Variables * Procedures within procedures * Saving procedures * Loading procedures * Using sensors * Making decisions * Data capture * Average * Controlling a motor * Varying power and pulsing outputs * Printing procedures")
- 21:06, 6 October 2023 Benryves talk contribs created page Category:Smart Box (Created page with "This category describes the Smart Box hardware.")
- 20:59, 6 October 2023 Benryves talk contribs created page Technical Specification (Created page with "== Equipment Ratings == === Power === * Input: 220/240V 50/60Hz * Power rating: 30VA (Smart Box EV : 60VA) === Connections === * 8 x 4mm socket pairs for digital sensor inputs, * 4 x 5-pin 180° DIN sockets for Smart Analogue Sensors, * 8 x 4mm socket pairs for digital outputs, rated at 5V (max. current for any one output 400mA; total max. current for all digital outputs 600mA), * 4 x 4mm socket pairs for motor outputs, rated at 5V (max. current for any one output 1....")
- 20:53, 6 October 2023 Benryves talk contribs created page Smart Box EV (Created page with "These notes document the additional features of Smart Box EV and Smart Move software. They should be read in conjunction with the Smart Box guide and the appropriate software guide for your machine. == Smart Box ''EV'' == Smart Box ''EV'' differs from the standard Smart Box by including switchable motor output voltage and a program retention feature. == Motor output voltage == The output voltage at the motor terminals can be switched to one of three ranges using the...")
- 20:48, 6 October 2023 Benryves talk contribs created page Outputs (Created page with "== What are Outputs? == Outputs are the physical connection between Smart Box and an external device that it is controlling such as a lamp or motor. Smart Box has two types of output sockets, the blue and red ‘Digital Outputs’ on the top of the case and the ‘motor’ outputs on the side. === Digital Outputs === The eight digital outputs are designed to switch on and off lamps and buzzers or similar devices. Each output can be switched on and off individually and...")
- 20:43, 6 October 2023 Benryves talk contribs created page Sensors (Created page with "== What are sensors? == Sensors are devices which measure some physical quantity or movement and send an electrical signal back to Smart Box. This in turn converts the signal into a form that the software can understand. The sensors provide ''feedback''. An example of a system involving feedback might be a plant heating system. The computer can switch on and off a heater, but it needs to be able to measure the temperature of the environment being controlled in order to...")
- 20:36, 6 October 2023 Benryves talk contribs created page Setting up (Created page with "== Connecting Smart Box to your computer == Smart Box is connected to your computer using a serial port on each machine. Smart Box is supplied with a serial cable to suit your computer. One end of the cable is fitted with a 5 pin DIN plug which plugs into the serial socket on the back panel of Smart Box. The other end of the lead plugs into your computer's serial port. === PC compatible computers === Plug the lead into the socket marked ‘Serial port’. The lead is...")
- 20:25, 6 October 2023 Benryves talk contribs created page Introduction (Created page with "== About Smart Box == Smart Box has been designed to allow you to monitor the environment and control external devices using your computer. Smart Box is itself a small computer which has sockets to allow the connection of many types of sensors and other devices. Because Smart Box does not have its own keyboard or monitor it receives all its instructions via the cable which connects Smart Box to the ‘host’ computer. The ‘Serial’ port at the back of Smart Box is c...")
- 20:22, 6 October 2023 Benryves talk contribs created page Smart Box (Created page with "© Copyright Economatics (Education) Limited 1992 == Contents == Introduction * About Smart Box * The ports * Rear panel * Software Setting up * Connecting Smart Box to your computer * PC compatible computers * Apple Macintosh * Acorn Archimedes * BBC Micro/Master computer * Setting up procedure Sensors * What are sensors? * Analogue sensors * Digital sensors * Making your own sensors Outputs * What are Outputs? * Digital Outputs * Motor Outputs...")
- 20:05, 6 October 2023 Benryves talk contribs created page Mathematical operators (Created page with "== Description == Smart Move allows the use of mathematical operators using both standard notation and the plain English equivalent. The following operators are allowed: {| | + || PLUS |- | - || MINUS |- | / || DIVIDED BY |- | * || MULTIPLIED BY |- | = || EQUALS |- | < || IS LESS THAN |- | > || IS GREATER THAN |- | = || IS EQUAL TO |- | <> || IS NOT EQUAL TO |- | =1 || IS ON |- | =0 || IS OFF |- | || AND |- | || OR |} == Examples == PRINT 4+4 PRINT 4...")
- 19:59, 6 October 2023 Benryves talk contribs created page WAIT (Created page with "== Syntax == WAIT time/condition == Description == The wait command suspends processing until a certain event occurs or for a specified time period. == Examples == WAIT UNTIL SENSOR A >= 50 WAIT 5 == Associated keyword == * PAUSE Category:Reference Category:Procedure")
- 19:58, 6 October 2023 Benryves talk contribs created page UNTIL (Created page with "== Syntax == UNTIL condition == Description == UNTIL can be used in two ways. The first, as part of the REPEAT...UNTIL loop, causes a sequence of lines to be repeated until a condition becomes true. The second, as part of the WAIT...UNTIL statement, halts all processing until a condition becomes true. == Examples == UNTIL INPUT 0 IS ON AND INPUT 1 IS ON == Associated keywords == * REPEAT * WAIT Category:Reference Category:Procedure")
- 19:57, 6 October 2023 Benryves talk contribs created page TRUE (Created page with "== Syntax == TRUE == Description == TRUE is represented by the value -1 in Smart Move. == Examples == PRINT TRUE == Associated keywords == * FALSE Category:Reference Category:Procedure")
- 19:56, 6 October 2023 Benryves talk contribs created page TRACE (Created page with "== Syntax == TRACE ON/OFF == Description == With TRACE ON all lines are printed to the output window as they are executed. This also has the effect of slowing the program down. == Examples == TRACE ON TRACE OFF Category:Reference Category:Procedure")
- 19:55, 6 October 2023 Benryves talk contribs created page TIME (Created page with "== Syntax == TIME Hours:Minutes:Seconds:Centiseconds == Description == The TIME keyword can be used either to set the internal clock to a certain time or to read the current time. A time value begins with a colon. When setting the time include all values from the unit you are setting down to the centiseconds. For example, to set the clock to a value of 1 minute type :1:00:00 (1 minute, zero seconds, zero centiseconds) == Examples == Print the current time PRINT TI...")
- 19:53, 6 October 2023 Benryves talk contribs created page SWITCH (Created page with "== Syntax == SWITCH ON/OFF == Description == Used to switch on and off the digital outputs. Smart Move will also accept SWITCHON and SWITCHOFF as valid keywords. == Examples == SWITCH ON 1 SWITCH ON OUTPUT 1 SWITCH ON 0,2,4,6 SWITCH ON 3 POWER 5 SWITCH ON 5 PULSE 50,50 SWITCH ON 1 SPEED 5 == Associated keywords == * POWER * SPEED * PULSE Category:Reference Category:Procedure")
- 19:52, 6 October 2023 Benryves talk contribs created page STORE (Created page with "== Syntax == STORE channel,variable,variable,variable == Description == The STORE command is used to store variables to a disk file. This is typically used to store readings from a sensor, or sensors for data capture purposes. The command can store numeric variables with a value between 0 and 255, variables containing text strings and time values. The time is automatically stored at the beginning of each STORE statement. == Example == STORE 1,SENSOR A,SENSOR B ==...")
- 19:51, 6 October 2023 Benryves talk contribs created page STOP (Created page with "== Syntax == STOP CLOCK == Description == Smart Box has an internal clock which ticks 100 times per second. The STOP command is used to stop the clock. == Example == STOP CLOCK STOP == Associated keywords == * START * RESET * TIME Category:Reference Category:Procedure")
- 19:50, 6 October 2023 Benryves talk contribs created page START (Created page with "== Syntax == START CLOCK == Description == Smart Box has an internal clock which ticks 100 times per second. The START command is used to start the clock. The current time value can be printed to the output window. == Example == START CLOCK START PRINT TIME == Associated keywords == * STOP * RESET * TIME Category:Reference Category:Procedure")
- 19:48, 6 October 2023 Benryves talk contribs created page SPEED (Created page with "== Syntax == SPEED speedvalue == Description == The SPEED command varies the speed of devices connected to the outputs by rapidly switching them on and off. The speedvalue can be between 0 and 10. A speedvalue of 1 will switch the output on for 100 centiseconds and off for 900. A speedvalue of 9 will switch the output on for 900 centiseconds and off for 100. A speedvalue of 0 will switch the output off and performs the same function as the SWITCH OFF or [...")
- 19:46, 6 October 2023 Benryves talk contribs created page SENSOR (Created page with "== Syntax == SENSOR sensorname == Description == This function returns the current value of the specified sensor. == Examples == PRINT SENSOR A PRINT LIGHT == Associated keywords == * INPORT Category:Reference Category:Procedure")
- 19:45, 6 October 2023 Benryves talk contribs created page RTC (Created page with "== Syntax == RTC == Description == This function returns the time from the host micro's clock in Smart Move time format. == Example == To print the value of the host micro's clock PRINT RTC To set the clock in Smart Move to the same time as the host micro's. LET TIME = RTC == Associated keywords == * TIME Category:Reference Category:Procedure")