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)

0
votes
0answers
23 views

help with the BLDC motor 4-pin

Hello you could help me? What is the difference between integrated TDA5140A and TDA5144, I found that I can use both, but I think if I need to make the rotation speed control and what I do with the ...
-1
votes
0answers
50 views

Needing help in college project on Smart Energy Meter [on hold]

What would be the right way to convert 230V AC to 5V AC but with output current in the range of 2-6 mA along with protection/isolation from the mains?
0
votes
1answer
64 views

Cutting power to IC using MOSFET fails

The aim of the circuit is to enable/disable power to an IC (U2) using a transistor (Q1) to enable/disable ground, controlled by ...
3
votes
3answers
707 views

Programming a microcontroller with another microcontroller

I'm looking into using a PIC24FJ256GB106 to program three other of the same microcontroller. So this is how it should work: The program is sent across through serial to the master/programming PIC ...
1
vote
1answer
51 views

PIC12F509 Not Blinking

Here's a relatively simple question: What is wrong with my code below? I am trying to blink an LED from GP2 pin, but am getting confused when it comes to setting GPIO pins and registers, and its a ...
0
votes
1answer
64 views

8 bit SPI Microcontorller interface with 16 bit SPI slave

I'm willing to use the Atmega328 microcontroller to control the AD9833 waveform generator through the SPI interface of the microcontroller; the only problem is that the AD9833 reads 16-bit data while ...
-1
votes
1answer
35 views

How do I read digital input on atmega series and use it in such code?

if (pin1 of port c high) {preform a task considering that pin 5 and 6 are connected to an rtc via i2c and pin 0-3 is an input from lm35 (which I was able to write a code for) :p using atmega8 I've ...
1
vote
0answers
52 views

For variable voltage devices, namely SD cards, how much power do you save by using a lower voltage?

I'm designing a computer vision system and my 3 main components are microcontroller (VDD = [1.8V, 3.6V]) microSD card (4 bit mode, VDD = [2.7V, 3.6V] according to SD 2.0 standard) cheap cell phone ...
0
votes
1answer
58 views

Using “oscillator” rather than crystal for MCU

I'm kinda new to this so the name is based on Digikey. I have a PIC24FV32KA304 and I want to put an external oscillator of 32mhz. I found out that an oscillator like this one is a bit cheaper than ...
0
votes
3answers
20 views

Isolating or suppressing possible servo noise from signal lines

I will be building a circuit to control a robot arm which is not a small toy kit. There will be motion sensors, feedback systems, robot arm controlling modules. So digital signals will be flying all ...
2
votes
1answer
61 views

Controlling the number of devices manufactured by a licensed manufacturer

Problem A small company is trying to outsource manufacturing to a small 3rd party factory. The products are consumer grade electronic devices and do not require any special certification besides CE ...
0
votes
1answer
24 views

Random display temperature reader LM34 and 7107

I am a beginner. I have been stuck on this for quite a long time. I am following this schematic. In replace of LM35, I'm using LM34. I am getting random flashes from the 7 segment - gibberish. My ...
-2
votes
1answer
23 views

How to get recieved call number in GSM module? [on hold]

I need the last recieved call number for later use. Means, I need to get the number from some call after that call has been answered or rejected. I need that caller number for sending a message back ...
0
votes
1answer
28 views

Display the temperature using the LCD

In order to display the temperature in three integral and one fractional digits using the LCD over the range of the temperature sensor and updating the display data five times per second, what ...
0
votes
1answer
23 views

Using the Temperature Sensor TC1047A with MCU

In the manual in order to convert the A/D conversion result of an HCS12 MCU to the corresponding temperature, we need to do the following: Divide the conversion result by 6.2 Subtract 40 from the ...
-2
votes
1answer
46 views

Digital guitar effect / DSP [on hold]

I have to design and create a MCU device as a project for my university. I would like to create a real-time digital guitar effect, which should have a decent sound quality. I don't have any real ...
-2
votes
1answer
56 views

How to program ATmega16? [on hold]

How to program ATmega16? I mean how to transfer the code on microcontroller? I have compiled the code.
0
votes
1answer
41 views

Baseline PIC12F509 BTFSS Instruction Issue

****Update Scroll Down For More Info**** I've been experimenting with a PIC12F509 and have been writing some simple code in assembly I'm using the internal 4 MHz RC oscillator. I have set GP3 as an ...
0
votes
1answer
52 views

ADC conversion timing

Why the conversion time of an ADC is calculated as: number of bits in resolution+number of programmed sample clocks+2/(ADC clock frequency) ? As far as I know for the successive approximation A/D ...
0
votes
0answers
13 views

DSP2802x_DevInit.c vs F2802x_sysctrl.c

I am new to microcontrollers. I am working with TMS32F28027 MCU. As I was going through the examples in the control suite directory, I found two types of .c files. Older versions like v129 uses ...
1
vote
1answer
49 views

Embedded system 16x2 lcd user interface

I'm developing ui for embedded system application. I have to handle few critical tasks always which are being called in main infinite while() loop. Program flow enters into sub-menu if key is ...
0
votes
0answers
23 views

mt9p111 initialization

I need to use mt9p111 (LI-5M05CM-AF), but I can't find any initialization examples in Internet. I found drivers for linux and android at github: (Link in comments). I didn't see any results of ...
0
votes
1answer
65 views

Bits are high on disabled pins(STM32)

For some reason I have many bits with value 1, even if they are supposed to be turned off. I tried to debug it with some LEDs and Keil uVision debugger. uC is STM32F103 The situation is: I have 2 pins ...
1
vote
3answers
58 views

USB Device Latency

This is a theoretical question. I would like to know what the lowest latency is which can be achieved when interfacing a microcontroller with USB interface. Consider a USB host (computer) sending one ...
-2
votes
0answers
26 views

Trying to choose an accelerometer and a microcontroller that communicate with usb [closed]

(communication protocols specified) Its Accelerometer -(SPI)> microcontroller -(USB)> Computer. Im trying to choose the accelerometer and microcontroller. I need the Accelerometer to give my ...
7
votes
3answers
573 views

Microcontroller memory limitations [duplicate]

I am really not able to understand why, when our personal computer memory is increasing in terms of gigabytes, the microcontroller memory is not increasing at that speed for both flash and RAM? What ...
0
votes
1answer
83 views

PIC MCU: Using pointers to alter output

so I've been trying to create a circuit with a PIC16F917, a button, and three LED's, where upon a button press the LED output changes, like the button press cycles through different modes. I've been ...
1
vote
0answers
54 views

Crypto key handling in a uC

What are the general guidelines for handling a cryptographic keys? I know that saving them in plaintext is generally frowned upon, does this hold for true uCs where no user code is run?
-2
votes
0answers
39 views

Build own Ultrasonic cleaner via temperature control [closed]

I decided build ultrasonic cleaner via temperature controller. I have elements that Ultrasonic motor, Ultrasonic motor driver,PTC sensor,Arduino Mini or Stallaris,SSRs and etc... And I have background ...
0
votes
1answer
42 views

How does the C code relates to hex output in terms of pins assignment for ATmega16

So I wrote up a code which interfaces a graphic LCD with ATmega16 and displays some custom characters on it. This is a subject that I'm doing in my university. I would like to share the code with my ...
1
vote
3answers
105 views

Gyroscope Problem

I am working at a project which requires to determine the roll of a device. I studied the method through I can do this and I find that an IMU (Inertial Measurement Unit) could help me. I started with ...
0
votes
2answers
59 views

Interfacing an inductive proximity sensor with a Microcontroller using a sort of PNP-NPN transistors combination

I'm trying to repair an old circuit based on the Micro-controller S87C751 interfaced with an inductive proximity sensor similar to one already posted here The sensor is powered +24V. I followed ...
0
votes
0answers
31 views

MCP2551 idle bus voltage too low

I made a can bus using STM32F415RG and an MCP2551 transciever. MCP2551 is connected like this: Txd is connected to the MCU tx Rxd is connected to the MCU rx Vss is connected to the common ground Vdd ...
-4
votes
1answer
42 views

Using TIP120 and common grounds [closed]

Good morning all! Unsure if it's safe to use the approach on the left, connecting ground across the two power supplies rather than the right. I assume it's fundamentally the same thing but just want ...
0
votes
1answer
52 views

Is it possible to use Microcontroller I/O ports as UART ports

I am using NXP P89LPC954 Microcontroller in my design.It has two UART ports. As it is known that UART are point to point connections between two devices. Hence i can only use two devices to connect to ...
0
votes
1answer
54 views

Is it required to program microcontroller with parallel port for the first time

In my company i have been told that when we are using the microontroller for the first time(factory sealed),it is required to program boot vector and other few parameters using the universal ...
1
vote
2answers
37 views

Using on chip I2C on NXP P89LPC954

I am trying to use on chip I2C on NXP P89LPC954 microcontroller(80C51 based) for voltage monitoring. I have two voltage monitoring chips of same kind(same chip with same register address) connected ...
1
vote
3answers
97 views

PIC MCU: Software or hardware delay?

Experimenting with blinking LEDs, I learned about creating delays with either a software loop or a timeout from a timer. I know that for a simple blinking LED program, where the processes aren't that ...
1
vote
2answers
82 views

help me to understand ANSEL register in PIC

in new to PIC,this is bit confusing. For switch ,usart we should clear ANSEL regsiter to make as digital IO so then only we can read 0 or 1 from that pin?, data sheet says if we set particular pin ...
0
votes
1answer
45 views

Baseline PIC 12F508 Delay Loop Goto Instruction

I have been experimenting with a PIC 12F508 and have just begun writing my own delay loops in assembler. Nothing fancy yet just toggling an LED connected to GP1 (set as an output) on and off to verify ...
0
votes
1answer
66 views

Sensor communicating with a base station 3.5km away for a rate of 100bytes every 10 sec

I have a small project that I want to do, I want to deploy a sensor that is capable of measuring the wind speed and direction from a crop field to my house - distance of about 3.5km. There is no ...
0
votes
1answer
32 views

problem with dispic33 using DMA between UART and ADC

I'm using dsPIC33FJ128MC804, i intend to read from ADC and send to UART but via the DMA ( direct memory access ) which is supported in that MCU , i use Mplabx c16 there is a problem with my code i ...
5
votes
3answers
149 views

Large exponentials and 8-bit PIC processors

Does anyone know if 8-bit (PIC) processors could typically handle large exponentials, e.g., 5^15 mod 23, with a reasonable speed? Does doing so result in more ...
1
vote
2answers
63 views

Combining Optoisolator and Relay into one I/O pin

I have a project that uses two microcontroller pins to control the input and output of an isolated device. The LEDs are for status, showing when an input or output is enabled. I'd like to save some ...
0
votes
0answers
99 views

Encryption on a weak, low-energy device

I'm hoping to implement encryption on a small PIC microcontroller. I see that XXTEA is fairly popular for small MCUs, but it's broken. However, my application avoids the vulnerable scenario. That ...
0
votes
1answer
66 views

How do I fetch data from the internet with a GSM module using GPRS? [closed]

Recently I have built a device using Quectel (GSM/GPRS module) interfaced with Atmel MCU. It will control another device using SMS received by that GSM module. Now I am trying to connect it to the ...
0
votes
1answer
69 views

AVR: Facing problem with Timers

I need a 13 Microseconds delay for transmitting IR at a 38Khz carrier wave. My chip (ATTiny84) is running at 8Mhz. I cannot figure out what's the problem in my code: ...
0
votes
1answer
25 views

Is softconnect is necessary in lpc1343

I am doing my own development board using LPC1343.I gone through the application note AN10986.I noticed the topic "Automating USB ISP".In that they described about USB softconnect. Now I am designing ...
1
vote
2answers
99 views

current sourcing by MSP430F5438A-EP MCU

I am using the MSP430F5438A-EP microcontroller. I wanted to know the max current that could be sourced by this chip. The datasheet is -Datasheet. The data given in page 38 states - Diode current at ...
0
votes
1answer
31 views

Best way to modify single I/O pin on CANOpen DS 401

I have a microcontroller with CAN and need to implement a CANOpen master. It needs to toggle a pin I/O on a third party device using CANOpen specification DS 401. How is the best way to accomplish ...