3
votes
0answers
34 views

Programming an ATmega1284p with Arduino IDE and internal RC Oscillator?

I'd like to program an ATmega1284p with my AVR Dragon and the Arduino IDE. So far I have installed mighty1284p (http://maniacbug.wordpress.com/2011/11/27/arduino-on-atmega1284p-4/), after writing my ...
1
vote
2answers
50 views

Arduino Nano v3 atmega 328p avrdude: stk500_getsync(): not in sync: resp=0x00

i get this error: avrdude: stk500_getsync(): not in sync: resp=0x00 when trying to upload a example sketch. pin (0,1) are not occupied; it is the right serial ...
1
vote
1answer
30 views

Programming ATMega48 with Arduino Uno

I'm trying to build a circuit that uses an ATMega48 PDIP-style chip and an ATTiny26. I'm stuck on loading code onto the ATMega48 using an Arduino Uno. I've been following these instructions. I got ...
1
vote
2answers
72 views

Power Consumption of Arduino Nano ( Current Draw Low Power )

anyone got measurements of Arduino Nanos power consumption ? It guess it should be less than e.g. of the Uno or Mega as the USB Part only get powered when connected via usb and so does the 3.3 ...
0
votes
1answer
47 views

Can I monitor an ATMEGA406 using an Arduino Uno via SMBus?

I would like to build a small BMS using an atmega406 and then maybe use an Arduino Uno to show information about the cells on a computer or a small lcd BMS = Battery Management System Atmega406 ...
2
votes
2answers
111 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. ...
5
votes
1answer
43 views

How should I power my permanentified project?

I have transferred my project from an Arduino to a microcontroller. I want to make it into a permanent installation; for that I need to power it. If I want to power it via a wallwart, what ...
5
votes
1answer
36 views

How do I transition from using the Arduino IDE to plain avrdude/make?

Part three of a three part series on transitioning from Arduino to a plain AVR microcontroller and minimum supporting components (part one, part two) I already know how to use an Arduino as a ...
9
votes
1answer
41 views

How should one switch from using an Arduino as a programmer to an external programmer?

Part two of a three part series on transitioning from Arduino to a plain AVR microcontroller and minimum supporting components (part one, part three) I've seen a lot of people ask this on the ...
4
votes
2answers
35 views

Can I write a bootloader to Atmega using serial port

There is a really grand price difference between an empty Atmega328 chip and the one with the Arduino bootloader installed. In my country, this difference is 1:3. This means that uploading bootloader ...
14
votes
2answers
24 views

How can I use my SMD Arduino to program a separate DIP ATmega328?

I have an arduino with a surface mounted (SMD) microcontroller: I know how to use a DIP arduino as a programmer for a DIP ATmega328. It's easy --you just pop your microcontroller in the holder. ...
0
votes
1answer
75 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
99 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
77 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
166 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
178 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
260 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
244 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 ...
-1
votes
1answer
188 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
206 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
299 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
126 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
198 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
154 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
508 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 ...
3
votes
1answer
325 views

Arduino Mega 2560 stuck at uploading

I have two Arduino Mega 2560 boards, both gives errors when trying to upload sketches (I bought the second board thinking its a fault with the first one, but same thing happen with the new board). ...
3
votes
3answers
502 views

Trouble in using MT3329 SKM53 GPS module

I bought a SKM53 GPS module a few months ago. I tried hard to make it work but couldn't get anything out of it. I was thinking it's a fault with the device (actually i thought i burned it by not ...
7
votes
2answers
259 views

How to buffer an ATMEGA for millisecond-level power interruption without strange behavior?

I have an ATMEGA328p-pu arduino with an LED + shift-register strip circuit attached over SPI. When it turns on, it increases a variable in EEPROM to advance the display mode. We have the brownout ...
2
votes
2answers
338 views

Is there any arduino module to control water flow?

I want to build my super cool auto flower water gadget. I'm looking for some arduino module like valve or water gate, which can be controlled by input power. So, it can open or close water flow from ...
0
votes
2answers
935 views

How to burn Arduino Uno bootloader to ATMega328P via CP2102 USB-2-UART?

Following the The Shrimp I've acquired CP2102 USB to UART converter. I already have ATMega328P but without burned bootloader. I want to burn Arduino UNO bootloader to it using the CP2102 converter ...
6
votes
2answers
988 views

Need help understanding AVR ATMEGA / ATTINY timer mirrored output

I am trying to use Timer1 of Atmel AVR microcontroller, either AtMega328 as used in the Arduino, or the ATTiny85, to output two clock signals which are mirror images of each other. The frequency I am ...
1
vote
1answer
253 views

Arduino low power consumption and multiplexer

I've got a project that uses an Arduino with the LadyAda audio shield and a multiplexer to play sounds in response to button presses. I'm planning on using a MAX667 voltage regulator which has a low ...
0
votes
1answer
206 views

Suitable small/fast EEPROM for Atmega328

Looking for recommendation on EEPROM chip, which I can connect to Atmega328. The requirements are: at least 5-10Kbyte fast reading with Atmega. I expect reading one word about 1-5us, please advise ...
10
votes
5answers
4k views

How can a let my atmega328 run for a year on batteries?

Scenario I have created a nice electronic door lock for my dorm room. It is currently an Arduino Diecimila with a servo [un]locking the door. It has a numerical keypad with 3x4 buttons and 5 LED's (2 ...
1
vote
1answer
427 views

Arduino Leonardo in Eclipse VID and PID missing?

Has anyone got the Arduino Leonardo to program in Eclipse? I have no trouble with the UNO, but it seems the VID and PID settings are missing for the ATmega32u4 ...
3
votes
2answers
474 views

Does Arduino need the bootloader if programmed with programmer?

I am trying to program a few Atmega328 (not Atmega328p) with an ICSP. These are TQFP. What I am trying to do is to upload the program to a fresh chip without having to first load the bootloader. I ...
0
votes
1answer
525 views

Arduino SPI Clock Speed Configuration

I am trying to communicate with a Nokia 1202 LCD with my Arduino using SPI. The LCD using the STE2007 Controller. As per the datasheet here @ page 12, you find that the min time for SCLK is 250ns => ...
0
votes
0answers
404 views

Need explanation on how to flash HEX files on ATmega32u4 via AVR109 protocol

I am not an electronic expert, so forgive me if I am misusing the terms in my question or if my question contains imprecisions and/or misinterpretation on how a Leonardo Board works. Corrections are ...
0
votes
1answer
602 views

Arduino ISP and Atmega8L-8PU [closed]

I am running Arduino 1.0 programming via Arduino ISP. I get this error message: avrdude: Expected signature for ATmega8 is 1E 93 07 Double check chip, or use -F to override this check. I am ...
1
vote
1answer
192 views

Use TimerOne.h in another microcontroller

Is it possible to use a script using TimerOne from Arduino in an ATmega8 and how would I go about it?
3
votes
2answers
134 views

Is this ADC circuit safe for when my Pro Micro is off?

I have the following little circuit: This voltage divider is used by my Pro Micro to detect when CB_VCC is powered. CB_SENSE ...
0
votes
1answer
110 views

Problem Using An 9 degree of freedom IMU with Ubuntu terminal?

I am using an IMU from sparkfun that posses an atmega328p. I upload the source code and everything works fine when using the Arduino IDE. I created a .sh script to read from the terminal in ubuntu. ...
7
votes
1answer
417 views

Can an ATmega or ATtiny device signature be read while running?

While programming an ATtiny or ATmega, avrdude prints the device signature, in this example it is an ATtiny. avrdude: Device signature = 0x1e910a Can I read this ...
2
votes
4answers
1k views

Simplest way to upload sketches onto “hackduino” without having a arduino duemilanove

Update: The ATmega came bootloaded with the arduino software is that can simplify anything I have this board: I'm looking for a bone-simple way to upload sketches. Ideally without buying ...
3
votes
2answers
222 views

Append source code to flash image when programming an AVR

Is it possible for Arduino / ATmega / ATtiny when programming the device to attach the C source code at the end the machine code flash image? That way if I have the device, I can always retrieve the ...
2
votes
1answer
1k views

Arduino: Delay of 1ms necessary between Serial.read and Serial.write?

We have a Razor IMU (10736) sensor board connected to a RS-485 Breakout board, talking RS485 to the computer via a USB-RS485 Serial Interface. We use the Arduino IDE to program Razor's on-board ...
0
votes
2answers
384 views

Need recommendations: low-cost ATMega (Arduino/Teensy) solution for keyboard converter [closed]

I'm looking for recommendations for a USB-savvy microcontroller. I'm interested in building a general purpose interfacing solution to connect a wide range of vintage computer gear (things like the ...
0
votes
2answers
310 views

UDP Like Protocol for XBee

My situation is as follows, I have a robot that has 4 motor controllers attached to an arduino that has a xbee series 1 connected. Xbee has its default settings except baudrate which is set to 57600. ...
1
vote
2answers
1k views

Replacing atmega8 with atmega328(arduino)

I was supplied with an arduino board in a workshop(which is a very old version board) similar to : the board comes with atmega8 as a micro controller .. I wanted to increase the performance and ...
0
votes
3answers
840 views

Arduino Mega 2560 Broken?

I have an Arduino Mega 2560 which was working just fine a few days ago. I've just been working with it and now it's not being recognised by any computer, not even as an un-recognised device. The ...

1 2