Multifunction Raspberry Pi Chiptune Player

General Instrument’s AY-3-8910 is a chip associated with video game music and is popular with arcade games and pinball machines. The chip tunes produced by this IC are iconic and are reminiscent of a great era for electronics. [Deater] has done an amazing job at creating a harmony between the old and new with his Raspberry Pi AY-3-8910 project.

[Deater] already showed us an earlier version of the project on a breadboard however after having made some PCBs and an enclosure the result is even more impressive. The system consists of not one but two AY-3-8910 for stereo sound that feed a MAX98306 breakout for amplification. A Raspberry Pi 2 sends six channels worth of data via 74HC595 shift registers driven by SPI. There is a surplus of displays ranging from a matrix to bar graph and even 14-segment displays. The entire PCB is recognized as a hat courtesy an EEPROM which sits alongside a DS1307 RTC breakout board. The enclosure is simple but very effective at showing the internals as well as the PCB art.

The software that [Deater] provides, extends the functionality of the project beyond the chiptunes player. There is a program to use the devices as an alarm clock, CPU meter, electronic organ and even a playable version of Tetris as seen in the demo video below. The blog post is very informative and shows progress in a chronological fashion with pictures of the design at various stages of development. [Deater] provides a full set of instructions as well as the schematic along with code posted on GitHub.

If you have a soft spot for the Arduino you may want to check out the 8-bit version of a chip tune player and if you are craving some old hardware peripheral information, do check out the computer curiosities from the Iron Curtain periodContinue reading “Multifunction Raspberry Pi Chiptune Player”

Raspberry Pi Malware Mines BitCoin

According to Russian security site [Dr.Web], there’s a new malware called Linux.MulDrop.14 striking Raspberry Pi computers. In a separate posting, the site examines two different Pi-based trojans including Linux.MulDrop.14. That trojan uses your Pi to mine BitCoins some form of cryptocurrency. The other trojan sets up a proxy server.

According to the site:

Linux Trojan that is a bash script containing a mining program, which is compressed with gzip and encrypted with base64. Once launched, the script shuts down several processes and installs libraries required for its operation. It also installs zmap and sshpass.

It changes the password of the user “pi” to “\$6\$U1Nu9qCp\$FhPuo8s5PsQlH6lwUdTwFcAUPNzmr0pWCdNJj.p6l4Mzi8S867YLmc7BspmEH95POvxPQ3PzP029yT1L3yi6K1”.

In addition, the malware searches for network machines with open port 22 and tries to log in using the default Raspberry Pi credentials to spread itself.

Embedded systems are a particularly inviting target for hackers. Sometimes it is for the value of the physical system they monitor or control. In others, it is just the compute power which can be used for denial of service attacks on others, spam, or — in the case — BitCoin mining. We wonder how large does your Raspberry Pi botnet needs to be to compete in the mining realm?

We hope you haven’t kept the default passwords on your Pi. In fact, we hope you’ve taken our previous advice and set up two factor authentication. You can do other things too, like change the ssh port, run fail2ban, or implement port knocking. Of course, if you use Samba to share Windows files and printers, you ought to read about that vulnerability, as well.

Sun Ray Thin Client Becomes Raspberry Pi Workstation

One of the great predictions of desktop computing from the mid 1990s was that we would all move to so-called thin clients, stripped-out desktop computers containing only processor, display driver, and peripheral interfaces, that would call up their applications not from a local hard disk but from a remote server. It was one that was never fulfilled in quite the way its proponents envisaged, but a business thin client hardware market did emerge for the likes of Citrix sharing of Windows applications. In a sense we have reached the same point through cloud-based in-browser applications such as Google Apps or Office 365, though even with newer thin client hardware such as the Chromebook these are still largely used on more traditional machines.

Even though thin clients never took the world by storm, it is still not unusual to encounter the hardware once it has outlived its usefulness. A surplus Sun Ray 270 all-in-one thin client came [Evan Allen]’s way, and to make something useful from it he converted it into a Raspberry Pi workstation.

The Sun Ray 270 has a MIPS processor board integrated into a 17 inch monitor. [Evan] was fortunate enough to find a generic HDMI controller board for its LCD panel, so was able to dispense with the MIPS board entirely and couple the controller with an automatic HDMI switch. This allows him to use the device both as a Raspberry Pi and as a monitor.

This may not rank among the most epic hacks ever, but it has delivered [Evan] a useful computer and it’s reminding the rest of us that these thin clients can be repurposed. So if one lands on your bench, look at it with fresh eyes.

Of course, if you have a Pi in a thin client, you could always take it full circle and use it to run a thin client.

Z80 Based Raspberry Pi Look-alike

Homebrew computers are the ‘in thing’ these days and the Zilog Z80 is the most popular choice for making one on your own. We have seen some pretty awesome builds but [Martin K]’s Z-berry is the smallest on record yet. As the name suggests, the retrocomputer conforms to the Raspberry Pi form factor which includes the GPIO header.

The Z-berry is designed with a Z80 CPU running at 10 MHz (20 MHz possible) and comes with 32 kB ROM
and 512 kB RAM. In addition to the serial interface, the computer boasts an I2C bus, an SPI bus, and a PS/2 keyboard connector to boot. [Martin K] has a video where the finished system is enclosed in a Raspberry Pi case and has an I2C OLED display attached and working.

[Martin K] has posted a lot of details on how to make your own Z-berry which includes the BOM, schematic and preliminary information. We reached out to him to find out more about the software which is stable and available on request along with PCBs and sample code. Additionally, this project promises to draw much less current than the Raspberry Pi and should prove useful for anyone looking to create a retro solution to a modern problem.

It is interesting to see projects that combine modern techniques with retro technologies. One of the best Z80 projects we have seen is the FAP80 and there are some awesome homebrew computer projects on Hackaday.io for you to take a look and get inspiration.
Continue reading “Z80 Based Raspberry Pi Look-alike”

First Thoughts On The New UP Core

I normally stay away from talking about x86 single-board computers because I don’t have a lot to say about them. They’re too expensive, and run too hot, to be interesting. Enter the new UP Core funding now on Kickstarter.

The UP Core is just 56.5 mm × 66 mm (2.2 in × 2.6 in) and powered by a 64-bit Quad Core Intel Atom clocked at either 1.44 GHz or 1.92 GHz. It will ship with either 2 GB or 4 GB of RAM, and either 32 GB or 64 GB of eMMC. The board has a USB 3 port, HDMI, DSI/eDP, and two MIPI-CSI ports supporting either a 2 MP or 8 MP camera. It has both WiFi 802.11 b/g/n and Bluetooth LE built-in.

In other words it’s powerful enough to serve as a desktop PC running Linux, Android, or a full Windows 10 installation. The cheapest UP Core configuration—with 1 GB memory and 16 GB eMMC—is €69, or around $75. Continue reading “First Thoughts On The New UP Core”

How To Build Your Own Google AIY Without The Kit

Google’s voice assistant has been around for a while now and when Amazon released its Alexa API and ported the PaaS Cloud code to the Raspberry Pi 2 it was just a matter of time before everyone else jumped on the fast train to maker kingdom. Google just did it in style.

Few know that the Google Assistant API for the Raspberry Pi 3 has been out there for some time now but when they decided to give away a free kit with the May 2017 issues of MagPi magazine, they made an impression on everyone. Unfortunately the world has more makers and hackers and the number of copies of the magazine are limited.

In this writeup, I layout the DIY version of the AIY kit for everyone else who wants to talk to a cardboard box. I take a closer look at the free kit, take it apart, put it together and replace it with DIY magic. To make things more convenient, I also designed an enclosure that you can 3D print to complete the kit. Lets get started.

Continue reading “How To Build Your Own Google AIY Without The Kit”

The Internet Of Cigars

We know, we know. They are bad for you. You shouldn’t start, but some people do love a cigar. And a fine cigar is pretty particular about drying out. That’s why tobacconists and cigar aficionados store their smokes in a humidor. This is anything from a small box to a large closet that maintains a constant humidity. Of course, who could want such a thing these days without having it connected to the Internet?

This fine-looking humidor uses a Raspberry Pi. When the humidity is low, an ultrasonic humidifier adds moisture to the air. If it gets too high, a fan circulates the air until it balances out. Who knew cigar smoking could be so high-tech? The humidity sensor is an AM2302. There’s also a smart USB hub that can accept commands to turn the fan and humidifier on and off.

The wooden cabinet was an existing humidor, apparently. [Atticakes] says he spent about $100 total but that a commercial equivalent would have been at least $250. You can find his source code on GitHub.

If you are vehemently anti-cigar, we should point out that there are other uses for such a device. Because of Denver’s low humidity, for example, the Colorado Rockies baseball team store game balls in a large humidor.

For the record, a zip lock bag can do in a pinch. Without something, the experts say the cigar starts to change negatively in two or three days.

First networkable humidor we’ve seen? Hardly. If you need something to light that stogie, we suggest a laser.