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)

-4
votes
0answers
52 views

What does a TIVA Ware C series give me that an Arduino doesn't? [on hold]

I find the Tiva Ware Launchpad 129x with its CodeComposer to be somewhat tiring to work with. I have been working on it for hours and I still encounter rudimentary problems left and right, as there is ...
0
votes
1answer
22 views

Exporting Mbed code to build with in Eclipse

I am working on a project to move from the mbed platform, to some custom hardware. I am using the nRF51822 from Nordic. I have just exported my nRF51-DK project to ...
1
vote
0answers
75 views

How to switch between two 220VAC motor power supplies?

I am not an electrician, electronics engineer or anything that will relate me with your interesting profession, but I am a Project Engineer, Mechanical Engineer, etc. and I am working in my spare time ...
0
votes
1answer
65 views

How do I measure the output voltage of an RGB LED controller?

I want to replace an RGB LED controller (much like this one) with my own MCU. Therefore, I think I need to know what voltage(s) the RGB LED controller outputs so I can make my MCU/component have the ...
1
vote
1answer
46 views

Strange result ADC(Arduino Micro) Thermistor KTY 10-6

Where's the error in the following circuit/code ? Some time ago i got various sensors . One of those was the kty 10-6 (3 pieces). At the beginning i could not find any datasheet or examples about ...
0
votes
0answers
27 views

About Battery Balencing

I have one doubt ,i have two Li-ion battery in series and even I'm charging battery's with a charge controller ic ,the doubt is how can i balance my two battery on same voltage with out any ...
0
votes
0answers
37 views

efficient encryption key generation using microcontrollers

working on a project that requires encryption. now I need an efficient key generation - secure-proved if possible - algorithm that generate a new key every session. currently working on stm32l100rct6 ...
0
votes
3answers
47 views

Problem with a solar power bank indicator LEDs

I bought a 10000mAh (actual 4000mAh) solar power bank from Victsing few days ago. After having solved a short-circuit problem that affected the solar panel, I noticed that it took an extremely long ...
0
votes
0answers
35 views

Button press land patterns and vias

I have a queston re: button press land patterns and vias. I am trying to improve a board that has some button press land patterns that are a bit too near some uncovered vias. i.e. in the application ...
0
votes
0answers
34 views

Measuring touch-weight resistance in piano keys

Piano technicians, such as myself, use an old, labor intensive way of measuring touchweight resistance in piano keys. I would like to automate this process electronically. This is an explanation of ...
0
votes
0answers
30 views

Making image data from video data stream

I'm making some CCD camera design. What I want to do is transmitting CCD camera data through low bandwidth cable. Since It is hard to transmit video stream by this cable, I'm finding some method that ...
1
vote
1answer
30 views

avr signature doesn't match, flash address 0x0000 wrong

I'm new to electronics. I've bought an ATmega32 (a link to docs) and I'm trying to light up a single LED. I have managed to do it a few times, but then I tried to change the hookup wires to a single ...
4
votes
2answers
128 views

Generate current by microcontroller [on hold]

I have to generate current values between 0mA to 110mA. Can I generate current automatically using a micro-controller? (For example: 20mA , 30mA...) I need to keep the current stable for ms in ...
4
votes
2answers
109 views

AVR: How optimize cycle-counted ISR to portable code, using inline asm

I'm trying to optimize my RX and TX interrupts to meet maximum execution time of 25 cycles while interrupts are disabled. So far, I have found that code is optimized enough, but pushing and popping ...
0
votes
1answer
44 views

Transfer variables through SWD with Segger J-Trace without using SWO interface?

I have a Cortex-M0 NXP LPC1114 custom board connected to the debugger J-Trace for Cortex-M from Segger. The Cortex-M0 is a very limited MCU (and cheap!) and doesn't have a SWO port so I cannot use ...
-1
votes
0answers
34 views

ESP2866 Style controller but 5GHz [on hold]

So I'm looking into using the ESP2866 for some projects but I noticed it operated in 2.4GHz. Is there a cheap alternative that supports 5GHz?
-4
votes
1answer
63 views

Search for matching string on the other string

I have a problem with strstr function, I receive characters from UART with interrupt & save them in the n length array(buffer array). Then in main loop I check ...
0
votes
1answer
37 views

Extending 500us pulse for multiple input signals and minimum IC count

I need to extend as fast as 500us input pulses to ~150ms for them to be detected by a downstream circuit. Pulses are coming from sensors. I've found other answers in this site and others about using ...
3
votes
5answers
132 views

Using bit fields in interrupt-driven applications

When implementing interrupt-driven applications I usually create a bitfield to keep track of different interrupts. For example: ...
2
votes
3answers
117 views

SPI interfaces on microcontrollers

My question is for microcontrollers in general. Can SPI be implemented with any 3 different I/O pins granted one is a clock signal? Is there anything special with certain pins that a datasheet ...
0
votes
1answer
50 views

Embedded C programming to interface ultrasonic sensor to 89s51 microcontroller

I am trying to interface an ultrasonic sensor HC-SR04 to a 51 family microcontroller like 89s51. After learning about how ultrasonic sensor works I wrote a program as per my knowledge about ultrasonic ...
2
votes
3answers
277 views

Comparison between uint8_t and String

I have a very fundamental question regarding string comparison.. I implemented a USART to PC with STM32L0 Nucleo board, and I can type something in terminal and receive it on the micro as follows: ...
-1
votes
0answers
58 views

Microcontroller-based Automated Stall

I am currently working on a project for an automated sales stall where customers can view items and make purchases entirely on their own. The system I am attempting to implement is ...
0
votes
0answers
31 views

Measure the number of elements in a box by weight

Well , it might be strange or basic, but is there a way to measure number of elements- such as coins, small balls, inside a box, when the weight per element is known, and the box shape is also known . ...
1
vote
1answer
50 views

can't assign PORTD a variable value on PIC18F

I'm using the following code to test some GPIO while I mess around with the PIC18F45K20 demo board. I realised something was strange when I couldn't increment a value and see it reflected on the LEDs ...
2
votes
2answers
71 views

STM32 appears to be irrevocably bricked

I have a custom board with an STM32F103VE MCU. I can connect to it fine using ST-Link Utility, and I even had code downloaded to it a few times (in ST-Link Utility as well as CooCox), but today I ...
0
votes
1answer
90 views

Can I connect a MOSFET to an Arduino directly?

I have the following electromagnet and plan on connecting it to the following MOSFET which will be controlled by an Arduino (I'm thinking analogue or PWM). Do I need any other parts (resistors etc.) ...
0
votes
1answer
25 views

Connecting AVRISP MKII programmer

I need to connect an AVRISP MkII microcontroller programmer to my ATTiny2313 microcontroller in order to program it. I've never done this before and don't want to damage the programmer, so I have a ...
0
votes
0answers
31 views

Test a ssd1322 based display

What's up folks? I have a problem with one OLED display based on the ssd1322 controller. The DD-25664GE-1A is a 5.5 inches display for which I made a custom PCB connecting the controller to a ...
0
votes
1answer
53 views

Making a magnetic levitation system with arduino

I am planning on making a magnetic levitation system with an arduino that checks the value of a hall's effect sensor twice per second (but I have tried even 1000 times a second though) and turns the ...
4
votes
5answers
1k views

Injecting UUIDs into ROM during production

I'm brand new to electronics and was wondering if someone could explain to me how individual MCU/MPU-powered electronics units can be assigned unique identities on the factory line. For instance, ...
5
votes
4answers
212 views

Is disabling time sensitive interrupts in C a bad idea?

I sometimes see code that disables interrupts, for example to perform a non-atomic read/write to a global variable used in an ISR. On AVR with gcc, this may look like: ...
0
votes
2answers
82 views

Using a high resistance pull down resistor

I'm trying to make a circuit where closing a switch will change a GPIO from low to high, and I want to minimize current as much as possible to increase battery life. The chip I will be using is Nordic ...
0
votes
1answer
56 views

speed control loop for line following Robot

I am working to control the speed in my line following Robot (using arduino uno),by using proportional constant Kp in a closed loop, in my code I calculate the RPM from The Right Motor and the Left ...
0
votes
0answers
58 views

Replacing an IR sensor with buttons

So i have this HI-fi sub-woofer control thing that only has remote control support and i have no remote and I've got no codes for universal remotes. tbh just some switches on the side would be all i ...
0
votes
0answers
25 views

Any possibilities of sending a image(MMS) from mobile to embedded system

Any possibilities of sending a image(MMS) from mobile to embedded system through gprs(because i want send long distance),if not any other alternatives will work to send image?? for detail we have ...
1
vote
1answer
34 views

Receiving a string via Xbee in API Mode

In my earlier question at this link , i asked a question on how to use minicom in linux to communicate between two Xbee's in API mode and got the answer. While i ...
-1
votes
1answer
97 views

All Possible Methods To Reduce The Current Without Reducing LED brightness

Am working on a project where in I had to control 169(13x13) LEDs, I chose ATMEGA 2560 processor for this task but it has absolute maximum Source and sink values as 200ma which was not sufficient. I ...
2
votes
1answer
97 views

Running code from RAM and not using FLASH (ARM)

I have an application for my ARM7 which is usually burned to FLASH, and then on execution it is copied to RAM (to run a little faster). But I remember that my professor once said that I should run my ...
7
votes
4answers
694 views

Method or function to determine if pointer is to address in flash or RAM?

I'm working with an ARM Cortex M4 microcontroller that has a DMA, or peripheral DMA controller. One requirement of the DMA is that it cannot access pointers to addresses that exist in flash, but only ...
-5
votes
2answers
106 views

How to increase microntroller pin Source and Sink Capacity

I'm working on a project but I've hit a block now. I need to drive a total of 169 LEDs using 26 pins at worst case all may be ON at once. I'm afraid that this may fry the MCU since 200mA is absolute ...
0
votes
3answers
162 views

Is this PIC micro-controller powerful enough to drive PWM LEDs?

Short Question Is a PIC24F16KM202 (Datasheet) powerful enough to vary the brightness of 12 LEDs from 12 PWM outputs without any visible stepping of brightness levels? ...
0
votes
0answers
56 views

Texas Instruments MSP430F6736, e-meter Energy Library problems with measures

I already posted my question on Texas Instruments' forum e2e.com but I didn't solve my problem. Maybe someone here will have an idea of what's going wrong. I'm using a MSP430F6736 and I have a big ...
0
votes
1answer
74 views

Which camera module will interface with STM32F7 Disco board?

Which camera module will interface with STM32F7 Disco board? The connector on the board is a 30-pin FPC/FFC 0.5mm. Could the OV2640 be adapted for this?
0
votes
1answer
44 views

DDS with AD9833 and Microcontroller

I'm working on a two channel DDS function generator for a project. I have done some research and I want to use the AD9833 IC controlled with a Microcontroller, an Atmel chip if possible since I have ...
0
votes
0answers
26 views

Find high current latch or use Darlington array?

Looking for best practices here. I'm building a common-anode LED matrix. I've got a current sink LED driver, and I'm looking for a latch that will provide enough current to drive an array of LEDs. All ...
1
vote
1answer
57 views

Does USB CDC always use a UART channel?

I'm working with an Atmel SAM4 ARM Cortex M4 microcontroller and every example I've seen using USB CDC mode bridges a UART channel, and it looks like checks the UART's registers to read the data. Is ...
1
vote
1answer
80 views

When to use or not an optocoupler

I understand the benefits of optocouplers. Always when I'm designing a microcontrolled motor control I isolate the mains from the MCU with those devices. On a few designs I did without the optical ...
0
votes
3answers
89 views

How to amplify voltage using op-amp

I want to measure a motor's load by it's current draw using Arduino, so I made this diagram: The Motor is controlled by a L298 H-bridge. My questions are : The motor's rotation can be reversed, ...
-4
votes
0answers
38 views

Power Mosfet and IGBTs

Can somebody explain me the difference between power semiconductors and traditional ICs..and within power semis the difference between IGBTs and Mosfets. a detailed answer would be really ...