Modifications

Sauter à la navigation Sauter à la recherche
4 892 octets ajoutés ,  14 octobre 2013 à 14:19
Ligne 44 : Ligne 44 :  
* Compatibe Power Over Ethernet (poE) 802.3af
 
* Compatibe Power Over Ethernet (poE) 802.3af
 
* Support carte MicroSD
 
* Support carte MicroSD
 +
 +
== Schéma & références de conception ==
 +
Schéma: [http://arduino.cc/en/uploads/Main/arduino-Yun-schematic.pdf arduino-Yun-schematic.pdf]
 +
 +
== Alimentation ==
 +
It is recommended to power the board via the micro-USB connection with 5VDC.
 +
 +
If you are powering the board though the Vin pin, you must supply a regulated 5VDC. There is no on-board voltage regulator for higher voltages, which will damage the board.
 +
 +
The Yún is also compatible with PoE power supply but in order to use this feature you need to mount a PoE module on the board or buy a preassembled one.
 +
 +
The power pins are as follows:
 +
* '''VIN''': The input voltage to the Arduino board. Unlike other Arduino boards, if you are going to provide power to the board through this pin, you must provide a regulated 5V.
 +
* '''5V''': The power supply used to power the microcontrollers and other components on the board. This can come either from VIN or be supplied by USB.
 +
* '''3V3''': A 3.3 volt supply generated by the on-board regulator. Maximum current draw is 50 mA.
 +
* '''GND''': Ground pins.
 +
* '''IOREF''': The voltage at which the i/o pins of the board are operating (i.e. VCC for the board). This is 5V on the Yún.
 +
 +
== Mémoire ==
 +
The ATmega32u4 has 32 KB (with 4 KB used for the bootloader). It also has 2.5 KB of SRAM and 1 KB of EEPROM (which can be read and written with the [[ARDLib-EEPROM|EEPROM library]]).
 +
 +
The memory on the AR9331 is not embedded inside the processor. The RAM and the storage memory are externally connected. The Yún has 64 MB of DDR2 RAM and 16 MB of flash memory. The flash memory is preloaded in factory with a Linux distribution based on OpenWRT called Linino. You can change the content of the factory image, such as when you install a program or when you change a configuration file. You can return to the factory configuration by pressing the "WLAN RST" button for 30 seconds.
 +
 +
== Entrée et Sorties ==
 +
It is not possible to access the I/O pins of the Atheros AR9331. All I/O lines are tied to the 32U4.
 +
 +
Each of the 20 digital i/o pins on the Yún can be used as an input or output, using [http://arduino.cc/en/Reference/PinMode pinMode()], [http://arduino.cc/en/Reference/DigitalWrite digitalWrite()], and [http://arduino.cc/en/Reference/DigitalRead digitalRead()] functions. They operate at 5 volts. Each pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20-50 kOhms. In addition, some pins have specialized functions:
 +
 +
* '''Serial: 0 (RX) and 1 (TX)'''. Used to receive (RX) and transmit (TX) TTL serial data using the ATmega32U4 hardware serial capability. Note that on the Yún, the Serial class refers to USB (CDC) communication; for TTL serial on pins 0 and 1, use the Serial1 class. The hardware serials of the ATmega32U4 and the AR9331 on the Yún are connected together and are used to communicate between the two processors. As is common in Linux systems, on the serial port of the AR9331 is exposed the console for access to the system, this means that you can access to the programs and tools offered by Linux from your sketch.
 +
* '''TWI: 2 (SDA) and 3 (SCL)'''. Support TWI communication using the [[ARDLib-Wire|Wire library]].
 +
* '''External Interrupts: 3 (interrupt 0), 2 (interrupt 1), 0 (interrupt 2), 1 (interrupt 3) and 7 (interrupt 4).''' These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. See the [http://arduino.cc/en/Reference/AttachInterrupt attachInterrupt()] function for details. Is not recommended to use pins 0 and 1 as interrupts because they are the also the hardware serial port used to talk with the Linux processor. Pin 7 is connected to the AR9331 processor and it may be used as handshake signal in future. Is recommended to be careful of possible conflicts if you intend to use it as interrupt.
 +
* '''PWM: 3, 5, 6, 9, 10, 11, and 13.''' Provide 8-bit PWM output with the [http://arduino.cc/en/Reference/AnalogWrite analogWrite()] function.
 +
* '''SPI: on the ICSP header'''. These pins support SPI communication using the [[ARDLib-SPI SPI|library]]. Note that the SPI pins are not connected to any of the digital I/O pins as they are on the Uno, They are only available on the ICSP connector. This means that if you have a shield that uses SPI, but does NOT have a 6-pin ICSP connector that connects to the Yún's 6-pin ICSP header, the shield will not work.
 +
 +
The SPI pins are also connected to the AR9331 gpio pins, where it has been implemented in software the SPI interface. This means that the ATMega32u4 and the AR9331 can also communicate using the SPI protocol.
 +
 +
* '''LED: 13.''' There is a built-in LED connected to digital pin 13. When the pin is HIGH value, the LED is on, when the pin is LOW, it's off.
 +
* There are several other status LEDs on the Yún, indicating power, WLAN connection, WAN connection and USB.
    
{{Arduino Yun-TRAILER}}
 
{{Arduino Yun-TRAILER}}
29 917

modifications

Menu de navigation