Joydrive and Self Tests

DIGIN and DIGOUT Test

A subsequent self-test lets you examine the values of the eight digital input (ID07) and output (OD0-7) ports associated with User I/O on your ActivMedia robot’s microcontroller. The state of each port is mapped into a series of eight digits displayed on the LCD. Each digit, 0 or 1, representing the ON or OFF state of a port, numbered right-to-left from 0 to 7. For instance, in the example below, digital input (DIGIN) ports 1 and 5 are ON; the rest are OFF:

DIGIN: 00100010

DIGOUT: 01010101

The DIGOUT ports automatically and rhythmically toggle ON and OFF.

The basic microcontroller has no attachments to the I/O ports. Because their normal state is floating, the DIGIN readings will vary. The DIGIN self-test becomes useful, of course, when you have equipment attached to one or more of the digital input ports.

See Appendix A for the location of the digital input and output ports.

ANALOG Tests

P2OS versions 1.2 and later let you alternatively use four of the digital input ports as analog-to-digital (A/D) input ports. And there is one dedicated A/D port on the User I/O connector. The ANALOG self-test measures the voltage (0-5 VDC) applied to each of the A/D ports and display its digitized value as a single byte in hexadecimal on the LCD:

ANALOG #1: A9 13.2*

Press the white MOTORS button to select the next analog port, 2-5. Port #5 is the dedicated and default A/D port. Like DIGIN, the measured value is unreliable unless you connect something to the port.

See Appendix A for the location of the A/D ports on the microcontroller.

User PWMs

P2OS versions 1.2 and later let you alternatively use four of the digital output ports as pulse-width-modulating sources to drive servo motors, for example. The User PWM self- test puts a one millisecond pulse onto each of these four PWM ports. Monitor them with an oscilloscope.

See Appendix A for the location of the PWM ports on the microcontroller.

28

Page 34
Image 34
Pioneer 2 / PeopleBot manual Digin and Digout Test, Analog Tests, User PWMs, Digin Digout, Analog #1 A9

2 / PeopleBot specifications

Pioneer 2, also known as PeopleBot, is an advanced mobile robot platform heralded for its versatile design and robust capabilities. Developed by the renowned robotics company Adept Technology, Pioneer 2 has become a staple in the field of mobile robotics, widely utilized for research, education, and practical applications in various industries.

One of the standout features of Pioneer 2 is its exceptional mobility. The robot is equipped with differential steering, allowing it to navigate complex environments with precision. Its compact and sturdy chassis enables it to traverse a variety of terrains, making it suitable for indoor and outdoor exploration. This mobility is further enhanced by an adaptable wheel configuration, allowing for smooth movement even over obstacles.

In terms of technologies, Pioneer 2 is outfitted with an array of sensors that facilitate autonomous navigation and obstacle avoidance. These sensors include laser range finders, infrared sensors, and bumpers, which work in tandem to map the surrounding environment and detect potential hazards. This capability is critical for applications in areas such as warehouse automation or reconnaissance tasks, where safe navigation is paramount.

Pioneer 2 also supports extensive software frameworks, notably the Robot Operating System (ROS). This compatibility allows researchers and developers to leverage a vast library of tools and algorithms, expediting the process of programming and deploying robotic applications. Additionally, the platform can be integrated with various payloads, such as cameras or grippers, expanding its functionality further.

Another significant characteristic of Pioneer 2 is its user-friendly design. The robot comes with an easy-to-use programming interface that empowers users with varying levels of expertise to engage with the technology. Educational institutions often employ Pioneer 2 in robotics courses to provide students with hands-on experience in programming and operating robotic systems.

Powering Pioneer 2 is a rechargeable battery system that ensures extended operation times. This feature is particularly advantageous for fieldwork applications where connectivity to a power source may not be readily available. Importantly, the robot’s modular design facilitates maintenance and upgrades, allowing users to keep their systems current with advances in technology.

Overall, Pioneer 2 (PeopleBot) exemplifies innovation in mobile robotics with its outstanding mobility, advanced sensing technologies, compatibility with leading software frameworks, and a design focused on ease of use and adaptability. It continues to be a preferred choice for researchers, educators, and professionals in the rapidly evolving landscape of robotics.