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)

-2
votes
0answers
18 views

kinetis programming [on hold]

somebody knows how to programme a Kinetis freescale microcontroller with the bootloader like ROM bootloader without need expensive programmers, I'm thinking use a simple serial interface but I don't ...
0
votes
2answers
32 views

0.5m of RGB LED strip light with micro RGB controller powered by 12v li-ion battery pack?

my questions are all pretty basic but I'm very new to electronics and could really use the help. Ill try and be as specific as possible and would appreciate any advice. Abit about me - Im UK based ...
0
votes
0answers
17 views

Sim908: altitude, strange value

sending the command for receive the GPS information AT+CGPSINF=0 the SIM908 return this format: AT+CGPSINF=0 ...
1
vote
2answers
55 views

Why does MPLAB IDE has so many compilers?

I have learnt that the MPLAB IDE has different compilers like C18, XC8 and HI-Tech. I want to know the following things: Why are there different compilers when one can do the job? Are certain ...
1
vote
0answers
21 views

FTDI2232d + TM4C1294 configurations

I posted this question before, but I am still struggling with this. I captured a schematic and others in this time so it should be more clear to see what's going on. I was given a custom board ...
2
votes
3answers
247 views

How to calculate phase shift between two square waveforms with Arduino DUE

I have two square wave signals with the same frequency. I want to measure the phase shift between these two signals. There will be a small phase difference between two signals. (0-90 degree) and the ...
1
vote
1answer
37 views

Solar charging using or not using a dummy (dump) load

I'm in the process of designing a small solar regulator / charger (no more than 5A) for sealed lead acid batteries. I have put a working prototype together and all seems to be working. However, ...
0
votes
2answers
80 views

Are there any high voltage (14V) MCUs? [on hold]

Switching regulators and LDOs are not an option, for complex reasons. Are there any MCUs which can tolerate a 14V supply voltage? I'm currently looking at 4000 series logic to do what I need, but I ...
0
votes
1answer
39 views

Phone charger project [on hold]

I have a question, how to make a led that changing light from red to green and when the led turn green a buzzer will trigger? I want to make a phone charger project, that when the phone fully charged ...
0
votes
1answer
34 views

Receiving a whole string from USART on ATMEGA16?

I am trying to receive a string from USART but failed , i want to receive char by char and store them in an array until the user enter '\n' and finally display the string to LCD , here is my code: ...
0
votes
1answer
20 views

SBUF/SCON 8085 Serial Communication

While using 8085 especially at a different baud-rate , DTE being the micro-controller, DCE being any modem/or a Display device coupled with RS232 db9 or db25 port. I can understand SBUF can Store ...
-2
votes
0answers
52 views

Seek a list of the smallest programable microcontrollers with ADC for my thermometer project [on hold]

I'm searching for a list of the smallest and for that matter the most suitable programmable microcontrollers [MCUs] with built in ADC for a project that has very little space. The entire PCB can be no ...
1
vote
4answers
105 views

What's a production programmer for PIC

I have a PICKit 3, but I understand these aren't for production. What does a production workflow look like? PC -> Programmer -> Chip. Do people usually verify that the chip copied properly, or is ...
0
votes
2answers
36 views

ac current sensing using microcontroller and accordingly perform the operations

I am working on a project in which I need to monitor the current and if the current increased a particular value then switch off the device. the problem here I am facing is sensing ac current I have ...
1
vote
0answers
38 views

PIC16F57 Won't startup (MCLR?)

This problem has me defeated! I've created a binary clock for a scout merit badge project. About 10 have been built and work but one scout's does not. It appears to be related to proper startup of ...
1
vote
3answers
971 views

Can a diode effectively regulate a supply voltage?

I have a 6V DC battery that's rated at 2A. My microcontroller uses 5V supply at about 50 mA. I've been told I shouldn't worry about the current since the microcontroller will just take what it needs. ...
-1
votes
0answers
35 views

measuring ac current using 8051 microcontroller [on hold]

I am working on a project and i want to measure ac current of an induction motor(3 phase) using 8051 micro controller and display it on lcd. can any one suggest some method to implement this. can we ...
0
votes
0answers
23 views

code transfer between network of computers.middleware or what? [on hold]

i have 5 cortex M407VG connect via CAN bus , have same RTOS one of those boards need to send a function (piece of code) to other boards to be executed and return back the result. my RTOS kernel was ...
1
vote
1answer
30 views

Single input terminal for multiple voltage inputs

I am designing a board for which I want to have single input terminal for voltage. Board is microcontroller based(Atmega328) so the voltage coming to uC(Vcc on picture) should not exceed 5V. How I ...
4
votes
1answer
74 views

Grounding an Opto-isolated Microcontroller

First off - thank you all so much for all you have done for me, and the hobbyists all around the world. I love you all and truly appreciate what you do for the field of hobby-ism. The AC in this ...
0
votes
0answers
56 views

Can anyone recommend me a Microcontroller for this purpose? [closed]

I recently began looking into the world of Micro-controllers, ARM things, "Maker" things, but, that world is so diverse, I cannot even begin to choose from all the Micro-controller galore I've seen, ...
0
votes
0answers
20 views

Interfacing hc-05 bluetooth module with AT89s52

I am trying to interface HC-05 module with AT89S52 microcontroller for my college project. I have written a send routine in assembly to send data at serial pin TX with 9600 baud rate as follows: ...
0
votes
1answer
17 views

connecting wifi module to proxy based wifi

I have a wifi module with micro-controller , but my college wifi uses proxy, SO how can I program proxy credentials in my C program so that my wifi module connected to micro-controller can connect to ...
1
vote
3answers
59 views

Using A Relay To Control A Lamp

I'm experimenting with capacitive sensors acting as switches and want to actually give my circuits some practicality. I've been researching how to use relays with microcontrollers (in my case, an ...
0
votes
1answer
52 views

12 bit ADC conversion simple code not working as expected

I posted a couple days ago a couple of functions that I wrote to do 10-bit ADC. the problem is I couldn't figure out what was wrong with my code so I wrote a much simpler single function that does a ...
0
votes
0answers
35 views

Low power design

I'm working on a project, it consist to collect data from sensor : HTU21D for humidity and Temp (digital I2C) LDR for light (Analog ADC) Potentiometer for adjustment (Analog ADC) communicate the ...
0
votes
1answer
65 views

Blocking capacitor? Driving 8 ohm .5 watt speaker with microcontroller

I'm reading Make: AVR Programming. The next project wants me to try to drive an 8 ohm speaker with a pin from the microcontroller. I'm no EE, but I do know that 8 ohms is not a lot of resistance, and ...
4
votes
4answers
497 views

SRAM swapped address / data bits

Consider the following wiring from a microcontroller to a sram chip: ...
0
votes
0answers
35 views

BitBus interface [on hold]

Looking for information about BitBus interfacing - preferably has anyone implemented BitBus via a CPLD controller or in an FPGA? Can see questions about CAN bus and so on, but BitBus is going back to ...
0
votes
3answers
89 views

220VAC to TTL converter

I'm building a circuit that sends TTL level signal to uP whether AC signal exists or not. The schematic is as follows: Actually, the circuit almost works as I expect; however, there occurs some ...
1
vote
1answer
281 views

Converting 100mV AC to 1V DC

Hey guys I am looking for a circuit where I can convert 100mV AC to 1V DC and then feed it to my microcontroller's ADC pin. Can any one suggest any circuit to achieve this? I want to interface a ...
-2
votes
0answers
35 views

Transferring data between two Tiva Launcpad TM4C123GLX Microcontroller using CAN [closed]

How to communicate between two Tiva launchpad TM4C123GLX microcontrollers using CAN in between. Many thanks Shaho
0
votes
0answers
26 views

IPM acronym in TI microcontroller

Just wondering what the IPM indicates at the end of the manufacturer part number for Texas Instruments microcontrollers? e.g. what is the difference between MSP430F27A and MSP430F27AIPM?
1
vote
2answers
105 views

ADC Read function not working properly

I am working on a school project where I need to read a bunch of analog values and convert them to digital with PIC16F1788(datasheet). I wrote the function using C and xc8 compiler. The problem is ...
0
votes
1answer
45 views

matlab image processing supported microcontrollers [closed]

I'm a mechatronics engineering student. I'm working on a senior year project related to computer vision in matlab, specifically real time object recognition. I have created a code for object ...
0
votes
0answers
38 views

MAX PWM of MSP430G2553 or any MC

I am playing with microcontrolers lately, more specifically MSP430G2553 with the LanchPad. I want to output a PWM and also read a PWM. For producing PWM I use a timer that calls an interrupt. For ...
1
vote
0answers
82 views

How to Drain Heat from a High Intensity Lightbox (2200 watt)? [duplicate]

As you may know, I'm working on designing a "lightbox" that will contain 3 high intensity metal halide bulbs - consuming a total of 1600 - 2200 watt. The purpose of the box is to generate ~40,000 lux ...
0
votes
1answer
38 views

PIC:What is the difference of SPI module of PIC18F4685 and PIC18F66K22?

I want to configure SPI module in Slave mode for PIC18F66K22. Can we use common SPI library for both MCU?
0
votes
1answer
43 views

Using PSMC instead of CCP

Hi I am building a motor controller and I decided to use PSMC instead of CCP to create my PWM, my decision was based on the fact that I dont have enough CCP ports on my pic 16f1788 for the project. I ...
-1
votes
3answers
130 views

How Can A Coded Firmware Control Hardware [on hold]

I really want to know how could a virtual coded program really affect and imitate and animate a piece of hardware. I Have Always Seen The Diagram Of Processors In the Book Showing ALU and CPU as The ...
2
votes
4answers
481 views

Do all I2C devices have separate read and write addresses?

I'm using a particular I2C device, and when it is connected, I need to write data to it by sending data to address 0x30 but then to read from it I need to read from address 0x31 (or by doing 0x30 | ...
1
vote
1answer
65 views

current control via microcontroller

I have a micro-controller which calculates and decides about the current each minute. Then for one minute the circuit must hold that current constant. Then it should control the current via a buck ...
0
votes
0answers
24 views

ATMega32U2 USB Issues

I purchased a couple ATMega32U2 chips from Varical the other day since they were very well priced and there was free shipping. I also finally discovered the pinout to this QFP32 socket I have. So I ...
1
vote
3answers
103 views

How does the Arduino compare to PIC and AVR for serious learners

I'm trying to get into microcontrollers, but as you might guess, choosing the first microcontroller to start with is a difficult task due to the many great choices available. I have studied ...
-1
votes
1answer
54 views

Can a microprocessor ( specifically the ALU) be considered as an FPGA that is re-programmed by the Instruction Decoder

So, I have been reading about FPGAs. As I understand, they work by providing logic blocks for the programmer to link together to solve a particular task. Many such tasks may run in parallel; so an ...
1
vote
1answer
37 views

How do I deal with different XTAL pin capacitance when selecting XTAL and load capacitors

I'm trying to select a 32kHz crystal and appropriate load capacitors for Atmega48A MCU. Atmega48A specifies different capacitances for Xtal1 and Xtal2 pins: 18pF for Xtal1 8pF for Xtal2 The ...
0
votes
0answers
19 views

PIC18F66K22:How to configure SPI in slave mode?

I have PIC18F66K22 microcontroller.I want to use SPI in slave mode. How to configure SPI in slave mode? If any demo code is available then it is better for me. Thank you.
1
vote
1answer
48 views

Operating frequency of microcontroller PIC18f4550

I am new to PIC Programming, and thought of blinking LEDs as my first project. Now I copied a code from net which blinks two LEDs and its working, the LEDs are blinking. My settings:- I haven't ...
-2
votes
1answer
99 views

Current Measurement Problem [closed]

I'm trying to measure the current through a DC motor but the things aren't working as expected. First, let me say that I can't do the measurement with an ammeter. I also don't have a current sensor. ...
1
vote
2answers
60 views

Websockets for Embedded Application

I need to clear out my doubts regarding my Home Automation project. I am working on project based on IoT Home Automation project. There are three entities in this project: Web Server Embedded Client ...