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
63 views
PC shares memory with external microcontroller
I'm looking for a PC hardware interface that matches these needs-
The PC will constantly be busy performing calculations. Each time there is a calculation result (every ~1ms) I want it to share it ...
3
votes
0answers
42 views
5V Tolerance of 3.3V OUTPUT pin
Let's assume the following scenario:
uC (@3.3V VDD) drives an I/O pin HIGH 3.3V (just to be clear, it's not an open-drain pin, so the p-channel mosfet of the output pin is actually driving the pin ...
0
votes
0answers
25 views
Can't send message from Coordinator to end device?
I am using MiWi Pro wireless networking protocol and I was running some tests with unicast function, but I encountered a problem.
Unicast Main Issue:
The end device doesn't receive the messages from ...
1
vote
1answer
94 views
How to understand the block diagram of microcontroller Architecture
I am started learning pic18f4550 controller . I find it difficult to understand the architecture block diagram . i cant understand how peripherals, cpu core (eg ALU), data bus , program bus are ...
-5
votes
1answer
93 views
Extremely Cheap Geeky Code System [closed]
I'm hoping to create a really geeky 'capture-the-flag'-style checkpoint event. The goal is as follows:
Team A goes to Checkpoint 1 and, using some kind of device, scans a chip left at Checkpoint 1 ...
1
vote
1answer
39 views
Controlling multiple triacs with microcontroller for light dimming: where to use optoisolators
I want to control (dim) multiple mains lights using triacs and a microcontroller. (One triac per light). I want to keep both the costs and component count as low as possible.
Is it necessary to have ...
2
votes
0answers
41 views
Problems programming Atmega328p with SainSmart USB ISP Programmer
I recently bought the SainSmart USB ISP Programmer.
I'm trying to use the programmer, with WinAVR, to program an Atmega328P, but I'm getting an error:
avrdude: warning: cannot set sck period. ...
-2
votes
1answer
72 views
what is JTAG and its real time applications [closed]
what is JTAG , how it differ from ISP, ICD .It will really helpful for me if someone explains with real time examples .
1
vote
3answers
89 views
Can I estimate remaining battery life by measuring its voltage with the same MCU that it powers?
I'd like to estimate the remaining battery life of a battery that powers a microcontroller. Could I accomplish this by simply leading the battery into the MCU's built-in ADC?
My idea is that I could ...
2
votes
1answer
46 views
How to program the nRF24LU1+?
I'm going to buy a nRF24LU1+, which is an RF system with a built-in microcontroller. How do I find out what kind of hardware I need to program this specific chip?
The FAQ says:
By pulling the ...
2
votes
1answer
40 views
Switching a solenoid between 2 different AC/DC adapters?
I have build a circuit to turn a solenoid on and off with an Arduino (actually it's 10 solenoids, but that's not important right now), and now I would really like to make it possible to choose between ...
0
votes
1answer
66 views
why and how do I use a capacitor in a switch circuit?
I have seen many designs of switch circuit:
I know that a capacitor will help anti-shake but I realy do not know how i can anti-shake. Does it work like a decoupling capacitor or a low-pass RC ...
0
votes
2answers
43 views
LCD display problem
I can not get an explanation why my LCD does not work with PIC18F4520 when it was working perfectly using PIC18F458 on the same speed and the same software (but of course recompiled for PIC18F4520). ...
0
votes
2answers
88 views
Do I need to terminate extremely short traces (< 0.5 inches)?
Some background: I have a little hobby project running that basically interfaces a 64 pin ARM mcu (the STM32F405RGT6) to a stereo codec (a TI PCM3010) via I2S interface. I'm deriving the master clock ...
0
votes
1answer
18 views
Downloading lpc21isp_180 for mac
I'm being development on my LPC1313FBD48. I want to transfer the file onto the MCU from my mac. Where can I get the lpc21isp_180 software to do this?
0
votes
0answers
20 views
Programming an MCU with lpc21isp
I am attempting to move a precompiled binary file (with C code in it) from my mac to my LPC1313FBD48. What steps would I take in order to move the file, and load it onto my MCU so that when I apply ...
0
votes
0answers
57 views
USB over FFC (flexible flat cable), where to place termination?
I have a design with a NXP LPC 4330 microcontroller using the USB port in high speed mode (acting as a mass storage controller). Due to the mechanical constraints of the system, the USB port must be ...
2
votes
1answer
62 views
How to use nRF24LE1 with Arduino and nRF24L01+
I know nRF24LE1 has 8051 core and is compatible RF protocol with nRF24L01+. But are the nordic libraries compatible with Arduino libraries. Does anyone has used both these devices, please help me in ...
0
votes
1answer
52 views
power consumption of a 4x4 led matrix
i have a 4x4 leds matrix multiplexed which means i can control individual led with just 8 lines rather than 16. I am interested in finding the power consumption of the grid. The led has forward ...
1
vote
0answers
21 views
Sdcc linker error "could not get183 consecutive bytes in internal RAM for area DSEG
I am trying to interface micro sdcard with P89V664 using Petit FatFs.
Petit FatFs link http://elm-chan.org/fsw/ff/00index_p.html.
Chan's Petit FatFs sample port are available at ...
0
votes
1answer
34 views
ATmega 168 error on reading analog inputs
I have a project to read and display on LCD analog inputs A0,A1 and A2 which are voltage from PT,Current from a CT and temperature from LM35 Temperature sensor respectively.Unfortunately the display ...
0
votes
0answers
30 views
arduino mega end eclipse communication error
I have arduino mega and a working project on eclipse.I can not communicate with avrdude.I get error at the read of the mcu signature.
I have used all programmers (arduino,stk500v1 and v2) at 57600 and ...
7
votes
1answer
93 views
Should I use a resistor between an input pin of MCU/CPLD and VCC/GND?
Some times, I want my MCU or CPLD to input a static logic. So, I choose to tie it to VCC or GND. The problem is that should I put a resistor in series to limit the current? I just think by myself for ...
2
votes
2answers
61 views
Where are the UART Rx and Tx pins on a dsPIC33FJ32MC202?
I'm a beginner to micro-controller and now learning Microchip's dsPIC. I'm trying to use UART with RS232 to communicate with my laptop, but I can't find out where the Rx and Tx pins are on the chip.
...
1
vote
1answer
105 views
Optocoupler with 220V DC
i need help from you. I want to use 220V DC input to microcontroller. For this purpose i have to use optocoupler, so how can i choose optocoupler with input for 220V DC?
Thanks!
-3
votes
1answer
54 views
Alarm circuit for 4 to 7Hz [closed]
Alarm circuit for 4 to 7Hz. i have require a circuit that gives alarm when 4 to 7Hz signal is applied on its input only and not produce alarm on other frequency range signal
2
votes
1answer
96 views
Reprogramming a Microcontroller
I have been recently been collecting parts from various machines that I'm quite sure have micro-controllers. My question is this: is it possible to take the micro-controller and reprogram it (to be ...
1
vote
0answers
40 views
Static vs Dynamic Branch Prediction
Assume a 5-stage pipeline is used in each of two processors P1 and P2. 30% of all executed instructions are branches. 60% of all branches are taken. Branch outcomes are calculated during the Decode ...
1
vote
1answer
166 views
Why this transistor logic as switch is not working?
I am new to transistors and have read little bit about them. Please let me know if need to supply additional information to debug this issue related to transistors.
Something about my project:
I ...
1
vote
0answers
39 views
Brushed DC motor with incremental encoder— How do I use it?
I have come across large brushed DC motor, a Dunkermotoren GR 53X30 with an incremental encoder attached. Here are the spec sheets for the motor and the encoder:
...
2
votes
1answer
51 views
microcontroller slew rate
I have to control some device which require minimum 40mV/uS as slew rate for ENABLE input. My mcu runs at 3.3V so the rise and fall should be faster than 82.5uS. This is correct? Does it matter the ...
5
votes
3answers
298 views
Fastest way to toggle a bit in ASM
What's the fastest way to toggle a bit1 in MPASM for the 14-bit enhanced instruction set? (I'm working with a PIC16F1829)
The code has to be standalone - I mean that it can be called on any moment, ...
1
vote
1answer
52 views
How to get 10bit data of ADC using SPI protocol
I am doing Single master multiple slave implementation.
Master - PIC18F4550
Slave - PIC18F4520
A potentiometer is connected to the Slave. Slave will convert the Potentiometer value to digital and ...
1
vote
1answer
58 views
Can I cut off the 5v output of the IOIO to the Android?
I'm working on a project using Sparkfun's IOIO for Android (https://www.sparkfun.com/products/10748) where power consumption is a concern. The IOIO board provides the phone with 500 mA charging if I'm ...
3
votes
1answer
49 views
Figuring out the functions of PIC numbers in a data file
I'm using Bumblebee software to interface my Wisp648 PIC programmer. According to the list of supported files for the Wisp, I should be able to program a PIC16F1829. However, that chip isn't supported ...
1
vote
3answers
98 views
A very small microcontroller that can be programmed wirelessly
For fun, I'm building a microcontroller and a couple of sensors into a toy. The microcontroller must fit into a 2 cm wide cylinder. Also, removing it from the toy takes some time, so I'd like to be ...
0
votes
2answers
91 views
Need your knowledge on cameras
I have to design a system which works with a camera device. To explain briefly, I need to get image information and I need to send some information to my vision system, such as shutter speed, trigger ...
-1
votes
3answers
127 views
Controlling Microcontroller using Visual C# [closed]
I'm building an ROV which I will program normally with C but I want to control the microcontroller from a PC using a program written in C#. So for the ROV, the microcontroller will be controlling it ...
0
votes
1answer
64 views
Help required performing Single Master - Multiple(upto 16) Slave SPI Communication using MSP430
I am planning to use MSP430F6638 for SPI Communication between a single MSP430 Master and multiple MSP430 Slaves. I am using a 4x16 Multiplexer before each Slave for providing the Chip Select Signal. ...
3
votes
1answer
87 views
PIR sensor triggered by itself when using timer, works without timer
TL;DR
A PIR sensor is triggered by itself when using a timer to wait 2 seconds after the sensor is triggered.
Without using the timer to wait the sensor works as expected.
Background and setup
I ...
0
votes
1answer
50 views
Picking a bluetooth module
I've recently acquired a lpc1313fbd48 microcontroller and I was looking around on newark.com for a bluetooth module that I could use to connect my microcontroller with my phone. I then began to if ...
0
votes
1answer
85 views
Calling ports in C on my microcontroller
I have been developing a small OS for my lpc1313fbd48. I am sending all of the C and assembly code in a binary file. I want to be able to call the ports in C and have an LED turn on for a few seconds ...
-4
votes
2answers
60 views
Dtmf based robot [closed]
Does any one know any thing about connecting the audio phone jack to micro-controller.
I am making a DTMF based mobile controlled robot and i do not know how to connect a 3.5mm audio phone jack to ...
5
votes
4answers
312 views
Why use a pull-down resistor with a LDR and microcontroller?
I am looking at this:
http://learn.adafruit.com/photocells/using-a-photocell
It's connecting VCC <-> LDR <-> resistor <-> GND. And the analog ...
0
votes
0answers
17 views
SmartCard, MagneticCard and RFIDCard Reader in a sngle module with RS232 interface
I difficult to find a SmartCard, MagneticCard and RFIDCard Reader in a single module and use RS232 interface. Most in the market is to use a USB interface, while I need RS232 interface. I want ...
18
votes
5answers
655 views
Is there a difference between using a built in SPI module and bit-banging?
Is there a difference between the two, or is it just a matter of abstraction? My intuition says there's no difference but I'd love to be wrong.
-3
votes
0answers
80 views
Microcontroller selection [closed]
I am looking forward to your suggestions to find a cheap and best micro controller which is around $1-$2 for bulk volumes with following bare minimum features i)GPIO - 30 pin ii)ADC -( minimum 8-10 ...
6
votes
1answer
116 views
How can I use a generic doorknob as a capacitive touch sensor?
I would like to use a generic doorknob that's installed in a typical wooden exterior door as a capacitive touch sensor. I have found various references for the circuit, but I have some questions about ...
5
votes
2answers
155 views
What's an alternate pin function on a microcontroller?
I'd like to know what "Alternative Function" refers to in the context of the IO ports of a microcontroller.
I don't need to know how to activate it when connecting to a peripherial, but I'd like to ...
12
votes
2answers
347 views
How did handheld video games from the 70's and 80's work?
I'm curious about how the early handheld video games from the 70's and 80's worked. You know, those small games with a LCD display with "fixed elements" meaning it was hard wired for one (or a small ...