Tagged Questions
5
votes
5answers
295 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 ...
1
vote
1answer
62 views
Unable to upload arduino sketch to Uno using AVR ISP MKII and Ubuntu 12.04
About a week ago, I tried to use my Arduino Uno to program a a standalone atmega328p with optiboot. Not only was I unsuccessful, but now I can't upload sketches to the original atmega chip. The "L" ...
2
votes
2answers
80 views
Arduino w/ Atmega328: can't clear the watchdog
I'm using the onboard software watchdog facility of an Atmega328 like documented here.
My purpose is to limit to 2 seconds the execution of a portion of code that could lead to endless computation.
...
1
vote
2answers
76 views
AVR AtTiny84 is stuck on 128kHz clock, avrdude + Arduino as ISP can't reach it
While experimenting with the power consumption of different clock rates by setting fuse bits, I seem to have irreversibly programmed an ATTiny84 chip to the 128kHz internal oscillator, and now avrdude ...
3
votes
4answers
131 views
ATtiny2313 refuses to be programmed after setting CPU clock to 500kHz
The other day I was writing a program for an ATtiny2313. Once it worked I decided to test it at the various clock speeds that are available and programmed through setting the LFUSE as described on ...
0
votes
1answer
70 views
ATTiny 85 + shift register + ir sensor
I had the ATtiny working with the shift register, but when I added the IR receiver to the code the shift register did not work as desired.
I have a shift register connected to 8 LEDs and controled by ...
0
votes
0answers
52 views
v-usb HID button press and release
I'm trying to use v-usb on an AVR to mimic a HID keyboard and I found how to send keys and how to release ALL of them, by calling usbSetInterrupt() with 0 for the key value, but is there a way to ...
0
votes
1answer
56 views
microcontroller resetting and hanging problem
I am controlling a 16x2 LCD and a high electrical device using ATmega8l microcontroller but if there appears a spark in AC power line due to high electrical device then my microcontroller goes to ...
0
votes
1answer
83 views
Arduino mega - best replacement for atmega 1280
I wonder if it is reasonable to replace atmega1280-16PU of a bricked arduino mega board?
If yes, does soldering in there a bigger uC make sense? i.e. ...
6
votes
2answers
252 views
Any reason not to use Timer0 on AVR?
Just a basic question... For arduino/avr/ATMega328 I find lots of examples using Timer1 (there's even a whole library for it) but rarely any that utilize Timer0 (or Timer2).
Now, I know that using ...
-1
votes
1answer
53 views
wireless communication for identification purposes [closed]
I am working on a project that requires me to have a microchip installed on an electronic device and can also be identified by a scanner. The electronic device may be a car, so I need
microchip ...
3
votes
2answers
191 views
When to use an Arduino bootloader
I need to make a robot within a month for a competition. I used to use Arduinos for my projects, but graduated to just flashing code with avrdude to standalone AVR microcontrollers.
I was thinking, ...
0
votes
0answers
86 views
VDIP1/VNC1L: command failed when setting the baudrate for the device
In order to interface a USB device with an AVR microcontroller I'm using an FTDI VDIP1, that is a development module for the VNC1L chip which provides USB host capability.
The USB device that I need ...
2
votes
4answers
220 views
AVR Assembly on Arduino through USB?
Say I wanted to learn AVR ASM, and I had an arduino.
Now i know you can program assembly on the arduino, but is there a way to do it through USB. I assume i'd just write normal assembly and do it ...
1
vote
1answer
288 views
Arduino and embedded C programming in a windows based system? [closed]
I am currently using Arduino Ide to code my arduino but now i want to code my arduino in C/C++ and i dont know where to start from what is the best tools and tutorials suggested for this. I'm a ...