Formula Flowcode User Guide
Formula Flowcode User Guide
Formula Flowcode User Guide
FLOWCODE
www.matrixmultimedia.com
MATRIX
Introduction
Formula Flowcode is a robot vehicle which is used to teach robotics, and to provide a platform for competing in robotic events.
Benefits
A low cost, all inclusive solution Can also be used for mechanical studies A highly motivating approach to learning
program, simulate its functionality on-screen and then click on a button to download the program to the robot via USB. The robot is designed to allow learners to complete a range of programming tasks with increasing levels of difficulty, building their understanding as they progress through the tasks. The technical specification of Formula Flowcode is impressive: it uses an advanced PICmicro 18 series microcontroller with internal precision motor controller circuitry, has three infrared distance sensors, line following sensors on a separate circuit board, a speaker, audio level sensor, light sensor, two spare switch inputs, eight user programmable LEDs and various expansion buses including an E-blocks port.
Features
Includes graphical programming software (Flowcode) USB programmable High technical specification Micromouse competition compatible Can also be programmed in C and Assembly A2 line following track is provided
This maze solving robot has been designed to provide a motivating platform for learning robotics for all ages. The robot addresses the requirements of technology education in schools and colleges and the electronic circuit board can also be used for mechanical projects at 16+. The high specification two wheel robot is powered from rechargeable batteries and is compatible with the function limited version of Flowcode graphical programming software - available in twenty languages. Flowcodes drag and drop interface allows students with no previous programming experience to create a wide range of programs for the robot. Simply develop the
Lego NXT is a great product. This is better - it actually teaches students how robots think and work Bart Huyskens St. Josephs College, Belgium
Package details
E-blocks expansion socket Master reset switch Loudspeaker volume control Loudspeaker User definable press switches Distance sensor
External 5V supply input Power switch Distance sensor PIC18F4455 chip User definable press switches Motor drive chip Microphone
Plastic chassis with battery compartment, motors with gearboxes and two wheels Line following circuit board
Chassis
Speed Size Motor Battery 5 - 20cm/s 130 x 80 x 37cm MRM - GM03 with gearbox AA x 4
Pack contents
Plastic moulded chassis and gearbox Controller circuit board 4 x M3 posidrive self-tapping screws CD ROM with Flowcode and drivers User guide
Assembly requirements
Chassis is built and tested in the factory. The controller circuit board is built and tested in the factory. Final assembly using posidrive screwdriver is all that is required. No soldering required. Formula Flowcode is micromouse competition compatible
Design
Flowcode contains standard flowchart icons and electronic components that allow you to create a virtual electronic system on screen. Drag icons and components onto the screen to create a program, then click on them to set properties and actions. Easy to use interface Allows complex programs to be developed and managed quickly All robot I/O and expansion options are supported in Flowcode
Flowcode simulation
Simulate
Once your system is designed you can use Flowcode to simulate it in action. Test the systems functionality by clicking on switches or altering sensor values, and see how your program reacts to the changes in the electronic system. Simulation aids understanding Debug before download Shorten the design cycle
Download
When you are happy with your design, click one button to send the program directly to the Formula Flowcode robot. Remove the USB lead and press the reset button and your program starts to run. One button download Compiles to C and Assembly Link in your own C files
Support
User support for Formula Flowcode is available on the Matrix Multimedia forums where users can ask each other questions and swap programs.
User guide
The CD ROM An introduction to microcontroller programming provides background material on developing electronics systems with Flowcode
A user guide is shipped with Formula Flowcode which includes assembly instructions, installation instructions, the circuit diagram and operation.
Challenges
Formula Flowcode is named after the Formula Ford racing competition where cars are all identical and winning only comes down to the drivers skill. In this case winning comes down to the programming skills of the user. As you might expect there are a number of separate challenges that users have to complete to increase their skill level. These challenges start with getting a single LED to light up, and finish with full maze solving using a custom made chassis, with wheel encoders etc. This is the really clever idea behind Formula Flowcode - it is great for complete beginners to robotics and electronics, and it will also provide a considerable challenge to those studying for degrees in electronics and computer science. Many challenges are possible, the 10 prescribed challenges can be seen on the right:
Start line 375mm Nearside lane 7200mm Finish line 1200mm 400mm
Use switches and LEDs to understand inputs, output and binary operation.
Robopop
Program the robot to drive the motors with a specific speed and direction so that predetermined figures such as a triangle, a square, a circle or a spiral are made.
Follow an unknown line (closed figure, white line on black background) as fast as possible. The fastest mouse wins
The robot shall be placed as far away from the light as possible, not facing the light. The robot needs to find its way to the light, as fast as possible, and stop in the white rectangle in front of the light without hitting the wall.
Drag race
Travel as fast as possible over a straight course, following a white line, then brake and stand still before hitting the end wall. This is a competition event.
Daytona race
Do three laps around the maze as fast as possible, the fastest mouse wins. One second will be added for every time you hit a wall or make a touch. This is a competition event.
Lefty
The Daytona 5, a simple maze based race
Solve a known maze as fast as possible using the wallfollowing technique. Stop on the white square. One second will be added for evert time you hit a wall or make a touch. This is a competition event.
Full maze
Solve an unknown maze by mapping it first and then driving the fastest courses as fast as possible. The fastest run out of five runs counts. This is an advanced competition event.
Customise
The lefty, a more complex maze based race
Build your own chassis from scratch and carry out the full maze exercise. This is an advanced competition event.
Copyright Matrix Multimedia Ltd.
10
Expansion options
E-blocks
The Formula Flowcode robot is fitted with holes at 20mm intervals and a full expansion port on a D-type E-blocks connector. These features mean that it is possible to add an E-blocks board to the chassis to extend its functionality: for example an additional LCD display or a Bluetooth communications board.
Other expansion
The E-blocks connectors exposes the communications port of the chassis so that it is also possible to add a wider range of accessories including ultrasonic, image, speech etc. Servo motor connectors are also available to provide additional robotics functions.
Students can use the controller circuit board as a basis mechanical engineering design work
The Flowcode controller circuit board is designed so that it can be used on a mechanical chassis, other than the one supplied as standard, using expansion features such as additional connections for servo motors, and wheel encoder inputs. This makes the chassis suitable for use as part of a course where students study both electrical and mechanical engineering. In these courses students are tasked with designing their own chassis using custom made metal parts and higher specification motors. This approach also allows students to develop their expertise further with full international standard mazes being solvable with the chassis.
Formula Flowcode is compatible with E-blocks, like the LCD board shown here
Copyright Matrix Multimedia Ltd.
Benefits
Features
Compatible with ECIO, MIAC and Formula Flowcode systems via the USB lead Available for Flowcode for PICmicro 4.2 and later Allows start, step and play of programs Allows users to see and alter variable values
Whilst Flowcode simulation allows debug of a system to a first pass, FlowKit takes debug to a new level by running the program in the hardware and on the screen at the same time. The system is controlled from within the Flowcode environment where controls allow users to start, stop, pause and step through their program one icon at
HP794
Maze walls
These walls and posts are designed to allow you to create a maze of your own. Each wall measures 168 x 12 x 50mm. 30 walls and posts are included in the pack which allows you to make a 5 x 5 cell maze.
HP458
HP295 EB629
Includes 5 Formula Flowcode kits, 1 set of maze walls, a function limited version of Flowcode, a storage tray and a 10 user version of the Introduction to microcontroller programming CD ROM. Sufficient for 10 students working in pairs. Compatible with challenges 1 to 5.
This is the built and tested controller circuit board from Formula Flowcode.
Includes 10 Formula Flowcode chassis kits, 1 set of maze walls, a site licence of Flowcode V5 professional software (worth 700). A site licence of the Introduction to microcontroller programming CD ROM, 5 LCD displays, 4 IDC cables and two storage trays. Sufficient for 20 students working in pairs. Compatible with all challenges.
Copyright Matrix Multimedia Ltd.
HP454
Matrix Multimedia Ltd. 23 Emscote Street South Halifax HX1 3AN t: +44 (0)1422 252380 e: sales@matrixmultimedia.co.uk www.matrixmultimedia.com