Shop OBEX P1 Docs P2 Docs Learn Events
Cheapest mcu with 6io lines? — Parallax Forums

Cheapest mcu with 6io lines?

mctriviamctrivia Posts: 3,772
edited 2010-04-26 14:55 in General Discussion
I am looking to find the absolute cheapest mcu that has at least 6 io lines and is capable of acting as a i2c slave preferably with no external parts.

I am also looking for someone to write a program for it to take 4 pins as a binary input and have the device mimic a 1byte eeprom to display there value. I have no money but I do have hardware and services for trade.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Lots of propeller based products in stock at affordable prices.

Comments

  • LeonLeon Posts: 7,620
    edited 2010-04-26 05:34
    The cheapest solution might be the TI MSP430F2002, at $0.70 for 1ku. It's a 14-pin device.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Leon Heller
    Amateur radio callsign: G1HSM

    Post Edited (Leon) : 4/26/2010 11:10:05 AM GMT
  • BeanBean Posts: 8,129
    edited 2010-04-26 11:23
    I suggest the PIC10F200 (or a variant 202, 222, etc).

    The 10F200 is $0.38 for 100 pcs on digikey.

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.
    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There are two rules in life:
    · 1) Never divulge all information
  • LeonLeon Posts: 7,620
    edited 2010-04-26 11:39
    It only has four I/Os.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Leon Heller
    Amateur radio callsign: G1HSM
  • BeanBean Posts: 8,129
    edited 2010-04-26 12:21
    Oops, you are right.
    I saw 6 pins and was thinking 6 I/Os.

    Bean

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Use BASIC on the Propeller with the speed of assembly language.
    PropBASIC thread http://forums.parallax.com/showthread.php?p=867134

    March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    There are two rules in life:
    · 1) Never divulge all information
  • LeonLeon Posts: 7,620
    edited 2010-04-26 12:33
    It'll need two more pins for I2C, as well. A 14-pin device is the smallest that will do the job.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Leon Heller
    Amateur radio callsign: G1HSM
  • mctriviamctrivia Posts: 3,772
    edited 2010-04-26 13:56
    leon where do you get that pricing? Digikey lists a 2k reel as $1.004 each. and 100 quantities at $1.88750

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Lots of propeller based products in stock at affordable prices.
  • mctriviamctrivia Posts: 3,772
    edited 2010-04-26 14:04
    What about ATTINY45V-10XU it is a 8 pin TSSOP package with internal oscillator and 6 io pins. Digikey lists at $1.30830 in 100 quantities. I2C is a pretty slow communication protocol with a clock signal so I do not think an accurate crystal source is needed.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Lots of propeller based products in stock at affordable prices.
  • VaatiVaati Posts: 712
    edited 2010-04-26 14:05
    It's on the TI website.

    The other good thing about the MSP430 is that the programmer only costs $26 from the TI-eStore, including shipping.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    MCU Projects·- my new site where I will be posting all projects, code, etc.

    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!

    SD Card Adapter·- Add extra memory to your next Propeller project with ease!
  • mctriviamctrivia Posts: 3,772
    edited 2010-04-26 14:08
    i actually have a programer. well i lent it to microcontrolled so not in my possesion at the moment. That definitely would be an advantage to using that IC.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Lots of propeller based products in stock at affordable prices.
  • LeonLeon Posts: 7,620
    edited 2010-04-26 14:40
    I use the $99 MSP-FET430UIF for debugging and programming.

    I thought you needed 6 I/Os and I2C as well - 8 I/Os.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Leon Heller
    Amateur radio callsign: G1HSM
  • mctriviamctrivia Posts: 3,772
    edited 2010-04-26 14:43
    no I am looking to make a 4 bit id number that uses no extra pins on the prop. hence i2c

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Lots of propeller based products in stock at affordable prices.
  • LeonLeon Posts: 7,620
    edited 2010-04-26 14:55
    Just use a cheap 8-pin MCU and bit-bang the I2C, then.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Leon Heller
    Amateur radio callsign: G1HSM
Sign In or Register to comment.