SPI Communication with Nuvoton N76E003 MCU to Communicate with Arduino

SPI is a crucial communication protocol that is widely used to communicate among microcontrollers, SD cards, and various other sensors. SPI stands for Serial Peripheral Interface, it's a synchronous data transfer protocol where the master device could communicate with multiple slave devices as well as get data from them.

Circuit Digest 25 Sep 12:46

DIY Ergonomic Game Pad Lends a Hand

Does it seem like everyone you game against can do everything faster than you? Chances are good that they have some kind of dedicated game pad or macro pad with a bunch of custom shortcuts. If you can’t beat ’em, join ’em, but why buy one when you can build your own? [lordofthedum] did the smart thing when they built their own version of the Azeron game pad, which is an outrageously expensive but ergonomic and cool-looking macro pad that reminds us of the DataHand ergonomic keyboard.

Each finger hovers over a C-shaped group of three switches — one actuates by moving the finger forward, another by moving backward, and the third by pushing down like a regular button. The thumb gets a 4-way joystick. All of these inputs are wired up to an Arduino Pro Micro, which has sort of become the standard for DIY macro pads and keyboards. We think this looks fantastic, and really raises the bar for DIY macro pads.

Need a few more keys, but still want a thumb joystick? Check out the smooth and sweet Sherbet game pad.

Open-Source Arduino Shield with a GPU, FPGA, HDMI, and Python Support for Hassle-free Game Designing Experience

Gameduino 3X Dazzler by Excamera Labs is an Arduino shield open-source, easy-to-use, and completely hackable audiovisual platform designed for game designing using Arduino or CircuitPython and projects that require high text visualizations. The shield comprises a BT815 GPU, a Xilinx Spartan-6 FPGA, an HDMI port, and two Wii Classic ports that give users the experience of a plug-and-play game console.

Circuit Digest 22 Sep 10:33

Custom Strain Gauges Help Keep Paraglider Aloft

No matter what they’re flying, good pilots have a “feel” for their aircraft. They know instantly when something is wrong, whether by hearing a strange sound or a feeling a telltale vibration. Developing this sixth sense is sometimes critical to the goal of keeping the number of takeoff equal to the number of landings.

The same thing goes for non-traditional aircraft, like paragliders, where the penalty for failure is just as high. Staying out of trouble aloft is the idea behind this paraglider line tension monitor designed by pilot [Andre Bandarra]. Paragliders, along with their powered cousins paramotors, look somewhat like parachutes but are actually best described as an inflatable wing. The wing maintains its shape by being pressurized by air coming through openings in the leading edge. If the pilot doesn’t maintain the correct angle of attack, the wing can depressurize and collapse, with sometimes dire results.

Luckily, most pilots eventually develop a feel for collapse, sensed through changes in the tension of the lines connecting the wing to his or her harness. [Andre]’s “Tensy” — with the obligatory “McTenseface” surname — that’s featured in the video below uses an array of strain gauges to watch to the telltale release of tension in the lines for the leading edge of the wing, sounding an audible alarm. As a bonus, Tensy captures line tension data from across the wing, which can be used to monitor the performance of both the aircraft and the pilot.

There are a lot of great design elements here, but for our money, we found the lightweight homebrew strain gauges to be the real gem of this design. This isn’t the first time [Andre] has flown onto these pages, either — his giant RC paraglider was a big hit back in January.

Thanks to [mip] for the tip.

Finally, a Differently Useless Machine

Traditionally, the useless machine is a simple one that invites passersby to switch it on. When they do, the machine somehow, some way, turns itself off; usually with a finger or finger-like object that comes out from the box in what feels like an annoyed fashion. Honestly, that’s probably part of what drives people to turn them on over and over again.

But [Bart Blankendaal] has managed to turn the useless machine on its head. When this machine is switched to the on position, unseen forces inside the box will spin the toggle switch around 180° to the off position.

What’s really happening is that an Arduino is getting a signal from the toggle switch, and is then rotating it on a ball bearing with a stepper motor driven through an H-bridge.

It shouldn’t be too hard to make one of these yourself, given that [Bart] has provided the schematic and STLs. If we weren’t living in such touchy times, we might suggest building one of these into your Halloween candy distribution scheme somehow. Sell the switch as one that turns on a candy dispenser, and then actually dispense it after three or five tries.

Many see useless machines as tangible examples of existential quandary. Here is one that takes that sentiment a bit further by snuffing out a candle.

DIY GPS Speedometer using Arduino and OLED

 Displays "No Data" then a small value ie .24 the after 20 seconds appears to lock up.

NANO shows "Low memory available, stability problems may occur"


Could this be causing problem?

Circuit Digest 19 Sep 21:35

Controlling a Broken Super Nintendo With MIDI

A Super Nintendo that has trouble showing sprites doesn’t make for a very good game system. As it turns out, Super Mario World is a lot less fun when the titular hero is invisible. So it’s no surprise that [jwotto] ended up tossing this partially functional SNES into the parts bin a few years back.

But he recently came up with a project that may actually benefit from its unusual graphical issues; turning the glitched console into a circuit bent video synthesizer. The system was already displaying corrupted visuals, so [jwotto] figured he’d just help things along by poking around inside and identifying pins that created interesting visual effects when shorted out.

Installing the new electronics into the SNES.

Once he mapped out the pins, he wired them all up to a transistor switching board that he’d come up with for a previous project. That would let an Arduino short out the pins on command while still keeping the microcontroller relatively isolated from the SNES. Then it was just a matter of writing some code that would fire off the transistors based on MIDI input.

The end result is a SNES that creates visual glitches along with the music, which [jwotto] can hook up to a projector when he does live shows. A particularly neat feature is that each game responds in its own way, so he can swap out the cartridge to show completely different visuals without having to change any of the MIDI sequencing.

A project like this serves as a nice introduction to both circuit bending and MIDI hacking for anyone looking to get their digital feet wet, and should pair nicely with the MIDI Game Boy Advance.

[Thanks to Irregular Shed for the tip.]

Greeking out with Arduinos

Learning a new language is hard work, but they say that the best way to learn something is to teach it. [Angeliki Beyko] is learning Greek, and what better way to teach than to build a vocabulary flash-card game from Arduinos, color screens, 1602 text screens, and arcade buttons? After the break, we have a video from the creator talking about how to play, the hardware she chose, and what to expect in the next version.

Pegboard holds most of the hardware except the color screens, which are finicky when it comes to their power source. The project is like someone raided our collective junk drawers and picked out the coolest bits to make a game. Around the perimeter are over one hundred NeoPixels to display the game progress and draw people like a midway game. Once invested, you select a category on the four colored arcade buttons by looking at the adjacent LCD screens’ titles. An onboard MP3 shield reads a pseudo-random Greek word and displays it on the top-right 1602 screen in English phonetics. After that, it is multiple choice with your options displaying in full-color on four TFT monitors. A correct choice awards you a point and moves to the next word, but any excuse to mash on arcade buttons is good enough for us.

[Angeliki] does something we see more often than before, she’s covering what she learned, struggled with, would do differently, and how she wants to improve. We think this is a vital sign that the hacker community is showcasing what we already knew; hackers love to share their knowledge and improve themselves.

Typing Greek with a modern keyboard will have you reaching for an alt-code table unless you make a shortcut keyboard, and if you learn Greek, maybe you can figure out what armor they wore to battle.

Touring Machine First PCBs!

Last week I submitted PCBs to be fabbed and got them back this week. They look pretty good! I’ve not soldered anything down yet but the footprints are all good except for the rotary encoder mounting holes. The Eagle part I used has them at 2.05mm but they need to be 2.4mm. I need to [...]
Todbot 18 Sep 19:57

18650 Lithium Battery Capacity Tester using Arduino

With the advent of technology, our electronic gadgets and appliances are becoming smaller and smaller with more functional and complex applications. With this increase in complexity, the power requirement of the circuit has also increased and in our quest to make the device as small and as portable as possible, we need a battery which can provide high current for a long period of time and at the same time, weigh much less so that the device should remain portable.

Circuit Digest 18 Sep 12:25