Pages: [1]   Go Down
Author Topic: Arduino 0006 released.  (Read 1242 times)
0 Members and 1 Guest are viewing this topic.
Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 9
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Arduino 0006 is available for download from: http://www.arduino.cc/en/Main/Software

This release should fix the problem that stopped Arduino 0005 from running under Mac OS X 10.3 (sorry about that!).  Full release notes below.

Mac version no longer requires Java 1.5, meaning it should run on 10.3.9.

Added support for analog inputs 6 and 7 and pwm on pins 5 and 6 on the on the ATmega168 used in the Arduino Mini (extra analog inputs not available in DIP ATmega168s).

You now select the baud rate for the serial monitor from within the editor status bar when the serial monitor is running instead of from the Tools menu.

Pressing enter within the serial monitor edit box no longer appends a newline to the message sent to the board.

Included the Wire (TWI) library from Wiring.

Updated the reference.
« Last Edit: November 04, 2006, 08:38:52 am by mellis » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

it appears that i2c is included in this release - but I'm having difficulty locating some documentationi as to what pins are used for this. Where would I be connecting scl, sda and sqw to the arduino to read a dallas ds1307 rtc?

« Last Edit: November 06, 2006, 11:25:12 pm by jfernsler » Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 9
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

SDA is on analog input pin 4, and SCL on analog input pin 5.  What's SQW, it doesn't seem to be mentioned in the ATmega8 datasheet, but maybe they use a different name for it.  I've never actually used i2c, so I don't know much about it.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ahh.. think it's just a square wave output from the device. I don't belive it's necessary at all. Thanks for the info!
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
...

Added support for analog inputs 6 and 7 and pwm on pins 5 and 6 on the on the ATmega168 used in the Arduino Mini (extra analog inputs not available in DIP ATmega168s).

...

I keep hearing that it is possible to read analog inputs 6, 7 and 8, also PWM on pins 5, 6, and 8. Is this correct?
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 9
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't think so.  The ATmega168 on the Arduino Mini has two extra analog inputs (for a total of smiley-cool: analog input 6 and analog input 7.  These are on extra pins not found on the ATmega168 DIP package (i.e. the size and shape of microcontroller used on the normal Arduino boards) so you won't get them if you replace the ATmega8 on your Arduino NG, say, with an ATmega168.

The ATmega168 (all versions) also has three extra PWM pins (for a total of six): pins 3, 5, and 6 (the standard PWM pins are 9, 10, and 11).  
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That's great, just the info I needed - so it is possible to do analog input on analog pins 0-7 (for a total of smiley-cool and PWM on digital i/o pins 3, 5, 6, and 9, 10, 11.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
it appears that i2c is included in this release

I'm getting some mixed signals on whether I can hook up i2c devices with the Arduino.

Can someone clarify?

Thanks,

Bas.
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 9
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You should be able to hook up I2C devices using the Wire library, but it's not been fully tested or debugged.  See: http://www.arduino.cc/en/Reference/Libraries and http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1163405566;start=all
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
You should be able to hook up I2C devices using the Wire library, but it's not been fully tested or debugged.  See: http://www.arduino.cc/en/Reference/Libraries and http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1163405566;start=all

Arghhh. As a newbie, I'm having problems interpreting "should be able to" smiley-wink I'm not sure if I should pursue experimenting with i2c using Arduino or use something else. It's going to be hard enough for me as it is without adding extra complexity by not trusting my Arduino actually is a proper i2c citizen and hence spend a lot of time on getting that part to work.

Can anyone comment on the issues with Arduino and i2c as far as low-level things are concerned, you know, the electrical levels etc.?
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 9
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry, I know those answers are frustrating.  I can tell you that the chip (an ATmega8) on the Arduino board has hardware support for I2C, so there should be no problems there.  The software library that allows you to use the hardware I2C functions was originally written for Wiring and ported to Arduino.  It will not, I believe, work with the Arduino Mini as is, but some people have gotten it to work with the Arduino NG.  Others have had problems, but I'm not sure why.  If you have a more reliable solution, you probably want to go with that, but if you've yet to use I2C on any platform, I'd give Arduino a shot.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi mellis,

no worries, thanks for clarifying. I'll just give at a shot as soon as I have my i2c slave and see how it works out.

Cheers,

Bas.
Logged

Pages: [1]   Go Up
Jump to: