Modifications

Sauter à la navigation Sauter à la recherche
1 486 octets ajoutés ,  2 novembre 2019 à 13:06
aucun résumé de modification
Ligne 5 : Ligne 5 :  
The Romi 32U4 Control Board was designed to be easy to interface with a Raspberry Pi single-board computer to expand the Romi’s processing power. It has a connector and mounting holes matching the Raspberry Pi HAT (Hardware Attached on Top) specification and is designed to connect to the Model B+ and newer versions of the Raspberry Pi with 40-pin GPIO headers (including the Raspberry Pi 3 Model B and Model A+). A 2×20-pin 0.1″ female header is soldered to the control board, and it ships with a set of four standoffs, screws, and nuts.
 
The Romi 32U4 Control Board was designed to be easy to interface with a Raspberry Pi single-board computer to expand the Romi’s processing power. It has a connector and mounting holes matching the Raspberry Pi HAT (Hardware Attached on Top) specification and is designed to connect to the Model B+ and newer versions of the Raspberry Pi with 40-pin GPIO headers (including the Raspberry Pi 3 Model B and Model A+). A 2×20-pin 0.1″ female header is soldered to the control board, and it ships with a set of four standoffs, screws, and nuts.
   −
[[Fichier:Pololu-Romi-32U4-Carte-Raspberry-00.jpg|800px]]
+
[[Fichier:Pololu-Romi-32U4-Carte-Raspberry-00.jpg|640px]]
    
== Communication I2C ==
 
== Communication I2C ==
Ligne 14 : Ligne 14 :  
A [https://www.pololu.com/blog/577 tutorial] (''Pololu, Anglais'') on the Pololu blog demonstrates this library and its included example code, using them to make a robot that can be remotely controlled and monitored through a web server running on the Raspberry Pi. This tutorial uses our {{polpl|3119|A-Star 32U4 Robot Controller SV}} and a laser cut chassis, but the instructions for setting up your Raspberry Pi and Raspberry Pi slave library for Arduino still apply for the Romi 32U4 Control Board, and we will be releasing an updated tutorial with steps specific to the Romi soon.
 
A [https://www.pololu.com/blog/577 tutorial] (''Pololu, Anglais'') on the Pololu blog demonstrates this library and its included example code, using them to make a robot that can be remotely controlled and monitored through a web server running on the Raspberry Pi. This tutorial uses our {{polpl|3119|A-Star 32U4 Robot Controller SV}} and a laser cut chassis, but the instructions for setting up your Raspberry Pi and Raspberry Pi slave library for Arduino still apply for the Romi 32U4 Control Board, and we will be releasing an updated tutorial with steps specific to the Romi soon.
    +
[[Fichier:Pololu-Romi-32U4-Carte-Raspberry-01.jpg|640px]]
 +
 +
== ''level shifters'' a usage général ==
 +
 +
In addition to the dedicated I²C level shifters, the board also makes available a few general-purpose level shifters that are not connected to any signals by default.
 +
 +
'''LS1''' is a dual-channel unidirectional level shifter that converts a pair of 5 V inputs ('''HA''' and '''HB''') to a pair of corresponding 3.3 V outputs ('''LA''' and '''LB''').
 +
 +
 +
[[Fichier:Pololu-Romi-32U4-Carte-Raspberry-10.png]]
 +
 +
'''LS2''' and '''LS3''' are each single-channel, tristatable, unidirectional level shifters. Each of these exposes four pins: ''{{overline|OE}}'' (output enable), '''IN''' (input), '''OUT''' (shifted output), and '''VCC''' (logic supply voltage).
 +
 +
* When {{overline|OE}} is high, OUT is in a high impedance state.
 +
* When {{overline|OE}} is low, OUT matches the state of '''IN''', shifted to the voltage supplied on VCC.
 +
 +
[[Fichier:Pololu-Romi-32U4-Carte-Raspberry-11.png]]
 +
 +
For example, if you pull {{overline|OE}} low, connect a 3.3 V signal to IN, and connect 5V to VCC, the signal will be shifted to 5 V logic level on OUT.
 +
 +
The input logic level can be 1.8 V to 5.5 V, while VCC (and the output logic level) can be 3 V to 5.5 V. The IN signal can have either a lower or higher logic level than the VCC voltage: you could connect a 5 V signal to IN and a 3.3 V to VCC or a 3.3 V signal to IN and a 5 V to VCC.
 +
 +
== Alimenter le Raspberry Pi depuis la carte contrôleur ==
 +
xx
 
{{Pololu-Romi-32U4-TRAILER}}
 
{{Pololu-Romi-32U4-TRAILER}}
29 917

modifications

Menu de navigation