Categories
Uncategorized

Seeeduino Nano

The folks over at Seeed Studio sent me a Seeeduino Nano to check out. I’ve used a lot of Arduino boards over the years, including plenty of cheap Arduino Nano clones. Most of the clones have worked fine but every now and then I’ve seen a bad one come through. The Seeeduino Nano is a nice quality board with a little extra to make it useful for beginners or people more interested in making things quickly/easily than they are soldering wires.

One interesting thing about the Seeeduino Nano is that it used USB-C to connect to your computer. While most of the Arduino UNO boards I’ve used still use USB type B, and lots of other boards use Mini-USB or Micro-USB, the Seeeduino required a USB-C cable. Luckily, I had one on hand. If you don’t already have a USB-C cable, you’ll need one for the Seeeduino Nano.

My favorite part about the packaging of the Seeeduino Nano is the warning on the back that says “Best to keep away from fire”, mainly because I’ve worked on multiple Arduino projects that specifically involved fire… But I digress… for most people keeping away from fire is probably a good idea.

Here’s the top view of the Seeeduino Nano next to a ELEGOO Nano board. You can see the difference in the USB connector and a few other features. One difference with the ELEGOO boards is that they come with the header pins included but not soldered in place. (Here I’ve soldered them to the board.) There are times when you don’t want header pins solder into place. My guess is that for the target market of the Seeeduino Nano, the pins already installed makes sense.

Another thing about the ELEGOO boards is that I can’t easily find them listed on the web site. Here’s a post about them, but in the past if I’ve purchased them I’ve found them on Amazon for a price close to the Seeeduino Nano, though I’ve only seen them as a 3-pack.

(Note in the photo above the boards are the same dimensions, the Seeeduino is just on an angle due to the extra connectors on the top.)

Since I had a project already done with a Nano in place (via my Anrduino Nano Breakout Board) I just swapped in the Seeeduino Nano, uploaded the code, and it worked great.

Where the Seeeduino Nano really shines is the capabilities it has with the Grove system from Seeed Studios. If you don’t want to solder, and also don’t want to stick a lot of wires and components into breadboards, the Grove system might be what you are looking for. Again, I see this is a match for those who are more interested in the code than the wiring of electronics, or for workshops where soldering might be a concern (with kids or those not able to solder for other reasons).

In the photo above you’ll see the Seeeduino Nano along with the Grove Shield, a Temperature & Humidity Sensor, and a connector wire.

It’s also worth noting that the Seeeduino hardware and Grove system are open source, and others have embraced Grove. Adafruit has a Grove Shield for Particle Mesh and Feather Boards.

Above you’ll see the Seeeduino Nano plugged into the Grove Shield which has a Temperature & Humidity sensor attached. This takes seconds to connect versus soldering things or plugging things into a breadboard. When I taught basic Arduino classes I always told students to unplug their Arduino when they wired up the breadboard, and then to double-check the wiring for errors before plugging in the board again. The Grove plug-in system eliminates much of that guesswork. You can’t really plug things in backwards.

Here’s the Temperature & Humidity Sensor. I’ve worked with logging temperature and humidity before, so I’m not really new to this. The new part is the simplicity of just plugging things in.

I grabbed the example code Seeed Studio provided and had a few issues. Nothing I couldn’t fix, and I did open an issue about it. In the end I grabbed Adafruit’s library for the DHT Sensor as well as the Adafruit Sensor library (which is required by the DHT library) and got things up and running. If you’re not interested in downloading zip files from Github you can also install these libraries right from the Arduino IDE.

Overall the Seeeduino Nano is a good quality Arduino board, and the Grove system makes it very easy to get up and running. In this specific test I did run into some trouble with their example code, but in most cases those issues are solvable, and there’s probably an alternative example or library out there that will do what you want or need.

Finally, here’s a short video of the game scoring system I mentioned above. The Seeeduino Nano is taking input from a number of pins (that will eventually be triggered by switches or buttons) to keep score, where each pin is a different point value, and then using the piezo speaker to play a sound for each point value as well as displaying the points on a small LED display.

Categories
Uncategorized

#TeamArduinoCC

Arduino.cc

In accordance with a request from organizations and people I respect, here’s a photo take on 2015-04-19 showing the packaging from an Arduino UNO I purchased from Adafruit Industries (in the United States of America) on 2010-10-19 showing the text “Manufactured under license from Arduino by SMART PROJECTS S.r.l.”.

Adafruit / Arduino.cc

Here is the order information from that purchase. For more info, see the Hackaday post Your Arduino Packaging Could Sway a Court Case and the Adafruit post Please post old Arduino packaging that says “Manufactured under license from Arduino” #TeamArduinoCC.

Categories
Uncategorized

Beam me up!

Beam me up!

Beam systems make construction of thing easy, or precise, or both. I keep seeing more of these systems, so I figured I’d write-up the ones I’ve seen.

MakerBeam
Back in 2009 MakerBeam, a Mini-T open-source building system, showed up (on Kickstarter) and while makerbeam.com is empty, makerbeam.eu has lots of good stuff. You can also get them from our pals at SparkFun. There’s some bits and pieces on Thingiverse as well. (And, MakerBeam is open source hardware.)

MakerSlide
Bart from buildlog.net launched MakerSlide, which is an “Open Source Linear Bearing System” geared towards DIY CNC machines like laser cutters, CNC routers, and (now) 3D printers. MakerSlide launched as a Kickstarter project, and did quite well. It seemed to be continually out-of-stock, but Inventibles is now kicking in to fill the gap. There’s a whole system of parts that go with MakerSlide, and from what I can tell it’s a pretty solid system.

OpenBeam
There’s a new one, called OpenBeam, which is running on Kickstarter as of my writing this. It’s an open source miniature construction system. (See a trend here?) OpenBeam seems to cite that the fasteners and connecting plates used by other systems are what causes things to get costly. Their solution is to use standard sizes and common hardware to make the whole system easier and cheaper to work with. There doesn’t seem to be a web site yet, but you can check out the developers blog.

Bitbeam
A bit different is how I’d describe Bitbeam. Instead of extruded aluminum like the other systems, it’s typically made of wood, and describe as just “holes in poles.” :) In fact, Bitbeam is based on another system, Grid Beam. And hey, both are open source! Bitbeam is Lego Technic compatible, and you can make your own with a (powerful) laser cutter. Bitbeam is also on Thingiverse. Sweet!

Grid Beam
As previously mentioned, Grid Beam is sort of the older big-brother of Bitbeam. While Bitbeam is for smaller things, Grid Beam is for larger things. You can actually build things like vehicles and furniture with Grid Beams. It also appears to be the oldest of these beam systems, dating back to 2008. Check out more at gridbeamnation.com

Are there any other beam building systems I’ve missed?

Categories
Uncategorized

UI Mockup/Diagram Apps

UI Apps

I wanted to mock up a control panel for a project (a real physical control panel, not a software control panel) and remembered that I had OmniGraffle on one of my machines, so I started with that. Unfortunately it appeared that it was a demo version and was limited to 20 objects.

OmniGraffle

OmniGraffle is a sweet application, and I considered buying it, but at $99 for an individual license, for an application I probably won’t use that much, I opted not to pursue it. (Oh, and I did think about just using Inkscape, but I thought it would be more fun to use a diagramming specific application for this project.)

Dia

I found Dia, an open source, multi-platform application for creating diagrams. Dia actually looks like a pretty nice application, and I do prefer open source when possible, but I also find X11 applications a bit clunky, and while I’ll keep an eye on Dia, it didn’t quite live up to what I wanted…

Pencil

I ended up revisiting the Pencil Project, which I looked at last year, and I really like it. It’s a great application for mocking things up, and it even ties into one of my favorite sites, OpenClipArt.org.

Pencil Menus

The one annoying thing about Pencil is the menus. I’m using Mac OS X, and I’d like the menus to work as they do on Mac OS X, and these are just weird.

Here’s the output I got from each application. It should be mentioned, these are all rough, and by no means final. I really just wanted to quickly kick out a design from each application.

OmniGraffle Mockup
OmniGraffle Mockup

Dia Mockup
Dia Mockup

Pencil Mockup
Pencil Mockup

I’ll probably use Pencil moving forward and see how much I can push its capabilities. (And yes, it’s also open source and multi-platform, which is one more great thing about it.)

Categories
Uncategorized

Getting Started with the Atmega32u4 Breakout Board+

Atmega32u4 Breakout Board+

I’ve talked about Adafruit’s Atmega32u4 Breakout Board+ before, first in my post Teensy vs. Atmega32u4 Breakout Board+ and then in the post The Future of Open Source (Part II), so I figured I should actually get a Atmega32u4 Breakout Board+. (Also, I’m just going to call it the Atmega32u4 from now on.)

Now as far as AVR development, I’m a guy who doesn’t like to stray too far from the Arduino world, partly because I find it fun and comfortable, and it does most of what I’ve needed so far. That said, I did end up dabbling with the Teensy for The Button.

Don’t get me wrong, the Teensy is awesome for what it does, and what it is, but occasionally my open source bias takes hold and it bothers me (just a little bit) that the Teensy is not open source. Of course, Adafruit’s Atmega32u4 is open source, which gives it a few more points in it’s favor. Price-wise, the Teensy is $16.00 and the Atmega32u4 is $20.00. Consider it the “open source tax” if you will. (Or buy 100 of them and they’re only $16.00 each then!) (Update: Actually, the Teensy with pins is $19.00 and the Atmega32u4 Breakout Board+ with pins is $20.00, which is even closer in price. You can buy the Teensy without pins at $16.00 but you can’t buy the Atmega32u4 Breakout Board+ without pins.)

So with an Atmega32u4 in hand, and from the perspective of someone who used a Teensy successfully, here’s my review.

Atmega32u4 Breakout Board+ (Close-Up)

You’ll want to start with the Atmega32u4 product page. Without that, I’d still be watching a pulsating LED and swearing.

Read the section titled “Why not use a Teensy” and decide if you really want to use the Atmega32u4 instead. Done? Good. If you still want to use the Atmega32u4, continue reading!

The next section I’d call your attention to is the Using Teensyduino section. As I said, I’m an Arduino guy, so I wanted to give Teensyduino a try. Teensyduino is a software add-on for the Arduino IDE. It adds the ability to build and run sketches on the Teensy. If you don’t want to install avrdude or deal with command line stuff, this is another option. I’m not against using avrdude, but I wanted to try to parallel my Teensy experience, so Teensyduino was part of the toolchain.

I had already installed Teensyduino for use with the Teensy, so the section on that topic was where I jumped in. I walked through the changes, from editing boards.txt to restarting the Arduino IDE. It didn’t work.

But wait! There’s a line that says “Download the Arduino IDE from arduino.cc – as of this tutorial, IDE v21 works best – its not the latest one so scroll down to find it.” And yes, I’m running IDE v22. I’m not sure if that’s what broke things, but rather than download version v21 and try the edits again, I just grabbed the “ready to go” dmg that Adafruit supplied. Since I already had the Arduino IDE in my applications folder, I just renamed it to “ArduinoAtmega32u4” and ran it. It worked!

So the software installation/configuration part was a bit more difficult for the Atmega32u4 than for the Teensy, at first, but not much of an issue in the end.

Atmega32u4

So here’s a simple blink sketch, slightly modified from one that worked with the Teensy. The one issue with the Atmega32u4 is that you need to press the reset button on the board before you upload a sketch. Each time. Adafruit mentions this, so it’s not a surprise, but you just need to remember to do it. If you use a Teensy or an Arduino all the time, you might forget.

Atmega32u4

So the next test was to make the Atmega32u4 emulate a USB keyboard, just like the Teensy can do. You’ll need to change the menu options, but besides that, it worked well. At this point, with everything working, the differences between the Teensy and the Atmega32u4 seem pretty minimal. Granted, I’m not doing anything complex here, but it’s good to know that I could easily swap out the Teensy for the Atmega32u4 in some situations.

Here’s the code I used, which prints a space, similar to what the Teensy does for The Photo Booth:


void setup() {
  Serial.begin(9600);
  delay(4000);
}

void loop() {
  // Your computer will receive these characters from a USB keyboard.
  Keyboard.print(" "); 

  // typing too rapidly can overwhelm a PC
  delay(2000);
}

So now that I’ve got an Atmega32u4, and know what it can do, the only thing left is to let the hacking begin! :)