A Real Star Trek Communicator Badge

Star Trek has never let technology get in the way of a good story. Gene Roddenberry and the writers of the show thought up some amazing gadgets, from transporters to replicators to the warp core itself. Star Trek: The Next Generation brought us the iconic communicator badge. In 1987, a long-range radio device which could fit in a pin was science fiction. [Joe] is bringing these badges a bit closer to the real world with his entry in the 2017 Hackaday Sci-Fi Contest.

trek-thumbThe first problem [Joe] dealt with was finding a radio which could run from watch batteries, and provide decently long-range operations. He chose the HopeRF RFM69HCW. Bringing fiction a bit closer to reality, this module has been used for orbital communications with low-cost satellites.

The Badge’s processor is a Teensy LC. [Joe] is rolling his own Teensy, which means using bootloader chips from PJRC, as well as the main microcontroller. Kicking the main micro into operation is where [Joe] is stuck right now. Somewhere between the breadboard and the first spin of the surface mount PCB things went a bit sideways. The oscillators are running, but there are no USB communications. [Joe] is trying another board spin. He made a few improvements and already has new boards on the way. Switching to a toaster oven or skillet paste and solder setup would definitely help him get the new badges up and running.

Microchip Launches New Family Of PICs

Over the last few years, we’ve seen projects and products slowly move from 8-bit microcontrollers to more powerful ARM microcontrollers. The reason for this is simple — if you want to do more stuff, like an Internet-connected toaster, you need more bits, more Flash, and more processing power. This doesn’t mean 8-bit microcontrollers are dead, though. Eight bit micros are still going strong, and this week Microchip announced their latest family of 8-bit microcontrollers.

The PIC16F15386 family of microcontrollers is Microchip’s latest addition to their portfolio of 8-bit chips. This family of microcontrollers is Microchip’s ‘everything and the kitchen sink’ 8-bit offering. Other families of PICs have included features such as a complementary waveform generator, numerically controlled oscillator, a configurable logic controller, power saving functionality and the extreme low power features, but never before in one piece of silicon.

This feature-packed 8-bit includes a few new tricks not seen before in previous Microchip offerings. Of note are power management features (IDLE and DOZE modes), and a Device Information Area on the chip that contains factory-calibrated data (ADC voltage calibration and a fixed voltage reference) and an ID unique to each individual chip.

As you would expect from a new family of PICs, the 16F15386 is compatible with the MPLAB Xpress IDE and the MPLAB Code Configurator, a graphical programming environment. The products in the family range from 8-pin packages (including DIP!) with 3.5kB of program Flash to 48-pin QFPs with 28kB of program Flash. The goal for Microchip is to provide a wide offering, allowing designers to expand their builds without having to change microcontroller families.

All of these chips can be sampled now, although the lower pin count devices won’t be available through normal means until next month.

Ask Hackaday: Is Owning A 3D Printer Worth It?

3D printers are the single best example of what Open Hardware can be. They’re useful for prototyping, building jigs for other tools, and Lulzbot has proven desktop 3D printers can be used in industrial production. We endorse 3D printing as a viable tool as a matter of course around here, but that doesn’t mean we think every house should have a 3D printer.

Back when Bre was on Colbert and manufacturing was the next thing to be ‘disrupted’, the value proposition of 3D printing was this: everyone would want a 3D printer at home because you could print plastic trinkets. Look, a low-poly Bulbasaur. I made a T-rex skull. The front page of /r/3Dprinting. Needless to say, the average consumer doesn’t need to spend hundreds of dollars to make their own plastic baubles when WalMart and Target exist.

The value proposition of a 3D printer is an open question, but now there is some evidence a 3D printer provides a return on its investment. In a paper published this week, [Joshua Pearce] and an undergraduate at Michigan Tech found a 3D printer pays for itself within six months and can see an almost 1,000% return on investment within five years. Read on as I investigate this dubious claim.

Continue reading “Ask Hackaday: Is Owning A 3D Printer Worth It?”

Smaller Cheaper Arduino

Well, honestly, [Michael Mayer’s] STM8 Arduino (called Sduino) isn’t actually much to do with the Arduino, except in spirit. The STM8 is an 8-bit processor. It is dirt cheap and has some special motor control features that are handy. There’s a significant library available for it. However, it can be a pain to use the library and set up the build.

Just like how the Arduino IDE provides libraries and a build system for gcc, Sduino provides similar libraries and a build system for the sdcc compiler that can target the STM8. However, if you are expecting the Arduino’s GUI or a complete knock off of the Arduino library, you won’t get that.

Continue reading “Smaller Cheaper Arduino”

First Look: Macchina M2

In the past few years, we’ve seen a growth in car hacking. Newer tools are being released, which makes it faster and cheaper to get into automotive tinkering. Today we’re taking a first look at the M2, a new device from the folks at Macchina.

The Macchina M1 was the first release of a hacker friendly automotive device from the company. This was an Arduino compatible board, which kept the Arduino form factor but added interface hardware for the protocols most commonly found in cars. This allowed for anyone familiar with Arduino to start tinkering with cars in a familiar fashion. The form factor was convenient for adding standard shields, but was a bit large for using as a device connected to the industry standard OBD-II connector under the dash.

The Macchina M2 is a redesign that crams the M1’s feature set into a smaller form factor, modularizes the design, and adds some new features. With their Kickstarter launching today, they sent us a developer kit to review. Here’s our first look at the device.

Continue reading “First Look: Macchina M2”

A Full Speed, Portable Apple //e

A while back, [Jorj] caught wind of a Hackaday post from December. It was a handheld Apple IIe, emulated on an ATMega1284p. An impressive feat, no doubt, but it’s all wrong. This ATapple only has 12k of RAM and only runs at 70% of the correct speed. The ATapple is impressive, but [Jorj] knew he could do better. He set out to create the ultimate portable Apple IIe. By all accounts, he succeeded.

This project and its inspiration have a few things in common. They’re both assembled on perfboard, using tiny tact switches for the keyboard. The display is a standard TFT display easily sourced from eBay, Amazon, or Aliexpress. There’s a speaker for terribad Apple II audio on both, and gigantic 5 1/4″ floppies have been shrunk down to the size of an SD card. That’s where the similarities end.

[Jorj] knew he needed horsepower for this build, so he turned to the most powerful microcontroller development board he had on his workbench: the Teensy 3.6. This is a 180 MHz ARM Cortex M4 running a full-speed Apple IIe emulator. Writing a simple 6502 emulator is straightforward, but Apple IIe emulation also requires an MMU. the complete emulator is available in [Jorj]’s repo, and passes all the tests for 6502 functionality.

The project runs all Apple II software with ease, but we’re really struck by how simple the entire circuit is. Aside from the Teensy, there really isn’t much to this build. It’s an off-the-shelf display, a dead simple keyboard matrix, and a little bit of miscellaneous circuitry. It’s simple enough to be built on a piece of perfboard, and we hope simple enough for someone to clone the circuit and share the PCBs.

Pancake-ROM: Eat-only Memory?

You can store arbitrary data encoded in binary as a pattern of zeros and ones. What you do to get those zeros and ones is up to you. If you’re in a particularly strange mood, you could even store them as strips of chocolate on Swedish pancakes.

Oddly enough, the possibility of the pancake as digital storage medium was what originally prompted [Michael Kohn] to undertake his similar 2013 project where he encoded his name on a paper wheel. Perhaps wisely, he prototyped on a simpler medium. With that perfected, four years later, it was time to step up to Modified Swedish Pancake Technology (MSPT).

pancake_rom_bottomHighlights of the build include trying to optimize the brightness difference between chocolate and pancake. Reducing the amount of sugar in the recipe helps increase contrast by reducing caramelization, naturally. And cotton balls placed under the spinning cardboard platform can help stabilize the spinning breakfast / storage product.

Even so, [Michael] reports that it took multiple tries to get the sixteen bytes (bites?) of success in the video below. The data is stenciled onto the pancake and to our eye is quite distinct. Improvement seems to be more of an issue with better edge detection for the reflectance sensor.

Continue reading “Pancake-ROM: Eat-only Memory?”