Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 4831

A device which includes a central processing unit (CPU), memory, and (generally) an assortment of I/O peripherals (UART, ADC, DAC, general-purpose I/O, I2C, etc.) in a tightly-coupled standalone package.

37 votes

Saving data without a microcontroller?

No, you can't store an analog value as-is on a digital storage medium like an eeprom or an SD card. You could do an analog-to-digital conversion (using an appropriate chip) to convert your analog to …
Wouter van Ooijen's user avatar
28 votes

Difference between ARM A and M series processors?

The M series ARM CPU's have a small instruction set, often no floating point unit, no memory management, no cache. They are optimized for low cost rather than high performance. They are generally comb …
Wouter van Ooijen's user avatar
23 votes
Accepted

C coding design - function pointers?

A function int f(int x){ .. } Get the address of a function (and store it in a variable) int (*fp)(int) = f; Call a function at a specified address int x = (*fp)( 12 );
Wouter van Ooijen's user avatar
23 votes

In what situation should I keep the brown-out detection feature OFF on a microcontroller?

Everything has tolerances, so the brown out reset level must be set somewhat above the minimum level at which the chip is guaranteed to function properly. Hence the brown out might kick in well befor …
Wouter van Ooijen's user avatar
20 votes
Accepted

Raspberry PI without OS on it?

Run code on the RaPi without OS: No problem. David Welch has done the grunt work, check his gitub. Basically, you can take the standard startup files and replace the kernel.img with the file you want …
Wouter van Ooijen's user avatar
17 votes

Is C++ suitable for embedded systems?

Any language can be suitable for an embedded system. Embedded just means: part of a larger apparatus, as opposed to a free-to-use computer. The question has more relevance when asked for a (hard-)rea …
13 votes
5 answers
5k views

C++ classes for I/O pin abstraction

I am looking for C++ abstractions for hardware I/O points or pins. Things like in_pin, out_pin, inout_pin, maybe open_collector_pin, etc. I surely can come up with such a set of abstractions myself, …
Wouter van Ooijen's user avatar
11 votes
Accepted

what really are: Microcontroller (uC), System on Chip (SoC), and Digital Signal Processor (D...

uC = a stand-alone processing chip: CPU, RAM, ROM, some peripherals. DSP = processor chip (can be a separate CPU, nowadays mostly a uC) that is optimized for signal processing. Often has fast MAC (m …
Wouter van Ooijen's user avatar
10 votes

What is the reason my PIC16 multitasking RTOS kernel doesn't work?

What you are trying to do is tricky, but very educational (if you are prepared to spend a lot of effort). First, you must realise that this kind of PC-only (as opposed to PC+SP) task switching (which …
Wouter van Ooijen's user avatar
10 votes

What are the pros/cons of C and C++?

The correct question is not "C or C++" (with a one-bit binary answer) but "which C++ features to add to my C (and which C features to discard as a consequence)" (which has a whole lot of bits, which w …
Wouter van Ooijen's user avatar
10 votes

Gibberish output from an ESP8622 WiFi module

You have two problems 1) The output you see (ets Jan 8 2013,rst cause:2, boot mode:(3,6)) is printed by the startup (bootloader) code. After that, the communication continues on a different baudrate …
Wouter van Ooijen's user avatar
10 votes
Accepted

How do I program a PIC12?

A possible problem is that some PICs need a power-cycle to get into programming mode. The 12F675 in particular needs this when the configuration word in your application configures the MCLR pin as GPI …
Wouter van Ooijen's user avatar
10 votes

Pulldown resistor on output pin, how does output still work?

The microcontroller can - when the pin is configured as output - pull much much harder. Think of a gentle breeze flapping a piece of laundry in one direction. …
Wouter van Ooijen's user avatar
9 votes

How to measure battery voltage from a microcontroller

. ========================================= Now some homework as a preparation for the next interview: You have a USB powered 5V gadet, that has a microcontroller and an LM35 temperature sensor. …
Wouter van Ooijen's user avatar
8 votes

PIC32 vs dsPIC vs ARM vs AVR, does the architecture matter when we are programming in C-lang...

This is more an opinion/comment than an answer. You don't want and shouldn't be programming in C. C++, when used in the right way, is far superior. (OK, I have to admit, when used in the wrong way it …
Wouter van Ooijen's user avatar

1
2 3 4 5
9
15 30 50 per page