Go Down

Topic: Compatability.... (Read 394 times) previous topic - next topic

jrickert

I have a Duemilanove.  It is a good 10 years old.  I want to know if ARDUINO 1.8.9 is compatable with it.  I have loaded it, set the board to my board type and when I went to Port it simple said com7 without a name following.

Thanks, John

pert

Yes, it's compatible. The port not having a board name is normal and expected. It's because the Duemilanove uses the FTDI FT232RL USB chip and that chip has a generic VID/PID. This means the Arduino IDE can't distinguish it from any of the other devices that also use that chip. However, this makes no functional difference. The board name in the port menu only makes it a little bit easier for the user to pick the right port. It doesn't affect the usage of the board in any way.

jrickert

Ok, that clears that up.  Next problem.  When I do an upload to the board I get an error.  Do you know what would cause and error?  I am doing the simple hook a variable resistor between gnd and 5 volts.  I'm not getting to the program obviously.  Do I have to load the board with something first?

Thanks again in advance.  John

pert

Please do this:
  • (In the Arduino IDE) File > Preferences
  • Uncheck the checkbox next to "Show verbose output during: compilation"
  • Check the checkbox next to "Show verbose output during: upload
  • Click "OK"
  • Sketch > Upload
  • After the upload fails, you'll see a button on the right side of the orange bar "Copy error messages" (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button.
  • In a forum reply here, click on the reply field.
  • Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
  • Press "Ctrl + V". This will paste the upload output between the code tags.
  • Move the cursor outside of the code tags before you add any additional text to your reply.

jrickert

Arduino: 1.8.9 (Windows 10), Board: "Arduino Duemilanove or Diecimila, ATmega328P"

Sketch uses 1868 bytes (6%) of program storage space. Maximum is 30720 bytes.
Global variables use 188 bytes (9%) of dynamic memory, leaving 1860 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM7 -b57600 -D -Uflash:w:C:\Users\Johna\AppData\Local\Temp\arduino_build_428919/AnalogReadSerial.ino.hex:i

avrdude: Version 6.3-20171130
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM7
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x82
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xa4
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x84
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x81
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x84
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x44
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xe7
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x86
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xa7
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x84

avrdude done.  Thank you.

An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
/*
  AnalogReadSerial

  Reads an analog input on pin 0, prints the result to the Serial Monitor.
  Graphical representation is available using Serial Plotter (Tools > Serial Plotter menu).
  Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.

  This example code is in the public domain.

  http://www.arduino.cc/en/Tutorial/AnalogReadSerial
*/

// the setup routine runs once when you press reset:
void setup() {
  // initialize serial communication at 9600 bits per second:
  Serial.begin(9600);
}

// the loop routine runs over and over again forever:
void loop() {
  // read the input on analog pin 0:
  int sensorValue = analogRead(A0);
  // print out the value you read:
  Serial.println(sensorValue);
  delay(1);        // delay in between reads for stability

pert

Select Tools > Processor > ATmega168.

jrickert

Spot on.  It works.  Now I can write a program to do what I wanted to do in the first place.  Just needed to make sure I had a working Arduino.  By the if anyone continues to read this post, is there a version of Arduino that will handle higher frequency inputs to the analog ports than the ones on this Duemilanove board?  I am wanting to sample frequencies of 7 meg hz and would like as many readings as possible in one sine wave cycle.

Thanks for getting me where I needed to be.

John

PaulS

Quote
I am wanting to sample frequencies of 7 meg hz
On a 16MHz processor? Dream on.
The art of getting good answers lies in asking good questions.

jrickert

Thanks for that input.  Can one get an arduino that is faster?

John

ballscrewbob

Simple answer is YES.

Look at the products page to score a better board.
MKR's are quite stable and faster along with a couple more boards.

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

jrickert

Thanks a bunch.  I will look into this board.

John

Go Up