Les broches analogiques peuvent être traitées comme des broches digitales : Pin 14 being Analog 0 => pin 14, Analog 1 => pin15 etc… <=> digitalWrite(A0, HIGH) est identique à digitalWrite(14, HIGH).
Digispark Kickstarter Micro Usb
Here is best video explaining how to make it work https://www.youtube.com/watch?v=MmDBvgrYGZs and here is link to drivers https://github.com/digistump/DigistumpArduino/releases. LED is connected to pin 1 (D0) As there is no serial port board have to be unplugged and plugged before programming (there is message in console to plug in board).
http://digistump.com/wiki/digispark/tutorials/connecting
Pour windows, 1°) ajouter la carte en ajoutant l’URL des cartes dans l’interface Arduino avec l’adresse :
-
In the box labeled “Additional Boards Manager URLs” enter:
http://digistump.com/package_digistump_index.json
and click OK
Puis
-
Go to the “Tools” menu and then the “Board” submenu – select “Boards Manager” and then from the type drop down select “Contributed”:
-
Select the “Digistump AVR Boards” package and click the “Install” button.
Pour le driver entrez dans une fenêtre système :
D:\Profile\xxx>D:\Profile\xxx\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.0a4\post_install.bat
UNO :
La tension d’alimentation externe conseillée va de 7v à 12v point central positif si la prise jack est utilisée, sinon le + sera connecté sur la broche Vin et le – sur la broche GND.
Pour la carte Geekcreit® UNO R3 ATmega328P
Le driver a installer avant de brancher la carte est téléchargeable ici
MEGA 2560 :http://www.electroschematics.com/7965/arduino-mega-adk-pinout/
Serial: 0 (RX) and 1 (TX);
Serial 1: 19 (RX) and 18 (TX);
Serial 2: 17 (RX) and 16 (TX);
Serial 3: 15 (RX) and 14 (TX).
Used to receive (RX) and transmit (TX) TTL serial data. Pins 0 and 1 are also connected to the corresponding pins of the ATmega8U2 USB-to-TTL Serial chip.
External Interrupts: 2 (interrupt 0), 3 (interrupt 1), 18 (interrupt 5), 19 (interrupt 4), 20 (interrupt 3), and 21 (interrupt 2). 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 attachInterrupt() function for details.
PWM: 2 to 13 and 44 to 46. Provide 8-bit PWM output with the analogWrite() function.
SPI: 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS). These pins support SPI communication using the SPI library. The SPI pins are also broken out on the ICSP header, which is physically compatible with the Uno, Duemilanove and Diecimila.
USB Host: MAX3421E. The MAX3421E comunicate with Arduino with the SPI bus. So it uses the following pins:
Digital: 7 (RST), 50 (MISO), 51 (MOSI), 52 (SCK).
NB: Please do not use Digital pin 7 as input or output because is used in the comunication with MAX3421E
Non broken out on headers: PJ3 (GP_MAX), PJ6 (INT_MAX), PH7 (SS).
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.
TWI: 20 (SDA) and 21 (SCL). Support TWI communication using the Wire library. Note that these pins are not in the same location as the TWI pins on the Duemilanove or Diecimila.
The ADK has 16 analog inputs, each of which provide 10 bits of resolution (i.e. 1024 different values). By default they measure from ground to 5 volts, though is it possible to change the upper end of their range using the AREF pin and analogReference() function.
There are a couple of other pins on the board:
AREF. Reference voltage for the analog inputs. Used with analogReference().
Reset. Bring this line LOW to reset the microcontroller. Typically used to add a reset button to shields which block the one on the board.
NANO :
Si la carte n’est pas reconnue essayez avec les drivers CH341(d’abord Uninstall puis Install) ou FTDI
BEETLE :
Carte Leonardo miniaturisée
Votre commentaire