Want to get into microcontrollers

  • Thread starter Thread starter ranger
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around exploring options for microcontrollers, specifically focusing on alternatives to the BASIC Stamp that can be programmed in C/C++. Participants express interest in finding more compact and cost-effective solutions while discussing programming languages and architectures suitable for microcontroller applications.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses dissatisfaction with the BASIC Stamp due to its cost and bulkiness, seeking alternatives that allow for easier programming and integration.
  • Another participant suggests the Motorola 68HC11 as a common microcontroller that is inexpensive and programmable in C/C++.
  • A question is raised about whether the C/C++ used for microcontrollers is standard or has a special structure, particularly regarding object-oriented programming.
  • It is noted that the compatibility of C/C++ depends on the compiler used, as long as it is ANSI-compliant and supports the target instruction set.
  • Participants mention the Microchip PIC line and Atmel ARM processors as additional options for microcontrollers.
  • One participant highlights the Cypress EZ-USB micros, which utilize Intel 8051 cores and offer built-in flash and USB transceivers, enhancing usability.
  • Another participant expresses interest in the Atmel STK-500 and seeks clarification on the ARM architecture, noting the power and usability of Atmel microcontrollers.
  • A later reply mentions that software teams have been migrating to ARM processors for their debugging features and performance.

Areas of Agreement / Disagreement

Participants generally agree that there are many microcontroller options available that can be programmed in C/C++, but there is no consensus on which specific model is the best choice. Various models and architectures are proposed, indicating multiple competing views.

Contextual Notes

Some participants express uncertainty regarding the programming structures of C/C++ for microcontrollers and the specific advantages of different architectures, such as ARM versus Atmel's offerings.

Who May Find This Useful

Individuals interested in microcontroller programming, particularly those transitioning from basic microcontroller platforms to more advanced options, may find this discussion beneficial.

ranger
Gold Member
Messages
1,687
Reaction score
2
I'm currently using the BASIC Stamp (basic stamp 2) from Parallax Inc. But one module is expensive and the entire setup is rather bulky. Dont get me wrong, nothing is wrong with it. In fact since this is my first use of microcontrollers, I found that the basic stamp is a very effective in demonstrating how a microcontroller can be used in place of circuits. This particular uC uses pbasic (parallax basic). But I'm more a depth with C/C++. Is there any uC that uses C/C++ and isn't as bulky and expensive as the basic stamp. The thing I hate about the stamp is that the module must always be inserted in the programming board (BOE) for the uC to function. I really want a uC where I can just remove the uC from the programming board and insert it into a IC socket and have it function how I programmed it. Is there any such one?

--thanks.
 
Engineering news on Phys.org
There are literally thousands of microcontrollers that are cheap, can be programmed in C/C++, and an be programmed by general-purpose flash programming tools. You might want to look into the Motorola 68HC11, which is pretty much the world's most common microcontroller.

- Warren
 
Just another quick question. The C/C++ language that these use, are they the standard format or do they have a special structure? I'm asking this cause I don't see how the object oriented programming I'm doing can work for uC.
 
Well, the C/C++ support has nothing to do with the actual hardware you're trying to use. All that matters is your compiler, which you'll be running on a PC. If your compiler is ANSI-compliant and supports your target instruction set, then you can write ANSI-compliant C/C++ code and it'll compile and run just fine.

- Warren
 
In addition to the Motorola uCs, Microchip has the very popular PIC line of uCs:

http://www.microchip.com/

And then stepping up in horsepower, you cal look at the Atmel ARM processors:

http://www.atmel.com/products/product_selector.asp
 
Last edited by a moderator:
By the way, I think some of the coolest microcontrollers around (from a usability standpoint) are the Cypress EZ-USB micros.

They're basically just Intel 8051 microcontroller cores, augmented with built-in flash and USB transceivers. The 8051 is very popular, and there are many, many tools which you can use with it. The benefit of the USB transceiver is probably obvious: you can plug it directly into your PC and program it via USB.

- Warren
 
I would like to get an STK-500 and start playing with Atmel uC's. I have spent many hours programming an intel 8085 in hex and am ready to move on to something else. As far as I know the Atmels are very powerful..but what is the ARM architecture about? Berkeman mentioned it above...I was just planning on using an Atmega or something. Thanks for any help
 
triden said:
I would like to get an STK-500 and start playing with Atmel uC's. I have spent many hours programming an intel 8085 in hex and am ready to move on to something else. As far as I know the Atmels are very powerful..but what is the ARM architecture about? Berkeman mentioned it above...I was just planning on using an Atmega or something. Thanks for any help

I haven't used the ARM processors myself, but our software guys have been migrating designs to them. I think it has to do with the ease of use of some of the debugger features, coupled with a fair amount of power in a reasonably-priced part.
 
good job

good job on programming the HEX 8085 there.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 19 ·
Replies
19
Views
6K