Mega Pro Mini - 3.3V

Do you need "Mega" power in a "Mini" package? We can do that! We're continuing our Pro series of Arduino-compatible microcontrollers with the addition of the Mega Pro Mini. This is a 3.3V microcontroller running a version of the stk500v2 bootloader at 8MHz. In order to shrink the Mega Pro down to its minimum footprint, we've condensed the board layout, removed the barrel jack footprint and replaced the traditional Arduino-style headers with compact vertical JST connectors.

The Pro series is meant for users that understand the limitations of system voltage (3.3V), lack of connectors, and USB off board. This board connects directly to the FTDI Basic Breakout board and supports auto-reset.

Note: If you are using Arduino, modifications were made to the bootloader to support the 3.3V system, you will need to download and install a new board definition so that the Mega Pro can be programmed in the Arduino environment. The .zip archive below contains all of the files that you'll need including a "readme" file with simple instructions for how to install them. OR you can use Wiring and not worry about this since the board is officially supported.

Not sure which Arduino or Arduino-compatible board is right for you? Check out our Arduino Buying Guide!

  • ATmega2560 running at 8MHz external resonator
  • Low-voltage board needs no interfacing circuitry to popular 3.3V devices and modules (GPS, Accelerometers, sensors, etc)
  • USB connection off board
  • 3.3V regulator
  • Over current protected
  • Reverse polarity protected
  • Resettable fuse prevents damage to board in case of short

Mega Pro Mini - 3.3V Product Help and Resources

Core Skill: Programming

If a board needs code or communicates somehow, you're going to need to know how to program or interface with it. The programming skill is all about communication and code.

3 Programming

Skill Level: Competent - The toolchain for programming is a bit more complex and will examples may not be explicitly provided for you. You will be required to have a fundamental knowledge of programming and be required to provide your own code. You may need to modify existing libraries or code to work with your specific hardware. Sensor and hardware interfaces will be SPI or I2C.
See all skill levels


Core Skill: Electrical Prototyping

If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.

3 Electrical Prototyping

Skill Level: Competent - You will be required to reference a datasheet or schematic to know how to use a component. Your knowledge of a datasheet will only require basic features like power requirements, pinouts, or communications type. Also, you may need a power supply that?s greater than 12V or more than 1A worth of current.
See all skill levels


Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Member #102267 / about 12 years ago / 5

    Make a 5V/16mhz version of this sucker, and I'll buy a bunch.

  • pietern / about 9 years ago * / 3

    While the description says the board comes with a 8MHz external resonator, the processor isn't configured to actually use it (I measured it running at approximately 7.85MHz). The AVR pocket programmer isn't suited to flash this processor, but it can be used to read and write the fuse bytes.

    The fuse bytes were set to L:0xE2, H:0xD4, E:0xFD, which means the processor is configured to use its internal oscillator. I set the low byte to 0xD6 (this sets the clock source to "Full Swing Oscillator; Start-up time: 258 CK + 65 ms; Ceramic res.; slowly rising power") and measured it running at 8MHz dead on.

    I used the AVR pocket programmer for sale here on SparkFun. I soldered an ISP header onto the Mega Pro Mini board and connected the pocket programmer (pin 1 is marked on the Mega Pro Mini board, power the board with a separate power source). Then I used avrdude to read and write the fuse bytes. Write them with the following command:

    avrdude -V -D -p m2560 -c usbtiny -U lfuse:w:0xd6:m -U hfuse:w:0xd4:m -U efuse:w:0xfd:m
    

  • DJmatic / about 12 years ago / 2

    IS there a mating connector for the port pins that could be used on a shield? By this I mean a surface-mount connector that would go on a shield board and plug into his board. I did some research on JST's web site but cannot seem to find one.

    • Member #301047 / about 11 years ago / 1

      Hi, have you found anything? Having same issues here.

  • Member #228962 / about 13 years ago / 2

    Does anybody know of a PCB-mounted female component that mates with these male JST-SH headers?

    • Member #301047 / about 11 years ago / 1

      Hi, since it's been two years, have you found anything?

  • green47 / about 13 years ago / 2

    this looks great, way to shrink down the footprint

  • dantebbs / about 9 years ago / 1

    I was able to get this to upload under Arduino 1.6.4 by adding the following new section to my boards.txt file.

    ###################################################################
    
    mega2560v.name=Mega Pro 2560V 3.3V
    
    mega2560v.upload.protocol=wiring
    mega2560v.upload.maximum_size=258048
    mega2560v.upload.maximum_data_size=8192
    mega2560v.upload.speed=57600
    mega2560v.upload.tool=avrdude
    
    mega2560v.bootloader.low_fuses=0xE2
    mega2560v.bootloader.high_fuses=0xD4
    mega2560v.bootloader.extended_fuses=0xFD
    mega2560v.bootloader.file=MegaPro3.3V-8MHz-57600.hex
    mega2560v.bootloader.lock_bits=0xCF 
    mega2560v.bootloader.unlock_bits=0x3F
    mega2560v.bootloader.tool=avrdude
    
    mega2560v.build.mcu=atmega2560
    mega2560v.build.f_cpu=8000000L
    mega2560v.build.core=arduino
    mega2560v.build.variant=mega
    

  • Member #130967 / about 10 years ago / 1

    Can someone explain to me why the board has an 8MHz external resonator but has the fuse settings in the Arduino 1.0 boards.txt set to internal oscillator? Surely this makes the external resonator obsolete?

  • Member #583863 / about 10 years ago / 1

    What is the typical power consumption for this board ?

  • Member #259854 / about 11 years ago / 1

    Ordered two back on 6/21 and can only rarely get them to load with Arduino 0022 or Arduino 1.0. Sparkfun tech support has same issue, but no resolution yet, and say they may just give up and obsolete the board. I am a great Sparkfun customer, and I committed to a project that needs this board; super bummed!. Any ideas out there? Really appreciate any help.

    • timothy1324 / about 11 years ago / 1

      I don't know if you've found a solution yet, but I also had the same problem when using the Sparkfun FTDI breakout. The way I got mine to work was to hold down the reset button right after clicking the upload button in the Arduino IDE, then releasing the button right before the IDE said "uploading." Don't know if you've tried that yet, but just a suggestion.

  • Member #301047 / about 11 years ago / 1

    Anyone know the maximum voltage output of this board? I have a 5V motor driver. Not sure how to connect this to that...

  • Member #301047 / about 11 years ago / 1

    anyone know the dimensions of this board?

    • Check out the Eagle files listed above. You can take the measurements of the board and also find the exact measurements of the mounting holes.

  • Alexander88 / about 12 years ago / 1

    You guys planning to restock these? or get upgraded version? this is awesome concept, and I'd love to get my hands on one, but stock of 1 (at time of writing) makes me a bit nervous. Thanks.

  • DJmatic / about 12 years ago / 1

    If you get one of these, as I did, I suggest you put a drop or two of epoxy on the back side of the FTDI pins for programming (i.e. the 6 gold pins with .100" spacing).

    One little tug of your programming adapter, and that connector comes right off the board as it is only surface mount soldered and there is no strong mechanical connection to hold it on.

    This happened three times before I finally resoldered it and put the epoxy on it. Sparkfun: this should really be a through-hole connector, or glued on with epoxy, post soldering!

    • MikeGrusin / about 12 years ago / 1

      Very sorry about the problems you've had. It sounds like you received a poorly-attached part, please feel free to contact customer service if you find such problems in the future. We use and abuse our parts with this style of connector on a daily basis and rarely have this problem. Ensure that your FTDI/cable is not stressing the connector at a right angle, and as you say two drops of epoxy on the nubs on the back side of the board is good insurance.

      • DJmatic / about 12 years ago / 1

        PS: putting epoxy on the back of the board is not going to help- there's only a few mm of the connector there. It has to go near the SMT pads.

        • MikeGrusin / about 12 years ago * / 1

          I respectfully disagree; if you consider the pads the pivot-point that the connector is rotating against (stressing and breaking the solder connections in the process), firmly attaching the plastic block holding the pins to the board will help resist this rotation. If you apply epoxy to the two indexing pins on the back of the board, it will wick into the gap between the pins and holes, hopefully providing a better connection.

          But the earlier point stands; if you're not abnormally stressing this connector and it's breaking, contact our customer service department and we'll help you out.

      • DJmatic / about 12 years ago / 1

        Thanks for your reply.

        I tend to think it is a mechanical design problem rather than a manufacturing error, as it came off too easily both times. All that is holding the current connector on there is six small smt solder pads, and two black dots of plastic (about 1mm in diameter) on the bottom of it. Give it a yank, and it comes off, taking the traces with it.

        There are lots of epozy-type SMT adhesives around, why don't you investigate them? The mechanical reliability of this connector doesn't match the usual Sparkfun quality.

  • LouisT / about 12 years ago / 1

    Could you guys update the Pinout Reference to reflect the cables currently sold?

  • Kevin-O / about 12 years ago * / 1

    If you actually read the datasheet (Figure 31-3. Maximum Frequency vs. VCC, ATmega640/ATmega1280/ATmega1281) , these atmegas are actually rated for something like 12Mhz at 3.3v. I think because all the baud calculations have been done for 8mhz, people are just lazy.

    John Luciani did a bootloader for the atmega328 that supports 12mhz.... just sayin'

    • MikeGrusin / about 12 years ago / 1

      There are other considerations besides laziness; the clock math does work out very nicely for a number of timing applications besides serial, the slower you clock a microprocessor the less power it consumes (unused cycles beyond what your code requires are basically waste heat), you're that much further within the performance margins, etc.

  • Member #314614 / about 13 years ago / 1

    Good night! This board should be powered by 3,7V LiPo battery? Thanks.

  • JGuthridge / about 13 years ago / 1

    I can't quite see well enough, but is the JST looking connector on the left side the same size and type as the connectors you offer on your LiPro batts?

  • JacquesKleynhans / about 13 years ago / 1

    Hi Guys.. Has anyone actually tried to upload a bootloader to this micro from within arduino IDE.. Because I tried but I am getting the following error:

    ***failed; avrdude: verification error, first mismatch at byte 0x0000 0xcf != 0x0f avrdude: verification error; content mismatch

    • I can confirm this issue: I have attempted for the past weekend to upload a bootloader to a custom Arduino Mega board I built, also running at 8 MHz. The full error appears immediately at the end of the bootloader burn processes. It is the exact same as the above and reads:

       ***failed;  
      avrdude: verification error, first mismatch at byte 0x0000
               0xcf != 0x0f
      avrdude: verification error; content mismatch
      

      From reading and experimenting, it seems that this is a problem with the lock bits.

      I have been able to upload sketches with my AVRISP mkII with no problem, and have also been able to upload the standard Aruduino Mega 16 MHz bootloader without this error (though of course it won't work -- was just testing to make the verification error go away). I have attempted to modify the makefile for the existing stk500v2 bootloader to include compatibility at 8 MHz, but so far have been unsuccessful -- the bootloader will upload successfully, but I will have timeout() errors when attempting to upload the sketch (so maybe something with the baud rate?).

      For completeness, here is my attempt to change "Makefile" in the "stk500v2" directory of the Arduino source:

      ############################################################
      #       Jun 8,  2014    <ADW> Adding 2560 support: 8MHz
      mega2560_8MHz:       MCU = atmega2560
      mega2560_8MHz:       F_CPU = 8000000
      mega2560_8MHz:       BOOTLOADER_ADDRESS = 3E000
      mega2560_8MHz:       CFLAGS += -D_MEGA_BOARD_ -DBAUDRATE=57600 -DUART_BAUDRATE_DOUBLE_SPEED=1
      mega2560_8MHz:       begin gccversion sizebefore build sizeafter end
                              mv $(TARGET).hex stk500boot_v2_mega2560_8MHz.hex
      

      I haven't yet tried to burn a new bootloader to my Arduino Mega Pro 3.3V (I have the non-mini board but am posting here to keep the topic together) because I'm not sure whether it would be better to try on one of those boards or worse to possibly incapacitate my one USB-programmable system.

      Clearly, someone at Sparkfun got this working for their boards, so I'm going to email their tech support and re-post with what we find out.

      And in case it is useful, I am running Ubuntu 14.04, 64-bit, and am using Arduino 1.0.5.

  • SlyVixsky / about 13 years ago / 1

    My first thought: those are goinna be some interesting shield designs :)

  • I prefer something like this for the mini it's 5V not 3.3V though. Mega Cube

  • dwc309 / about 13 years ago / 1

    Is it possible to boost the speed of the processor up to 16MHz?

  • I always get so exited when I see connectors that look like SATA ones... but they never are... :-(

  • You should put the JST mini cable link into the description. http://www.sparkfun.com/products/10853

  • salsa / about 13 years ago / 1

    Cool small board! But why $20 more than the Mega Pro 3.3V? Are those JST headers very expensive?

    • They are, and it takes more time to populate, etc.

      • TLAlexander / about 13 years ago / 1

        Have you guys had a look at Hirose DF-13 connectors? They are really great, we use 'em at work.

Customer Reviews

4 out of 5

Based on 1 ratings:

Currently viewing all customer reviews.