DIY Arduino based RC transmitter

 

Arduino-RC-Controller-with-14-channels-and-MPU6050-Accelerometer-and-Gyro-600

Dejan over at HowToMechatronics posted a detailed how-to on building DIY Arduino RC transmitter:

Now I can wirelessly control any Arduino project with just some small adjustments at the receiver side. This transmitter can be also used as any commercial RC transmitter for controlling RC toys, cars, drones and so on. For that purpose it just needs a simple Arduino receiver which then generates the appropriate signals for controlling those commercial RC devices. I will explain how everything works in this video through few examples of controlling an Arduino robot car, controlling the Arduino Ant Robot from my previous video and controlling a brushless DC motor using an ESC and some servo motors.

More details on HowToMechatronics’ project page.

Check out the video after the break.

PLA dielectric strength measurement

PLA Dielectric Strength Measurement

Kerry Wong did some experiment measuring the dielectric breakdown voltage of PLA:

In my previous post, I designed and 3D printed a high voltage connector for my Bertan 225-20R high voltage power supply. The silicone high voltage wire I ordered had finally arrived so I made a couple of cables using the connectors I printed. A few of my viewers had questioned the suitability of using PLA as printing material in high voltage applications so I decided to measure the dielectric breakdown voltage of PLA and gather some real-world data.

See the full post on his blog here.

Check out the video after the break.

App note: Simplify home audio systems With the PCM9211 – A versatile audio interface transceiver

an_ti_sbaa300a

A digital interface PCM9211 from Texas Instruments app note. Link here (PDF)

Large-screen HDTVs are selling in huge volumes over last few years, primarily driven by amazing improvements in picture quality & form factor (thinner screens). The form factor constraints from having skinny screens result in tiny built-in speakers that are undersized, under-powered and are typically aimed at wrong direction. Hence sound bars have exploded in popularity as complementary audio system by providing a sound experience that more closely matches the TV’s life-like pictures. In addition, with release of HDMI 2.1 specification we finally have a nocompromise audio solution for HDMI as part of the eARC [enhanced Audio Return Channel]. This tech note reviews eARC and simplified Sound Bar design using PCM9211 and how to interface eARC signals with PCM9211.

App note: Noise suppression for wireless headphones

an_murata_noise_suppression_wireless_headphone

Wireless headphone interference investigation from muRata. Link here

Recently, the popularity of wireless headsets has been growing as the number of situations where people “play sports while listening to music” increases.

Bluetooth is frequently used for communication between smartphones and headsets. However, audio can skip due to communication errors, so countermeasures are required.

This is an extremely important point of user evaluation and a difficult issue to resolve.
Here we depict an actual case to explain the interference mechanism in the device which causes the audio to skip, and key points for improvement to introduce useful countermeasures for solving the problem.
We hope that you will use it as a guide to help your design work proceed more smoothly.

ESP32 (38) – Factory reset

In the previous two posts of this tutorial, I explained how to perform an over-the-air update of the firmware running on the esp32 chip.

Sometimes you may need to revert to the factory firmware, that is the firmware stored in the flash memory when the chip was programmed. Many consumer devices have a button or a pin that, if you press it for some seconds, triggers a reset function:

A10317_image1

In this post I’ll show you how to add this functionality to your project.

Partitions

As explained in a previous post, the flash memory connected to the esp32 chip is divided into some partitions, based on a layout configured when you program the chip.

Partitions that can store firmwares are of the app type. The partition that contains the firmware programmed via USB, has the factory subtype.

The esp-idf framework includes a method to search partitions in the flash memory:

#include "esp_partition.h"
[...]
esp_partition_iterator_t esp_partition_find(
  esp_partition_type_t type, esp_partition_subtype_t subtype, const char* label);

You can specify some filters to narrow down the results (they are not mandatory, use NULL if a filter is not needed): the type of the partition, the subtype and also a specific label.

If you want to look for the partition that contains the factory firmware, you can therefore write:

esp_partition_iterator_t pi = esp_partition_find(
  ESP_PARTITION_TYPE_APP, ESP_PARTITION_SUBTYPE_APP_FACTORY, NULL);

The method returns a partition iterator, that is an object that allows to scroll through the partitions found.

If the search was successful, this object is not NULL and you can get a pointer to the partition with the method:

const esp_partition_t* esp_partition_get(esp_partition_iterator_t iterator);

After the use, it’s important to release the iterator object with:

void esp_partition_iterator_release(esp_partition_iterator_t iterator);

After having obtained the correct partition, that contains the factory firmware, you only have to flag it as the boot partition and restart the chip:

if(pi != NULL) {
  const esp_partition_t* factory = esp_partition_get(pi);
  esp_partition_iterator_release(pi);
  if(esp_ota_set_boot_partition(factory) == ESP_OK) esp_restart();	
}

Demo

In the following video you can see how to perform a factory reset. In the video you can also learn how to “count” the number of seconds a button is pressed to trigger the reset function only after a fixed threshold (3 seconds in my example). Enjoy!

MusiCubes project

MusicCube

Michael Teeuw published a new build:

Now that the MusiCubes tray is assembled and the RFID-sensor and LEDs are working as expected, It’s time to add the last feature of the original concept: invisible capacitive touch sensors to control the volume of the music.

See the full post on Xonay Labs blog. Be sure to see Part 1 and 2.

Check out the video after the break.

App note: The Phytochrome system – Why use far-red?

an_wurth_ANO004a

App note from Würth Elektronik on why plants evolved to use far-red wavelengths and why it is essential for them. Link here (PDF)

The light requirement of plants is now known to be far more complex than originally thought leading to the development of numerous LED technologies that produce a variety of different light spectra, both monochromatic and polychromatic.

Far-red encompasses wavelengths 700 – 800 nm, a region of light that is on the edge of visibility in humans. However, these wavelengths have been proven to result in faster growth, increased biomass and better sensory characteristics (e.g. smell, taste, texture, color).

App note: CeraLink® Capacitors

an_tdk_ceralink

Compact and high capacitance ceramic capacitors from TDK electronics. Link here (PDF)

CeraLink is a family of very compact capacitors for stabilizing voltages in the DC link. They are therefore suitable for use as either snubber or DC link capacitors. These products are based on PLZT ceramics and are designed to provide engineers with compact components optimized for fast switching converters, converters with very tight space requirements and converters that need to withstand high operating temperatures. The basic component is a ceramic chip which either is manufactured with lead frames or which can be combined modularly to form capacitors with higher capacitance values.

Regaining debug access of NXP i.MX RT1064-EVK executing WFI

i.MX-RT1064-EVK-Boar

Erich Styger writes:

Working with low power modes can be challenging. It can severely affect debugging capabilities of a microprocessor or microcontroller. I ported a FreeRTOS application using the Tickless Idle Mode to the NXP i.MX RT1064 board, and all of a sudden, the board was unresponsive to any debugger connection. Luckily the board was not really bricked, but it took me while to find a way to recover it. So for when you end up in a situation with a ‘bricked’ i.MX RT1064 board, this article might be helpful for you to recover it.

More details on MCU on Eclipse blog.

Polar Coaster drawing machine

20181219_213454-600

Barton Dring designed and built a Polar Coaster drawing machine to draw custom, round drink coasters:

I recently decided to update the Polar Coaster project. The primary reason was to update the controller to use Grbl_ESP32 firmware. I also thought I could make it smaller, lighter and remove a little cost.
The old controller was not custom made and just sort of tacked onto the back. This increased the size and didn’t look very good. It had a Bluetooth module, but you still had to stream the gcode. You could use an Android app, but that was still a little awkward.
The controller runs Grbl_ESP32. This was recently updated to include pen machine features. This allows precise control and calibration of the pen servo. You can control the speed, timing and endpoints of the servo travel.

Project info at Buildlog.Net blog.

Check out the video after the break.https://www.youtube.com/watch?v=7_aS0PbP8HY