Tagged Questions
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
2answers
42 views
Can a digital input having internal pull up resistor drive a load?
simulate this circuit – Schematic created using CircuitLab
I am working on MC56F8006 DSC . On power up or reset the default state of all GPIOs is inputs with internal pullups enabled. I ...
0
votes
1answer
36 views
Connecting a microcontroller to USB interface
Currently I have the following microcontroller Atmel 89C61RD2 through a max 232 chip to RS232 interface. I would like to have an extra connection to a USB interface also. How can I do that ? I would ...
-1
votes
0answers
17 views
Question with PIC 16F877a, about interrupt RB0
Can you help me ?
I use PIC 16F877a. And I has question about it. Interrupt with RB0/INT and i use delay_ms with timer0. I don't know when has low-edgle RB0 (i set up this mode). My microchip do ...
0
votes
1answer
32 views
Using CooCox as an alternative to Keil MDK-ARM - any limitations?
A very popular and advertised tool for programming ARM microcontrollers is Keil MDK-ARM. The evaluation version can be downloaded here. However there is a code-size limitation of 32kb for using the ...
0
votes
0answers
24 views
GPIO interrupts in alternate mode
Are the interrupts in GPIO module triggered (high to low edge, low to high edge, low level or high level) when GPIO is operating in alternate mode functionality?
10
votes
9answers
2k views
Do Electrical Engineers use microcontrollers?
I've always loved to program, and I just recently became interested in electronics and programming microcontrollers. It is very fun, but I am wondering if I am learning something useful that can get a ...
0
votes
1answer
75 views
Driving 7-Segment Displays using a microcontroller
Before I start out, let me just point out that I'm new to hardware design. In fact, this is just hobby for now, but might turn into something later. Because of this, I don't follow any standards per ...
1
vote
0answers
71 views
Grounding the chassis with capacitor
My question involves chassis grounding to earth ground.
My PCB circuit is a simple signal generator using a microcontroller. It has a separate 'ground' from earth ground, supplied by a floating 5VDC ...
-2
votes
1answer
61 views
Microcontroller to be used as period counter
I have a sensor module whoose purpose is to detect speed of moving target. I need to analyse the dat coming out from the sensor . The frequency output from sensor is 5 Khz and then I want to use ...
0
votes
1answer
30 views
How to modulate Transceiver module for use with ATmega164PA
I am using a transceiver TFDU4101-TR3 to communicate with another device which has exactly the same transceiver. I bought this thinking I can communicate with the transceiver using my microcontroller ...
0
votes
3answers
76 views
Reprogram / modify existing products containing microcontrollers
Is it possible to reprogram a device containing a microcontroller if I know the name of the microcontroller and have the necessary equipment to program a clean microcontroller of the same type?
To be ...
0
votes
1answer
55 views
Inform microcontroller that the analogue circuit is powered up
Basically, I want to pull-down the microcontroller pin if some analogue circuit is powered up. The analogue circuit power is 9V, 1.6A. The idea I have is to use something like IRLZ24N MOSFET, connect ...
2
votes
0answers
48 views
Lithium battery consuming more power on Sleep Mode
I am trying to reduce the power consumption for PIC18F87J11 on sleep mode. The PIC is drawing about .01 mA (6 uA) on sleep mode with Alkaline AAA batteries and other power source, but when I use ...
7
votes
5answers
1k views
Why is my microcontroller passing a current through it when not connected?
MCU: ATTiny13
I noticed this after trying to debug why pushing my switch (connected via R2, a 507kOhm pulldown resistor) makes the LED dimmer while depressed. The switch was powered by the same ...
0
votes
1answer
48 views
How to use Turnigy MultiStar ESC with generic microcontroller? [duplicate]
I just got the Turnigy Multistar 20 Amp Multi-rotor Brushless ESC 2-4S.
I have a motor and a battery hooked up to the ESC. On the three pin connector, I attached the brown ground wire to a ground ...
0
votes
1answer
65 views
n-channel MOSFET source load alternative
I'm trying to drive some RBG leds using MOSFETS. Let's say I have 2 individually RBG LEDS, each controlled by 12V, with each R, B and G with its own output to GND. What I want to control, is to be ...
-4
votes
0answers
56 views
Microcontroller for touch screen? [closed]
I am looking at the scope of building a touch enabled car entertainment system as a replacement to my analog-ish era controls.
Will start simple. Basic controls like multi-touch support and basic ...
0
votes
0answers
27 views
Using an LPC812 to relay/transform SPI commands
I'm trying to use the LPC812 as a SPI relay between an FPGA and a new FPAA. The purpose is to make the hardware backwards compatible with old firmware by taking old SPI commands from the FPGA and ...
23
votes
7answers
1k views
In what situation should I keep the Brown-out Detection feature OFF on a microcontroller?
When the power supply on a microcontroller falls under a certain threshold, a brown-out conditions occurs and RAM memory may get corrupted. Provided that every power down sequence of the circuit can ...
0
votes
1answer
57 views
GPIO Pin configurations [duplicate]
I went through the data sheet of STM32F4 and found the pin configuration of GPIOs. I dont understand the difference between these configurations.
• Input floating
• Input pull-up
• Input-pull-down
• ...
3
votes
1answer
66 views
+50
How to connect the power for VREFSD pin and anlog pin in STM32F3273 (ARM Cortex-M4) for SDADC application?
I have an analog amplifier which is powered at single-supply power and have an analog ground of 1.25V.
I want to perform sdadc for my analog output. I am using STM32F373 (48pins), which is an ARM ...
1
vote
2answers
63 views
Most energy efficient way to detect motion
I am hacking together a prototype wrist band, with BLE as the main component.
I'd like the device to detect a bump or a wave. What would be the most energy efficient way to do so? I'd like the ...
0
votes
0answers
51 views
Can the Hidden Markov Model be run on an ARM Cortex-M3 processor?
I'm working on an algorithm for a device that utilizes the Hidden Markov Model (HMM) to crunch data and make its predictions.
Can the HMM be run on an ARM Cortex-M3 processor running at 32MHz?
How ...
3
votes
1answer
70 views
Ground and power PCB layout for MCU
As you know most of the MCU's has several Vdd and Vss pins. In the case of two-layer PCB it seems convenient to use some polygons beneath MCU (like on the figure below). The first option is treat the ...
1
vote
0answers
38 views
How to setup a usb Host device
How can i setup a usb host device with pic32MX795 with a pendrive as a device .
I have been able to detect the pendrive and enumerate it partially , but cannot create a file on the pendrive .
I am ...
0
votes
2answers
59 views
Independent watchdog (IWDG) or Window watchdog (WWDG)?
I'm still searching to find an answer for this question:
Why while the stm32 MCUs have a perfect watchdog (I mean Window watchdog (WWDG)), there is a simple watchdog (Independent watchdog (IWDG)) ?
...
1
vote
1answer
76 views
H-bridge acting strange [closed]
I am making a robot with two coin batteries rated at 3V and using ATMega164 microcontroller. I am trying to run the motors in both directions for which I am using an h-bridge. I need it to be surface ...
1
vote
1answer
56 views
Controlling various Arduinos with Android
I have an upcoming project which requires me to use about 8 different Arduinos, probably more. They all perform a light show which turns off and on various LEDs at different timings to simulate a ...
0
votes
2answers
63 views
Lamp flickers if dimmed up to an extent
I used circuit shown in this instructable to make an AC dimmer but everything goes fine if not dimmed much but then it starts flickering because of voltage fluctuation.
...
0
votes
1answer
39 views
Connecting separately powered devices via serial
I have a small issue connecting an FTDI USB to 5V Serial adapter to an externally powered PIC microcontroller. They are connected via serial connection. The USB connection powered the FTDI and a ...
-1
votes
1answer
57 views
if statement problem
When I finish transferring a file to micro-controller I send an EOF bit which is '@'
here is one of the "if statements" in CCS:
...
0
votes
0answers
35 views
How do I trigger a 1 wire capacitive touch button?
I have a lighting controller in my house for my under cabinet lights. It has a capacitive touch remote button with a 1 wire interface to the controller. How can I trigger this 1 wire remote with an ...
2
votes
3answers
135 views
Turn TTL output of logic IC into output capable of driving 50 ohm devices
I want to provide front-panel trigger signals with the microcontroller inside my device. The trigger signal will be fed via a 50 ohm coax cable to another device with a 50 ohm input.
A direct ...
0
votes
2answers
77 views
Arithmetic Overflow ATmega328
I have written the following function to calculate the current timestamp (since 00h Jan 1 1900). The output I get is:
...
0
votes
0answers
58 views
Switching a relay through a wireless connection
I want to create a circuit which will wirelessly drive a relay. I only have a little experience with Arduino. I know what peripherals I need, but I don't know what micro-controller to use. I made a ...
5
votes
1answer
107 views
How power system is designed for extreme small system, such as google contact lens?
I just read this news and got very curious: http://www.takepart.com/article/2014/07/23/goodbye-finger-pricking-how-googles-smart-contact-lens-really-helps-diabetics
Google is designing "Google ...
0
votes
0answers
20 views
USB host bulk endpoint setup
Using PIC32MX795F512L as host , for MSD class trying to connect to a pen drive using MLA code , the enumeration is complete , but bulk transfer doesnt work .Cannot read the sector size .
I faced ...
1
vote
1answer
68 views
C# & CCS File Transfer
I need to send/receive files from/to SerialPort and MSP430F5438A, by clicking a browse button in C# interface, selecting a file (like text, notepad, etc.), and in receive case, to save the file which ...
0
votes
0answers
35 views
ELAN microcontroller programming
I am new to ELAN microcontrollers , I am trying to program EM78P156N using UWTR from ELAN. I am facing problems as I do not know the correct procedure to program ELAN controllers.
Can anybody please ...
1
vote
2answers
83 views
Variable Voltage Using PWM and Low Pass Filter
I am trying to control a steady DC output voltage using a Micro controller with a PWM duty cycle. With the current schematic, the Voltage on Vout is pulsing along ...
1
vote
0answers
27 views
AVR: Usage of Force Output Compare bits
Currently I'm dealing with Tiny2313 for my project. Timer runs in CTC (WGM12) mode so OCR1A is used to set TOP of the timer. I want to use OCR1B to generate output signal.
In documentation is ...
0
votes
0answers
57 views
USB Audio Stream to Codec
I have been trying to design a USB Audio Interface with an Atmel SAM3U microcontroller and I think I have hit a wall in my thinking process. As a sidenote, I'm relatively new to the world of ...
0
votes
2answers
142 views
How do I make multiple connections to a microcontroller's GND/VCC etc?
If I'm hanging a number of switches and potentiometers and other sensors off a single microcontroller, I need to connect multiple wires to the µc's ground and VCC pins.
What's the best way to do ...
0
votes
0answers
31 views
Automatically changing currently used and charged deep cycle batteries, any problem?
I don't know the internals of commercial solar deep cycle battery chargers, though mostly what I see in home made ones is that a regulator circuit is connected to battery, and when you want to use the ...
1
vote
1answer
133 views
Vcc pin of 8051
I have tried to simulate a micro controller based project in Proteus, but I cannot see a Vcc pin of the 8051 micro controller. Is it inbuilt or something? I am using Atmel at89c51.
0
votes
2answers
72 views
5v tolerance on 3.3v PIC
Many PIC microcontrollers such as PIC24EP512GU810 have 5V tolerant pins.
My question is how does this work. Do these devices have clamping diodes for ESD protection?
Would clamping the input voltage ...
0
votes
1answer
41 views
Plug-and-play usb-midi controller. How?
I am wondering how plug-and-play usb-midi controllers are created?
To the moment I've created a simple midi controller based on Arduino Uno, but I am not able to use it directly. I have to use ...
3
votes
3answers
160 views
Why Atmega328P has no PortA
This is a general question regarding Atmega328P.
While I was reading the datasheet of Atmega328P, I see that it has Ports B, C, and D.
So, I'm surprised to see that there is no PortA.
Is there a ...
2
votes
3answers
107 views
'reserved for future' bits in microcontrollers
Why some bits in microcontroller registers are marked as reserved or for future pupose? I have seen some address spaces also ...
0
votes
3answers
76 views
How to do a specific task after some time
I have to switch on one relay after some specific time, but at same time I have to do continuous polling for controlling other relays, I am already using interrupt for multiplexing purpose (7 segment ...