Download L v2.0

Transcript
TABLE OF CONTENTS:
1
INTRODUCTION .............................................................................................................................1
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
2
Upgrade from IRCF v1.0 ..............................................................................................................................................................1
New to Autonomous Robots?.......................................................................................................................................................1
What does the IRCF-L actually do?............................................................................................................................................1
Pre-programmed proximity commands......................................................................................................................................4
IRCF–L interfaces easily to any microcontroller.....................................................................................................................4
User Support....................................................................................................................................................................................4
Tools & Equipment you may need..............................................................................................................................................4
Before you start – THINK “SAFETY FIRST“ !.......................................................................................................................5
Overview of IRCF-L functionality ....................................................................................................6
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10
2.11
2.12
3
Serial interface cable connection .....................................................................................................10
3.1
3.2
3.3
4
5
6
Microprocessor controlled sensor and IR module ....................................................................................................................6
Microprocessor Firmware .............................................................................................................................................................6
Non-contact proximity detection and distance measurements................................................................................................6
Infrared Proximity Sensing Envolope.........................................................................................................................................6
Infrared Proximity detection - Directional Indication..............................................................................................................7
Visual Feedback, based on Mode of operations........................................................................................................................8
Fuzzy Logic .....................................................................................................................................................................................8
Infrared Remote Control ...............................................................................................................................................................8
Inter-Robot communications........................................................................................................................................................8
Customise an Infrared Control Freak - LIGHT....................................................................................................................9
Modifications for increased sensing range...........................................................................................................................9
Calibration of the Infrared Control Freak .............................................................................................................................9
Serial cable connection To PC ...................................................................................................................................................11
Serial connection to the main robot controller ........................................................................................................................12
Using a 5v regulated power supply from the Robot Controller. ..........................................................................................13
Testing the connection to the PC using communication software. ..................................................14
Power-up tests..................................................................................................................................18
Programmable command codes .......................................................................................................19
6.1 Sending commands to the IRCF-L and receiving results using the basic stamp from Parallax inc...............................20
6.2 Command Code 020 – Sony SIRC IR Transmissions Mode. (Used for inter-robot communication, TAG/ZAP
gaming and Beacon transmission mode)..............................................................................................................................................22
6.3 Command Code 030 & 040 – Sony Infrared Receiver Mode...............................................................................................24
6.4 Command Code 032 & 042– Infrared proximity detection mode (IRPD) .........................................................................27
6.5 Command code 034 & 044 – Freewheeler mode....................................................................................................................30
6.6 Command Code 035 – Autopilot mode....................................................................................................................................31
6.7 Command Code 036 – Infrared Beacon Mode........................................................................................................................32
6.8 Command Code 037 - Light Sensor mode..............................................................................................................................35
6.9 Command Code 038 - Light Sensor Mode + IRPD Mode...................................................................................................37
6.10
Command Code 052 - Beacon Transmission Mode........................................................................................................41
APPENDIX A – SAFETY, DISCLAIMER, LICENCE .........................................................................42
APPENDIX B – INTRODUCTION TO AUTOMONOMOUS ROBOTICS? .......................................44
What is an autonomous robot?...............................................................................................................................................................44
I’m a total beginner in Robotics. Where should I start?....................................................................................................................44
What is a Robot Sensor?.........................................................................................................................................................................45
Is the Infrared Control Freak - Light also suitable for beginners?...................................................................................................45
APPENDIX C - Calibration of the Infrared Control Freak .....................................................................46
APPENDIX D - Principles of ‘Infrared Remote Control’ .......................................................................47
APPENDIX E – A BRIEF OVERVIEW OF FUZZY LOGIC................................................................51
(Coming soon)APPENDIX F – CIRCUIT DIAGRAM ..........................................................................57
APPENDIX F – CIRCUIT DIAGRAM ..................................................................................................57
APPENDIX G – PCB LAYOUT.............................................................................................................58
APPENDIX H – FAULT DIAGNOSTICS .............................................................................................59
APPENDIX I - Connector Overview.......................................................................................................60
APPENDIX J - Modifications for increased range. .................................................................................61