Playing Connect Four against a mini golfing AI opponent

Have you dreamed of combining the two incredible activities putt-putt and Connect Four together into the same game? Well one daring maker set out to do just that. Bithead’s innovative design involves a mini golf surface with seven holes at the end corresponding to the columns. The system can keep track of where each golf ball is with an array of 42 color sensors that are each connected to one of seven I2C multiplexers, all leading to a single Arduino Uno

Read more…

A DIY Stepper Motor Analyzer Designed for Your 3D Printers

This open source analyzer comes with an easy-to-use setup and tests each and every parameter of a stepper motor.

If you have a 3D printer and want to analyze the stepper motor signals without the use of a computer and expensive stepper analyzer, then this low-cost hardware design can solve your problem. The open source analyzer comes with an easy-to-use setup and can be easily built to give you the capabilities to test each and every parameter of the stepper motor.

Read more…

How to work with a Real Time Operating System and is it any good? (FreeRTOS, ESP32)

Using a real operating system to simplify programming with the Arduino IDE. Is this possible and how? Let’s have a closer look!
Operating systems were invented to simplify our lives. But, because they need a lot of resources, they only run on reasonable computers like the Raspberry Pi or a PC. Right? Wrong. Nowadays, we also get operating systems running on our small MCUs. Particularly interesting in this respect is the ESP32 because it has enough power and memory to accommodate such an additional burden. And the best: It already runs a version of FreeRTOS with all our Arduino sketches, and it is easier than you think. Is this useful?

ArduinoShrink: Faster, Better, Smaller Compiled Arduino Code

This library uses a number of tricks to improve and reduce the size of Arduino sketches.

When you need to do a simple task, a dev board like the Arduino Nano or similar is a great solution. However, as thing start to get more complicated, and your code and implemented libraries stretches on, you may find your microcontroller/board of choice just isn’t up to the task. Fortunately, there are a number of other more capable devices on the market – even several options in the Nano form factor if needed – but what if you didn’t have to upgrade? What if there was a way to reduce your code size, and make it run faster at the same time.

Read more…

Controlling Traffic Lights with Micro Speech

A TensorFlow Lite Micro Speech model that detects wake words and turns on a different coloured LED light to emulate traffic lights.

Machine learning typically involves lots of computing power, and these are usually in the form of a large data center with GPUs and the costs of training a deep neural network can be astronomical. The emergence of tiny neural networks, which are as small as 14 KB, opens a plethora of doors to new applications that can analyze data right on the microprocessor itself and derive actionable insights (Warden and Situnayake, 2019). This saves time and prevents latency because we do not have to transmit data to a cloud data center for it to be processed and wait for it to come back (Warden and Situnayake, 2019). Such a phenomenon is called Edge Computing and allows for data to be processed and computed on the device that it is stored (Lea, 2020).

Read more…