Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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
2answers
44 views

Programming microcontroller via UART

Can I program or flash a microcontroller using UART? I previously thought UART is only for communication purposes.
0
votes
1answer
32 views

What is the procedure for going from discovery board to a deployable solution?

Just to clarify with some context: This voice based keyword detection requires an mbed discovery board; and I am sure some min flash size. Even for a hobby project, i.e. personal home automation, ...
-4
votes
0answers
34 views

What ic an i2c or spi device use? [on hold]

What ic an i2c or spi device use?Not microcontroller.Like spi temperature sensor etc.
0
votes
1answer
42 views

Getting garbage output in serial monitor while communicating with OBD using CAN interface(MCP2515) and nodemcu

I am doing a project which involves getting vehicle speed from a car's OBD port and storing it in my database using nodemcu. I am programming nodemcu using Arduino IDE and using this library for ...
0
votes
2answers
64 views

Deducing the value of a variable resistor in configurable voltage divider

Two variable resistors (RS & RE) and one static resistor (RC) are connected to a high impedance input analog input pin of a micro-controller. The static resistor is connected to ground and the two ...
2
votes
3answers
999 views

Why is there a system controller and a microcontroller in the same FPGA?

I am starting to dig into the FPGA world. While exploring the FPGA SmartFusion2 architecture I found out that there is a microcontroller (ARM Cortex-M3) and at the same time a system controller. Why ...
3
votes
1answer
145 views

Why do many uC have more then one I2C interfaces? [duplicate]

On I2C buses you can hock up 112 devices. So why do so many microcontrollers have up to four I2C ports, when you could just operate enough devices for most applications on one I2C interface?
0
votes
1answer
14 views

Connect three HC-05 Masters to three HC-05 slaves

I have 3 Bluetooth modules HC-05 connected to my laptop using an USB-TTL interface and 3 microcontrollers each one has its own HC-05 slave. These devices shall send values to my laptop (each slave ...
0
votes
2answers
88 views

Emulating an SD-Card with a microcontroller (or Raspberry Pi)

some background to my story to begin with: I went to a store and asked for a bluetooth fm transmitter for my car and the guy sold me something that only plays from an SD card and I didn't even bother ...
2
votes
1answer
172 views

Atmega naming scheme (324p vs 328p)

I am looking into AVR chips (big fan) for a personal project. I need capabilities similar to Arduino Uno, so I recently compared Atmega 328p and Atmega 324p. To my surprise the 324p has significantly ...
-1
votes
0answers
28 views

Serial to Usb Communication [on hold]

What is the Cheapest Way in which we Can Send Serial Data from a Microcontroller(for eg. 8051) to android over USB ?
0
votes
0answers
23 views

No response from ESP8266-01 during communication with STM32F429 discovery

I am currently working on project that requires usage of UART to communicate between STM32F429 Discovery Kit and ESP 8266-01. I am programming in Keil uVison 5 and CubeMx using standard HAL-library ...
0
votes
2answers
73 views

What software use to hack wireless protocol ( logic analyze ) USBee

Q: What software do you use for logic analyze? Why: I try to hack(reverse engineering) my home wireless heating system control to make my own central control unit. Wireless: My heating system uses ...
-3
votes
1answer
55 views

PIC18F4550, button and counting code

I am using PIC18F4550. I have some problem about the counting. How should i write the code when i press the button the counting were add 1? this is my code ...
2
votes
2answers
68 views

Timing a circuit's 'on-cycle' after a push button switch is pressed

First off, thank you for reading all of this - you are the part of the internet that gives me hope for mankind. I’m looking for a circuit that I would think is relatively straightforward, but has a ...
-4
votes
0answers
47 views

Cheapest microcontroller that has 3 PWMs and use SO-8 package [closed]

Hi I am searching of the cheapest microcontroller that has 3 PWMs and it can count up and down. Also I hope that it is in SO-8 package. I am looking for a microcontroller that is cheaper than attiny85,...
0
votes
1answer
49 views

How to work with eMMC from software developer point of view

I am facing a problem how to implement parameters management in an embedded software. Parameters management means that I have some subset of variables which values should be persistent but they will ...
-2
votes
1answer
74 views

How to get STM8 unique device ID?

I'm working with a STM8S003F3P6 microcontroller and I need to know an unique ID for each device I will use. I know that PIC microcontrollers has an unique device ID that can be acessed by the user. My ...
0
votes
1answer
49 views

PIC - Problem in NEC IR Decoding in PIC12F675

I'm using PIC12F675 with internal OSC running @ 4MHz. I'm using MikroC Pro compiler version 6.6.2. To Decode NEC protocol, I'm not using Timer or Interrupt. I used delay command to make the code as ...
1
vote
2answers
115 views

UART Data Transfer Across Modular Boards

I am trying to create a modular system that uses UART to broadcast the same data to each microcontroller that gets added to the system. It could have 3 or it could have 10 modules added to the system. ...
0
votes
1answer
71 views

Using phone camera modules to build custom cameras

I'm working on a project and I'm trying to keep the cost down a bit by building the camera. So I'm wondering if it is possible to use a phone camera module such as this one: https://www.witrigs.com/...
1
vote
1answer
45 views

Triggering a camera flash with a microcontroller

I took apart a "one-way-camera" for the flash part and found a circuit very similar to the image. For a project I need to trigger the flash with a microcontroller (attiny25/45/85v, low voltage version,...
0
votes
1answer
65 views

pulling nRESET line low completely [closed]

I have a little circuit that generates a low pulse to trigger a reset signal on my uC. It's output is 2.7V when high and generates a low pulse as desired in isolation (not connected to the uC). When ...
0
votes
1answer
71 views

why is a crystal needed to program microcontrollers

I'm making a programmer for the AT89s52 in parallel mode so that I can program other micros as well. I had bad luck using the spi interface with my computer. I am able to flawlessly program an ...
0
votes
1answer
68 views

Why there are 7 pins in I/O PORT C of Atmega328P as against 8 pins normally?

In any 8 bit microcontroller, normally there will be 8 bits per I/O port. But in AVR atmega328P, there are only 7 bits in one of the I/O port (PORT C). What might be the reason for the exclusion of ...
0
votes
2answers
60 views

Can Micro-controller bear the voltage at its pins more than its rated voltage?

I have a micro-controller, for which i have a datasheet specifying the ac/dc characteristics of that mcu. But in this datasheet there are no absolute maximum ratings only the operating conditions are ...
0
votes
0answers
50 views

Generating Resonant frequency

I have seen some articles about generating resonant waves using RLC circuits. I am wondering if that could be done using a crystal oscillator such as those used for microcontrollers?
-1
votes
0answers
42 views

crystal design selection

im looking into atmel xplained SAM4E board design: the calculated external capacitors is 10pF why they use 3.9pF ???
0
votes
2answers
70 views

Are memory-mapped registers actually implemented as real registers?

I am currently trying to better understand microcontroller-architectures and I am particularly studying the ARM cortex-m3 right now. What I have always wondered is, if memory mapped registers are ...
-2
votes
1answer
33 views

Multiple lights dimming using single TRIAC zero detcetion module

We know well we can dim single lights using single TRIAC module with the help of PWM signals from controller. My question is, I want to control the lights which are placed on hall. Let us consider 15-...
1
vote
2answers
99 views

MCU overheating

INTRODUCTION I've designed a custom board featuring a SAME54N20 MCU. This is the third board I assembled but I still haven't got any to work: I didn't get the first board to connect to my PC. My ...
0
votes
1answer
43 views

Can 74HCT buffers work just as well as 74HC buffers between parallel port and target?

I'm making a circuit to program the AT89S52 microcontroller in a serial fashion as follows: Call me paranoid but this time I'm using resistors on all outputs to the micro as well as RC networks on ...
-1
votes
0answers
86 views

What should I do for control to pcb elements by using pc program? [closed]

First of all I'm sorry for my English.I'm trying to make an encrypted usb ! Password interface software open when user has plug the usb into pc and it's ask the password.I want to get green light if ...
1
vote
3answers
148 views

I2C slave not ACK'ing quickly enough

I am programming a microcontroller to talk with a slave device via I2C. My I2C transactions always get NACK'd, but I believe the slave is ACK'ing the transaction, just a little bit too late and my ...
1
vote
5answers
132 views

I2C monitoring without Microcontroller [closed]

I am trying to read data from an I2C connected touch sensor. Specifically the Azotec IQS266. I plan to preprogram all of the settings the way I want them, and then not touch them again after that. In ...
0
votes
1answer
31 views

MID400 used in “Unsaturated” Mode

I've been spec'd a MID400 in a high voltage A/C power monitor circuit. After receiving the prototype (board is done), I've determined this device is for power on/off application. Problem is I need to ...
0
votes
1answer
101 views

AD7730: Can't communicate via SPI

I have tried to communicate with this device with no success. Anybody have any tips. Or has anybody successfully worked with it. I implemented until now just a read and write function and the psuedo ...
0
votes
1answer
43 views

Bluetooth notification on wearable devices with cc2640 [on hold]

I want to build a smartwatch project that can receive message or email notification. But I don't know the low level stuff of Bluetooth or BLE. What protocol (or say service / profile / config) I ...
3
votes
1answer
1k views

USB differential signal from single pin?

I'd like to make a device similar to the "Digispark", but what really bugs me about those (and most, if not all, V-USB designs, at least all I could find online), is the "waste" of a GPIO pin which is ...
2
votes
1answer
49 views

Segger ATSAME54N20 SWD error

INTRODUCTION I'm trying to program a custom board I designed, featuring a SAME54N20 MCU. My programming probe is a J-Link EDU (version 10.1), connected to my board using a Olimex adapter with a 10 ...
0
votes
2answers
66 views

Can't power controller and LEDs with chosen power supply (works in one project but not in other)

I'm currently running into a rather confusing problem... I'm trying to power a strip of 60 WS2812 Leds and an NodeMcu/ESP8266 board. The supply I chose is a 5V/4A supply. This one to be precise: ...
0
votes
1answer
48 views

STM32 I2C Read Variable Length message from Slave

I have two devices that must communicate over I2C. The master writes some data to the slave, and then it must read back a response from the slave. Neither the slave nor the master knows the length ...
0
votes
0answers
42 views

ESP8266 Input pin toggles automatically

I have an ESP8266 simple switch circuit, which should toggle a relay based on input received from a switch. However the output seems to toggle automatically every few minutes, without any input. I've ...
0
votes
1answer
37 views

MCU sinking current from a higher voltage source

In previous designs, I have used an MCU digital output to drive the lower side of a resistor ladder to the supply voltage, to prevent power consumption when the ladder is not being sampled: Schematic ...
1
vote
2answers
40 views

Memory allocation of constants and statics in structure?

I am working on IIR Filter implementation where I am initializing filter coefficients and memory (form-2 w) memory as follows. ...
1
vote
0answers
19 views

Write to File in Computer running IAR Workbench

I am currently writing and testing an embedded system in which I need to collect data from an accelerometer over a period of time. I already have functions that can read the data at a point in time ...
0
votes
1answer
79 views

Which DC-DC converter for a uController

I want to power a uC project (uC is a STM32, supposed to be powered with 3.3V) over a LiPo battery. Since LiPo's output ranges from 4.2 volts to 3.7 volts, I feel unsure whether to use a step-down or ...
0
votes
0answers
69 views

Connecting an adc to a microcontroller

In a previous post, where my problem was to find the right adc to convert an ananlog signal at 4 MHz speed. I've been recommended the ADC 1175 which samples at 20 Msps minimum. Fine. And since it ...
2
votes
1answer
672 views

What is a biased sensor?

I am working on a 3 Lead amperometric cell in Potentiostat configuration (CE, RE and WE) and I found the word "Biased sensor" and "Bias voltage" all over the datasheet. My question is: What is a ...
0
votes
1answer
31 views

Teensy audio alternative [closed]

Can anyone recommend some alternatives to the teensy with capabilities to play multiple audio files. I have a electronics project with a interactive game it is currently using a couple of button ...