PSoC5 Grbl with Native USB

usb

bdring at Buildlog.Net writes:

I added native USB support to my PS0C5 port of Grbl. The PSoC has USB capability on the chip. It also has a component for using it as a USB UART (CDC Interface). This means it looks like a serial port to the connected PC and uses the standard CDC interface driver that most OS have.
I am currently only using this on the PSoC5 development board so I am comfortable using their VID and PID values. If I make some custom hardware and distribute it, I will need to get my own.

See the full post on Buildlog.net blog.

#FreePCB via Twitter to 2 random RTs

IRToy-600x369

Every Tuesday we give away two coupons for the free PCB drawer via Twitter. This post was announced on Twitter, and in 24 hours we’ll send coupon codes to two random retweeters. Don’t forget there’s free PCBs three times a every week:

  • Hate Twitter and Facebook? Free PCB Sunday is the classic PCB giveaway. Catch it every Sunday, right here on the blog
  • Tweet-a-PCB Tuesday. Follow us and get boards in 144 characters or less
  • Facebook PCB Friday. Free PCBs will be your friend for the weekend

Some stuff:

  • Yes, we’ll mail it anywhere in the world!
  • Check out how we mail PCBs worldwide video.
  • We’ll contact you via Twitter with a coupon code for the PCB drawer.
  • Limit one PCB per address per month please.
  • Like everything else on this site, PCBs are offered without warranty.

We try to stagger free PCB posts so every time zone has a chance to participate, but the best way to see it first is to subscribe to the RSS feed, follow us on Twitter, or like us on Facebook.

Controlling an HMC624LP4E RF attenuator using Arduino

HMC624LP4EArduino-600

Kerry Wong writes:

For simplicity, I used a single rotary encoder for controlling the attenuation. In order to prevent accidentally changing the set attenuation value, I used the built-in switch of the rotary encoder as the lock/adjust control. The idea is that the attenuation value can only be adjusted when the switch is in the “adjust” state and the attenuation value is set once the switch changes from adjust to the lock state. When the switch is in the “locked” state, adjusting the rotary encoder has no effect on the digital attenuator. The current attenuation value is displayed on a 1×16 LCD. For more details, you can find the Arduino code listing towards the end of this post along with a video demonstrating this control interface.

More details on Kerry Wong’s blog.

Check out the video after the break.

A limited attenuation high-pass filter for the KiwiSDR

limited_10MHz_HPF_inside_1a-600

KA7OEI published a new build:

One of the issues common with using a broad-band, direct-sampling SDR (software-defined radio) like the KiwiSDR is that of overload by strong, low-frequency signals, such as those on the AM (mediumwave) broadcast band – but there’s another problem that should be considered as well:  The high generally-high signal levels at lower HF frequencies.  If one looks at an spectrum analyzer connected to a broad-band receive  antenna during the evening, one will immediately note that the lower the frequency, the higher the signals seem – particularly the background noise.

See the full post on KA7OEI’s blog.

App note: USB Type-C protection and filtering

an_stm_DM00294046

STMicroelectronics’ solution for simplifying USB Type-C protection and filtering using transient voltage suppressors, common mode filtering and proper board layout. Link here (PDF)

The USB interface has been present on the market for nearly 2 decades and thanks to that, nowadays it is quite obvious for everybody to connect electronic devices in this manner. However, the presence of different types of connectors: type A, type B, mini USB, micro USB etc., makes difficult and complicated the choice of the right one. For this reason USB Type-C, a unique connector to drive audio and power data up to 5 or 10 Gbps, is now available.

Due to the fact that for its own nature a connector is a link to the outside world, it may be exposed to a lot of disturbances which can ruin the transceivers. Moreover, the high-speed links radiate therefore an efficient filter has to be used to solve antenna desense.

STMicroelectronics has developed some specific protection devices and common mode filters with optimized performance and layout.

Dual ultrasonic sensors combine for 2D echolocation

F4UGJR8JIXQHU3D-600

A how-to on making a Dual-sensor ultrasonic echo locator by lingib, project instructables here:

This instructable explains how to pinpoint the location of an object using an Arduino, two ultrasonic sensors, and Heron’s formula for triangles. There are no moving parts.
Heron’s formula allows you to calculate the area of any triangle for which all sides are known. Once you know the area of a triangle, you are then able to calculate the position of a single object (relative to a known baseline) using trigonometry and Pythagoras.
The accuracy is excellent. Large detection areas are possible using commonly available HC-SR04, or HY-SRF05, ultrasonic sensors.
Construction is simple … all you require is a sharp knife, two drills, a soldering iron, and a wood saw.

Via Arduino Blog.

Check out the video after the break.

Wavecatcher

IMG_4753-600

Anfractuosity published a new build:

“Acoustic cryptanalysis is a type of side channel attack that exploits sounds emitted by computers or other devices”

Wavecatcher is a simple PCB that makes use of a MEMS ultrasound microphone, in order to capture audio to around 80kHz, with the goal
of finding interesting ultrasound sources and playing with exfiltrating data from SMPSs etc. via ultrasound.

See the full post on Anfractuosity’s project page and the GitHub repository here.

Electronic key tear down

dallas_top-600

Tear down of an Electronic key  from Electronupdate:

In the mid 1980’s a company called Dallas Semiconductor was producing a wide range of small RAMs with integrated battery backup. One of the more unusual item was an early attempt at an electronic key: a user would be issued a key which could then be typically used to allow access to equipment and to keep track of usage. Not very secure by today’s standards…. but an interesting data point.
Opening it up shows that it had two major parts: a silicon die and a battery. The amount of ram on the die was very small, 256 bits!

More details on Electronupdate blog.

Check out the video after the break.

ESP32 with multiple DS18B20 temperature sensors

multiple-ds18b20-temp-sensor-thumbnail-600

Guide to ESP32 with multiple DS18B20 temperature sensors from Random Nerd Tutorials:

This guide shows how to read temperature from multiple DS18B20 temperature sensors with the ESP32 using Arduino IDE. We’ll show you how to wire the sensors on the same data bus to the ESP32, install the needed libraries, and a sketch example you can use in your own projects. This tutorial is also compatible with the ESP8266 and the Arduino boards.