Questions tagged [arduino-duemilanove]

A microcontroller board based on the ATmega168 or ATmega328.

34 questions
6
votes
2 answers

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've the wired my duemilanove with the a-dp pins on…
Shane Gadsby
  • 163
  • 1
  • 5
5
votes
5 answers

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 motor should start turning right. But if the hmp…
2
votes
0 answers

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 character before each analog value and thus sending…
2
votes
0 answers

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 issues with this design?
2
votes
3 answers

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 my research DMX is RS-485 and for this there's a…
Noir
  • 121
  • 2
2
votes
1 answer

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 the sensor requires a supply voltage of 6 to 12v. The…
Andres
  • 23
  • 2
2
votes
1 answer

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

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 when it is ready to receive a new piece of data. I…
Christoffer
  • 121
  • 5
2
votes
1 answer

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 those in it, and it seems to work fine except…
EJTH
  • 208
  • 1
  • 8
1
vote
1 answer

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 last sensor value only. How do i prevent this from…
kevinks
  • 21
  • 1
1
vote
2 answers

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 various attachements and shields. I can measure…
Baldrick
  • 113
  • 4
1
vote
1 answer

Why Did I Have To Program Duemilanove Bootloader?

As a volunteer for Public Invention, I have developed an Atmega328 based design in which I thought I was largely duplicating the Arduino UNO. Unlike the UNO, I did choose a CH340 USB to UART chip as that was a part on some UNO clones I have…
1
vote
2 answers

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 turns off and a green LED turns on (meaning the…
1
vote
2 answers

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 modules, but the serial monitor displaying the…
Pat
  • 13
  • 4
1
vote
1 answer

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: char readbyte; void setup(){ …
user2218339
  • 219
  • 3
  • 12
1
vote
3 answers

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) avrdude: initialization failed, rc=-1 Double…
AMPS
  • 467
  • 11
  • 22
1
2 3