I'm about to order an Arduino Nano board online. There are several being offered on Ebay.
Some say they are version 3.0 or 3.1, others 3.2. Price differs minimally.
What is the latest version? What would it take me to upgrade to the latest when I buy a V3.0 for example?
Your topic was MOVED to its current forum category which is more appropriate than the original as it has nothing to do with Installation and Troubleshooting of the IDE
The latest version would normally be the one with the highest version number and should be the one you buy
Please post links to where each of the versions are being advertised for sale
The official Arduino Nano is here: Arduino Nano — Arduino Official Store
I didn't know there were different versions.
According to the schematic, it is a V3.3:
Looking at the schematic, it is the same as the old Nano board. Maybe the chips for the voltage regulator or the usb-serial has changed.
The Nano has a new bootloader. If you have a programmer then you can burn the new bootloader, or you can still use the old bootloader.
I think the version is no problem.
Buy a board with a ATmega328P, not any other microcontroller. If it does not say ATmega328P, then don't buy it. If you buy a Nano with a ATmega328P, then they still might put something else on the board. Because of the chip shortage, the ATmega328P can not be bought.
The usb-serial chip can be a CH340G, but you have to install a extra driver for that in Windows.
What is your project ? Maybe there is a Arduino board or compatible board that is more suitable for your project.
Do you want to send them to the computer (as a computer keyboard or midi) ? then a Pro Micro or Arduino Leonardo is better. Those boards can emulate USB devices such as a keyboard.
How are you going to scan the keys ? With 25 inputs or in a matrix ? Does the keyboard already have diodes at each key ? You can use shift-registers or I2C I/O expanders to get more digital inputs.
Actually, the key contacts are arranged in a diode matrix (4x8), but I'm open to change this.
Computer communication other than programming the device is not important. The actual requirements are a bit more complicated, if I may add it here:
Consider an Organ bass pedal, which is being tapped by the foot tip or heel. Once tipped, the tone sounds and decays, independently whether you remove the foot or stay a bit longer on the pedal key. (General Midi acoustic bass and other bass sounds behave like this). It's important, that always the latest actuated contact is detected.
A 4x8 matrix needs 12 pins.
The Arduino Nano (all versions) have the Serial port a pin 0 and 1. Pin 13 is connected to a led and is therefor not the same as a input pin. Pin A6 and A7 are analog input only.
Then you have Pin 2 ... 12 and A0 ... A5 as digital Input/Output pins, a total of 17 pins. More than enough.
When you can read the keys with the Nano board, where does that information go to ? What is the output ? Serial, USB, midi ?
When you can read the keys with the Nano board, where does that information go to ? What is the output ? Serial, USB, midi ?
In a first approach I'm sending a Midi-Signal to a SAM2695 board.
Another application would be to send 5bits to an analog multiplexer, and write a DC level (PWM, decaying) to a VGA (VCA) and let an applied complex waveform (mix of sine wave) decay like a plucked string bass.
An option would be to encode the 25 input lines to 5bits (giving me the code of the key) rather than scanning the wire individually (reducing the number of required pins).
Then the answer is: You can use any version of the Nano board.
The SoftwareSerial takes over the Nano board, there is not much else you can do. Scanning keys is no problem though. If you want to add other things to the sketch, then consider a board with a spare hardware serial port.
Arduino Nano: ATmega328P
Arduino Pro Micro: ATmega32U4. It has a usb-serial interface in the ATmega32U4 itself, and a spare hardware serial port at pin 0 an 1. The memory is almost the same. It acts a little weird sometimes, because the usb-serial interface to the computer is re-initialized when uploading and starting a sketch.
Both chips are hard to get, because of the chip shortage.
The Raspberry Pi Pico is available, but that is a 3.3V chip.
With a 5V board it is easier to make your whole project a 5V project.
With a 3.3V board it is easier to make your whole project a 3.3V project.
It is not a big deal. Just buy a board and make your project. You can always make an improved new version.