geekhack

geekhack Marketplace => Great Finds => Topic started by: synerr on Fri, 24 January 2014, 18:26:57

Title: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: synerr on Fri, 24 January 2014, 18:26:57
http://www.banggood.com/Micro-R3-ATmega32u4-Microcontroller-Board-With-USB-Cable-For-Arduino-p-911099.html
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: Pacifist on Fri, 24 January 2014, 18:34:39
why not pro micro $5 usd
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: Tranquilite on Fri, 24 January 2014, 18:54:52
This one has more IO pins and a physical reset switch available. Depends on what your project needs I guess.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: jdcarpe on Fri, 24 January 2014, 19:09:18
These Micros and Pro Micros are so hard to flash with firmware, I don't know why anyone even bothers with them, just to save a few bucks.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: Aer Fixus on Fri, 24 January 2014, 19:53:34
These Micros and Pro Micros are so hard to flash with firmware, I don't know why anyone even bothers with them, just to save a few bucks.
Really? What does it entail to flash software to them? Also, are they reliable once programmed? I might have to reconsider using them if that is the case. I'd be using them because 10 for $50 is much better than 10 for $200.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: Parak on Fri, 24 January 2014, 20:03:46
I found it kinda tricky and counterintuitive to flash a pro micro that I got, but for $5 I can't complain. Works well as long as you don't put too much stress on the usb plug.. might want to glue it down before using.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: Pacifist on Fri, 24 January 2014, 20:05:20
I found it kinda tricky and counterintuitive to flash a pro micro that I got, but for $5 I can't complain. Works well as long as you don't put too much stress on the usb plug.. might want to glue it down before using.

Do you have any tutorials on how to do it? Mine came in the mail today ^-^
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: Aer Fixus on Fri, 24 January 2014, 20:07:15
I found it kinda tricky and counterintuitive to flash a pro micro that I got, but for $5 I can't complain. Works well as long as you don't put too much stress on the usb plug.. might want to glue it down before using.

How so? What was the process to flash it? Was it hard to find software? Hard to use software? Did it require an additional piece of hardware or physical modification to work correctly?

Also, good to know on the USB.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: Soarer on Fri, 24 January 2014, 20:25:48
Simplest process I've found so far for flashing pro micros is to short the reset and ground pins, then use avrdude from the command line. It would be easier with a button, but on a breadboard you can just have a wire hanging off reset that you touch on the USB connector ;)

Once it's settled on a serial port (COM8 in this example), this rune works to load firmware.hex:

Code: [Select]
avrdude -patmega32u4 -cavr109 -PCOM8 -Uflash:w:firmware.hex
Installing a version of the Arduino software gets you the device driver and avrdude. Perhaps we should put together a mini-install?
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: Pacifist on Fri, 24 January 2014, 20:28:27
Simplest process I've found so far for flashing pro micros is to short the reset and ground pins, then use avrdude from the command line. It would be easier with a button, but on a breadboard you can just have a wire hanging off reset that you touch on the USB connector ;)

Once it's settled on a serial port (COM8 in this example), this rune works to load firmware.hex:

Code: [Select]
avrdude -patmega32u4 -cavr109 -PCOM8 -Uflash:w:firmware.hex
Installing a version of the Arduino software gets you the device driver and avrdude. Perhaps we should put together a mini-install?

yes please!

More people are buying the pro micro now, it'll be great to have this.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: Soarer on Fri, 24 January 2014, 20:44:08
These Micros and Pro Micros are so hard to flash with firmware, I don't know why anyone even bothers with them, just to save a few bucks.

Jeez, grandad!

$40 gets me 2 Teensy or 5 Micro or 8 Pro Micro. Hmm.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: JPG on Fri, 24 January 2014, 20:52:47
I would be very interested as well, if mines show up ... but I have faith!
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: Pacifist on Fri, 24 January 2014, 21:25:11
I would be very interested as well, if mines show up ... but I have faith!

Took them 2.5 weeks to arrive, but they're here
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: obra on Fri, 24 January 2014, 21:31:18
My experience with the Banggood Arduino micros is that they have really sketchy reset buttons and may be running an older version of the bootloader.
They basically work, but they appear to be unlicensed clones using the Arduino mark without permission.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: synerr on Sat, 25 January 2014, 03:50:26
why not pro micro $5 usd

Closer replacement to the Leonardo
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: synerr on Sat, 25 January 2014, 03:52:40
These Micros and Pro Micros are so hard to flash with firmware, I don't know why anyone even bothers with them, just to save a few bucks.

In what way? I've never had a problem with my Leonardo.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: jdcarpe on Sat, 25 January 2014, 08:31:09

These Micros and Pro Micros are so hard to flash with firmware, I don't know why anyone even bothers with them, just to save a few bucks.

In what way? I've never had a problem with my Leonardo.

Well, I finally managed to get Soarer's Keyboard Controller firmware flashed to mine last night using avrdude on Linux. I had tried the same method several times before (thanks scottc from Deskthority), but kept getting error messages. I just kept at it last night, over and over until it finally wrote the firmware without an error message stopping the process. It must have taken 20 or more attempts to get it successfully flashed.

Teensy - first time, every time. To me, the frustration of dealing with this Pro Micro isn't worth the monetary savings. But that's just like, my opinion, man.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: JPG on Sat, 25 January 2014, 08:39:33

These Micros and Pro Micros are so hard to flash with firmware, I don't know why anyone even bothers with them, just to save a few bucks.

In what way? I've never had a problem with my Leonardo.

Well, I finally managed to get Soarer's Keyboard Controller firmware flashed to mine last night using avrdude on Linux. I had tried the same method several times before (thanks scottc from Deskthority), but kept getting error messages. I just kept at it last night, over and over until it finally wrote the firmware without an error message stopping the process. It must have taken 20 or more attempts to get it successfully flashed.

Teensy - first time, every time. To me, the frustration of dealing with this Pro Micro isn't worth the monetary savings. But that's just like, my opinion, man.


Is it possible to do the same with Windows?
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: jdcarpe on Sat, 25 January 2014, 10:24:23


These Micros and Pro Micros are so hard to flash with firmware, I don't know why anyone even bothers with them, just to save a few bucks.

In what way? I've never had a problem with my Leonardo.

Well, I finally managed to get Soarer's Keyboard Controller firmware flashed to mine last night using avrdude on Linux. I had tried the same method several times before (thanks scottc from Deskthority), but kept getting error messages. I just kept at it last night, over and over until it finally wrote the firmware without an error message stopping the process. It must have taken 20 or more attempts to get it successfully flashed.

Teensy - first time, every time. To me, the frustration of dealing with this Pro Micro isn't worth the monetary savings. But that's just like, my opinion, man.


Is it possible to do the same with Windows?

Yes, I think you can use Soarer's post for guidance. You probably have to install Arduino IDE first, to get the drivers and the avrdude software.


Simplest process I've found so far for flashing pro micros is to short the reset and ground pins, then use avrdude from the command line. It would be easier with a button, but on a breadboard you can just have a wire hanging off reset that you touch on the USB connector ;)

Once it's settled on a serial port (COM8 in this example), this rune works to load firmware.hex:

Code: [Select]
avrdude -patmega32u4 -cavr109 -PCOM8 -Uflash:w:firmware.hex
Installing a version of the Arduino software gets you the device driver and avrdude. Perhaps we should put together a mini-install?
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: synerr on Sat, 25 January 2014, 18:25:31

Well, I finally managed to get Soarer's Keyboard Controller firmware flashed to mine last night using avrdude on Linux. I had tried the same method several times before (thanks scottc from Deskthority), but kept getting error messages. I just kept at it last night, over and over until it finally wrote the firmware without an error message stopping the process. It must have taken 20 or more attempts to get it successfully flashed.

Teensy - first time, every time. To me, the frustration of dealing with this Pro Micro isn't worth the monetary savings. But that's just like, my opinion, man.

Not sure why so many seem to have gotten a bit worked up about this.

I needed a smaller factor alternative to my Leonardo (Olimexino-32U4 really) and that micro fitted the bill and was, in my opinion, a good by hence my post in case anybody was spending two or three times as much for the same thing.

To date I have only used my Olimexino from the Arduino IDE running my own code using the Arduino stock Keyboard and Mouse libraries for various bits and pieces.  I always have a safety 'jumper' where the device will only enter keyboard/mouse functionality if that pulled up pin is low.  Not once have I had an issue with the device not accepting programming (as long as I was referencing the correct device).

Ah well

Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: Soarer on Sun, 26 January 2014, 06:10:26
I don't see any need to get worked up about it either. Leonardo etc. programming works great if you stay completely within the Arduino universe, but any arguments here are considering a n00b wanting to simply load a .hex onto a device. Teensy wins on that count, no question. OTOH it's not super hard to get avrdude working, just a bit cryptic for a n00b, and once it's working it's almost as easy to reflash as Teensy.

I think having a variety of '32U4 boards is great, to fit different needs. Even made a thread (http://deskthority.net/workshop-f7/teensy-2-0-alternatives-atmega32u4-t4253.html) about them ;)
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: synerr on Sun, 26 January 2014, 09:16:54
My experience with the Banggood Arduino micros is that they have really sketchy reset buttons and may be running an older version of the bootloader.
They basically work, but they appear to be unlicensed clones using the Arduino mark without permission.

Good to know I will come back after I receive mine.  Besides the Olimexino-32U4 I have an original UNO R3 SMD and a Fake Mega 2560 and UNO R3.

One of the reasons that I went with this purchase was that the website did not claim that this is an Arduino licensed product but rather just compatible and the picture did not show any Arduino links or trade marks.

I don't see any need to get worked up about it either. Leonardo etc. programming works great if you stay completely within the Arduino universe, but any arguments here are considering a n00b wanting to simply load a .hex onto a device. Teensy wins on that count, no question. OTOH it's not super hard to get avrdude working, just a bit cryptic for a n00b, and once it's working it's almost as easy to reflash as Teensy.



I find it terribly annoying on many boards and channels.  As soon as someone who is not part of the established old guard says something or asks something that shakes the jeopardises the status quo of the perfect world according to them hoards of chiwawas come out to yap at the heel.  Gets tiring.


I think having a variety of '32U4 boards is great, to fit different needs. Even made a thread (http://deskthority.net/workshop-f7/teensy-2-0-alternatives-atmega32u4-t4253.html) about them ;)


Cool work!  Bookmarked.  Been spending some of my limited free time getting my head around USB and the Linux input stack.  To date, from an electronics perspective, to date, I have only toyed with some code for Arduino.  I do have plans for a handful of projects and may want to move away from Arduino and graduate to coding directly for the avr or pic, which decision may boil down to flexibility of the development environment on Linux.


Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: whiskytango on Tue, 11 March 2014, 09:44:16
Maybe this is a good place to post this:

Five pro micros shipped from within US for $22.37... not too bad if you want a few of them. And it shouldn't take as long as it does from China if you are in the US. I just ordered, so I'll see how it goes.

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=221391505446&ssPageName=ADME:L:OC:US:3160 (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=221391505446&ssPageName=ADME:L:OC:US:3160)
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: dorkvader on Wed, 12 March 2014, 19:49:17
Maybe this is a good place to post this:

Five pro micros shipped from within US for $22.37... not too bad if you want a few of them. And it shouldn't take as long as it does from China if you are in the US. I just ordered, so I'll see how it goes.

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=221391505446&ssPageName=ADME:L:OC:US:3160 (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=221391505446&ssPageName=ADME:L:OC:US:3160)

I got in on this.

Got a good looking shipping notification via email the very next morning. I have high hopes that this is an awesome seller.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: whiskytango on Wed, 12 March 2014, 21:09:04
same here. mine should be in on Friday. I won't get a chance to play with them this weekend though.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: False_Dmitry_II on Thu, 13 March 2014, 00:48:02
Maybe this is a good place to post this:

Five pro micros shipped from within US for $22.37... not too bad if you want a few of them. And it shouldn't take as long as it does from China if you are in the US. I just ordered, so I'll see how it goes.

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=221391505446&ssPageName=ADME:L:OC:US:3160 (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=221391505446&ssPageName=ADME:L:OC:US:3160)

I got in on this.

Got a good looking shipping notification via email the very next morning. I have high hopes that this is an awesome seller.

Just how good of an iron do you need to be able to use those? Mine is some random cheap thing barely adequate for moving switches around.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: dorkvader on Thu, 13 March 2014, 19:16:33
I plan to make them into soarer converters, so I only need 4 connections.

The biggest issue I have with soldering teensy, etc is that it requires a pretty thin tip, as the pads don't have much space. If you want, you can get your shipped to me, I'll solder on the headers and mail them to you. Then you can just get some connectors and not have to solder at all.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: whiskytango on Fri, 14 March 2014, 20:48:06
Got a package today with five little bundles in it. Pro Micros are here, and they appear to power up at least. I am happy with this ebay seller. Got them shipped in three days for $4.48 each. Pics:

(http://i967.photobucket.com/albums/ae156/jbedwell81/20140314_203606_zps48ef8a99.jpg) (http://i967.photobucket.com/albums/ae156/jbedwell81/20140314_203716_zps4f9f3562.jpg) (http://i967.photobucket.com/albums/ae156/jbedwell81/20140314_203738_zpsc5b2ec7b.jpg)
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: dorkvader on Fri, 14 March 2014, 20:54:58
Yeah I received mine as well, Haven't tested them yet, but I have been very impressed with the seller, ship time (time from when I paid to when they mailed it out), packing condition, bundled extras (pre-cut legs, etc) and all that jazz.

I'm going to load soarer's code on all of them and make a ton of PS2 ot USB converters with them. Maybe I'll even make a 4704 / pingmaster converter. Who knows: the sky is the limit!

gonna do pretty much the same. I want to use them as internal dedicated converters for some WYSE boards, and maybe use one to USB mod a Model M.
I forgot! I have a WY-30 that I've been wanting to mod to USB pretty much since I first joined GH. This is perfect.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: whiskytango on Fri, 14 March 2014, 20:57:39
gonna do pretty much the same. I want to use them as internal dedicated converters for some WYSE boards, and maybe use one to USB mod a Model M.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: E TwentyNine on Fri, 14 March 2014, 20:59:39
Awesome. I ordered a set as well, and I don't even have an immediate need for any of them.  Figured at some point I'd mod both my AT F's to USB, convert two terminal M's, maybe even get that modern day unsaver set up.  Well hell, guess I do have some need for them.

Sure I'll find a use somewhere else for my Teensy that's currently on my DD AT F.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: E TwentyNine on Mon, 17 March 2014, 16:04:47
One business day shipping, these things look good so far, which is to say they light up.

Is there any kind of diagnostic / smoke test that can be run on these to test their health?
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: clickclack123 on Mon, 17 March 2014, 17:29:39
One business day shipping, these things look good so far, which is to say they light up.

Is there any kind of diagnostic / smoke test that can be run on these to test their health?

I'd just check to see that I can successfully load some code onto them.

The pro micro doesn't have a led on pin 13 like the other Arduinos so the standard blink program won't appear to do anything. Load this code (https://learn.sparkfun.com/tutorials/pro-micro--fio-v3-hookup-guide/example-1-blinkies) onto it to see if that works. I'd say it works fine if you can successfully do that. Remember that with the Pro Micro you have to quickly double tap between the RST pin and GND to get to the bootloader.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: E TwentyNine on Mon, 17 March 2014, 18:59:26
What's the secret to getting the driver installed on 64-bit Windows 7?

Edit2:  The drivers here seem to be working: https://github.com/sparkfun/SF32u4_boards/blob/master/driver/ProMicro.inf
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: E TwentyNine on Mon, 17 March 2014, 19:13:06
Got a package today with five little bundles in it. Pro Micros are here, and they appear to power up at least. I am happy with this ebay seller. Got them shipped in three days for $4.48 each.

Looks at your pics.  Note the bags say "Pro Mini Atmega328P"?

Mine do too.  The boards inside are all "Pro Micro", but freaked me out for a minute there....
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: clickclack123 on Mon, 17 March 2014, 20:02:49
What's the secret to getting the driver installed on 64-bit Windows 7?

Edit2:  The drivers here seem to be working: https://github.com/sparkfun/SF32u4_boards/blob/master/driver/ProMicro.inf

I'm using Win7 64bit and it just worked™.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: E TwentyNine on Mon, 17 March 2014, 20:13:26
What's the secret to getting the driver installed on 64-bit Windows 7?

Edit2:  The drivers here seem to be working: https://github.com/sparkfun/SF32u4_boards/blob/master/driver/ProMicro.inf

I'm using Win7 64bit and it just worked™.

Which driver?

And again with the edit:   WEIRD.  After installing a couple of different drivers, went back to the Sparkfun driver, installed it, doing the *SAME THING* as I was doing before and now it is working.

I'm going to chalk it up to a cable problem or windows hating me.
Title: Re: Arduino Micro R3 ATmega32u4 Microcontroller £ 5.57
Post by: clickclack123 on Mon, 17 March 2014, 21:24:44
What's the secret to getting the driver installed on 64-bit Windows 7?

Edit2:  The drivers here seem to be working: https://github.com/sparkfun/SF32u4_boards/blob/master/driver/ProMicro.inf

I'm using Win7 64bit and it just worked™.

Which driver?

And again with the edit:   WEIRD.  After installing a couple of different drivers, went back to the Sparkfun driver, installed it, doing the *SAME THING* as I was doing before and now it is working.

I'm going to chalk it up to a cable problem or windows hating me.

Not sure... Maybe "Arduino Leonardo", from memory? I think it came up with the "checking windows update for drivers" message when I first plugged it in. The Pro Micros I got off ebay mentioned the bootloader in the description: "Leonardo Pro Micro ATmega32U4 IDE 1.0.3 Bootloader replace Mini for Arduino".

They can be fiddly at times, with the double-tap bootloader thing (https://learn.sparkfun.com/tutorials/pro-micro--fio-v3-hookup-guide/troubleshooting-and-faq#ts-reset). I think most of the problem is Windows taking an eternity to recognize a new COM port when it appears. By the time it's recognized, the 8 seconds is almost up. I have a strong suspicion that they are much easier to work with under linux. What would be really good is if, after the double-tap, it would just stay in bootloader mode, like when you push the reset button on a Teensy or an Arduino Micro. I don't understand why they don't do that.