- Additional information
- Reviews (0)
It does, however, have some limitations relative to the ATmega328P on an Arduino Uno. There are fewer pins, meaning you can’t connect as many components. There’s less flash memory (4KB or 8KB instead of 32KB), meaning your programs can’t be as big. There’s less RAM (256 or 512 bytes instead of 2KB), meaning you can’t store as much data. And there’s no hardware serial port or I2C port (Wire library), making communication trickier.
Connecting the Arduino board and the ATtiny
Use the dot in the corner of the ATtiny to orient it properly. We’ll also connect a 10 uF capacitor between reset and ground on the Arduino board as shown in the diagram (the stripe on the capacitor that’s marked with a negative sign (-) should go to ground). The capacitor prevents the Arduino board from resetting (which starts the bootloader), thus ensuring that the Arduino IDE talks to the ArduinoISP (not the bootloader) during the upload of sketches. (The capacitor is needed if you’re using an Arduino Uno)
Install Board in Arduino IDE
- Paste the following URL into the field (use a comma to separate it from any URLs you’ve already added):
- Click the OK button to save your updated preferences.
- Open the boards manager in the “Tools > Board” menu.
- ATtiny Pin 2 to Arduino Pin 13 (or SCK of another programmer)
- ATtiny Pin 1 to Arduino Pin 12 (or MISO of another programmer)
- ATtiny Pin 0 to Arduino Pin 11 (or MOSI of another programmer)
- ATtiny Reset Pin to Arduino Pin 10 (or RESET of another programmer)
Only logged in customers who have purchased this product may leave a review.
You may also like…
Q450 Quadcopter Frame with PCB
₹900.00 (incl GST)
₹762.71 (+18% GST extra)
Crocodile Clip Single
₹10.00 (incl GST)
₹8.47 (+18% GST extra)
MB102 BREADBOARD POWER SUPPLY
₹75.00 (incl GST)
₹63.56 (+18% GST extra)
GY-271 HMC5883L 3-axis Electronic Compass Module Magnetic Field Sensor
₹250.00 (incl GST)
₹211.86 (+18% GST extra)