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.
0
votes
0answers
13 views
Touch Sensor Controller that support highest I2C devices [on hold]
I am working on a project which requires touch sensor controller that can interface highest number of I2C devices for capacitance sensing inputs. Cheaper ones could be better. I find one MPR121, it ...
0
votes
1answer
21 views
Transient Voltage Protection of an automotive circuit
Im an electronics engineer student, and im doing a project where im designing a circuit which will be used in automotive applications. More specific it contains a PIC controller which has 16 ...
0
votes
0answers
27 views
PIC delay using XC8 compiler
I have been playing around with my Microchip PIC18F13K22 for a while now. But one thing I have been wondering about is the fact, that the compiler's __delay functions do not work as intended.
I have ...
0
votes
0answers
33 views
LED's: How to mimic color temperature of Sunlight using LED's [on hold]
I want to build a LED light which produces the colour of sunlight. I wish to mimic the colour temperature of sunlight during sunrise & sunset & even during bright daylight conditions. I am ...
0
votes
2answers
68 views
How to program a microcontroller via USB using JTAG? [on hold]
I have some hard time understanding JTAG for programming.
I have an mcu that can only be programmed via JTAG.
What are some easy chips to start with in order to program an mcu via JTAG? I suppose I ...
0
votes
1answer
58 views
How is the microcontroller on this dev board programmed?
I am trying to understand this schematic page 36-41: http://www.ti.com/lit/ug/spmu365b/spmu365b.pdf
I would like to know what path the serial stream of "code" follows from the usb before arriving to ...
0
votes
1answer
40 views
Using UART's TX & RX for Separate Functinality
I am using PIC18F4520.
The project requirement is to interface GSM module with uC as well as receive commands from PC via serial port.
to achieve this I have connected Microcontroller- TX to GSM ...
0
votes
1answer
33 views
MSP430FR4133 timer interrupt
I am trying to use the timers on the microcontroller in order to count up to 10us then add 1 to the int timer. I intend to use this in a project I am doing where I count the time between pulses from a ...
0
votes
2answers
40 views
How to calculate voltage and current of a circuit with input / output MCU pins
I would like to know the method to calculate both voltage and current in a circuit that use MCU input / output pins
In this example, how can we find the V / A of all resistances and Capacitors..
...
0
votes
1answer
37 views
Speedometer using CCP
I made a Speedometer using CCP pin as input. it works. but i have some problem. speed is changed frequently within a range, even using static frequency (When I use a static frequency, It should ...
0
votes
1answer
43 views
passive motion sensor
I would like to get a microcontroller out of sleep when the board starts moving (or vibrating). If possible it should just be a passive switch (I only need a positive edge from a battery to get the ...
2
votes
3answers
113 views
How to lengthen a short pulse?
i'm building a shot counter circuit for my airsoft gun controlled by an ATtiny26L MCU, where the shots are detected by an infrared diode + phototransistor couple. The PT outputs positive signal when ...
-7
votes
0answers
35 views
Button connected to a microcontroller [on hold]
I was designing a pcb on EAGLE and was using a template schematic. I deleted the button and decided not use it. I then added it but connected it to the PTB18 pin of k64f board, which is described as ...
0
votes
2answers
46 views
RC controller design for small car
I am creating a small car that is to be controlled by a small hand held joystick remote.
basically I am trying to find the best option for doing this task.
The vehicle has two 24V motors, one for ...
-4
votes
0answers
51 views
Is stm8s003 an arm microcontroller? [on hold]
Now a days everyone suggests to use ARM microcontroller for learning or developing products. But I found that STM8s003 is also very popular and used widely. So Can anyone explain me that "Is STM8s003 ...
-3
votes
0answers
11 views
how to change the flash loader configuration in MK24FN1M0VLQ12 [on hold]
I am using MK24FN1M0VLQ12 controller for my project. I want to change the .board file from "$TOOLKIT_DIR$\config\flashloader\Freescale\FlashK64Fxxx128K.flash" to Flashk24. Please guide me.
Please see ...
1
vote
1answer
42 views
Does Interrupting a Microcontroller Data Receive with a Higher Priority Interrupt Cause Data Loss?
I would like to know what would happen if a Serial Terminal were to send a large amount of data to a PIC/AVR, for example over USART interrupt, which was then interrupted by a higher priority ...
-4
votes
2answers
49 views
Interrupt priorities [on hold]
I have never considered interrupt priorities very important in my embedded programming. Is it correct? Should I pay attention to the priorities of the interrupts while programming? How much does it ...
1
vote
2answers
56 views
Power Supply Issue, Voltage Drop Under Load
I have the Ardupilot Mega flight control board (APM), which outputs 4.8V. I want to power CC3200 MCU with it, which needs at least 3V for stable operation. I power APM using a power module connected ...
0
votes
0answers
13 views
Is there _delay_ms() active waiting in SDCC+STM8 MCU?
Is there _delay_ms() active waiting function in SDCC for STM8 MCU?
(I only found delay100tcy() for pic16 in includes)
If it doesn't exist, what is the simplest implementation?
FCPU macro is known.
1
vote
0answers
50 views
Unexpectedly poor DNL, INL and ENOB on an ADC
I'm currently trying to characterize an MCU and it's peripherals, in particular the on-board ADC. However, running the usual test procedures (i.e. sine wave for ENOB and sawtooth for DNL and INL), I ...
0
votes
0answers
33 views
Facing Problem with ATMega 32A main circuit
Hello I am working with Micro controller ATMega 32A to show some value in 7 segment common anode display. The code is ok (checked with Simulation ). But in hardware implementation it's not working ...
-3
votes
0answers
28 views
CMSIS-DAP adapter with case?
I love the variety of CMSIS-DAP adapters out there, but none of them seem suitable for a manufacturing environment. Are there any that come in a case?
1
vote
0answers
74 views
Power calculation of circuits
Please read on..... this looks long but is entry level and easy
I have done many simple projects based on microcontrollers but have not considered power and required current(for circuit to work) ...
2
votes
2answers
75 views
Reset Interrupt - Beginning or End of ISR?
Im working on a uC that has interrupts configured for various FIFO's present in the uC. Each FIFO is connected to a common bus and can receive data independently(at any point of time). Now, everytime ...
0
votes
1answer
170 views
Where does the spark come from? (an embedded system circuit)
We are developing an embedded system product. As an inexperienced engineer, I am really scratching my head to make our product reliable: temperature, ESD and etc..
The following diagram shows my ...
0
votes
1answer
78 views
N-MOSFET switching an H-bridge: problems with PWM
In this circuit an Arduino digital pin drives the Gate of a N-MOSFET. When the pin is HIGH, current can flow from the H-Bridge GND to board GND. When it's LOW, current can't flow. What I need is to ...
-2
votes
0answers
11 views
how to program and burn p89v51rd2 and sst89e516rd in ubuntu? suggest some software [closed]
how to program and burn p89v51rd2 and sst89e516rd in ubuntu? suggest some software
as theres flash magic in windows. which is software used in linux
-5
votes
1answer
61 views
raspberry pi, fastest way to blink with a lot of leds? [on hold]
I saw this technology:
kino-mo
In short words they placed leds onto a usual fan.
I tried to do the same thing but I can't just take a strip of leds with ws2812 and blink with them - they are too ...
0
votes
0answers
62 views
Software Controlled DC Power Supply
A scientific apparatus has to be air-cooled to a defined temperature. Software side with PID etc is solved. We need to control two DC brushless fans in a way they run smoothly.
If we just use PWM to ...
0
votes
1answer
58 views
Design for Multiple I2C slave devices
I'm doing a PCB in which I'm using the Beagle Bone Black to interact with multiple I2C devices. I have attached a schematic. Out of the many I2C devices, I'm connecting some using TI's I2C switch ...
-2
votes
2answers
76 views
Sending and receiving data from c# to PIC167F877A [closed]
Good day! I am a computer engineering student. We are currently creating our thesis project, wherein we use pic16 as our microcontroller. We are really having a hard time on how to receive data from ...
0
votes
2answers
78 views
Ambilight without computer - µC [on hold]
Firstly, sorry for my english. I'm not very confident with this language but i'll try to give my best for you guys :).
So, now i will talk about my main problem.
For my school project, i have to ...
1
vote
3answers
191 views
Microcontroller GPIO ports referred to as Parallel Ports [on hold]
A coworker of mine, quite frequently, refers to the GPIO ports of say an 8051, AVR, or any microcontroller as "parallel ports". Is this a common nomenclature in industry? I find it kind of confusing, ...
-2
votes
0answers
32 views
Any support forum for STM8 MCU? [closed]
Are there any support forums for STM8 MCU?
As I have searched it is very poorly supported platform.
Unlike AVR (with AVRfreaks) or MSP430 (with TI-forum).
1
vote
2answers
96 views
How to troubleshoot overheat/short of microcontroller?
The PCB I am working on somehow went terribly wrong. As soon as I power up the circuit, MCU(MSP430F6720) starts to quickly overheat and in one case literally smoked. I described this in TI's forum ...
0
votes
0answers
28 views
Arduino micro lost connection after first programming [migrated]
I have just programmed a new micro, loaded the basic blink code in it. After that neither my laptop, nor my desktop sees it anyway with the following usb error:
...
0
votes
2answers
80 views
PID and motor control by PWM
I am having a potentiometer which gives an analog voltage in range of 0-5V. I am considering this POT as throttel input for motor.
If i change the pot speed increase and decrese on the basis of ...
-1
votes
1answer
34 views
Looking for Zigbee and Microcontroller [closed]
Looking for Zigbee and Microcontroller - Selection
What series Zigbee wireless should I get?
SAM R21 Xplained Pro for MUC to connect some sensor and zigbee.
Wireless adapter should be something ...
0
votes
1answer
39 views
Why should I connect Vbat pin of stm32f37x to VDD when there is no battery?
I'm using a STM32f373x and with no battery. The product specification on page 77 says it should be connected to VDD. I have made a test with Vbat pin left open and the micro is working. Why I should ...
0
votes
2answers
92 views
Why is my PIC microcontroller pic16f683 resetting after 2.4 seconds?
I have written the LED flashing light program for a 16F683 microcontroller.
I expected the LED to have a 50:50 mark space ratio. i.e. on exactly half the time. In fact, it is spending longer on than ...
0
votes
2answers
105 views
Toggling a high-power relay with a Microcontroller
I've got some relays connected to some 230V high-current spotlights.
I would like to control 16 of these with a microcontroller.
I'm thinking of creating my own PCB.
I have checked the datasheet, ...
1
vote
2answers
91 views
Is it possible to read a 10 by 10 switch matrix with 8 by 8 I/O pins?
I was asked this question on an interview: given 8 output pins and 8 input pins on a microcontroller, is it possible to read a 10 by 10 switch matrix without using multiplexor and demultiplexor chips?
...
-6
votes
0answers
41 views
How to display which circuits on using LCD display [closed]
Am doing a project on wire harness continity testing, the harness have 100 to 200 individual circuits, am cheaking them one by one using up down counter and 200 led bulps ( just like checking the ...
0
votes
0answers
9 views
Initialization of Hitachi-based LCD, using AVRISPMKII, atmel32 micro controller
I am confused by the following, Osc frequency of atmega32, programming frequency of programmer AVRISPMKII and internal frequency of Hitachi LCD. I have used Hitachi Datasheet to determine duration of ...
1
vote
1answer
35 views
ATtiny26l won't work without programmer
I'm running a simple program on an ATtiny26l but if i disconnect my AVRISP MK2 programmer it stops working completely. I'm supplying 5.4v to both VCC and AVCC pins (chcecked voltage).If i reconnect ...
0
votes
0answers
47 views
Microcontrollers and interconnections
Question
Hello, I am confused by the meaning of interconnections when it comes to microcontrollers. For example I have a Microchip Technology Inc.’s 16-bit PIC24FJ64GB410, I will be attatching a ...
0
votes
0answers
33 views
Turbidity sensor for my microcontroller [closed]
The Problem
I am finding it rather difficult to find a Turbidity sensor that can be used with the microcontroller I have, that being a Microchip Technology Inc.’s 16-bit PIC24FJ64GB410. ...
3
votes
2answers
381 views
Differences in using c user-defined functions on PC and on ARM
I am new to programming in c and to ARM also, so forgive me silly question. I would like to find answer on the net rather than to bother you, but there is not many materials in the web.
I am using ...
0
votes
2answers
72 views
Wireless energy scavenging from in-home wiring EM fields
I was wondering if it would be possible to power a little 3.3V microcontroller, by harvesting an electromagnetic field around an in-wall insulated 240V 50Hz AC power cable.
Something like contactless ...