Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arduino-duemilanove]

A microcontroller board based on the ATmega168 or ATmega328.

0
votes
1answer
43 views

Uploading bootloader to ATMEGA328 P

I have a duemilanove which originally had a 168. I have some ATMEGA328 P chips and I've put one into the duemilanove. I am using a Uno as a programmer for the duemilanove. I am running Arduino 1.8....
0
votes
2answers
39 views

Accessing 2 dimensional array in PROGMEM inside loop

I am unable to access elements of a 2D PROGMEM array from inside a loop. Please see the following example: const byte a1[] PROGMEM = {'a', 'b', 'c', 'd'}; const byte a2[] PROGMEM = {'e', 'f', 'g', 'h'...
1
vote
0answers
62 views

Do I need one N3904 for each LED?

I want to control 4 (or more) LEDs using the PWM output pins of my Arduino. Here is how I have it on a breadboard, and it's working for me. Question: Is this schematic inefficient? Are there any ...
2
votes
3answers
116 views

DMX on the Arduino without additional driver chip

I recently saw this video where the creator controlled a DMX light via the Arduino. There he used the pins 3 and 4 for the data on the Arduino Duemilanove. As DMX library he used DmxSimple. Based on ...
1
vote
2answers
146 views

One of the LEDs on my Arduino is very dim

I made a vibration sensor using an Arduino. It is connected to an Android app. When the start button is pressed on the app, a red light LED turns on (stand by), and after 2 - 5 seconds, the red LED ...
0
votes
1answer
122 views

Unexpected value change of 2nd Potentiometer

I'm trying to connect 2 potentiometer (10k) and pass their value to Hairless Midi software (For Serial to Midi Bridge) the first pot is working fine but the second pot's value keep on changing and ...
4
votes
5answers
1k views

Is it possible to make normal pins act like ground pins?

So what exactly I am trying to do is control a motor and be able to turn it both ways without any extra parts. So if the hmp was on (the plus pole) and the hmm (the minus pole) acted like ground the ...
1
vote
1answer
387 views

Using voltage divider to read voltage from sensor

Good morning, I would like to use an Arduino Duemilanove to read the voltage signal generated from a current sensor (CSLA2CD). The datasheet for this sensor can be found here. The problem is that ...
0
votes
1answer
216 views

Problem uploading to board

avrdude: stk500_getsyn(): not in sync_resp=0*00 avrdude: stk500_disable: protocol error, expect=0*14,resp=0*51 These are the errors occurring when I am trying to upload to the board. I've tried all ...
1
vote
2answers
701 views

Need Help in circuit diagram of 8*8 reed switch matrix

I am designing 8*8 reed switch matrix which will be connected to Arduino. I am using Arduino Duemilanove. I have completed the matrix portion but don't know how to connect and where to connect the ...
5
votes
2answers
685 views

7 Segment display dimming

I've got project that needed to have some (4) digits display, and had plenty of 7 seg. displays lying around. I didn't have any multiplexers left but have instead wired it up as per this diagram: I'...
1
vote
1answer
955 views

Four Fast PWM outputs, in parallel

I need four Fast PWM signals for four different transistors. I want to use timers 1+2 (pins 3, 11, 9, 10) so it wouldn't interfere with delay(...). I tried setting the timers to Fast PWM mode, and ...
1
vote
0answers
1k views

Arduino is freezing after 10-15 minutes

I am having a problem with my Arduino freezing after a small amount of time. I'm using an RTC DS1307 breakout to keep track of the time and display the time on an LCD. It displays hours, minutes and ...
1
vote
1answer
474 views

Cannot control servos through 32-servo-controller on Aurduino Duamilanove

I have servo (TowerPro sg90) connected to 32 servo controller (this one) through UART interface (RX-TX, GND-GND). Seller provide documentation how to connect and control my servos, but it isn't work. ...
2
votes
1answer
1k views

How to make data sent by Python (via serial connection) wait for Arduino to finish current task? [closed]

I am trying to make my Arduino micro-controller and my Mac talk together, and I have created a functional serial connection. My computer is sending data to my Arduino, and my Arduino is sending a 1 ...
1
vote
1answer
1k views

Dimming 6W (24V DC 0.25A) LEDs using Arduino

I want to dim 24 LEDs which are powered by a transformer outputting 24V 6W at 0.25A I am worried about temperatures, especially considering the circuit has to stay on for several hours keeping the ...
1
vote
1answer
504 views

Problem in SIM900 GPRS connection

I make simple code to read web page by ITEAD Gboard. Here is my code: Serial.write("\nStarting..........\n"); mySerial.print("AT+CSQ"); delay(1000); while(mySerial.available()!=0) Serial....
0
votes
1answer
162 views

Will the Uno bootloader work in the Duemilanove?

I had an old duemilanove lying around (Which was not working because i accidentially busted the atmega) and I recently bought some atmegas pre-flashed with the UNO bootloader. So I tried to put one of ...
0
votes
2answers
953 views

Why do only specific arduinos support the keyboard and mouse libraries?

The Arduino website suggests that only three boards are supported for the Mouse and Keyboard library page: Leonardo Micro Due What is special about those boards, that the other boards in the ...
0
votes
1answer
542 views

Can't drive long NeoPixel strips with Due or Duemilanove?

I spent a significant part of today developing a sprite movement library for a 30-pixel NeoPixel strip using my Arduino Duemilanove (ATmega 168). It works like a charm. However, if I change N_LEDS to ...
-1
votes
1answer
195 views

How to prevent file overwriting in processing?

i am working on this arduino project using processing. There are some sensor values which should be logged, but unfortunately my processing code rewrites the file after each cycle so that i get the ...
1
vote
2answers
696 views

Can I measure the current (mA) of my project with just a multi meter?

I have a project and wish to choose the correct battery back for it such that it will last the required amount of time between each recharge of the battery pack. I am using an Arduino Duemilanove with ...
0
votes
5answers
2k views

Measure total microcontroller current?

So I have a Duemilanove board and am utilizing 7 output pins, I power a Pixy camera and pan/tilt servos from the ICSP header, i also power an HC-SR04 sonar snsor directly from the board. Of those 7 ...
0
votes
3answers
3k views

Struggling with SD card read on Arduino

I'm attempting to read data from my SD card, but I have strange behavior and can't figure out why this is happening. I'm using CardInfo from the Arduino example and am trying to read the data from my ...
1
vote
0answers
620 views

Wireless serial communication. Sending 4 different continuous values

I am trying to control 4 motors using 2 joysticks. I want to send continuous analog values of 2 joysticks (x & y both). I am using bluetooth HC-05. I am using the basic logic that is sending a ...
1
vote
2answers
1k views

How to display tilt sensor data on an LCD?

I'd like for a 16x2 LCD monitor from Sparkfun to display sensor data from a 4-directional tilt sensor from Parallax. The Arduino board is a Duemillanove. The board will run and power both programs and ...
0
votes
1answer
35 views

Use Arduino Mega to program Arduino Duemilanove

I hava an Arduino Duemilanove but I think that its FTDI chip is crashed. I have an Arduino Mega too, so can I use it to program my Duemilanove?
1
vote
1answer
2k views

Receiving and sending on the Arduino Duemilanove with an MAX3232 chip

I have a max3232 hooked up to the RX and TX pins of the Arduino Due. I'm trying to write a simple program to relay messages received from USB and output as RS232 through the chip. Here is my code: ...
1
vote
3answers
427 views

arduino boot loader problem

I am using atmega 328pu instead of atmega328p-pu. I am trying to upload the bootloader using AVR pocket programmer. I have changed signature from 0x1e 0×95 0x0F to 0x1e 0×95 0×14. (Relevant link) ...
1
vote
1answer
273 views

Duemilanove serial TX/RX: which is what?

I want to use the GSM shield. For my project, I will hook it up directly to pins 0 and 1 (TX/RX). Will it work right away? Do I have to know which is TX and which RX and declare it? I will not be ...