Individual assignment:
measure something: add a sensor to a microcontroller board that you have designed and read it
Group assignment:
measure the analog levels and digital signals in an input device
Data Sheet:
http://academy.cba.mit.edu/classes/input_devices/doc2586.pdf
DDR, PORT, PINS
Timers - registrers to contorl the counter
Comparotor: Messures difference in voltage
Analoge to digital inverter
Multiplex picks pin to read
the negative multiplexer, references to ground
Communication:
Bit timing: Right setting with communication rate.
Clock:
Internal:
Resonator: .5%
Crystal: 50 ppm
Pull Up resistor
http://academy.cba.mit.edu/classes/input_devices/button/hello.button.45.c
set(serial_port, serial_pin_out);
output(serial_direction, serial_pin_out);
set(input_port, input_pin); // turn on pull-up
input(input_direction, input_pin);
Inputs:
light: Phototransistorer. synchronous detection: Måler forskellen mellem LED on og LED off. Får en læsning der er uafhængig af baggrundslyset og derfor kan anvendes til at måle afstand. Bruges af vandhaner. Kan laves med IR lys. Se skærmbillede.
acceleration, orientation, rotation. Komponenten er så lille, at den skal loddes med reflow. Solder bumps on component, solder om PCB. Use Hot air gun (with small tip) to keep solder hot. Push component down, look for solder to flow outside edges of the components. Accelerometer has lot of registers I2C (I square C).
sound
step response:
vibration
force
image
Ide:
Maybe: RFID to identify a user.
Step response aligned with each diode to make bookings.
Programming:
Familiens-MacBook-Pro:code3 nicolaisens
$ make
avr-gcc -mmcu=attiny44 -Wall -Os -DF_CPU=20000000 -c -o multitouch.o multitouch.c
multitouch.c: In function 'main':
multitouch.c:82:17: error: variable 'm' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
static char m\[\] PROGMEM = "\nmultitouch board says 'Hello, world'.\n";
^
make: *** [multitouch.o] Error 1
Familiens-MacBook-Pro:code3 nicolaisens$
Debouncing: Hysterisis, seperate in time
Last login: Wed Apr 11 18:18:06 on ttys000
Familiens-MacBook-Pro:~ nicolaisens$ screen /dev/tty.KeySerial1
[screen is terminating]
Familiens-MacBook-Pro:~ nicolaisens$ screen /dev/tty.TTL232R
[screen is terminating]
Familiens-MacBook-Pro:~ nicolaisens$ screen /dev/tty
[screen is terminating]
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty
/dev/tty
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9207
avrdude: safemode: Fuses OK (H:FF, E:DF, L:FE)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9207
avrdude: safemode: Fuses OK (H:FF, E:DF, L:FE)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9207
avrdude: safemode: Fuses OK (H:FF, E:DF, L:FE)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$
Last login: Wed Apr 11 18:18:06 on ttys000
Familiens-MacBook-Pro:~ nicolaisens$ screen /dev/tty.KeySerial1
[screen is terminating]
Familiens-MacBook-Pro:~ nicolaisens$ screen /dev/tty.TTL232R
[screen is terminating]
Familiens-MacBook-Pro:~ nicolaisens$ screen /dev/tty
[screen is terminating]
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty
/dev/tty
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9207
avrdude: safemode: Fuses OK (H:FF, E:DF, L:FE)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9207
avrdude: safemode: Fuses OK (H:FF, E:DF, L:FE)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9207
avrdude: safemode: Fuses OK (H:FF, E:DF, L:FE)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$
Last login: Wed Apr 11 18:18:06 on ttys000
Familiens-MacBook-Pro:~ nicolaisens$ screen /dev/tty.KeySerial1
[screen is terminating]
Familiens-MacBook-Pro:~ nicolaisens$ screen /dev/tty.TTL232R
[screen is terminating]
Familiens-MacBook-Pro:~ nicolaisens$ screen /dev/tty
[screen is terminating]
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty
/dev/tty
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9207
avrdude: safemode: Fuses OK (H:FF, E:DF, L:FE)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9207
avrdude: safemode: Fuses OK (H:FF, E:DF, L:FE)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$ avrdude -p t44 -c usbtiny
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9207
avrdude: safemode: Fuses OK (H:FF, E:DF, L:FE)
avrdude done. Thank you.
Familiens-MacBook-Pro:~ nicolaisens$
CODE UPLOADE FROM ARDUINO:
/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/nicolaisens/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/nicolaisens/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/nicolaisens/Documents/Arduino/libraries -fqbn=attiny:avr:ATtinyX4:cpu=attiny44,clock=external20 -ide-version=10805 -build-path /var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002 -warnings=none -build-cache /var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_cache_101571 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/Users/nicolaisens/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -prefs=runtime.tools.arduinoOTA.path=/Users/nicolaisens/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avr-gcc.path=/Users/nicolaisens/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -verbose /var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_modified_sketch_39771/Blink.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/nicolaisens/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/nicolaisens/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/nicolaisens/Documents/Arduino/libraries -fqbn=attiny:avr:ATtinyX4:cpu=attiny44,clock=external20 -ide-version=10805 -build-path /var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002 -warnings=none -build-cache /var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_cache_101571 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/Users/nicolaisens/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -prefs=runtime.tools.arduinoOTA.path=/Users/nicolaisens/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avr-gcc.path=/Users/nicolaisens/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -verbose /var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_modified_sketch_39771/Blink.ino
Using board 'ATtinyX4' from platform in folder: /Users/nicolaisens/Library/Arduino15/packages/attiny/hardware/avr/1.0.2
Using core 'arduino' from platform in folder: /Users/nicolaisens/Library/Arduino15/packages/arduino/hardware/avr/1.6.21
Detecting libraries used...
"/Users/nicolaisens/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=attiny44 -DF_CPU=20000000L -DARDUINO=10805 -DARDUINO_attiny -DARDUINO_ARCH_AVR "-I/Users/nicolaisens/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/nicolaisens/Library/Arduino15/packages/attiny/hardware/avr/1.0.2/variants/tiny14" "/var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/sketch/Blink.ino.cpp" -o "/dev/null"
Generating function prototypes...
"/Users/nicolaisens/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=attiny44 -DF_CPU=20000000L -DARDUINO=10805 -DARDUINO_attiny -DARDUINO_ARCH_AVR "-I/Users/nicolaisens/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/nicolaisens/Library/Arduino15/packages/attiny/hardware/avr/1.0.2/variants/tiny14" "/var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/sketch/Blink.ino.cpp" -o "/var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/Users/nicolaisens/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=attiny44 -DF_CPU=20000000L -DARDUINO=10805 -DARDUINO_attiny -DARDUINO_ARCH_AVR "-I/Users/nicolaisens/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/nicolaisens/Library/Arduino15/packages/attiny/hardware/avr/1.0.2/variants/tiny14" "/var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/sketch/Blink.ino.cpp" -o "/var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/sketch/Blink.ino.cpp.o"
Compiling libraries...
Compiling core...
Using precompiled core
Linking everything together...
"/Users/nicolaisens/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=attiny44 -o "/var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/Blink.ino.elf" "/var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/sketch/Blink.ino.cpp.o" "/var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/../arduino_cache_101571/core/core_attiny_avr_ATtinyX4_cpu_attiny44,clock_external20_f3d01586c9128c946c70bececdd4ebf9.a" "-L/var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002" -lm
"/Users/nicolaisens/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "/var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/Blink.ino.elf" "/var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/Blink.ino.eep"
"/Users/nicolaisens/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-objcopy" -O ihex -R .eeprom "/var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/Blink.ino.elf" "/var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/Blink.ino.hex"
Sketch uses 952 bytes (23%) of program storage space. Maximum is 4096 bytes.
Global variables use 9 bytes (3%) of dynamic memory, leaving 247 bytes for local variables. Maximum is 256 bytes.
/Users/nicolaisens/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9/bin/avrdude -C/Users/nicolaisens/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9/etc/avrdude.conf -v -pattiny44 -cusbtiny -Uflash:w:/var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/Blink.ino.hex:i
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:01:35
Copyright \(c\) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright \(c\) 2007-2014 Joerg Wunsch
System wide configuration file is "/Users/nicolaisens/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9/etc/avrdude.conf"
User configuration file is "/Users/nicolaisens/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : usb
Using Programmer : usbtiny
avrdude: usbdev_open(): Found USBtinyISP, bus:device: 020:026
AVR Part : ATtiny44
Chip Erase delay : 4500 us
PAGEL : P00
BS2 : P00
RESET disposition : possible i/o
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size \#Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 6 4 0 no 256 4 0 4000 4500 0xff 0xff
flash 65 6 32 0 yes 4096 64 64 4500 4500 0xff 0xff
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
Programmer Type : USBtiny
Description : USBtiny simple USB programmer, http://www.ladyada.net/make/usbtinyisp/
avrdude: programmer operation not supported
avrdude: Using SCK period of 10 usec
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9207 (probably t44)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: Using SCK period of 10 usec
avrdude: reading input file "/var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/Blink.ino.hex"
avrdude: writing flash (952 bytes):
Writing | ################################################## | 100% 1.49s
avrdude: 952 bytes of flash written
avrdude: verifying flash memory against /var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/Blink.ino.hex:
avrdude: load data flash data from input file /var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/Blink.ino.hex:
avrdude: input file /var/folders/gs/lx1vs0yd0d9c8q9jftzhqdfc0000gn/T/arduino_build_841002/Blink.ino.hex contains 952 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 1.68s
avrdude: verifying ...
avrdude: 952 bytes of flash verified
avrdude done. Thank you.