Programming and Interfacing
Purpose The purpose of this unit is to provide students with an opportunity
to build skills in object oriented event driven programming. These activities
are in the context of programming for electronic systems and more specifically
the interfacing environment. Students will build confidence in manipulating the
development interface of an event driven programming language; designing
graphical user interfaces by manipulating properties and other dialog boxes; and
then writing code for custom made programs to complete specific tasks. The unit
is divided into five topics.
Topic 01 - Introduction to Interfaces
- 3.1.1 define interface and provide examples of common interfaces
- person to machine
- machine to machine
- machine to person
- operating systems
- application software
- 3.1.2 differentiate between the functions of computer hardware interfaces
for sensing, switching and regulating.
- 3.1.3 distinguish between digital and analog input and output.
- 3.1.4 describe the characteristics and function of an analog to digital
- Sampling rate
- Input voltage range
- Input type
- 3.1.5 describe the characteristics of a digital to analog converter
- Conversion rate
- Output voltage range
- Output type
- 3.1.6 employ digital input and output and analog input and output.
- 3.1.7 distinguish between sensors and actuators
Topic 02: Introduction to Programming
- 3.2.1 define object oriented/event driven programming.
- 3.2.2 identify the main components of an object oriented programming
- 3.2.3 discuss how the graphical user interface (GUI) is developed on the
- Toolbox controls
- Control properties
- Control arrays
- 3.2.4 employ sketching techniques to design a user interface which can be
developed in an object oriented programming language.
- 3.2.5 demonstrate the use of operators.
- concatenation (+, &)
- 3.2.6 Demonstrate the use of variables.
- Data types
- Hungarian notation
- Variable declaration (dim)
- Variable arrays
- 3.2.7 demonstrate the syntax and use of the definite, indefinite, and
conditional looping structures available in programming.
- 3.2.8 demonstrate the syntax and use of conditional processing structures
available in programming.
- 3.2.9 identify the properties of and recognize the scope of a procedure
Topic 03: Input Devices
- 3.3.1 identify the purpose common sensor types utilized in robotics.
- 3.3.2 identify the role of digital sensors.
- 3.3.3 identify the role of analog sensors.
- Generating voltage
- Modifying voltage
- 3.3.4 calibrate an analog sensor signal.
- types of equations
Topic 4: Output Devices
- 3.4.1 differentiate between motor types typically used in robotics.
- 3.4.2 differentiate between the two main types of electromechanical
- 3.4.3 use pulse width modulation to demonstrate proportionate control for
servo and DC Motors
- 3.4.4 use sensors and actuators to demonstrate analog and digital sensing
- 3.4.5 identify applications of pneumatics for robotics.
- 3.4.6 Identify the characteristics and function of indicators in
Topic 5: Remote Sensing and Control
- 3.5.1 describe unique features of wireless control.
- Traditional Radio Control
- IP Control
- 3.5.2 describe applications for wirelessly controlled robotics.