Nim Writes C Code — And More — For You

When we first heard Nim, we thought about the game. In this case, though, nim is a programming language. Sure, we need another programming language, right? But Nim is a bit different. It is not only cross-platform, but instead of targeting assembly language or machine code, it targets other languages. So a Nim program can wind up compiled by C or interpreted by JavaScript or even compiled by Objective C. On top of that, it generates very efficient code with — at least potentially — low overhead. Check out [Steve Kellock’s] quick introduction to the language.

The fact that it …read more

Continue reading Nim Writes C Code — And More — For You→

Infection? Your Smartphone Will See You Now

When Mr. Spock beams down to a planet, he’s carrying a tricorder, a communicator, and a phaser. We just have our cell phones. The University of California Santa Barbara published a paper showing how an inexpensive kit can allow your cell phone to identify pathogens in about an hour. That’s quite a feat compared to the 18-28 hours required by traditional methods. The kit can be produced for under $100, according to the University.

Identifying bacteria type is crucial to prescribing the right antibiotic, although your family doctor probably just guesses because of the amount of time it takes to …read more

Continue reading Infection? Your Smartphone Will See You Now→

Easy GUI Front Ends for Arduino, Rasberry Pi, and More with MyOpenLab

If you want to integrate a nice graphical interface with a microcontroller or single-board computer for a useful piece of custom equipment, how will you go about it? MyOpenLab is a platform that makes it easy to design virtual interfaces your electronic builds. If you want controls and readouts for Arduino, Raspberry Pi, Android, or anything with a serial port, this is worth a try.

MyOpenLab reminds me of LabView. Not so much modern LabView with all of its add-ons and extras, but LabView back when it did just a few things but did them really well. The open source …read more

Continue reading Easy GUI Front Ends for Arduino, Rasberry Pi, and More with MyOpenLab→

Golf Practice Made Easy with Robotics

When you think of sports, you usually think of something that takes a lot of physical effort. Golf is a bit different. Sure, you can get some walking in if you don’t take a cart. But mostly golfing is about coordination and skill and less about physical exertion. Until you want to practice driving. You hit a bucket of balls and then you have to go walk around and pick them up. Unless you have help, of course. In particular, you can delegate the task to a robot.

The robot that [webzuweb] built looks a little like a plywood robot …read more

Continue reading Golf Practice Made Easy with Robotics→

Learn ARM Assembly with the Raspberry Pi

We live in a time when you don’t have to know assembly language to successfully work with embedded computers. The typical processor these days has resources that would shame early PCs and some of the larger ones are getting close to what was a powerful desktop machine only a few years ago. Even so, there are some cases where you really want to use assembly language. Maybe you need more speed. Or maybe you need very precise control over timing. Maybe you just like the challenge. [Robert G. Plantz] from Sonoma State University has an excellent book online titled “Introduction …read more

Continue reading Learn ARM Assembly with the Raspberry Pi→

Super Magnesium: Lighter Than Aluminum, Cheaper Than Carbon Fiber

We think of high tech materials as the purview of the space program, or of high-performance aircraft. But there are other niche applications that foster super materials, for example the world of cycling. Magnesium is one such material as it is strong and light, but it has the annoying property of burning in its pure state. Alloys of magnesium meanwhile generally don’t combust unless they are ground fine or exposed to high temperatures. Allite is introducing a new line known as “super magnesium” which is in reality three distinct alloys that they claim are 30% lighter than aluminum, as well …read more

Continue reading Super Magnesium: Lighter Than Aluminum, Cheaper Than Carbon Fiber→

Robotic Fruit Fly Won’t Eat Your Fruit

The DelFly project has been busy since the last time we checked in on them. The Dutch team started 13 years ago and produced the smallest camera-carrying drone, and an autonomous tiny ornithopter. However, that ornithopter — now five years old — had to use some traditional control surfaces and a tail like an airplane which was decidedly not fruit fly-like. Now they’ve solved those problems and have announced the DelFly Nimble, a 13 inch and 1-ounce ornithopter. You can see the Nimble in the video below.

The close emulation of a real fly means the thing looks distinctly insect-like …read more

Continue reading Robotic Fruit Fly Won’t Eat Your Fruit→

It’s The Web, Basically

If you are of a certain age, you probably learned to program in Basic. Even if you aren’t, a lot of microcontroller hobbyists got started on the Basic Stamp, and there are plenty of other places where to venerable language still hides out. But if you want to write cool browser applications, you have to write JavaScript, right? Google will now let you code your web pages in Basic. Known as WWWBasic, this is — of course — a Javascript hack that you can load remotely into a web page and then have your page use Basic for customization. You …read more

Continue reading It’s The Web, Basically→

iCub is the Robot that is Equally Cute and Creepy

We shouldn’t say iCub — the humanoid robot from Italy — is creepy. After all, human-like robots are in their infancy and an early computer or automobile would hardly be indicative of where those industries would take us. You can see the little guy in the video below.

The effort is open source and was part of an EU project that has been adopted by 20 labs around the world. The video just shows a guy in VR gear operating the robot, but the website has a lot of technical information if you want to know more.

The robot has …read more

Continue reading iCub is the Robot that is Equally Cute and Creepy→

Camera Uses Algorithms Instead of Lenses

A normal camera uses a lens to bend light so that it hits a sensor. A pinhole camera doesn’t have a lens, but the tiny hole serves the same function. Now two researchers from the University of Utah. have used software to recreate images from scattered unfocused light. The quality isn’t great, but there’s no lens — not even a pinhole — involved. You can see a video, below.

The camera has a sensor on the edge of a piece of a transparent window. The images could resolve .1 line-pairs/mm at a distance of 150 mm and had a depth …read more

Continue reading Camera Uses Algorithms Instead of Lenses→