Académique Documents
Professionnel Documents
Culture Documents
Dossier Technique
Dossier Technique
Dossier technique
DOSSIER TECHNIQUE DU :
SOMMAIRE
1 )Description du robot...............................................................................................................................3
1.1 )Déplacements..................................................................................................................................3
1.2 )Capteurs...........................................................................................................................................3
1.2.1 )Principe de fonctionnement du module de détection de marquage au sol..............................4
1.2.2 )Réglage de la sensibilité..........................................................................................................4
Test visuel par DEL témoin............................................................................................................4
1.3 )Moto-reducteur................................................................................................................................5
1.4 )Supports...........................................................................................................................................6
1.4.1 )Support du robot......................................................................................................................6
1.4.2 )Support des balles « bonus »...................................................................................................6
2 )Montage - Câblages................................................................................................................................6
2.1 )Carte PICAXE (High Power 18 Projetc Board – CHI035).............................................................6
2.2 )Moto-réducteurs..............................................................................................................................7
2.3 )Capteurs de ligne.............................................................................................................................7
2.4 )Connecteur femelle de l’accumulateur et interrupteur ON/OFF.....................................................8
2.5 )Exemple de « roue folle » avec une bille porteuse..........................................................................8
2.6 )Version finale..................................................................................................................................8
3 )Programmation........................................................................................................................................9
3.1 )Généralités.......................................................................................................................................9
3.1.1 )Logiciel de programmation.....................................................................................................9
3.1.2 )Chargement des programmes..................................................................................................9
3.2 )Introduction à la programmation...................................................................................................10
3.2.1 )Qu’est ce qu’un microcontrôleur...........................................................................................10
3.2.2 )Qu’est ce qu’un programme..................................................................................................10
3.2.3 )Environnement de programmation « LOGICATOR »..........................................................10
3.3 )Programmes existants (fournis pour tests et simulations).............................................................11
3.4 )Simulation des programmes..........................................................................................................12
4 )Parcours et points..................................................................................................................................13
5 )Annexes.................................................................................................................................................14
5.1 )Réalisation du parcours.................................................................................................................14
5.2 )Documentation de la carte : Picaxe 18M2 High Power................................................................15
1 ) DESCRIPTION DU ROBOT
Notre robot est un petit véhicule muni de deux roues activées par deux moto réducteurs. Il est piloté par
un module programmable auquel on peut adjoindre différents capteurs.
Le module de pilotage dispose de :
• Huit entrées pour des capteurs,
• Quatre sorties annexes qui s’ajoutent à celles utilisées pour la commande des moteurs.
1.1 ) DÉPLACEMENTS
Il peut se déplacer dans toutes les directions :
1.2 ) CAPTEURS
Il est prévu pour accueillir plusieurs types de capteurs :
• Etc...
1.3 ) MOTO-REDUCTEUR
Le robot est constitué de deux moto-réducteurs indépendants. Un moto-réducteur est l'association (en
série) :
• d'un moteur électrique à courant continu simple à fabriqué, qui tourne rapidement mais qui
manque de couple (force de rotation),
• avec un réducteur (dont la réduction est réglable) qui permet de diminuer la vitesse de rotation
tout en augmentant le couple.
Moto-réducteur démonté
1.4 ) SUPPORTS
Pièce Pièce
à à
concevoir concevoir
entièrement entièrement
50mm
51mm 51mm
300mm
2 ) MONTAGE - CÂBLAGES
2.1 ) CARTE PICAXE (HIGH POWER 18 PROJETC BOARD – CHI035)
2.2 ) MOTO-RÉDUCTEURS
Vérification du
passage de la
fiche jack de
programmation
Installation de la Pare-choc de
batterie grâce à protection des
un «scratch » LED infra-rouge
auto-collant
« Pieds » du robot
pour permettre le
retournement du
robot sans dégâts
sur la carte
électronique :
Vis de 40mm
=> Vous ne ferez de test réels sur le robots que lorsque votre simulation fonctionnera
correctement et que votre professeur vous en donnera l'autorisation.
4 ) PARCOURS ET POINTS
Points : Points « bonus » :
Passage au « Point 1 » = 10Pts Arrêt à l'arrivé = 20Pts
Passage au « Point 2 » = 10Pts Placement du robot dans le parking = 30Pts
Passage au « Point 3 » = 10Pts Balle dans le « trous bonus 1 » = 20Pts
Passage au « Point 4 » = 10Pts Balle dans le « trous bonus 2 » = 30Pts
Arrivée au « Point 5 » = 20Pts
Point 2
Point 1
Point 3
Trou
« Bonus 2 »
Trou
« Bonus 1 »
Point 4
Parking
Départ Point 5
Arrivée
RQ : Les équipes ex-æquo seront départagées par le temps mis par le robot pour faire le parcours.
5 ) ANNEXES
5.1 ) RÉALISATION DU PARCOURS
Dimensions du circuit
Sur une planche en mélaminé blanc de 1,4m x 1m
30cm
cm
10
10cm
cm
25
10cm
cm
10
Trou 10
Diamètre 50mm cm
10cm
Trou
12cm Diamètre 50mm
cm
10 10cm
75cm
10cm
20cm
20cm
12cm
Parking
15cm
20cm
10
cm
20cm
20cm
15cm
20cm
20cm
20cm
15cm
10cm
Départ
15cm
Arrivée
20cm 20cm
C H I0 3 5 A P IC A X E -1 IG
8 HHPO W E R BO A R D
The board is supplied ready for immediate use with the PICAXE-18M2 chip.
The inputs (portC) are on the left and buffered outputs (portB) are on the right.
The direct (non-buffered) portB PICAXE outputs are also available in the centre of
the board for connection to logic level devices (e.g. an AXE033 Serial LCD).
B.4
C.4 B.3 B.3
B.2
C.5 B.1 B.2
B.0
C.6 G B.1
C.7 B.0
G G
GV1+ GV2+
B.6
B.5
OUT4
B.4
B.3
OUT3
B.2
RST B.1 OUT2
B.0
IN6 G OUT1
IN7 OUT0
G G
GV1+ GV2+
This peelable layer protects the user solderable pads during manufacture and
storage, to keep the pads clean and grease free.
Note also that the solder pads on the PCBs may now appear as a dull white
“milky” colour, not “shiny silver” as in the past. This is due to the more
“environmentally friendly” lead-free chemicals now used for plating RoHS
compliant PCBs.
This is not a fault and the pad can still be hand soldered just as easily as the older
style ‘shiny’ solder pads. No cleaning is generally required prior to soldering.
18M2
B.4
B.3
S ing le B a tte ry P a c k . B.2
B.1
The board requires a single 3-5V power supply to operate, a B.0
G
4.5V supply is recommended via a 3xAA cell battery pack,
connected to the V2+ (PWR) terminal connections. This
pack will then power both the microcontroller and the
output devices. The black wire is connected to the G
(ground) connection and the red wire to the V2+ black red
connection.
4.5V
D ua l B a tte ry P a c k .
If a higher voltage (e.g. 12V) is required to drive the
outputs, two separate power supplies may be used. In this V1
B.7
case the second power supply only powers the output B.6
B.5
devices. The 4.5V power supply is connected to V1+ (PIC)
18M2
B.4
and the second 12V power supply is connected to V2+ B.3
B.2
(PWR). When using two power supplies the wire link B.1
B.0
(resistor with single black band) shown MUST be cut off G
4.5V 6-12V
CHI035A
S ing le B a tte ry P a c k w ith R e g ula to r
If a higher voltage (e.g. 12V) is required to drive the
outputs, one power supply plus a 78L05 voltage regulator
may be used. In this case the power supply powers the V1
B.7
output devices directly, and the voltage regulator provides B.6
B.5
18M2
black red
input 7.5-12V
0V
output
CHI035A
V1
B.7 black
B.6
18M2 B.5
B.4
B.3 red
B.2
B.1
B.0
G
buzzer
CHI035A
V1
B.7
B.6
L293D
B.5
18M2
B.4
B.3
B.2 motor
B.1
B.0
G
Outputs B.4 & B.5 control one motor, outputs B.6 and B.7 control the other motor.
B .4 B .5 m o to r B .6 B .7 m o to r
low low halt low low halt
low high forwards low high forwards
high low backwards high low backwards
high high halt high high halt
Input D e vic e s
Digital inputs are connected between V1+ and the input pin as shown below.
analogue
e.g. potentiometer
pulldown resistors
removed on C.0 & C.1
CHI035A
V1
B.7
B.6
B.5
18M2
B.4
B.3
B.2
B.1
digital B.0
switch G
The connections marked C.3 and C.4 should not generally be used with the
PICAXE system. These are used by the PICAXE chip as the ‘serial in’ and ‘serial
out’ PC download connection.
All inputs are provided with a 10k pull down resistor pre fitted to the board.
However the board is also configured to allow use of inputs C.0 and C.1 as
analogue inputs. Some analogue sensors, such as a potentiometer, will require
the on-board 10k resistor to be cut off from the positions marked R8 (upper
resistor, input C.0) and R7 (lower resistor, input C.1) as shown above.
B.4
C.4 B.3 B.3
B.2
C.5 B.1 B.2
B.0
C.6 G B.1
C.7 B.0
G G
GV1+ GV2+
Note that when using terminal blocks it is necessary to ‘share’ the V2+ connector
with all output pins and to ‘share’ the V1+ connector with all inputs. Remember
that with the FET output buffer the output devices are connected between V2+
and the output (NOT output to 0V). Like wise the inputs are connected between
V1+ and the input.
G G
PIC PWR