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
79 views
Digital bargraph display driver circuit
.For a project I need to display a progress bar of the activity performed by my MCU. For this purpose I am going to use a bargraph display, but the problem is that bargraph display driver driver ...
0
votes
1answer
51 views
PIC32 Issue with using JTAG Pins as Analog Inputs
I'm trying to read in a value using a few analog pins on a PIC32 (MX775F512H), including RB12-- part of the JTAG pins on the device. The device the board is reading from works great, but the board ...
2
votes
7answers
159 views
Concurrent processes in MCUs
Is it possible to achieve FPGA-like concurrent functionality on, for example, ARM Cortex-4?
If I have a process which does time-sensitive calculations and at the same time I would like to listen for ...
2
votes
1answer
87 views
ADC of ATmega32
I want to use an ATmega32 ADC in its 4 channel single-ended mode to convert four analog signals into digital (one at a time). I have written the C code but what I cannot figure out is what I should do ...
0
votes
1answer
59 views
Digilent Basys 2 using TinyOS-nesC
I wonder if it is possible to use the TinyOS-nesC environment to program a Basys2 card? Digilent has developed a driver for this card under Linux but their technical department says that it utilizes ...
1
vote
0answers
109 views
TFT LCD interface with a Microcontroller: Getting Started
I have a small 3.5 in TFT LCD display from a Chinese manufacturer. It doesn't have an integrated LCD controller. The documentation claims it is a "16 bit RGB/parallel interface" and it uses a Renesas ...
4
votes
3answers
137 views
Difference between reading PORT and PIN
What is the difference between reading PORTA and PINA?
What is the relation between a port and its pins?I'm really confused!!!
sample of reading PORT:(reading pin is not useful here)
Assembly
f=1MHZ
...
-4
votes
0answers
40 views
Wireless chip with long range and high transfer rate [closed]
I'm about to build an helicopter with which I'm going to include a camera. I wonder what kind of transmitter and receiver I need to transfer wirelessly the commands plus live video from the camera.
...
0
votes
2answers
126 views
Connecting pins of L293D to pins of inverter 7404
I would like to know the right configuration of pins using a 7404 inverter while the pins are connected to an L293d. When connected for driving DC motors why must an inverter be used? The pins through ...
0
votes
1answer
58 views
Low power IR detector for microcontroller wake-up
I am working on an ultra low power infrared wake-up circuit for a microcontroller (Atmel XMEGA). I have IRDA comms working but the receiver uses too much current to keep on all the time. I need to run ...
1
vote
0answers
38 views
Parallel, low noise motor driver design with L293D [duplicate]
I'm designing a very basic motor driver circuit for 12V DC brushed motors to be connected with my microcontroller. The motor needs to be driven in forward and reverse
My objective is to do that with ...
2
votes
2answers
134 views
Understanding volatile class fields in AVR C++ programs
I'm having some confusion about what members to declare volatile in a program I'm writing in C++ for an AVR microcontroller, with interrupts. When it's plain C it makes sense - the compiler doesn't ...
12
votes
1answer
230 views
Sine signal generation using PWM
We are unable to generate a sine signal properly using a MC68HC908GP32 microcontroller. PWM description begins in page 349. Clock frequency is 2.4MHz, while we have used 7 kHz PWM by using the ...
0
votes
1answer
201 views
What there was before Arduino? [closed]
I'm really a fun of Arduino project, it's easy and it has a great community. But i am aware that is has no technological innovation, it is only a wrapper on a (normal?) microchip, if i have understand ...
2
votes
2answers
101 views
How can I control 8 LEDs with a timing delay with only one microcontroller (PIC12) written in Assembly?
I can have 5 I/O pins enabled. I'm just confused on how to control them individually.
-3
votes
1answer
54 views
Best way to Interface with PC/MAC/iDevices/Smartphones [closed]
What do you think is the best way to communicate a hardware with PC, MACs, iDevices and Smartphones (with Android, Windows Mobile, etc.) ?
We need to make a voice chat (like VOIP) and also exchange ...
6
votes
3answers
254 views
Switching from PIC to AVR [closed]
I have worked with PIC16 and PIC18s for over three years now and would like to get to know AVR as well. I have no specific project in mind, but would like to try around with the different ...
-2
votes
1answer
56 views
How to search date wise in flash memory using microcontroller?
I am developing a data logger in which I am using 8 MB of flash memory to store the sensor data with date and time. I am using RF interface to transfer that data to PC. I am planning to have PC ...
2
votes
1answer
81 views
Bit Banging UART
My full code is located here.
Basically, I'm transmitting to an Arduino, and I'm not receiving the correct value (you'll notice I'm trying to send d'22'). Here's the method where I actually bit bang ...
-4
votes
0answers
44 views
learning embedded system [closed]
can someone please assist me regarding :
1 The topics that i should read in electronics in order to learn designing schematics for embedded systems as well PC boards.
2 and reference book that i ...
3
votes
2answers
183 views
Arduino LED brightness switching using pushbutton
I'm trying to switch between 4 different brightness of an LED using an Arduino Uno. I've used analogWrite and not digitalWrite with PWM. The problem i'm facing is that the brightness does not switch ...
-7
votes
0answers
43 views
Reference for talking cash register [closed]
I have read your Timer.asm code for the nus module ee3208 however there are some parts of the code that I do not understand such as
Enable serial interrupts
...
0
votes
1answer
84 views
How to use the PIC16F628A's PORTA,4-7 as inputs?
I'm working on a countdown timer and I want to use the MSN of PortA for my switches.
I'm using MPLAB. I can't use C to program the PIC because the collage taught us to program in decimal, and they ...
5
votes
1answer
163 views
Serial Communication over 1 Pin?
Okay guys, I'm in a bit of a pickle here. I have the following circuit:
As you can see, pin 3 is my only output. I've actually already had this board printed, so there's not much room for ...
0
votes
0answers
48 views
Interfacing with ROM chip(C, ASM, & Timing Diagrams)
I am attempting to interface with the following ROM chip via my mc9s12 microcontroller:
http://www.alldatasheet.com/datasheet-pdf/pdf/55460/AMD/AM29F040B.html
I have several functions written in C, ...
3
votes
4answers
92 views
What happens to other component's power consumption, when uC is switched to low-power mode
Currently, I am using a uC (Atmel ATtiny85-PU20), which will eventually run battery powered, and I am trying to reduce power consumption of entire circuit to maximise time between battery changes. ...
2
votes
1answer
87 views
Reed switch stays ON
I have an anemometer reed switch connected to a uC with a 10K pull-up. I then have a RC filter to debounce around 500Hz. This is the case:
A fairly old anemometer connected to my board powers the ...
0
votes
1answer
69 views
Understanding a circuit label in ICSP programmer for atmega
I am completely new in electronics. I wanted to make a programmer (or burner) to burn my program in my Atmel16a microcontroller. I found a circuit on the internet:
(source)
Everything is clear, ...
6
votes
3answers
134 views
How to calculate day of the week for RTC?
I am using MCP7940 RTC from microchip it requires to enter the day of the week as part of updating RTC with date. So how should I calculate day of the week based on the date provided by the user ?
0
votes
2answers
66 views
How to Synchronize two RTC module one internal and other external?
I am developing a data logger based on PIC controller. The PIC has internal RTC but does not have pins for connecting battery so I am using pic's internal RTC to generate interrupt every second and ...
-2
votes
1answer
80 views
microcontroller for heart rate meter [closed]
I have pulse meter which gives only filtered signal. I think it's form doesn't need explanations (periodic beats).
I need some microcontroller 3-5V, which would switch scheme (sensor) on, collect ...
0
votes
0answers
53 views
LED display has noise
I am developing a LED display driver. It uses a PIC18F452 microcontroller and a 74hc245 IC.
It uses the SPI protocol to send signals to the LED display. When there are small number of LEDs switched ...
-2
votes
0answers
66 views
Ethernet packet transmission timing requirement - Microcontroller [closed]
I am looking to find a cost effective microcontroller. The only requirement is that it must be able to send at least 3 ethernet packet types periodically, each at 1ms time interval with a maximum ...
0
votes
0answers
48 views
Are there any metastability issues with microcontroller SPI slave ports that can operate during sleep?
If one is using SPI to interface two microcontrollers that may spend much of their time sleeping, and if the SPI slave port is supposed to wake up its controller when data is received, that would ...
5
votes
5answers
347 views
Microcontrollers - Beginner questions
How do you determine how many sensors a microcontroller can use?
My understanding is you can't use C# directly on any microcontroller but you can use C# and communicate over the USB and look for a ...
3
votes
2answers
209 views
BJTs versus (MOS)FET to switch a load from a microcontroller
I would like to know what are the reasons for choosing bipolar junction transistor (BJT) versus a field-effect transistor (FET) (MOSFET or a JFET) to switch a load from a microcontroller. In our ...
-2
votes
1answer
57 views
How to read in C from a .csv file (how to send the file to the uC) [closed]
For my project I am using an 32 bit uC from Renesas. I have implemented a serial communication so I can communicate with the uC via hyper terminal. The task I have to do now is to read values from a ...
-1
votes
1answer
54 views
Controlling a normal florescent bulb using usb [duplicate]
As a project for my summer holidays am working on a system which will detect faces , depending on which it will either switch on or off the bulb connected to the system (USB preferred).
I have ...
1
vote
3answers
101 views
Selectable Voltage Divider Optimal Switching Point
I've built a circuit to measure an unknown resistance (over a large range) which is basically the following:
simulate this circuit – Schematic created using CircuitLab
Range_Select_1 and ...
0
votes
2answers
98 views
Back EMF with Octal Driver / inverter
I have a project which I am using an octal driver/inverter (DARLINGTON ARRAYS) to allow a micro controller to control 4 electromechanical relays. I have been experiencing relay failure and ...
0
votes
1answer
161 views
STM32 program not executing
I am currently trying to make my own stm32 development board. i have stm32f100c4t6 microcontroller mounted on pcb.
I am using Atollic True studio free edition. i had made small blink led program ...
2
votes
2answers
92 views
Efficient way to get multiple Analogue voltages out of a microcontroller?
I've read in my research that most microcontrollers are not built with DAC outputs as they are expensive to include on silicon chips. Also applications that require analogue outputs typically need a ...
0
votes
1answer
67 views
Flashing an MCU with MicroUSB
I recently bought This MCU and in another question asked how I could flash it. The response was to use a USB to serial Connector (which I wanted to find on newark.com but could not). I wanted to know ...
2
votes
1answer
80 views
What are different types of dimmers?
I want to make a dimmer that would regulate the heating of an electric blanket using Arduino. I thought I'd use a Triac dimming circuit design for incandescent lights from the internet.
Are those ...
2
votes
1answer
62 views
What type of potentiometer to use for 240v AC power application?
I'm working on my first Raspberry Pi project which is to change the brightness of standard household light bulbs.
I have my Raspberry Pi and relay switches which together let me control when the ...
1
vote
2answers
44 views
Connections of SPST switch-ESE-11SV1
I am using SPST switch as a digital input to my NXP MBED Module.I have done the design of the whole circuit in OrCAD Capture and Allegro PCB Editor.
the switch I am using is Panasonic's ESE-11SV1.The ...
5
votes
2answers
467 views
Is the Raspberry Pi a microcontroller or a motherboard? [closed]
I had quick question regarding Raspberry Pi: is it a microcontroller or a motherboard?
It looks like a motherboard, but considering that it has its own dedicated memory and processor, it should be a ...
6
votes
4answers
212 views
Protecting Microcontroller Input Pins from Soft Power Switch
I'm working on a soft power switch for a microcontroller where a momentary switch can turn the circuit on (including microcontroller), and then when the switch is pushed a second time, the ...
0
votes
2answers
76 views
Read from UART seems to overwrite while in buffer
I am reading sending data to a PIC32MX7xx using UART. The data frames are all 6 bytes long, no exception.
The problem I am facing is that when there are 6 bytes waiting to be read and I send another ...
-5
votes
1answer
90 views
How to multiplex leds using a microcontroller? [closed]
I saw this project online for a simple binary clock:
It's a very simple circuit. What I can't figure out, is how you can control each row separately.
The parts list is as follows:
1 - High ...





