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
2answers
28 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
24 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
228 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
44 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
29 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
48 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
68 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
82 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
24 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
27 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
46 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, ...
0
votes
0answers
34 views

Broken notifications, possible causes? [on hold]

I have a Broadcom Bluetooth LE module, BCM20736S, and use its Eclipse-based WICED Smart IDE and modified example firmware, specifically "speed_test". On the iPhone I have the counterpart as an app ...
-1
votes
0answers
51 views

Video Conferencing [on hold]

I'm currently struggling about my final year project. I want to accomplished this video conferencing project. Actually, I'm building a device with camera and projector. I wanted it like a video ...
5
votes
3answers
172 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
0answers
43 views

Is there any completely open source hardware that allows to make some computations and connect to the Internet? [on hold]

Is there any hardware which is completely open source (CPU, storage and all other hardware parts)? Also all BIOS and microcode and etc for that hardware should be completely open source and free of ...
0
votes
2answers
78 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
51 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
56 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
24 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
24 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 ...
0
votes
0answers
30 views

How do I learn to design a Bluetooth Low Energy board using TI CC2650? [on hold]

I wanted to make a 15mm square pcb using the free version of Eagle (2 layers). I have read quite a bit, but I am not confident I can make a board that radiates to 1.5 meters (at least). I have so many ...
-8
votes
0answers
50 views

How can i get EEG or ECG signal data on arduino and how can i get waveform? [closed]

I want to make a EEG or ECG machine. i want help can anyone please guide me from the beginning how to remove noise and then how to convert this analogue signal to digital. plus the software required ...
-1
votes
1answer
96 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
91 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
659 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
104 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
160 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
52 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
55 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
41 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
25 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
78 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
84 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 ...
0
votes
1answer
29 views

MCP2515 with CSTCE16M0V53

I need a 16MHZ resonator for my MCP2515. Can I run it with a CSTCE16M0V53-R0 or would that not be sufficient?
0
votes
0answers
21 views

Mimicking the signal from rx to tx for efm32

As stated in the title, am looking for a smart way to do the stated, i.e, I want to send back the signal I'm receiving, and read it while it passes through my buffers and process with that info... in ...
1
vote
2answers
64 views

How do I program an Atmel SAM in the field?

We have designed some Atmel SAM based boards that we want to make upgradable in the field. We do not have a bootloader yet (planned in the near future) but we need to make sure they are ...
0
votes
1answer
100 views

Running LED at different speed using timer

I am new to C programming. I want to program a running LED on my PIC24 (PIC24HJ256GP206) I have 5 LED on my PORT G and have input PORTB (RB0) My program should, if RB0 is grounded (I put jumper on ...
0
votes
5answers
85 views

how to convert UART voltage from 5v to 3.3v? [duplicate]

I have PIC18F4455 connected to spark core wifi chip. I send data from PIC18F4455 to the spark core by using UART. The problem is the output data of pic18f4455 equals to 5v, and the spark core accepts ...
1
vote
1answer
99 views

Help? SPI communication slow

I am using an Intel Edison with Arduino Breakout Board to communicate via SPI to a LS7366R Quadrature Encoder Buffer. I am using the QEB as a timer: a pulse that enters the index will shift the ...
2
votes
1answer
58 views

OPT3001 conversion formula / equation?

I am struggling to find a real conversion formula for converting the RAW value into result that makes sense. I am using an OPT3001 sensor from TI and ATTiny25 as MUC. I have found one example online, ...
0
votes
2answers
57 views

Voltage Supervisor for low battery

I recently got an electronic engineer to make a design of a circuit for me. He completed everything except for the fact that he never included in the design a way to detect when the battery was ...
2
votes
0answers
25 views

PIC32MZ bootloader without development board

I would like to put a bootloader in a PIC32MZ2048ECG064. I found AN1388B, but in table 9 (available bootloader workspaces) it lists only PIC32MX devices as compatible. The datasheet doesn't mention ...
1
vote
3answers
260 views

Driving LED with PIC 5V

I have always been taught to driver an LED using an MCP using the following method (Driving the pin high) as shown in the diagram below: However I have recently seen LED's being driven using the ...
3
votes
2answers
264 views

Subtle difference between ATtiny parts?

I want to purchase 20 MHz ATtiny85 chips in SOIC-8 on a full reel from Mouser. I found these two variants: ATtiny85-20SUR ATtiny85-20SHR I have studied the specifications but cannot for the life ...
3
votes
2answers
251 views

Using a microcontroller to make a series of LEDs blink one after the other

This may seem like a nooby question, but I have a cycle light with 5 LEDs: * * * * * And it has a button, which when pressed hase different modes: 1st ...
0
votes
4answers
104 views

What is the purpose of a pull-up resistor in a microcontroller?

I'm reading about the AVR microcontroller. In a chapter on I/O ports I've stumbled accross a concept that I have trouble understanding: the pull-up resistor. Here is a quote from the textbook: ...
0
votes
0answers
37 views

led is getting on but not getting off and gsm sim900A not receiving sms continuously

hello sir i am using the Arduino code below to switch on led by receiving an SMS. Led is getting on but it is not getting off. i am using simcom sim900A gsm modem. please help me in this regard. ...