Xplained Mini mega328PB

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

I absolutely love this thing! It's like an Arduino on steroids. Since the on board 32u4 uses the ISP interface, no bootloader necessary and fully compatible with Atmel Studio.

 

And lots cheaper than an Uno!

 

I love the mega328PB, although I really wish they made a PDIP variant.

 

One thing I learned the hard way...DON'T MESS WITH THE FUSE BITS!!! I'd forgotten that the 32u4 supplies CLKOUT to the PB and for some reason thought it had an on board crystal oscillator, thus I ended up bricking one after changing the oscillator fuse bits. No need to mess with them on this board. Worry about that in production.

 

Other than that this is an excellent development platform. No need for an external programmer or a bootloader plus you code it with the WinAVR compiler in Atmel Studio. Couldn't be better.

 

Jon Wilder
Freelance Embedded Engineer

Last Edited: Sat. Mar 7, 2020 - 09:48 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have a pile of those 328PB boards..got them real cheap.   They are quite handy to work with & ready to go.

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

Last Edited: Sat. Mar 7, 2020 - 06:27 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


Indeed:

 

 

But, in another thread, david.prentice wrote:
mEDBG is appallingly slow for debugWIRE.

 

https://www.avrfreaks.net/commen...

frown

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 2

And when you're ready to miniaturize, there is the Pololu A Star 328pb board.

Looks nice; pretty inexpensive.  Solid vendor.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Jon Wilder wrote:
I love the mega328PB, although I really wish they made a PDIP variant.
only in a possible follow-on (mega4809)

https://www.avrfreaks.net/forum/megaavr-0-series?page=4#comment-2695296

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


Jon Wilder wrote:
I really wish they made a PDIP variant.

Quite easily arranged:

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...