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
1answer
21 views
Design for Multiple I2C slave devices
I'm doing a PCB in which I'm using the Beagle Bone Black to interact with multiple I2C devices. I have attached a schematic. Out of the many I2C devices, I'm connecting some using TI's I2C switch ...
-2
votes
1answer
23 views
Sending and receiving data from c# to PIC167F877A
Good day! I am a computer engineering student. We are currently creating our thesis project, wherein we use pic16 as our microcontroller. We are really having a hard time on how to receive data from ...
0
votes
2answers
63 views
Ambilight without computer - µC
Firstly, sorry for my english. I'm not very confident with this language but i'll try to give my best for you guys :).
So, now i will talk about my main problem.
For my school project, i have to ...
1
vote
3answers
176 views
Microcontroller GPIO ports referred to as Parallel Ports
A coworker of mine, quite frequently, refers to the GPIO ports of say an 8051, AVR, or any microcontroller as "parallel ports". Is this a common nomenclature in industry? I find it kind of confusing, ...
-2
votes
0answers
29 views
Any support forum for STM8 MCU? [on hold]
Are there any support forums for STM8 MCU?
As I have searched it is very poorly supported platform.
Unlike AVR (with AVRfreaks) or MSP430 (with TI-forum).
0
votes
2answers
64 views
How to troubleshoot overheat/short of microcontroller?
The PCB I am working on somehow went terribly wrong. As soon as I power up the circuit, MCU(MSP430F6720) starts to quickly overheat and in one case literally smoked. I described this in TI's forum ...
0
votes
0answers
28 views
Arduino micro lost connection after first programming [migrated]
I have just programmed a new micro, loaded the basic blink code in it. After that neither my laptop, nor my desktop sees it anyway with the following usb error:
...
0
votes
2answers
66 views
PID and motor control by PWM
I am having a potentiometer which gives an analog voltage in range of 0-5V. I am considering this POT as throttel input for motor.
If i change the pot speed increase and decrese on the basis of ...
-1
votes
1answer
31 views
Looking for Zigbee and Microcontroller [on hold]
Looking for Zigbee and Microcontroller - Selection
What series Zigbee wireless should I get?
SAM R21 Xplained Pro for MUC to connect some sensor and zigbee.
Wireless adapter should be something ...
0
votes
1answer
35 views
Why should I connect Vbat pin of stm32f37x to VDD when there is no battery?
I'm using a STM32f373x and with no battery. The product specification on page 77 says it should be connected to VDD. I have made a test with Vbat pin left open and the micro is working. Why I should ...
0
votes
2answers
89 views
Why is my PIC microcontroller pic16f683 resetting after 2.4 seconds?
I have written the LED flashing light program for a 16F683 microcontroller.
I expected the LED to have a 50:50 mark space ratio. i.e. on exactly half the time. In fact, it is spending longer on than ...
0
votes
2answers
102 views
Toggling a high-power relay with a Microcontroller
I've got some relays connected to some 230V high-current spotlights.
I would like to control 16 of these with a microcontroller.
I'm thinking of creating my own PCB.
I have checked the datasheet, ...
1
vote
2answers
89 views
Is it possible to read a 10 by 10 switch matrix with 8 by 8 I/O pins?
I was asked this question on an interview: given 8 output pins and 8 input pins on a microcontroller, is it possible to read a 10 by 10 switch matrix without using multiplexor and demultiplexor chips?
...
-6
votes
0answers
40 views
How to display which circuits on using LCD display [on hold]
Am doing a project on wire harness continity testing, the harness have 100 to 200 individual circuits, am cheaking them one by one using up down counter and 200 led bulps ( just like checking the ...
0
votes
0answers
9 views
Initialization of Hitachi-based LCD, using AVRISPMKII, atmel32 micro controller
I am confused by the following, Osc frequency of atmega32, programming frequency of programmer AVRISPMKII and internal frequency of Hitachi LCD. I have used Hitachi Datasheet to determine duration of ...
1
vote
1answer
32 views
ATtiny26l won't work without programmer
I'm running a simple program on an ATtiny26l but if i disconnect my AVRISP MK2 programmer it stops working completely. I'm supplying 5.4v to both VCC and AVCC pins (chcecked voltage).If i reconnect ...
0
votes
0answers
46 views
Microcontrollers and interconnections
Question
Hello, I am confused by the meaning of interconnections when it comes to microcontrollers. For example I have a Microchip Technology Inc.’s 16-bit PIC24FJ64GB410, I will be attatching a ...
0
votes
0answers
29 views
Turbidity sensor for my microcontroller [on hold]
The Problem
I am finding it rather difficult to find a Turbidity sensor that can be used with the microcontroller I have, that being a Microchip Technology Inc.’s 16-bit PIC24FJ64GB410. ...
3
votes
2answers
378 views
Differences in using c user-defined functions on PC and on ARM
I am new to programming in c and to ARM also, so forgive me silly question. I would like to find answer on the net rather than to bother you, but there is not many materials in the web.
I am using ...
0
votes
2answers
69 views
Wireless energy scavenging from in-home wiring EM fields
I was wondering if it would be possible to power a little 3.3V microcontroller, by harvesting an electromagnetic field around an in-wall insulated 240V 50Hz AC power cable.
Something like contactless ...
0
votes
1answer
53 views
Microphone on Arduino for Sound Detection
I'm working on a design to have a microphone on Arduino board for sound detection (clapping sound etc). I see there are lot of circuits floating on internet but almost everyone has an output to ADC ...
0
votes
1answer
51 views
ADC for low signal (microvolts)
I am a newbie to electronics
I have a sensor that can provide a range of [400 microvolts - 5 Volts]
I want to transform this signal into Digital so that i can read it on computer, I'm seeking a ...
0
votes
1answer
55 views
10Mbs USB to serial communication
I want to transfer data from a full duplex serial device (TTL) to the PC. The data rate is 10Mbs , i am investigating potential solution. I can add a level converter like max232.
I have 2 questions:
...
1
vote
1answer
37 views
Energy Harvesting Primary VDD and Battery Backup VDD power for MCU
Currently I am in the design process of circuitry for my energy harvesting circuit. I am using the CC1110F32 MCU from TI. I am using the Development kit boards that they created for this project.
The ...
0
votes
1answer
40 views
High 4bit crash in atmega128 serial communication
I am trying to communication between atmega128 and serialCom(PC),
but I get a pretty strange bug.
When I send data 0 to 255 (char) from atmega128 to serialCom(PC)
,after sending 0x08, the high bit ...
-2
votes
0answers
31 views
meauring distance using ultrasonic sensor with atmega32 code bug
what is the wrong in this code ? when i run it on atmega32 the uart send 000 one time and the code does't repeat !
the code should measure the distance using ultra sonic and display it using uart ...
0
votes
0answers
34 views
Want to learn how to connect SoC to VGA [closed]
Any recommendation for
SoC that has CPU, memory and flash on die
VGA connector
The point here is I want to be able to link them together. You can assume that I know how to link them using PCB.
...
9
votes
2answers
497 views
Enable interrupt but no ISR
I would like to know what happens if an Interrupt is enabled(ex:Arbitration Lost Interrupt in CAN module of NXP's LPC1778),but no ISR has been defined for the interrupt.
When such an interrupt ...
1
vote
0answers
84 views
Capacitors near MCU VCC pins
I am planing my first MCU board and this MCU has several pins that need VCC (3.3V). My friend suggested that I put capacitors 0.1uF near every VCC pin to remove disturbances. But if these pins are ...
0
votes
2answers
100 views
How to output 5V from 3.3V MCU?
Big picture: I want to control a LUXdrive 3023 BuckPuck LED driver (3023-D-E-1000) from a Particle Photon (essentially an ARM Cortex M3 microcontroller). The MCU runs at 3.3V. I have tried a few ...
-1
votes
0answers
60 views
Adafruit GPS ultimate configuration [closed]
please help me to find out main micro-controller UART registers configurations that i should follow to get GPS NMEA data from the Adafuit GPS ultimate module? almost common main steps for ...
-3
votes
0answers
44 views
how can i interface a comparator with AT89C51 microcontroller? if you know the answer pls send me [closed]
i am designing an ultrafast circuit breaker and i'm stack with interfacing the comparator with the microcontroller so if you have any idea please tell me.
0
votes
0answers
17 views
Debugging arduino shield for varying voltage [migrated]
I'm using this motor shield for arduino from adafruit. It says it can drive 4 DC motors with it. However, two terminals M3 & M4 (as marked in the image) seem to be supplying lesser voltage.
To ...
3
votes
2answers
164 views
Micro-controller failure problem as the temperature raises
I'm using at91sam3s8b(cortex-M3) for my project.The hardware board connects to PC using USB port. The firmware contains some cryptographic algorithms (it includes shifts, Xors, memory substitution ...
0
votes
2answers
79 views
STM32: UART Interrupt is triggering without any flags getting set
Is my understanding incorrect or have I found a bug?
I am using the UART4 module of an STM32F105. I'm using the RXNE ("RX Buffer Not Empty") interrupt to grab data as it comes in. It's working as ...
-2
votes
0answers
30 views
Help designing a wireless thermocouple to an existing cabel appliance [closed]
I need a micro transmiter/receiver for a "J" type thermocouple. Right now the signal flows through a shielded 2 wire cable up to 400 ft (120 m) away with no line of sight at any given time.
I have 9 ...
0
votes
1answer
51 views
Implementing a very sharp IIR (125Hz sampling rate, 0.2Hz bandwidth)
I am trying to design a IIR lowpass filter. The purpose of this filter is to get pure DC from noises.
The sampling rate is: 125Hz.
The bandwidth of the filter: 0.2Hz.
I designed the filter with ...
-2
votes
1answer
55 views
Interrupt programming PIC18F4520 :: Toggling LED
[Edit: replaced sideways photo with upright photo]
I recently started using interrupts in pic programming. I started with this program but I am not able to go through what has been done in this ...
0
votes
2answers
78 views
Difference between FIQ and IRQ
Im working on TI based processors now and they have 2 types of Interrupt configuration(FIQ or IRQ).I have seen such interrupts before when i was doing a hobby project using a LPC1778 but since i didnt ...
-3
votes
1answer
66 views
how a microcontroller or microprocessor is called as 8 bit, 16 bit? [duplicate]
In what basis a micro controller or a microprocessor is classified as 8bit and 16bit?
0
votes
0answers
26 views
Voltage to Current converting with LM675 Power Op Amp from TI
This is the circuit that I have in mind.
The op amp receives voltage signal from a buffered DAC (its maximum load is 50 kOhm) and output a current with frequency of 1 kHz and amplitude of 1 A. The ...
0
votes
2answers
38 views
ARM M4 based Microcontroller or Particle Photon drive multiple small colour lcds?
Hi I was just wondering if anyone had an example of running multiple small colour lcds from an arm based microcontroller or photon?
I'm hoping to run up to 5 lcds with photos.
Ideally if I could ...
0
votes
1answer
60 views
Ways to drive a capacitative load with discrete transistors
I'm looking for a way to drive an ultrasonic transmitter using just discrete transistors. AN1536 is a good application note on the general principles, but they're driving it directly from the MCU and ...
0
votes
3answers
44 views
VDDCORE & ENVREG connection when it is not used
I have 2 PIC18 chips the first one :
1- PIC18F46K80 working with 5V supplied from external regulator, it has a VDDCORE pin.
2- PIC18F65J90 working with 3.3V supplied from external regulator, it has ...
3
votes
2answers
180 views
MCU RAM - Why accessing RAM across the boundary causes Bus Fault?
My question is best explained by an example. There's an evaluation kit from Infineon that uses ARM Cortex-M4 and has a total of 80 kB of RAM. There is also 512 kB of Flash memory. [However, it seems ...
1
vote
2answers
72 views
Minimise backlash in DC geared motor
I am new here, I actually work on application programming.
As a hobby I started to work with arduino and dc motors. Soon I ended up with backlash problems. Right now I am using a rotary encoder which ...
1
vote
3answers
67 views
8 bit PICs: timer1 asynchronous vs synchronous operation
The 8-bit PIC family (I'm working with pic18f46k22) offers some timers (timers1/3/5) that can work in both asynchronous and synchronous modes when clocked from an external source.
The obvious ...
3
votes
3answers
139 views
How to protect microcontroller board 1-wire from accidental +12V connection?
I'm working on modular LED strip driver with one "Master" board and up to 32 "Slave" boards. Each "Slave" board drives one LED strip.
All boards have 3 pin terminals:
- +12V (connected to 50W source)
...
3
votes
1answer
49 views
SD card ACMD42 command
According to SD card datasheets, there is an internal pull-up resistor on the DAT3 line, and we can use this line to detect the card. Additionally, the ACMD42 command is described that it is used to ...
1
vote
1answer
42 views
STM32 Standard Peripheral Library (SPL) - Modify SPI Configuration
I am using the STM32 SPL library with an STM32F103C8 microcontroller. As part of the project, I am using the SPI1 peripheral to interface with an SD card.
Initially the SPI speed must be kept under ...