I need a new microcontroller

So

Lifer
Jul 2, 2001
25,923
17
81
So, for the past few years I've been sticking with 8051 series chips, mostly because I have a programmer and a small stock of 'em. I'm thinking about a new project, and I think it's time for a change.

My next project is going to have a handful of buttons ~5, a parallel LCD and a chip connected by SPI (or I2C if necessary), and either RS232 or USB so I'll need about three ports. Other than that, I don't care too much except that I can program it cheaply and that I can get a free / cheap / easy to set up C compiler.

What does everyone like?
 

Modelworks

Lifer
Feb 22, 2007
16,240
7
76
Pic or Arm both are good. You can also go to microchip.com and they will send you free samples. The 18f4550 is pretty cool, USB included and only needs a couple parts for support.
Program Memory Type Flash
Program Memory (KB) 32
CPU Speed (MIPS) 12
RAM Bytes 2,048
Data EEPROM (bytes) 256
Digital Communication Peripherals 1-A/E/USART, 1-MSSP(SPI/I2C)
Capture/Compare/PWM Peripherals 1 CCP, 1 ECCP
Timers 1 x 8-bit, 3 x 16-bit
ADC 13 ch, 10-bit
Comparators 2
USB (ch, speed, compliance) 1, Full Speed, USB 2.0
Temperature Range (C) -40 to 85
Operating Voltage Range (V) 2 to 5.5
Pin Count 40

If you want something ready to use , I am using this in a project.
http://futurlec.com/ET-STM32_Stamp.shtml
$25 and ready to plugin to a breadboard. Very powerful for the price.
 

drinkmorejava

Diamond Member
Jun 24, 2004
3,567
7
81

So

Lifer
Jul 2, 2001
25,923
17
81
Originally posted by: Modelworks
Pic or Arm both are good. You can also go to microchip.com and they will send you free samples. The 18f4550 is pretty cool, USB included and only needs a couple parts for support.
Program Memory Type Flash
Program Memory (KB) 32
CPU Speed (MIPS) 12
RAM Bytes 2,048
Data EEPROM (bytes) 256
Digital Communication Peripherals 1-A/E/USART, 1-MSSP(SPI/I2C)
Capture/Compare/PWM Peripherals 1 CCP, 1 ECCP
Timers 1 x 8-bit, 3 x 16-bit
ADC 13 ch, 10-bit
Comparators 2
USB (ch, speed, compliance) 1, Full Speed, USB 2.0
Temperature Range (C) -40 to 85
Operating Voltage Range (V) 2 to 5.5
Pin Count 40

If you want something ready to use , I am using this in a project.
http://futurlec.com/ET-STM32_Stamp.shtml
$25 and ready to plugin to a breadboard. Very powerful for the price.

Hmm, I've worked with PICs before and was happy with them. Can I get a programmer for a reasonable price (<$100) and is there a good free IDE out there for PIC-C (or at least a compiler)?

I don't really want a breadboard design, as I'd like to build these onto PCB's and protoboards that I keep around, when I'm done -- if possible.
 

So

Lifer
Jul 2, 2001
25,923
17
81
Originally posted by: drinkmorejava
I've been using an SiLab C8051f02x for the last semester. Pretty good chip, but I've only ever used a BasicX microcontroller before this.

No parallel though. We use usb to serial converters for downloading and the terminal window.

<a target=_blank class=ftalternatingbarlinklarge href="https://www.silabs.com/product...u/Pages/C8051F02x.aspx"><a target=_blank class=ftalternatingbarlinklarge href="https://www.silabs.com/products/mcu/mixed-signalmcu/Pages/C8051F02x.aspx">https://www.silabs.com/p.........C8051F02x.aspx</a></a>

Modelworks stuff is prob going to be cheaper though.

Hmm... looks like it only comes in a TQFP package though. I'm not quite ready to build something I can't get in a dip package yet. I know, I'm being stodgy about it.
 

So

Lifer
Jul 2, 2001
25,923
17
81
Originally posted by: Modelworks
Pic or Arm both are good. You can also go to microchip.com and they will send you free samples. The 18f4550 is pretty cool, USB included and only needs a couple parts for support.
Program Memory Type Flash
Program Memory (KB) 32
CPU Speed (MIPS) 12
RAM Bytes 2,048
Data EEPROM (bytes) 256
Digital Communication Peripherals 1-A/E/USART, 1-MSSP(SPI/I2C)
Capture/Compare/PWM Peripherals 1 CCP, 1 ECCP
Timers 1 x 8-bit, 3 x 16-bit
ADC 13 ch, 10-bit
Comparators 2
USB (ch, speed, compliance) 1, Full Speed, USB 2.0
Temperature Range (C) -40 to 85
Operating Voltage Range (V) 2 to 5.5
Pin Count 40

If you want something ready to use , I am using this in a project.
http://futurlec.com/ET-STM32_Stamp.shtml
$25 and ready to plugin to a breadboard. Very powerful for the price.

Wow, I almost forgot all about futurelec. They have a buttload of programmers, cheap.
 

dullard

Elite Member
May 21, 2001
25,488
3,981
126
Little off topic, but what is the best way for someone to get into using these with no experience? I've always outsourced the microcontroller stuff at work, but it would be good for me to know when it is cheaper/faster for me to do it or cheaper/faster for me to waste my time explaining to someone else what to do. Any good books/websites/etc?
 

Leros

Lifer
Jul 11, 2004
21,867
7
81
Originally posted by: dullard
Little off topic, but what is the best way for someone to get into using these with no experience? I've always outsourced the microcontroller stuff at work, but it would be good for me to know when it is cheaper/faster for me to do it or cheaper/faster for me to waste my time explaining to someone else what to do. Any good books/websites/etc?

I would start with something like Arduino. Very simple and easy to use. There are tons of tutorials and guides around the internet which make it very easy to learn. Once you get comfortable with that platform you probably be able to pickup other more useful platforms more simply.

Arudino takes out a lot of the complications of getting things setup, letting you get right into the hardware and programming.

That being said, I've never used Arduino, but I got a started on a similar simplified development platform. I just know Arudnio has a lot of beginner guides and used by casual hobbyists a lot.
 

IEC

Elite Member
Super Moderator
Jun 10, 2004
14,440
5,429
136
I think with the recent string of EE threads I have tripled my knowledge
 

Modelworks

Lifer
Feb 22, 2007
16,240
7
76
Originally posted by: dullard
Little off topic, but what is the best way for someone to get into using these with no experience? I've always outsourced the microcontroller stuff at work, but it would be good for me to know when it is cheaper/faster for me to do it or cheaper/faster for me to waste my time explaining to someone else what to do. Any good books/websites/etc?


If you have never done any work with them then I would start with probably Arduino. It was designed for people that want to get into micro's without having to learn a whole lot.

I would go with a pre-assembled USB board so all you have to do is connect a usb cable and run the software to program the board. You don't have to worry with things like rs232 level shifting and power supplies.
http://www.sparkfun.com/commer...fo.php?products_id=666

Sample projects:
http://arduino.cc/en/Tutorial/HomePage
 

Leros

Lifer
Jul 11, 2004
21,867
7
81
Originally posted by: Modelworks
Originally posted by: dullard
Little off topic, but what is the best way for someone to get into using these with no experience? I've always outsourced the microcontroller stuff at work, but it would be good for me to know when it is cheaper/faster for me to do it or cheaper/faster for me to waste my time explaining to someone else what to do. Any good books/websites/etc?


If you have never done any work with them then I would start with probably Arduino. It was designed for people that want to get into micro's without having to learn a whole lot.

I would go with a pre-assembled USB board so all you have to do is connect a usb cable and run the software to program the board. You don't have to worry with things like rs232 level shifting and power supplies.
http://www.sparkfun.com/commer...fo.php?products_id=666

Sample projects:
http://arduino.cc/en/Tutorial/HomePage

In addition:

http://www.ladyada.net/learn/arduino/
 

Modelworks

Lifer
Feb 22, 2007
16,240
7
76
I forgot to add parallax. Their stuff is meant to be pretty much plug and play . The downside is the price is a bit high for some of the things they sell, it is the reason why I don't use them .
http://www.parallax.com/
 

So

Lifer
Jul 2, 2001
25,923
17
81
Originally posted by: Modelworks
For the compiler:
http://www.sourceboost.com/

Programmer is really cheap, you can make one yourself if you want.
I use this one:
http://www.instructables.com/i...-based-PIC-Programmer/


I use a bootloader to make it easy, so I can program the bootloader and then never have to put the chip back in the programmer.
http://www.etc.ugal.ro/cchicul...ware/picbootloader.htm

Hmm, having a bit of experience with PIC makes it seem the way to go, although I may have to pic up that cheap stamp board for temporary projects, or maybe an arduino.

Thanks a lot, modelworks.
 

Analog

Lifer
Jan 7, 2002
12,755
3
0
I teach an embedded RISC class, as well as a first year microcontroller class. In the microcontroller class, we use the S12UB from Freescale, you can get the board for $80 as a student. Has all the I/O you want, plus free IDE with C and Assembly (Codewarrior).

For the RISC class, we use the PIC18F4520. If you buy the PICDEM2+ board, you can use the board for development and programming. The IDE and C compiler are free as well (MPLAB). The cost of the board with the emulator is $170 for students.
 

Colt45

Lifer
Apr 18, 2001
19,720
1
0
AVR is the cream of 8bit stuff, IMO. fastest, there's an avr target for gcc, in-circuit programmer is <$30 (usb, works in windows and nix..)

I alternate between PIC / AVR / 8051 depending on what mood i'm in.
8051's cause they're dirt cheap.. (well 89S52's, which actually work with the above AVR programmer^^)

I suppose it depends what sort of power your project needs. Nice thing about PICs is that they're more or less free... http://sample.microchip.com/
if you do go with PIC, don't bother with those flake-ass JDM serial port powered programmers... either build a parallel port one, or buy a USB pickit2 for under 30 bucks.

edit: If you want to stick with your 8051, but it isn't fast enough, look at some of the hotrodded ones that dallas makes... 33x faster than an original intel 8051. more peripherals and stuff too.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |