Keyes - Funduino Duemilanove

Transcription

Keyes - Funduino Duemilanove
Keyes
Funduino Duemilanove
General Description
Keyes Funduino Due is based on Arduino Duemilanove ("2009"), a microcontroller board based
on ATmega328 (datasheet). It has 14 digital input/output pins (of which 6 can be used as PWM outputs),
6 analog inputs, a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset
button. It contains everything needed to support the microcontroller; simply connect it to a computer
with a USB cable or power it with an AC-to-DC adapter or battery to get started.
"Duemilanove" means 2009 in Italian and is named after the year of its release. The
Duemilanove is the latest in a series of USB Arduino boards; for a comparison with previous versions,
see the index of Arduino boards.
Page 1 of 11 pages
Shield Overview
PWM Output - 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite() function.
Analog Input Pins – A0 to A5
3.3V/5V Select – Move jumper to 3.3V to select 3.3V as the source for the headers.
Power Indicator – red led power indicator
How to use with Tinkbit
What you need:
Tinkbit 3 Pin Connector
LDR Tinkbit
LED Tinkbit
To use Tinkbit with Keyes Funduino Duemilanove, we have to follow the correct wiring. You
might receive a tinkbit where the headers are at the bottom. As you can notice, headers in the
Funduino are arranged as S(data), +(Vcc), -(Gnd). We have to connect the tinkbit 3-pin connector
properly to use it.
Page 2 of 11 pages
1. Check the tinkbit headers, if the headers are soldered at the upper part, follow the connections
as shown in the figure above, that is {Data, Gnd Vcc}. At the lower part is {Gnd, Data, Vcc}.
2. 3 pin tinkbit connectors have Black(Gnd), Red(Vcc) and Yellow(Data) wires as shown in the
figure:
3. Since the headers in Funduino are arranged as S, +, -, we have to match it to tinkbit. To do this,
we can use tweezers to change the wire arrangement of one end of the 3 pin tinkbit connector.
Page 3 of 11 pages
4. Upload a sketch to check, enter this sketch to your Arduino IDE:
int led = 11;
void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
int sensorValue = analogRead(A0);
Serial.println(sensorValue);
digitalWrite(led, HIGH);
// turn the LED on (HIGH is the
voltage level)
delay(500);
}
Actual Setup
Page 4 of 11 pages
Results
Page 5 of 11 pages