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.

learn more… | top users | synonyms (1)

1
vote
0answers
20 views

Push-button PMIC & Battery Charger

I am looking for an IC that combines Push-button power management with a Single cell LiPo charger (USB source). The IC should have a push-button input to turn the system ON, as well as a PB output ...
0
votes
3answers
19 views

Run a program on a PICKit 2 chip

I've got a PICKit 2 with a PIC16F690 chip plugged in, and installed MPLAB and made a sample program in C, which compiles fine. However, there's only the option to "Program to target device", "Read ...
0
votes
1answer
25 views

Detect Obstruction Between 2 Points

What would be the best way of detecting an obstruction between two points and also calculate the relative position of the obstruction? Let's say I have points A and B in each others line of sight. I ...
0
votes
0answers
45 views

Microcontroller as a slave

I want to set up an EtherCAT Network, First I have installed IgH EtherCAT Master in my PC (Ubuntu 14.04) and RTAI 4.1 as RTOS Can I use microcontroller as a slave without any additional devices ...
0
votes
1answer
66 views

Why does my DIY Barebones Arduino Due with SAM3x8E overheat on RESET press?

I made my own diy "bare bones" Arduino Due in an embedded application. Basically I was making a portable Bluetooth headphone amplifier for a school project. The point of the MCU was to display battery ...
0
votes
1answer
45 views

What happens to the output of Optocoupler input voltage is negative

Here is an example of circuit using VIshay Optocoupler 4N25 5V to 3.3V GPIO Output (Inverted) Logic +5V Input ---> 0.0V output GPIO LOW +0V Input ---> 3.3V output GPIO High What happens to ...
0
votes
2answers
61 views

Function run in MCU generate noise to the analog circuit

As my circuit is a little complicated, I don`t know how to pose the PCB here. So I just want to know the probable causes of the problem and I will test them one by one later and report back. My ...
-3
votes
0answers
30 views

how can i read the battery voltage via ADC while it is connected to dc source(charging)? [on hold]

i want to design automatic battery charge controller which disconnecting the battery from charger when it is overcharged.but i am in trouble by reading the charger voltage always while i am trying to ...
2
votes
1answer
57 views

How to program a microcontroller over another microcontroller?

I am currently working on a project that requires two separate microcontroller to work together, but since I am still working on the project I generally need to update their programs. I couldn't find ...
-3
votes
2answers
45 views

Mixing Assembly and C [on hold]

Is it possible to use a mix of these 2? Using a pic4550 and mplabc18 Lets say i have a microcontroller, that in my port B (B0 B1 B2 B3 B4 B5 B6 B7) 1 Byte, I set it to a '00000001' Is it possible ...
0
votes
0answers
23 views

USB safty connection and filtering [on hold]

I want to ask how correctly connect USB power supply to a voltage regulator and D+ and D- to an MCU. Can I connect directly D+ and D- to an MCU? Should I use some kind of protection on USB-Vcc and ...
0
votes
2answers
32 views

Is it a best option to use IRF9540N P Channel Enhancement mode MOSFET for switching 3.3V to my WiFi chip?

I am using IRF9540N P channel enhancement mode MOSFET for switching 3.3V to the power pin of the WiFi chip. The connection is as follows Source --------- 3.3V Drain ---------- WiFi chip power Gate ...
0
votes
1answer
59 views

Noisy sensor on a prototyping board

I made a small prototyping board where accelerometer data is read into a microprocessor, showing the data from the accelerometer after it is sampled, gives a very noisy signal. (50 mv peaks) I had a ...
1
vote
2answers
100 views

Designing PCB with Multiple power supplies

This is my first REAL project and i need some help. I'm working on a project where I am trying to design a PCB for controlling the environment inside an enclosed cabinet to grow a tomato plant using ...
0
votes
0answers
59 views

Need a Citation for Advantages of Lookup Table on Microcontroller

It is a known fact that lookup tables (LUT) are faster for implementing complex functions in digital logic and MCUs (as discussed here). I need to cite their advantages in a paper I am writing, for a ...
0
votes
1answer
46 views

Can I connect Battery positive terminal directly to MCU ADC input Pin?

MCU is powered directly from 3 V battery and I am using ADC input of MCU to monitor the battery voltage to detect low battery situation. I have got good inputs on this site(I need to monitor the ...
0
votes
2answers
59 views

How can increasing the wait states increases the speed of Processor?

I saw in a datasheet where for 0 wait states the Max speed is 30MHz and 1 wait state the speed could go up to 60MHz. My understanding is as you add the wait states the speed comes down as the ...
0
votes
2answers
59 views

How to get up to 24 I/O pins from the PIC4550

Im trying to implement and understand the CRC by making a circuit, by using 1 byte (8 bits), and a highest power of the polynomial of four, these 2 values should be XORed until i get a final output, ...
0
votes
1answer
41 views

CS/SS pin configuration

I am using an ATtiny861a and I want to enable it to use SPI. In doing this I need to assign not one, but two CS/SS pins in order to communicate with a radio and an external memory. Does the CS/SS pin ...
0
votes
1answer
31 views

CC2520/ATtiny861A pin configuration

I am looking to hook up a radio with an ATtiny861A microcontroller. The radio that I will be using is the CC2520 from Texas Instruments. The RESETn pin(on the CC2520) will allow me to put my circuit ...
2
votes
1answer
38 views

HC-SR04 ping sensor cutting out at ~3 meters

I have some HC-SR04 ultrasonic sensors that I purchased from eBay not long ago. I hooked one up to an Arduino and wrote a quick sketch to test them, and found that none of them work consistently. It ...
2
votes
1answer
81 views

PIC Microchip Keeps Resetting

I have a PIC16LF1709 20-pin 8-bit microchip MCU. I am programming it using a PICkit 3. I am able to successfully burn a program to the chip and run it, but it always seems to reset part-way through ...
6
votes
5answers
848 views

DIY rubidium clock construction

I recently found my way onto a Datum x72 rubidium standard and had half a mind to turn it into a homebrew atomic clock, since I'm not exactly using it for a garage-based satellite business. It seems ...
0
votes
1answer
57 views

SPI communication with multiple slaves

I am working on a project that is using an ATtiny861A and this only has one SPI. If I want to hook up a radio and an external memory to the same SPI, will there be an issue sending data from the ...
0
votes
1answer
77 views

How to measure frequency of sine wave?

How to measure frequency of sine wave using pic microcontroller? I found the article on this website http://microcontrollerslab.com/sine-wave-frequency-measurement-using-pic/ But I didn't understand ...
0
votes
0answers
42 views

high speed ADC interfacing

now I'm pretty lost , recently I've taken it upon myself to try build an oscilloscope for fun. I want to do it with high speed ADCs (unless anyone knows of a better way?) I'm hoping for about ...
0
votes
2answers
71 views

Micro-controller as a load

For my power-supply micro-controller is a load. How does this load behave like? is it resistive or capacitive or inductive load?
1
vote
4answers
101 views

12V solenoid drawing more current than it needs

I'm fairly new to practical electronics so I apologize if any of this is obvious. I am currently trying to use a microcontroller to control the energizing of several 12V solenoid valves using a PC ...
0
votes
3answers
65 views

How do MCUs and RAM wire up for programmatic access?

I am new to electronics and microcontroller programming and need either confirmation that my understanding on a few items is correct, or I am in desperate need of correction on them! I have a C-based ...
0
votes
3answers
152 views

64k x 8 RAM what exactly does it mean

I'm looking at this microcontroller because it has the protocols that I want and a really interesting price. My doubt is related with this field: RAM Size 64K x 8. What exactly does it mean? I know ...
-1
votes
0answers
22 views

Linker Error:could not find definition of symbol '__BARGB0' in file [closed]

I'm getting this error while running my program FOR PIC18F452 on MPLAB . Can you help me out
0
votes
1answer
56 views

Can a 12v base signal be used to switch a v5 device through a transistor?

I see lots of examples of using low voltage (like from a microprocessor) to switch 12v. I want to do the opposite. Is that okay to do, or should I use a relay? What other components will I need? The ...
0
votes
2answers
102 views

How to Write ISR function for Hardware and Software Interrupt

Till now I used Vendor(Controller Vendor) ISR for handling the Interrupt. But I want to know how to write the ISR. I know about the Vector Table. Will take one simple example for GPIO Interrupt for ...
0
votes
1answer
68 views

What is Virtual Memory and Virtual Address space

I am not able to get, what is virtual Memory and Virtual Address space. In which situation it will be used. I have referred wiki page, but I couldn't able to get it. Can any one give one simple ...
0
votes
1answer
70 views

For a 'customized' arduino consuming less energy making use of Attiny85 vs PCB Fabrication?

Currently I am working on a prototype project where I try to move a servo (6V) according to the level of light that is recognized by a photodiode making use of the ISR function. A torch light is used ...
-8
votes
0answers
85 views

Making a standalone ECG device and storing/transferring data in digital format [closed]

I am trying to make standalone ECG device with WiFi connectivity. I am sophomore at engineering school and have introductory knowledge about the subjects. I am having difficulty in understanding the ...
0
votes
3answers
51 views

Accessing the Resource by different Task

I have a simple question on Accessing the resources in the OS concept(freeRtos). If one low priority task is running and using the resource(preemptive scheduling) . Resource for LPT(low priority ...
0
votes
1answer
36 views

Interrupt level and Task Level Notification in Microcontroller

Recently I have come across the two terms in call back functions(Which will notify the User) in particular Project i)Interrupt Level ii)Task Level. My understanding is, Interrupt Level ...
2
votes
1answer
43 views

fast(er) extend 8-bit mask to 16-bit for MCU

(Background/purpose: this is a far-out, ideal/overkill approach inspired by a project that handles ultrasonic sensors over bidirectional pins using an 8-channel input capture/output compare.) Using ...
1
vote
1answer
38 views

How to figure out reason for last reset on MSP430?

There are a number of possible causes for a microcontroller to reset itself, for example: brown-out or power-out watchdog timer reset initiated from software (to programmatically enter bootloader, ...
0
votes
2answers
79 views

PIC16F877 blink program uploads correctly but nothing happens - hardware or software mistake?

I made a custom board based on a PIC16F877 but for now I only soldered the minimum. I installed MPLABX and the XC8 compiler, connected the ICD3 to the board, adapted a "blink" example to RD0 where my ...
0
votes
0answers
114 views

Raspberry PI PWM Common Anode 5v 12v Lamp Circuit

i'm not an Electronical engineer, i prefer to write codes. But lately (since about 2-3 months) i finally had the balls to connect something to the raspberry PI's gpio. Two days later i already tested ...
0
votes
1answer
41 views

Atmega328 fast PWM (mode 7) of timer 0 not working as expected

I am blinking an LED on PORTB5 using timer 0 in mode 7. The time between blinks is computed as $$ \frac{(\text{OCROA}+1) \times \text{prescaler} \times \text{timerCount}}{\text{FCPU}} $$ ...
4
votes
2answers
183 views

Interrupt fails to change variable, how so?

Problem was virtually undebuggable, the interrupt that was changing a variable would randomly fail to do so, with no apparent pattern; within interrupt code variable would change but outside of it the ...
-2
votes
1answer
44 views

Detect change on D- D+ lines [closed]

How can i detect change on D- and D+ (puling one or both of them high) USB lines from Linux environment?
0
votes
1answer
83 views

triacs from dishwasher

I have PCB from broken dishwasher and I would like to learn something from it. There are 6 smaller - STMicroelectronics Z7S, 1A triacs and one bigger STM T4 3570. My guess is (cannot verify it now) ...
0
votes
1answer
63 views

Sync pulse from PC

Can anyone suggest a way that I can send or detect short pulses between a microcontroller and an old laptop with limited I/O functionality. I need to do this every 5-10 sec. The laptop doesn't have ...
2
votes
1answer
45 views

Detect NeoPixel status

I am powering a 1m strip of these with a Spark Core (which is like a small web-enabled Arduino if you're not familiar with it). Right now everything is working swimmingly on my workbench, but I'm ...
0
votes
3answers
136 views

How do microcontroller interrupts work? [duplicate]

I was reading about microcontroller interrupts and how they work, but I can't figure out how the context switch really happens. Can someone please explain it to me in more detail?
1
vote
1answer
121 views

Switching a resistor by software

I want to communicate with a microcontroller over a CAN bus which needs (ideally) 120 ohm terminal resistors at the end of each bus. I want to integrate this resistor into the circuit and activate it ...