Hands On With Nvidia’s New Jetson Nano

Hands On With Nvidia’s New Jetson Nano

Until recently, experimenting with AI-driven robots has been limited to those with substantial training and resources. Nvidia has done as much as any other company to change that. Its latest effort is the new Jetson Nano developer kit. Built around a 128-core Maxwell GPU and quad-core ARM A57 CPU running at 1.43 GHz and coupled with 4GB of LPDDR4 memory, the Nano developer kit packs a rich set of I/O capabilities through the included carrier card.

Hands On With Nvidia’s New Jetson Nano

What You Get With Nvidia’s Jetson Nano

JetPack, Nvidia’s free software stack for Jetson developers, supports the Nano as of release 4.2 and comes packed with lots of AI goodies including TensorRT, cuDNN, VisionWorks, and OpenCV. Nvidia benchmarks the Nano at 472 GFLOPS of compute performance while consuming as little as 5 watts. By default the module ships in 10-watt mode.

Nvidia’s Jetson Nano packs quite a punch in a small package, including both the Nano module and a carrier board with plenty of IO options.
Nvidia’s Jetson Nano packs quite a punch in a small package, including both the Nano module and a carrier board with plenty of IO options.

Getting Started With a Jetson Nano

Because the Nano is just a board, you’ll need to provide your own USB mouse and keyboard (the board doesn’t have native Wi-Fi or Bluetooth support), as well as a monitor that supports either HDMI or DisplayPort. A 16GB or larger microSD card is also needed for the system image and as your system drive. Nvidia recommends a UHS-I or better performing version because you’ll be working from it. Finally, a good quality (2-amp or better) 5-watt micro USB power supply is needed to get you started; you can use a dedicated 5v power supply to power the system with up to 20 watts if needed for accessories.

Writing the JetPack system image to a microSD card is trivial with a Linux, Mac, or Windows computer. I suspect many existing tools will work, but Nvidia provides links to a free card formatter and a free image writer that I used. It took about 10 minutes to write the image to my 16GB 633x microSD card, although the system image is nearly 13GB, so after using the system for a bit I moved to a 64GB Sandisk Extreme Pro card. After creating my system image, I plugged in the keyboard, mouse, and monitor, stashed the card into the sort-of-hard-to-see slot underneath the board and plugged in an old, but high-quality, 2A Samsung phone charger and cable. The Nano booted right away into a full Ubuntu desktop.

Plugging in an Ethernet cable had me on the network instantly, so I was able to check for package updates and browse Nvidia’s Getting Started and other Tutorial pages directly from the Nano. However, the Nano is unlikely to replace your current PC as a daily driver. As you might expect, it’s noticeably slow navigating web pages compared with a full-fledged laptop or desktop.

Hello AI World

In the now-traditional paean to Dennis Ritchie’s “hello, world” C program, Nvidia provides a basic AI tutorial in the form of a “Hello AI World” program. It does simple inferencing using a pre-trained neural network (AlexNet and GoogleNet are downloaded by default). By itself, it isn’t any more sophisticated than what you could do in a similar amount of time (typically a couple hours) by following any of the dozens of basic image recognition tutorials on a PC. The machine is also a lot slower, so if you simply want to learn about AI software you’re probably better off doing it on your desktop or laptop. However, using the Nano gets you acquainted with several of the components of the JetPack toolset, and working with the Nano itself, as preparation for more sophisticated hardware-related projects.

All the steps in the tutorial were easy to follow and worked correctly in my tests. However, when it came time to actually run the inferencing engine to identify the sample image of an Orange, I thought the machine had hung. I was also browsing the tutorial information on Nano, so I’m sure having a few Chromium tabs open didn’t help my available memory situation, but it certainly would have been nice to have some interactive feedback during the time-consuming model loading process.

Using GoogleNet the Tutorial for the Jetson Nano successfully identifies an orange, and it shows the probability in a small text overlay visible in the upper left of the output image
Using GoogleNet the Tutorial for the Jetson Nano successfully identifies an orange, and it shows the probability in a small text overlay visible in the upper left of the output image

Next Step: JetBot

By itself, even with the addition of a camera or two, the Nano isn’t super exciting. After all, you can run all the same code on any decent system with a GPU and a webcam. Where it gets interesting is when you build a Jetson into something. To bootstrap this process, Nvidia has created JetBot, an open-source robot kit. It’s a wheeled bot with cameras that can be remotely driven or programmed. The Bill of Materials for the kit is fairly extensive and requires ordering from several vendors, as well as including several parts that need to be 3D printed. Fortunately, there are links for ordering and for the model files needed for printing. However, several of the parts are out of stock at the listed vendors, so it may take a little while to get to a completed JetBot. I’m in the middle of the process, so stay tuned for my further adventures once I get a JetBot up and running.

In addition to various projects using a JetBot, I’m sure we’ll start to see quite a number of other open source efforts built around the Jetson Nano, especially once it starts to ship in volume in June. One that appeals to me is creating an open-source alternative to the proprietary security cameras on the market. It should be possible to do most of the monitoring and recognition that subscription-based cameras do except on your own.

You can pre-order the Jetson Nano for $99 from various online retailers including Adafruit. Since Nvidia was selling them at GTC, they obviously exist already, but it appears general retail availability may not be until June. There will also be a product-ready commercial version of the Nano with slightly better specs that business can purchase in bulk for $129.

Continue reading

SpaceX Launches ‘Better Than Nothing’ Starlink Beta
SpaceX Launches ‘Better Than Nothing’ Starlink Beta

Those lucky few who have gotten invitations to try the service will have to pay a hefty up-front cost, and the speeds aren't amazing. Still, it's a new generation of satellite internet.

The Xbox Series S Is Handicapped by Its Storage Capacity
The Xbox Series S Is Handicapped by Its Storage Capacity

The Xbox Series S has been favorably received, for the most part, but the console's low base storage makes the Xbox Series X a better value for a lot of people.

Apple’s New M1 SoC Looks Great, Is Not Faster Than 98 Percent of PC Laptops
Apple’s New M1 SoC Looks Great, Is Not Faster Than 98 Percent of PC Laptops

Apple's new M1 silicon really looks amazing, but it isn't faster than 98 percent of the PCs sold last year, despite what the company claims.

Google Kills Free Photo Storage, Changes What Counts Toward Storage Caps
Google Kills Free Photo Storage, Changes What Counts Toward Storage Caps

Google has announced some significant changes to Photos, especially if you use the service for automatic backup.