Tagged Questions
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.
...
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. ...
0
votes
1answer
60 views
Pin numbering of Atmega 168
PCO/ADC/PCINT8 is pin mapping for pin 23 of ATmega 168.Which of these mappings should be included in LiquidCrystal lcd(0, 1, 2, 3, 4, 6); when interfacing ATmega 168 to 16*2 lcd?
Can someone assist me ...
5
votes
2answers
132 views
How to process voice commands using ATmega or Arduino?
For a project I need to start my PC using voice command. I thought to made up an voice controlled system to turn on my PC. As far as I know, when I press the turn on button-2 pin's on the motherboard ...
0
votes
1answer
137 views
Arduino printer emulation
I'm working on a project in which an arduino should emulate a thermal printer.
I'm currently using an Arduino UNO R3 board with ATmega16U2 controller to handle the communication between USB and the ...
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
vote
3answers
208 views
Dimming multiplexed LEDs
I'm multiplexing 32 LEDs in a 4:8 configuration on an ATMega328 and am trying to dim them with what is probably a completely naive understanding of PWM. Note: I'm multiplexing them directly with 12 ...
0
votes
1answer
118 views
Flash atmega 8u2 on arduino mega with another arduino mega as ISP
[For a detailed post of my problem read here]
Long story short: My Arduino mega 2560 works fine (I plug it in, code runs flawlessly) except for the usb-serial converter which when connected to the PC ...
-3
votes
1answer
159 views
Programming 3.3v ATMega328 running at 16MHz [closed]
I know that running the 328 with 3.3v at 16MHz is "overclocking" it and slightly out of spec. Because of limited board space i'd like to do this though as all other components are 3.3v. I need the ...
0
votes
1answer
286 views
line follower design with atmega328 and mosfet controlled motors
I made a design for my line follower. I am using an atmega328 from a duemilanove board. The motors of the line follower are connected to two mosfet transistors which are pulse width modulated from the ...
0
votes
1answer
119 views
Ardupilot, atmega1280 and barometer
I'm working on a project and I need to know where the information taken by the barometer sensor are stored.
I think in the eeprom, but exactly where? Is there a specific address or register memory?
...
2
votes
2answers
183 views
Similarity between Atmega162 and Arduino
I am going to be taking an embedded systems course where we will be using the Atmega162 and I want to get started learning the stuff before the course begins.Now my question is, considering that there ...
1
vote
1answer
139 views
Multiple masters for i2c device
I have a DS1307 RTC chip that I want to interface with multiple masters.
One, an ATMega chip, will only ever really need to pull time data from the chip and the other (probably just an ATTiny) will ...
1
vote
2answers
381 views
How to use a transformer to power a 5V chip (an Atmega328)?
I am designing an Atmega328 based device which needs to be powered directly from 230V AC. I have found a transformer in my local electronics store which seems perfect, but I have never worked with ...