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
0answers
3 views
Control connectivity of resistors in voltage divider arrangement
I am building a device to measure the resistance of a resistor using a voltage divider. I added multiple resistors so that the range of the divider could be changed by switching to another ...
1
vote
0answers
14 views
Floating Point problem using PIC18F4550
I'm making an obstacle avoiding robot and using the mentioned PIC controller. I'm currently not at the obstacle avoiding part so what i'm doing is writing code to control the movement, e.g. making it ...
0
votes
0answers
17 views
can i use atmega328p without arduino just using it in breadboard for projects
I am thinking of using atmega328p for a project so can i use it without using arduino board, just in breadboard and use other programmers to burn and use atmel studio and c to program it.
Is ...
-2
votes
0answers
13 views
PIC18F4550+ENC28J60
I'm working in web server project using PIC 18f4550 + ENC28j60, I found 2 examples , I tested them to know the working principle of the TCP / IP stack, but it doesn't work, I've looked for a ...
0
votes
1answer
7 views
mplab error: Executable code and data must be defined in an appropriate section
I'm beginner to Mplab and microController programing.i'm following a pic book .basically my program is a led turn on and off program .I'm using mplabx-v2.10 .this ...
0
votes
1answer
27 views
Interrupt within an interrupt on a PIC18
I am working on code for an external interrupt from RB0 on a PIC18F4550. When an interrupt is detected on RB0, timer0 is activated.
I then need to watch for timer0 overflowing. If it does, then the ...
2
votes
2answers
112 views
Doesn't voltage on ground make it not ground anymore?
simulate this circuit – Schematic created using CircuitLab
Beginner here, trying to learn enough to start using a microcontroller.
If the I/O pins are internally high, wouldn't pressing ...
-1
votes
0answers
32 views
Best way to program a STM32 [on hold]
Google was of no assistance,
I am kinda new to microcontrollers, bare ones, that is, and I am interested in finalizing a design I made by soldering the MCU itself to my own custom-designed PCB, and I ...
-6
votes
0answers
32 views
-3
votes
1answer
33 views
Problems reading the RC1 pin on PIC16F887
I have this kind of problem, that pin RC1 always reads as 0, even when it has high voltage connected. All other pins of PORTC ...
1
vote
1answer
28 views
Pic18F2550 Assembly xt_xt
I am trying to set up a Serial Port for a PIC18F2550 Microchip. I am using MPLAB.
In the 18F2550TMPO.ASM Template the statement CONFIG FOSC = XT_XT ;XT oscillator, XT used by USB.
I need to change ...
-2
votes
0answers
21 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 ...
-1
votes
2answers
40 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
20 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
60 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
22 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
263 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
81 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
40 views
Phone charger project [closed]
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
36 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
55 views
Seek a list of the smallest programable microcontrollers with ADC for my thermometer project [closed]
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
106 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
37 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
1answer
52 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
977 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 [closed]
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? [closed]
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
36 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
76 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
57 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
24 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
60 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
67 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
498 views
SRAM swapped address / data bits
Consider the following wiring from a microcontroller to a sram chip:
...
0
votes
0answers
35 views
BitBus interface [closed]
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
90 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
285 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 ...
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
108 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
0answers
40 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
44 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
132 views
How Can A Coded Firmware Control Hardware [closed]
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
483 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 | ...