Search Results
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 |
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.
1
vote
Lpc1347 halfword access
You can read a half-word or byte by defining a variable of the appropriate size at the appropriate address (or via a pointer, which has the same effect).
But why would you? Reading a byte or half-wor …
2
votes
Accepted
PIC12F509 Offsetting Program Memory Issue
You have placed somethiung that you call the reset vector at a different location, but the chip doesn't care: its hardware still starts executing at 0 after a reset. So to implement what you want you' …
1
vote
PICs for beginners using MPLAB Compatible Mini USB PIC Programmer
"What are some things that novices miss?"
First check your hardware. Find a blink-a-led.hex file that is known to work and verify that your hardware works. (I have some on my website, Google is your …
2
votes
Accepted
Context Information Saving on microcontrollers?
You ask for "context saving", but you don't seem to know what that term means in your context?
The meaning I am most familiar with is in the context of interrupts and task switching, where everything …
5
votes
Accepted
Making shared bus act as OR
Your SPI-without-select is what Microchip uses on their MCP23017 chips (and others). Nothing wrong with that approach.
Yes, what you want is possible, but you must get the slaves to be open-drain. Yo …
1
vote
Looking for suggestion on microcontroller
Beware that you are asking for opinions, which can be a reason for closing your question.
You stated both "clock frequency as high as possible" and "not that expensive", without quantifying either. T …
7
votes
Accepted
Downloading programs from Microcontrollers?
An AtMega is likely to be programmed in C or C++, not C#.
In most cases the vendor of a product will enable 'read-protection' on such a chip, exactly to prevent what you are trying to do. If he forgo …
2
votes
Accepted
Selection of mcu
Nearly all current micro-controllers can do the basic things you would want to do with a micro-controller, but each requires some startup effort to get 'up and running'.
A few possible choices:
Ar …
1
vote
1
answer
163
views
Test hardware/software for pin access
I wrote a number of microcontroller GPIO libraries (essentially set pin direction, set pin, read pin, read pin as analog input). …
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. …
5
votes
Using a microcontroller to make a series of LEDs blink one after the other
With 5 LEDs, 1 button, and 2 pins for power this is a perfect match for an 8-pin micro-controller. The hobby-friendly DIP-8 package would easily fit in your bike light, but the manufacturer probably u …
1
vote
Best way to count glass marbles
I think any of your suggestions can be made to work.
A small microswitch would be my first choice (I have a box of tiny ones that take almost no force to close).
But that is mechanical so it will …
5
votes
Flashing of microcontrollers
An arduino is not a plain micro-controller, so you are making a strange comparision here. An arduino Uno has a pre-installed bootloader in the Atmel ATmega328 micro-controller, plus an USB-to-serial i …
1
vote
Understanding of microcontroller datasheet
As always, it depends.
If you have a project with specific requirements and a uC that meets those requirements there is no need to know the capabilities of the uC you are not using. There might be an …
1
vote
Connecting a microcontrollers ground pin to a reference above ground
This is equivalent to deriving the 5V from a much higher voltage, and the same problems apply. For the power, any fault in the voltage-reduction circuitry can destroy the uC. For the logic, it must be …