An Exceptional BASIC Computer

BASIC

Since [Dan] has started using microcontrollers, he’s been absolutely fascinated by the fact these chips are essentially low performance computers. Once he caught wind of TinyBASIC, he decided he would have a go at creating a simple, tiny computer that’s very simple to the old, tiny, 8-bit computers of yore.

The computer is built on an Arduino shield, using TinyBASIC, the TVout library, and the PS/2 keyboard library. After piecing together a little bit of code, the Arduino IDE alerted [Dan] to the fact the TVout and PS/2 libraries were incompatible with each other. This inspired [Dan] to use the ATMega328P as a coprocessor running the TVout library, and using the capacious ATMega1284P as the home of TinyBASIC and the PS/2 library.

A circuit was put together in Fritzing using minimal components, and a PCB milled out of copper board. After the board was tinned, [Dan] had a beautiful minimalist retro computer with nearly 14kB of RAM free and an RCA display.

Future versions of the build will probably be based around the Arduino Mega, allowing for a TV resolution of 720×480. Also on tap are an SD card slot, LEDs, pots, and possibly even headers for I2C and SPI.

Using SIMMs To Add Some Extra RAM On Your Arduino UNO

A Single In-line Memory Module (SIMM) is a type of memory module containing Random Access Memory (RAM) which was used in computers from the early 1980s to the late 1990s (think 386, 486, Macintoshs, Atari STE…). [Rafael] just made a little library that allows you to interface these modules to the Atmega328p-based Arduino UNO in order to gain some memory space. His work was actually based on the great Linux on the 8bit ATMEGA168 hack from [Dmitry Grinberg] but some tweaks were required to make it work with [Rapfael]’s SIMM but also to port it to the Arduino platform. The 30-pin SIMM shown above is capable of storing up to (hold on to your chairs…) 16MB but due to limited amount of available IOs on the Atmega328p only 256KB can be used. Our guess it that an SPI / I2C IO extender could lift this limitation. A quick (shaky) video is embedded after the break.

Continue reading “Using SIMMs To Add Some Extra RAM On Your Arduino UNO”

Serial Monitor Without A PC

serial01

A serial monitor is an easy way to debug your projects. As we step through code, it’s nice to see a “Hey! I’m working, moving to next thing!” across the monitor, and not so nice to see nothing – the result of a bug that needs debugging. This has always meant needing a PC loaded with your favorite serial terminal program close at hand.

Most of the time this is not an issue, because the PC is used to compile the code and program the project at hand. But what if you’re in the field, with a mission of fixing a headless system, and in need a serial monitor? Why lug around your PC when you can make your own External Serial Monitor!

[ARPix] built this fully functional serial monitor based on an Atmega328 and a 102 x 64 LCD display. While it doesn’t have a keyboard port like this microcontroller based serial terminal, tact switches allow access to the user interface to start and stop the reading and set the baud rate. The Atmega328 has 2K of SRAM, which is needed for the project. Apparently, 1K was not enough to handle all the data. All code, schematics and a very well done parts layout are available, making this sure to be your next weekend project!

 

 

 

Arduino-Controlled Marquee Arrow Points The Way To Whatever You Like

Reader [pscmpf] really digs the scrolling light look of old marquee signs and as soon as he saw some Christmas lights with G40 bulbs, he was on his way to creating his own vintage-look marquee arrow.

We must agree that those bulbs really do look like old marquee lights or small vanity globes. [pscmpf] started by building, varnishing, and distressing the wooden box to display the lights and house the electronics. He controls the lights with an Arduino Pro and an SSR controller board. The 24 lights are divided into ten sections; each of these has its own solid-state relay circuit built around an MC3042 as the opto-coupler, with a power supply he made from a scrap transformer.

[pscmpf] shares some but not all of his code as it is pretty long. There are five patterns that each play at three different speeds in addition to a continuous ‘on’ state. In his demonstration video after the jump, he runs through all the patterns using a momentary switch. This hack proves that Arduino-controlled Christmas lights are awesome year-round.

Continue reading “Arduino-Controlled Marquee Arrow Points The Way To Whatever You Like”

Throwback Handheld Built With Modern Hobby Hardware

magpi-gaming-handheld

Remember all of those fantastically horrible handheld LCD games that hit the toy stores back in the ’90s. You know, the ones that had custom LCD screens to make for some fake animation. Here’s an example of what those should have been. It’s an LCD-based handheld with some soul.

The entire thing is roughly the size of a television remote, with a 3D printed case making it very presentable. But looking at the wiring which hides inside proves this is one-of-a-kind. The Arduino Pro Mini is probably the biggest difference in technology from back in the day compared to now. It has plenty of space for all of the different settings and games shown off in the clip below. The user interface itself is definitely a throw-back though. The Nokia 3310 screen boasts a whopping 84×48 pixel monochrome area. There are four buttons serving as a d-pad, and two as action buttons. Perhaps the greatest feature (besides the printed case we already mentioned) is the ability to recharge the internal battery via USB.

[Zippy314] built this with his son. What’s more fun: learning to program the games, or mastering them and discovering the bugs you missed along the way?

 

Continue reading “Throwback Handheld Built With Modern Hobby Hardware”

LightByte: Animated Shutters

lighrbright

Here’s another interesting project to come out of the MIT Media Lab — it’s called LightByte, and it’s all about interacting with sunlight and shadows in a new, rather unorthodox way.

We suppose its technical name could be a massive interactive sun pixel facade, but that’s a bit too much of a mouthful. What you really want to know is how it works, and the answer is, a lot of servos. We weren’t able to find an exact number but the hardware behind LightByte includes well over 100 servos, and a matrix of Arduinos to control them. While that is quite impressive by itself, it gets better — it’s actually completely interactive; recognizing gestures, responding to text messages and emails, and you can even draw pictures with the included “wand”.

Continue reading “LightByte: Animated Shutters”

Arduino Controlled Dahlander Motor Switch

 

Dahlander Switch

[Jean-Noel] is fixing a broken Lurem woodworking machine. This machine uses a three-phase Dahlander motor, which has three operation modes: stop, half speed, and full speed. The motor uses a special mechanical switch to select the operating mode. Unfortunately, the mechanical bits inside the switch were broken, and the motor couldn’t be turned on.

To solve the problem without sourcing a new switch, [Jean-Noel] built his own Arduino based Dahlander switch. This consists of three relays that select the wiring configuration for each speed mode. There’s also a button to toggle settings, and two lamps to show what mode the motor is currently in.

The Arduino runs a finite-state machine (FSM), ensuring that the device transitions through the modes in the correct order. This is quite important, since the motor could be damaged if certain restrictions aren’t followed. The state machine graph was generated using Fizzim, a free tool that generates not only FSM graphs, but also Verilog and VHDL code for the machines.

The final product is housed in a DIN rail case, which allows it to be securely mounted along with the rest of the wiring. The detailed write-up on this project explains all the details of the motor, and the challenges of building this replacement switch.