Anonymous

Components: Difference between revisions

From London Hackspace Wiki
2,532 bytes removed ,  13 May 2014
Line 107: Line 107:
* TEXAS INSTRUMENTS - MAX232N - IC, TRANSCEIVER, 5V[http://uk.farnell.com/jsp/search/productdetail.jsp?SKU=1470445 Farnell]
* TEXAS INSTRUMENTS - MAX232N - IC, TRANSCEIVER, 5V[http://uk.farnell.com/jsp/search/productdetail.jsp?SKU=1470445 Farnell]
* RESISTOR, 2.2K, 0.125W, 1% [http://uk.farnell.com/jsp/search/productdetail.jsp?SKU=9342834 Farnell]
* RESISTOR, 2.2K, 0.125W, 1% [http://uk.farnell.com/jsp/search/productdetail.jsp?SKU=9342834 Farnell]
== Other ==
=== MCUs (ATTiny) ===
This section added by Daveb who is looking for more info...
see [http://www.atmel.com/Images/doc4064.pdf ATMEL's AVR and AVR32 - Quick Reference Guide] for useful info.
ATTiny rather than an ATMEGA as it is smaller and lots cheaper or would use an arduino or similar.
ATTiny rather than other MCUs for good free tool (GCC etc) support.
Doing searches on Farnell reveals lots of choices, with big price breaks (~40%) for 10 and (~20%) for 100. Price seems to roughly scale with pin count or maybe chip size.. but there are anomalies. It is worth picking a chip and buying a few.  But how to choose the chip??
Points that matter to me..
* enough RAM for interrupt vectors, global state variables, C stack, local variables and interrupt stack
* excess code space for diagnostic code
Prototyping
* a few excess pins to allow for in-crcuit reprogramming and debugging (which i think means dont use MOSI,MISO,SCLK or RESET in the application)
An 8 pin dip has 2 pins available to the app (4 debug plus vcc and gnd), while a 14 pin dip has 8 app pins? Four times the app space for under 2x the size:)
in the farnell catalogue at moment i see some standouts.. These are all 8kflash, 512byte ram parts.
* Not in stock - [http://uk.farnell.com/atmel/attiny84a-pu/mcu-8bit-avr-8k-flash-14pdip/dp/1972172 ATTiny84A-PU] 14 DIP, 1.8 to 5.5v, at upto 20Mhz, ADC with 1x, 20x prescale, £1.90(units), 1.39(10s), 1.28(100s)
* [http://uk.farnell.com/atmel/attiny85-20pu/avr-mcu-8k-flash-512b-ram-spi/dp/1455162 ATTiny 85-20PU] 8 DIP, 2.7 to 5.5v, at upto 20 Mhz, £2.36(units), 1.36(10s), 1.14(100s)
* [http://uk.farnell.com/atmel/attiny861a-pu/ic-mcu-8bit-8k-flash-20pdip/dp/1841627 ATTiny861A-PU] 20 DIP, 1.8 to 5.5v, upto 20Mhz, 3PWM, ADC with 1x, 8x, 20x and 32x prescaler :) £2.10, 1.72, 1.48
I like this prescaler, can see it simplifiying some designs.
The part that started my investigation - only 1k flash and 64bytes of ram - one 8 bit counter and no prescaler for the ADC.
* [http://uk.farnell.com/atmel/attiny13-20pu/ic-8bit-1k-flash-mcu-dip8/dp/9171550 ATTiny13 8 pin DIP] 2.7 to 5.5v, upto 20Mhz, £2.48(units), 1.55(10s), 1.13(100s)
* [http://uk.farnell.com/atmel/attiny13a-pu/ic-mcu-8bit-avr-1k-flash-8pdip/dp/1704566 attiny13a 8 pin dip] new version, 1.8v to 5.5v, upto 20Mhz, £2.48, 1.38(10s), 1.31(100s)
---
In stock now :)
* 1x [http://uk.farnell.com/atmel/attiny85v-10pu/avr-mcu-8k-flash-512b-ram-dip8/dp/1455165 attiny85-10pu] 1.8v to 5.5v, 10MHz (after I took 1)
* 1x attiny13-20pu


==Personal requests==
==Personal requests==