ATmega1284P: End to End using 1.0 IDE

Constantin:
If all you want to do is program a 1284p then a $10 chip and some bits and bobs and a breadboard will put you in business. But the main reason that folk get Mega's, 644's and 1284p's is lots of sensors, I/o devices, etc. and their attendant libraries. That's why the bahbot, Bobduino, and Brewtroller have so much to offer on their boards.

Sure. They have so much to offer if they stuff they have is what you want. The reason Arduino itself is so handy is that it leaves it completely up to you to decide which sensors are for you.

Bahbots and Brewtroller are special-purpose boards tuned to do something specific. In that case, you'll have exactly the needed parts because it's purpose-built. For general use, having a 1284P-based mega jr. would be just what the doctor ordered.

Hello,

Eddy of whighthobbies.net and I created the bahbots controller. There is no special purpose that the board was intended for but rather a general purpose controller board with the ATMega1284P that a hobbyist like our selves would like to work with. We also added the SD socket and xBee socket because it was little extra cost and very useful.

While we have mostly written code for this board with the Bascom-AVR compiler we also did some tests with arduino and WinAVR. At this time I think I will start looking into updating the bootloader and additional support for working with the current arduino IDE.

The main reason for choosing a 18.432MHz crystal was its the highest supported speed on an AVR that is Uart boad frendly. There is no reason a user cant change the crystal and this is also why we choose using a throw hole part for the crystal so that it could be easily changed.

If there are any questions or comments on the BahBots controller I would love to here them...

-Glen

http://bahbots.com

If there is interest in a '324/644/1284 style duemilanove, I think I have one ready to go:

Based on past experiances and lessons learned shown in past posting here and as implemented recently with the R3 release on the Uno board, should not all consider adding a diode from the AVR reset pin to +5vdc (cathode to +5) for any design using the auto-reset through a series cap function?

Lefty

CrossRoads:
If there is interest in a '324/644/1284 style duemilanove, I think I have one ready to go:

Very impressive board :wink:

I'll soon be making my own arduino boards, just as other members are. But mine are for a specific purpose. I'm with CrossRoads- if I'm making something that I want to be useful, I'm going to be there every damn step of the way. Yea it may cost more than a Uno or even Mega, but at least you get a real human to talk to, that speaks english.

Lefty, what's the diode for? I haven't used that on any board and have not seen any problems.

Here are the eagle files if anyone would like to review/critique/suggest improvements.
Leo72 in the Italian forum suggested using a PIC something for the USB interface.
http://www.crossroadsfencing.com/BobuinoRev17/atmega1284_DIP_NoExtras.brd
http://www.crossroadsfencing.com/BobuinoRev17/atmega1284_DIP_NoExtras.sch
I think they are in Eagle 5.11 still.

CrossRoads:
Lefty, what's the diode for? I haven't used that on any board and have not seen any problems.

It was a problem that a member here uncovered about a year ago and the thread ran for some length. The findings were turned over to Massimo and they in time implemented a change in R3 UNO. It's an insidious problem that can cause a sketch to lock-up under certain conditions after receiving a auto-reset pulse from the usb serial controller, and requiring a manual reset or power down/up to recover. It can be replicated on older as well as the current (pre release 3 UNO) boards. If you look carefully at the schematic of the newest release 3 UNO, you will see they have added a diode between the reset pin and +5vdc to eliminate the problem.

I think this is the original posting and investagation of the symptom: http://arduino.cc/forum/index.php/topic,64256.90.html

Bottom line, adding a diode can clean up a lurking problem that any AVR mega chip based arduino board using the auto-reset feature can experiance.

Lefty

CrossRoads:
Here are the eagle files if anyone would like to review/critique/suggest improvements.
Leo72 in the Italian forum suggested using a PIC something for the USB interface.
http://www.crossroadsfencing.com/BobuinoRev17/atmega1284_DIP_NoExtras.brd
http://www.crossroadsfencing.com/BobuinoRev17/atmega1284_DIP_NoExtras.sch
I think they are in Eagle 5.11 still.

The PIC we suggested is a PIC18F14K50, the same used for the MCP2200 chip: it's a micro that can be programmed to obtain, if necessary, other devices (like the Atmega8U2 or the Atmega16U2 of the Arduino UNO) but it is available in SOIC package too, so it can be soldered easily. Using the PIC there's another advantage: we can completely control the autoreset feature: we can activate/deactivate it, and we can send an HW reset signal to the Atmega using a pin. With a specific firmware, that a member of the italian forum has prepared, we can use the DTR signal instead of the RTS of the MCP2200. Last, but not least, we can have other functionalities available for further needs.

Bob, are these files freely available? Can we use them to derive a board?

No obvious problems to my eye.

BTW, how the hell do you move the schematic around without using the scroll bars?


Rob

On Win 7 and opening it with MS Photo Viewer, I have to grab and move it with the left mouse button.

opening it with MS Photo Viewer,

An Eagle file?


Rob

?? I thought I sized it to fit the forum, maybe just a touch wide. Can you view the .png's I posted earlier?

Yes you can Leo.

I thought I sized it to fit the forum,

I mean the Eagle files, how do you pan the screen without using the scroll bars?


Rob

I generally use the scroll bars.

Or, zoom out, use the Fit button (looks like a magnifying glass) and then Select button (looks like a magnifying glass over a piece of paper) to see a selected area.

You don't have scroll bars for some reason Rob? I have Eagle 5.11 and 6.0 installed, both have scroll bars.
If you save in 6, can't go back to 5.11 tho.

Graynomad:

opening it with MS Photo Viewer,

An Eagle file?


Rob

I thought you asked about the schematic .png file. That is what I was referring to.

I generally use the scroll bars.Or, zoom out, use the Fit button (looks like a magnifying glass) and then Select button

All very cumbersome though, most (all?) packages I use allow dragging the display with a mouse button as JoeO said. That's quick, easy and intuitive which probably explains why everyone except Eagle does it :slight_smile:

I know I bash Eagle a lot but it's things like this that invite it.


Rob