Powering the "AVR-MT128"

The AVR-MT128 comes with a bult in voltage regulator to take 12VDC down to the 5V required for the chip and other components on the development board.

Schematic available here:

http://www.sparkfun.com/commerce/produc … ucts_id=37

My question is, would it be possible to power the board by sending 5V into one of the pins in the “EXT 1” or “EXT 2” that normally outputs 5 volts? For those of you who aren’t familiar with the development board, “EXT 1” and “EXT 2” are headers on the board that bring out the pins from the chip so you can easily connect devices to them.

I’m pretty sure this would work, but I wanted to ask before I smoked my board :smiley:

Thanks a lot,

Jared

Ok, I went ahead and tried it. Works fine. Figured it would…I was just a little apprehensive because I didn’t want to smoke the entire devel board!

I was messing with some XBees connected to the AVR MT 128. Made a little cable from the AVR to a regulated breakout board for XBee called an AppBee (I’m getting my raw breakout from SparkFun Monday), and I was powering the module off the +5 from the serial connector (not the DB, but the molex).

I could get it to work a few times, transmitting from the AVR, but then the AVR MT 128 would just hang. At the hang the +5v from the AVR to the XBee breakout would go to +4 and the AVR display would go blank - the system was dead.

I powered the XBee from a bench supply (shared ground) and it worked just fine. So, tried running the XBee’s vss from the AVR MT 128 EXT2 (pin 1 and 2) header and the same problem happened.

So, I took your hint above and powered up the AVR with a +5 from the [SFE DC-to-DC step up (2 AA’s) through the EXT2 header. After that I had no problems powering the XBee module through the +5 coming out the RS-232 molex.

So, just wanted to say thanks for trying this first :slight_smile: and sharing the info. I used it and it worked well.

For some reason the regulated 5v generated if it’s powered by 12VDC jack, can’t push much.

http://flash.360vl.com/~lcox/avr-xbee/HPIM4218.jpg

The pic above shows the XBee being powered by the 5v from the RS232 molex and the system being powered from 12VDC wall wart. This configuration didn’t work - it would transmit a few times and then the AVR would belly up.

http://flash.360vl.com/~lcox/avr-xbee/HPIM4225.jpg

The image above shows the AVR being powered through the DC-to-DC step SFE sells and it’s connected through EXT2 pins 1 and 2 to inject +5v.

I could talk via the XBees to the AVR MT 128 from my Mac.

http://flash.360vl.com/~lcox/avr-xbee/HPIM4223.jpg

The image above shows a USB/XBee dongle on my PowerBook. Using this command:

screen /dev/tty.SLAB_USBtoUART 9600

I could pump keystrokes at it and they’d display on the AVR MT 128 LCD.

That command works fine on my SuSE linux machine (albeit a different USB device), to talk through an XBee also. BTW - to get out of the screen command and drop the port, Ctrl-a :quit.

http://flash.360vl.com/~lcox/avr-xbee/screenoutput.png

This is output from my screen session - the olimex text is generated by the stock firmware that comes in the AVR MT 128 when you push the down button.](http://www.sparkfun.com/commerce/product_info.php?products_id=8249)

I think SF is selling the incorrect Wall Adapters for the AVR MT 128. I bought a couple about a year ago and they work fine, then I bought some more (AVR MT 128 & Wall Adapters) and the wall adapters don’t work at all on the new AVR MT 128 boards. The AVR MT 128 won’t even power up!

The new AVR MT 128 boards also have gray buttons instead of black ones. So, maybe Olimex changed something on the actual AVR MT 128 that makes the Wall Adapter not powerful enough?

I don’t need the Wall Adapters anyways, so it wasn’t much of an issue…just a little annoying when I was first trying to test the board.

Glad you got yours working!

In my case, I wasn’t using a wall adpater from SFE - I just cobbed a 12VDC wall wart from an unused NetGear router, so it should have had plenty to spare. It seems like internally, the 5v regulation is limiting current.

BTW - definitely not recommending anyone try the DC-to-DC battery gig - this combo of AVR and XBee will eat it for snacks. But it does work as an injection test :slight_smile:

landon… where did you obtain those PC boards on which the XBees are mounted?

Just a little background in answering that question:

viewtopic.php?t=5896&highlight=xbee

I don’t understand why Maxstream doesn’t get it. They just blew me off.

So, I searched high and low for this type of product. I was tickled to see the SFE breakout recently offered. It’s a toe in the water and I hope to see a lot more.

But, before that alternative existed, and with no help from Maxstream, I finally found AppBee - http://www.selmaware.com/appbee/

Most of these are designed to fit various Parallax products/boards/Propeller, but they aren’t limited to that obviously. The thing about AppBee is it’s the only one out there I’ve found (I found some designs and “geekything” on the forum has a design…should be receiving a prototype of it one of these days). AppBee boards are expensive for what you get, but it’s the only game at the moment. My hope is SFE will develop a family of these types of boards - the types and useful variations are endless. Hopefully, the SFE breakout is just the beginning.

So, I’ll just say I’ve had good luck and service from the AppBee boards, but hope SFE will kick it up with some cool new stuff, too. They have every appearance they will be and that makes me happy…I think a lot of people would be interested in XBee related boards and products.

Maxstream, now owned by Digi, no doubt makes these modules to be designed-into OEM products. So the lack of 0.1 in spacing connector isn’t an issue. The hobbyists always come up with low volume gizmos to adapt these things. It is good that Maxstream’s pricing is as good as it is, compared to most of the other 802.15.4 module sellers.

The Lantronix WiPort also has an odd connector pin spacing, by US conventions. Even more odd is the kind of connectors used on the 802.15.4/ZigBee modules from Silicon Labs/Helicomm, Jennic and others - the ones that are plated PC board-edge indentations.

Good points. Leaves a perfect gap for folks like Sparkfun to fill, too.

I just purchased the AVR-MT-128 from Sparkfun/Olimex. However, how do I power it? I have a 9V wall wart (radioshack “M” adaptaplug) plugged into it however nothing shows up on the lcd.

Also how to program it? I have JTAG ICE but avrdude always says no response.

I’ve purchased 7 or 8 of these things and I found that the newer ones don’t work on 9V. You need around 12V. Although, if you bypass the built in regulator you can use 5V (see my first two posts on this thread).

I’ve never used the JTAG. Try programming it again while providing 12V.

-Jared

I see. It looks like a 7805 is used as the regulator so I can’t see why it wouldn’t work off of 9volts. The dallas touchbutton & relay stuff uses 12 volts but I have no use for those. I will try your suggestion of directly feeding in 5volts.

ps: How will I know that the avr is in fact running when I power it if I do not manually program it. I’m guessing something will come up on the lcd or the led will light or something. What is the atmega128 programmed to do once shipped from Olimex/Sparkfun?

Mine have always been preprogrammed with a demo program. You can actually download it off the Olimex site.

The LCD will light up and the buttons will do things like buzz the buzzer and change the text on the LCD. It will be obvious it’s on.

Yeah, the voltage thing is weird. But that’s the way it works.

Thank you for your replies, I appreciate your responses. I purchased this expecting a README file and was hit with only this device in the box. So with my limited electronics skills it’s been a hassle because I’m more of a programmer.

I have taken a look at the sample code provided on the Olimex.com site but that’s all it is for now…code; I can’t even power/program the samples yet.

I will post my results when I get it running.

Well today I actually went through my pile of AC adapters and couldn’t believe that I already had 3 adapters that were 12volt and had the right tip size - and I had wasted 3 days just trying to get the right adaptaplug tip from RadioShack. So with one of those adapters the board functioned and programming/debugging worked under Windows in AVR Studio. avrdude is a different story.

Edit: seems I just have to unplug/replug in the programmer and everything works fine after that. I am now set to do some programming!