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
3answers
52 views

8 bit MCU with 12 bit ADC, possible?

I am trying to measure battery's voltage and current but with a very high accuracy. So i've selected a 12 bit ADC to be interfaced (via I2C) with my micro-controller. My micro-controller will receive ...
2
votes
1answer
58 views

Best way to count glass marbles

I've got a reason to count a number of marbles in a game. Up to about 100. I can feed them down a track one at a time. I can ensure that they each go down separately, although I can't accurately ...
0
votes
1answer
50 views

High Power LED Strobe

I am attempting to drive 3 High-power LED's in parallel and wish to strobe them. The issue I'm running into is in parallel, the LED's require 3v and 8.4A, however, the 555 timer requires higher input ...
0
votes
1answer
46 views

Pic 18F452 / push button

I want to write program with " MPLAB IDE v8.50>>Pic18f452 " by 1) low level pulse & 2)Rising edge . but, how?(without interupt & micro C,maybe!) I wrote this program with falling edge. Thanks ...
1
vote
1answer
56 views

How to figure out how much time you have for writing to flash when voltage source breaks down?

I try to figure out how I can make sure, that my controller (STM32F030K6) is always able to save a 16 bit integer to the flash when the power is breaking down rapidly. This controller has an Analog ...
0
votes
2answers
79 views

Need to convert 0-10VAC (alternating current) to 0-3.3VDC (direct current)

I am using a sensor that outputs a 0-10 VAC (alternating current) and I need to convert this signal into a signal within 0-3.3VDC (direct current) to feed into an ADC. What is the best way to go ...
-2
votes
1answer
48 views

Is MPC8260 microprocessor or microcontroller?

Microcontroller has a CPU, in addition with a fixed amount of RAM, ROM and other peripherals all embedded on a single chip. Microprocessor is an IC which has only the CPU inside them. They don’t have ...
1
vote
2answers
73 views

Interfacing ADC CS5532

I've been trying to interface ADC CS5532 to P89V51RD2. I have reset the ADC, written configuration bits to the configuration registers. I am trying to use the single conversion mode. However, while ...
0
votes
0answers
57 views

Reusing a old non perfectly regulated 12v powersupply

12 volt power supply shows 16.8 volt Not long time ago i made a simple low voltage rgb pwm circuit to test with raspberry and arduino. Now after a while of reusing old chagers and recycled ...
0
votes
3answers
83 views

Breaking a 16-bit long int to write into eeprom?

I am writing data to eeprom AT24C16 using PIC microcontroller pic18f4520. Every address of this eeprom can hold 8-bits while I am using long int's to store data that are 16-bit in size. How to break ...
4
votes
4answers
929 views

Checking when a car horn is pressed?

I want to detect when a car horn is pressed. The only way I can detect it currently is using the voltage on its line. When the car is turned on, there is always 12V being supplied to the horn through ...
6
votes
5answers
1k views

What do I need to put my code onto a microcontroller?

I learned about coding a controller, but never actually put the code on the physical device. I am trying to figure out what I need to order to start developing a basic embedded system. For example, ...
2
votes
1answer
41 views

understand the the setup of Timer on STM32f10X

I'm trying to understand how to correctly setup the timer on STM32f10x . The board is running with an external crystal of 16MHz , and I'm using the PLL : ...
0
votes
1answer
40 views

Contiki: Serial Line IP via SPI

I am working on Contiki's cc2530 port (customizing for my custom radio). I do not unserstand how can i make SLIP work with SPI? I understand that SLIP is similar to UART (it is UART without parity, ...
1
vote
2answers
95 views

How to switch between two analog outputs with a digital output?

I have a circuit with a 74ls93 counter and I want to use one of its outputs to switch between two analog output, i.e., when the output of the counter is HIGH, the output of the circuit must be V1 and ...
1
vote
0answers
61 views

Fly-by vs flow-through DMA

I know that fly by DMA controllers (such as Intel 8257) are basically rewiring the circuit and arbitrating the flow of data. On the other hand the flow through ones keep some of the data into its ...
0
votes
1answer
39 views

MOSFET choice for 12v LED Strip and 3.3v Logic

I'm currently planning a project on a low-cost WiFi-enabled RGB LED controller and could use some help in looking over my parts list and general concept. What I'm wanting to do is a build a ...
1
vote
4answers
58 views

Inerfacing switch & led with any controller

I am trying to interface switch and led. I want to write a program in which if I press and release the switch led should glow and if I again press the switch led should turn off. I am not able to ...
0
votes
1answer
31 views

Bit Addressing in 8051

Can i only use the MOV command (for bit addressable registers like PSW,ACC as well as ports ) with the carry bit? Is the command : MOV PSW.4,ACC.4 work with the assembler? if not why? How can i ...
-2
votes
0answers
39 views

Cheap and easy program microcontroller [closed]

I am looking for a microcontroller which is cheap and easy program. Easy program means it does not need a special tools to program. For example, microchip use pickit to program, i dun wan something ...
9
votes
2answers
348 views

Inbuilt flash memory size not enough

I am using TM4C1230C3PMI controller from Texas instrument in one of my project. It has 32KB of internal flash, which is not sufficient for my application. Higher flash sized micro-controller are ...
2
votes
4answers
67 views

Open collector microcontroller output

I am building the following circuit, in order to control the P channel MOSFET as a high side switch for my load. The input of this circuit will be from a microcontroller (maybe an STM32F103), and I ...
0
votes
0answers
25 views

Bluetooth serial to bluetooth audio module

I was looking to work with a bluetooth audio module but many of the available options are either very costly, unavailable in my region(India) or generally lack some features. What is commonly and ...
0
votes
4answers
90 views

Can this ATMega328-PU ATMEL microchip be used instead of MCP3008

I wanted to follow this tutorial as a first project. I've got all the parts I need, but I could not purchase the chip that was linked in the article. So I found another chip that sound similar (To a ...
0
votes
2answers
84 views

Strategy for a learning lawnmower robot, and choices of motors

I am pondering on building a practical learning lawnmower robot (could be Arduino based) and I am wondering if this will work. The robot will be both autonomous and RC (radio controlled). Given some ...
1
vote
1answer
39 views

Controller built-in vs external DAC

I am using STM33F in my application, it has 12 Bit DAC. For one of the audio codec module in same application, stereo DAC with inbuilt amp needs to be implemented (IC TLV320DAC3100). Above codec ...
3
votes
1answer
61 views

What's a good set of PWM values to make sine waves for a 3 phase motor?

I'm building a synchronous rotating spark gap for a tesla coil. I have a working mcu (Kinetis K64F) driving a 230volt inverter board and it spins a 3 phase synchronous motor. The motor is a ...
0
votes
2answers
61 views

I2C on atmega168/328 using interrupts

I have the following I2C configuration with an ATmega168 (1 MHz) as the master and an Arduino Uno (16 MHz) as the slave. The command for the LED connected to the slave comes from the master and ...
0
votes
1answer
79 views

How are microcontrollers designed? [closed]

I've always wondered the steps involved in designing a microcontroller. Let's say one wanted to design a dedicated motion control chip, would this be "hard wired" into the chip? What kind of software ...
1
vote
1answer
52 views

Send alert tone to pc from microcontroller via serial communication

I am learning microcontroller for couple of weeks. Yesterday, I have learned how to establish serial communication between PC and microcontroller. I can send texts to pc's hyperterminal from mcu and ...
2
votes
1answer
63 views

Reading and processing 32+ ADC channels at high frequencies

For a project I need to sample 32 or more photoresistors at a time and return an ID and value of the brightest photoresistor over some communication (i2c, serial, etc doesn't really matter to me). I ...
0
votes
0answers
26 views

Automate 3DS Analog Stick Input with Arduino

I have a Arduino that can output 5v and 3v. I have a Nintendo 3DS that runs on 1.8v. I need the Arduino to send between 0 and 1.8v to the Nintendo 3DS Analog Stick to control it. Do I hook up two ...
-1
votes
1answer
37 views

Ethernet Generic Controller [closed]

I am a Software engineer and I need to make some program (TCP/IP client) that connect to Ethernet with more than one Ethernet controller devices (TCP/IP Server) that control some electrical components ...
0
votes
1answer
46 views

Help with On/Off Flip Flop Switch

I'm still fairly new to electronics and have been teaching myself as a hobby. Currently I'm working on a project that detects a red laser beam, and once detected will turn AC lights OFF if they're ...
-2
votes
1answer
47 views

Suitable MCU For Industrial Machinery Control [closed]

What kind of features and specifications should I look for in an MCU which will be dedicated to handling Trapezoidal motion profiles and PID? Are there any particular MCUs that are commonly used for ...
1
vote
1answer
58 views

XBee Synchronization

I am using 64 XBee modules (XB24-Z7UIT-004) as sensors and I am trying to synchronize all the modules to execute a command all at the same time. What happens is that it takes about 500ms to send the ...
14
votes
5answers
1k views

How to Transition from “Basic” Microcontrollers to ARM Cortex?

I have many years of experience with 8-bit cores from various manufacturers - namely 8051, PIC, and AVR - and I now have a Cortex M0 to figure out. Specifically this one, but I hope we can be more ...
0
votes
0answers
104 views

What is causing my arduino controlled fan to run so poorly?

simulate this circuit – Schematic created using CircuitLab Some background first... I am a mechanical engineer who took 1 electrical engineering class back when I was in college, but ...
0
votes
2answers
78 views

Send Pixels From MCU to HDMI

I would like to send pixel data from a MCU (PIC24 or PIC32) to a LCD computer monitor via HDMI. Ideally, I would only update frames as needed and not have to transmit them continually. Can it be ...
0
votes
3answers
73 views

RAM and stack memory

I'd like to know what is the difference between RAM ( data memory ) and the stack memory in PIC micro controllers if both of them is volatile( not sure about stack ) and the stack is temporary memory? ...
0
votes
0answers
36 views

How to communicate with RLM100 UHF RFID module?

I have an RLM100 UHF RFID module. I searched a lot, but I didn't found anything useful that explain how I can use this module. I mean the only thing that I understand so far it that this module use ...
0
votes
0answers
12 views

Sketch Upload to LinkIt ONE Timeout [migrated]

I've just bought a new LinkIt ONE IoT prototyping board, and I'm having trouble getting started with it. I'm working on a mac. I've installed the LinkIt ONE SDK onto my Arduino IDE as specified in ...
0
votes
0answers
49 views

STM32f4discovery DAC DMA HAL library

I have a problem with the configuration of DAC with DMA. DAC is working but when i want to connect it with DMA it doesn't work. Here is my code: ...
17
votes
8answers
3k views

Why do Microcontrollers need a Clock

Why do instructions need to be processed at set time intervals (i.e. with the use of a clock)? Can't they be executed sequentially - immediately after the previous instruction has completed? An ...
1
vote
2answers
98 views

Peltier circuit design for TEC

I'm designing a TEC circuit with a Peltier element, LM35 as the sensor and Arduino uno as the controller. I simulated it with Proteus and to my knowledge it was working, I suppose. But when I tried to ...
1
vote
2answers
58 views

Searching for a programmable microcontroller (USB & LED dimming)

My apologies for the lack of given information or my knowledge in this subject. I haven't done much electronic-related before (I know how to use basic IC's such as the 555's, 4017's, etc), but I've ...
0
votes
1answer
72 views

Measuring AC voltage (0.333vac max) using a 10 bit ADC on Atmel ATMEGA328

new to this so please be kind. want to measure AC current in domestic supplies using an atmel ATMEGA328P chip wit the best resolution possible I need to use the split core current transformer ...
0
votes
2answers
87 views

How to correctly wire an interrupt pin, clock pin, PWM pin, SPI pin

I've a question about how to correctly wire some microcontrollers pins. In particular: Interrupt pin on microcontroller (pull up/pull down resistor and with which value) Output clock pin from a ...
1
vote
1answer
47 views

Memory Leak in queue linked list, avr c

I am building a small command interpreter to be run on a microcontroller. To queue each command and its accompanying arguments, I am using a queue implemented as a singly linked list. All of the queue ...
-2
votes
0answers
85 views

tm4c123gh6pgei - Custom PCB [closed]

I am currently working on a custom PCB using the MCU : tm4c123gh6pgei http://www.ti.com/lit/ds/symlink/tm4c123gh6pge.pdf I am using the Tiva C development board, you can programm MCU with the Kit. ...