ESP32 DHT11/DHT22 web server – Temperature and humidity using Arduino IDE

ESP32-DHT11-DHT22-Web-Server-Arduino-IDE-featured-image-1-600

A how-to on building an asynchronous ESP32 web server with the DHT11 or DHT22 that displays temperature and humidity using Arduino IDE.

More details on Random Nerd Tutorials.

Check out the video after the break.

Continue reading “ESP32 DHT11/DHT22 web server – Temperature and humidity using Arduino IDE”

#FreePCB via Twitter to 2 random RTs

BP

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.

Qi wireless power receiver from scratch

IMG_20190330_210331-600

Vinod made a Qi wireless power receiver using Attiny13, that is available on GitHub:

I have only two aims while trying this. The receiver should get powered by the transmitter continuously. I should be able to control the power received by adjusting the error packets, in my case I am trying to keep received voltage always 10v.
There are lot more but I am only interested in this two features for now, so I will not be following the complete Qi specs described on the WPC documents, by the way, it worked for me without any issue. This is purely experimental.

See the full post on his blog.

Check out the video after the break. Continue reading “Qi wireless power receiver from scratch”

Teardown of a Spex HS1000 monochromator controller

SPEXHS1000-600

Kerry Wong did a teardown of a SPEX HS1000 monochromator/spectrometer controller:

Monochromator is one of those things that has always fascinated me. Over the years, I have done quite a few experiments (I, II, III) with an EP200Mmd monochromator and it was a lot of fun. Because monochromators are such highly specialized equipment, decent ones are hard to come by at reasonable prices second hand. So my strategy has been to scour eBay once a while and pick up bit and pieces whenever I can.

See the full post on his blog.

Check out the video after the break. Continue reading “Teardown of a Spex HS1000 monochromator controller”

App note: Replacing traditional optocouplers with Si87xx digital isolators

an_silabs_an729

Digital isolator from Silicon Labs app note shows pin compatible plus high performance replacment of incumbent optoisolators, link here (PDF)

Opto-couplers are a decades-old technology widely used for signal isolation, typically providing safety isolation, signal level shifting, and ground loop mitigation. They are commonly used in a wide range of end applications, including data communication circuits, switch mode power systems, measurement and test systems, and isolated data acquisition systems. Optocouplers have several weaknesses, including parametric instability with temperature and device aging, significant internal parasitic couplings, long propagation delay times, narrow operating temperature ranges, and relatively low reliability.

Today’s advanced CMOS signal isolation products offer better timing performance, higher reliability, and lower power consumption compared to optocouplers and are capturing sockets traditionally held by optocouplers. However, converting to CMOS isolation devices has, most often, required circuit changes and PCB modifications that cost money and create design risks, until now.

App note: Introduction to gapped clocks and PLLs

an_silabs_an561

App note from Silicon Labs on the introduction of gapped clocks, how they can be used in network timing, and their impact upon phase locked loop (PLL) technology. Link here (PDF)

Gapped clocks are periodic clock signals of a single clock frequency that have clock pulses removed from their stream. Well-formed gapped clocks do not have reduced width pulses (known as runt pulses). Rather, each individual clock pulse is either completely present or completely absent.

Programmable light controller

PROG-LIGHT-MID-600

Dilshan Jayakody published a new build:

The main objective of this project is to design a maintenance free and low-cost light which automatically turns on and off at the predetermined time of the day.
To meet the above requirement I designed this controller using ATmega8 MCU and DS1307 RTC. The driver stage of this light controller is intended to work with commonly available 7W LED modules.

More details  on his blog.

App note: Miniature, precision negative reference requires no precision resistors

an_maxim_AN824

App note from Maxim Integrated creating voltage negative reference from charge-pump inverter plus positive voltage reference combo. Link here (PDF)

This application note discusses how to build a negative voltage reference without using external resistors or a negative supply by simply combining a simple charge-pump inverter and a positive output voltage reference.

App note: Simple test method for estimating the stability of linear regulators

an_rohm_linear_reg_stability_test

Tips from ROHM Semiconductor to estimate the stability of linear regulator using simple step response method. Link here (PDF)

Low drop-out (LDO) regulators developed back in the age when large-capacitance multi-layer ceramic capacitors (hereinafter, MLCCs) were uncommon cause a phase delay, leading to oscillation when connected to a low-ESR capacitor like an MLCC. Often, MLCCs are used to save board space and prolong the lives of electronic components. A resistor placed in series in the circuit increases apparent ESR and establishes a phase lead that enable the use of an MLCC as an output capacitor. Phase margin measurement is practical on an LDO having variable output voltage, since its feedback loop is outwardly exposed. However, on a fixed output voltage LDO, the phase margin cannot be measured because of its closed loop circuit.

App note: Understanding the safety certification of digital isolators

Understanding the safety certification of digital isolators

This application note summarizes the international safety standards and certifications that apply to digital isolators. Link here

Digital isolators provide signal isolation and the level shifting required for the correct operation of many circuits. Equally important, they insulate the user from electric shock. With basic human safety considerations so pertinent here, these isolators must undergo extensive testing and certification to ensure user safety. This article briefly summarizes the international safety standards and certifications that apply to digital isolators. An example exercise using the MAX1493x family shows how an IC designer must use a data sheet and the standard’s specification tables to determine which digital isolator will be optimal for an application.

Op amp on the Moon: Reverse-engineering a hybrid op amp module

bg001-w200

Ken Shirriff has written an article on reverse engineering a hybrid op amp module:

I recently obtained a mysterious electronic component in a metal can, flatter and slightly larger than a typical integrated circuit.1 After opening it up and reverse engineering the circuit, I determined that this was an op amp built for NASA in the 1960s using hybrid technology. It turns out that the development of this component ties connected several important people in the history of semiconductors, and one of these op amps is on the Moon.

See the full post on his blog.

Piggybacking USB onto an industrial push button

IMG_20190224_105700-600

Glen Akins has written an article detailing his USB-connected big red button project:

In this project, I mount the electronics from my single-key USB keyboard project to the back of an industrial mushroom push button switch. The finished big red button now activates my screensaver with a single overly-large button press. The biggest issues in this project were where to mount the USB electronics and how to connect the USB cable between the button and my computer.

More details on Photons, Electrons, and Dirt blog.

Resistive load, constant-current power supplies, and a 3D printed desk lamp

desklamp-panels-visible-600

Dr. Scott M. Baker published a new build:

In this video, I build a 3D Printed Desk lamp. The basic design came from Thingiverse, but I repurposed my LM2576 Constant-Current design to serve as a dimmer.  It all started when I found an interesting lamp on thingiverse, which used 75mm air hose segments from another model to make a flexible articulating desk lamp. What appealed to me about this project is the size of it, and the use of COB LED panels, which I’ve been wanting to experiment with.

See the full post on his blog.

Check out the video after the break. Continue reading “Resistive load, constant-current power supplies, and a 3D printed desk lamp”

Sound card ECG with AD8232

DSC_0015_lzn-1-600

Scott Harden built a DIY ECG project with AD8232, that is available on Github:

Every few years I revisit the idea of building an ECG machine. This time I was very impressed with how easy it is to achieve using the AD8232, a single-lead ECG front-end on a chip. The AD8232 is small (LFCSP package) but breakout boards are easy to obtain online.

Project info at SWHarden.com.

Check out the video after the break. Continue reading “Sound card ECG with AD8232”

Free PCB Sunday: Pick your PCB

BP-600x373

We go through a lot of prototype PCBs, and end up with lots of extras that we’ll never use. Every Sunday we give away a few PCBs from one of our past or future projects, or a related prototype. Our PCBs are made through Seeed Studio’s Fusion board service. This week two random commenters will get a coupon code for the free PCB drawer tomorrow morning. Pick your own PCB. You get unlimited free PCBs now – finish one and we’ll send you another! Don’t forget there’s free PCBs three times every week:

Continue reading “Free PCB Sunday: Pick your PCB”

App note: Receiving S/PDIF audio stream with the STM32F4/F7/H7 series

an_stm_DM00431633

App note from STMicroelectronics about electrically connecting an external S/PDIF stream to an STM32 with an S/PDIFRX interface peripheral, Link here (PDF)

The Sony/Philips Digital Interface Format (S/PDIF) is a point-to-point protocol for serial and uni-directional transmission of digital audio through a single transmission line for consumer and professional applications. The transmission of data can be done in several ways, by electrical or optical means.

The S/PDIFRX peripheral embedded in STM32 devices is designed to receive an S/PDIF flow compliant with IEC-60958 and IEC-61937, which define the physical implementation requirements as well as the coding and the protocol. These standards support simple stereo streams up to high sample rates, and compressed multi-channel surround sound, such as those defined by Dolby or DTS.

App note: Addressing power supply challenges for after-market electronics and infrastructure

Addressing Power Supply Challenges for After-Market Electronics and Infrastructure

This application note discusses key market trends and customer needs that are presenting new challenges for power supply design for after-market technologies and transport infrastructure automation. This piece will also examine solutions to address these challenges, with a special emphasis on power architecture. Link here

After-market automotive products have driven remarkable innovation, from infotainment and telematics to advanced driver assistance systems (ADAS). Features like GPS, rear-view cameras, and parking sensors are now common in vehicles. There is also a continuous rollout of novel after-market technologies being developed by companies worldwide. Fleet management, on-board diagnostics, heads-up display, and freight control/monitoring are just a few examples of technologies found in cars and trucks, trains, ships, avionics, and defense applications.

Wifi based DIY 5V switcher for led-lights

20181116_112356-600

Albert posted a detailed how-to on building DIY ESP-12F based USB-5V switcher:

5V powered 100LED circuit was consuming around ~1.8Watts(though 5.1Ohm series resistor was really hot) and the brightness of the LED’s were not bad, especially difference between first led and last led brightness didnt bother me it was hardly noticeable when seen from distance. So I decided to use them as a christmas decoration for my garden.
I wanted to use them with battery-bank as there was no power-outlet readily available(for the safety of my children, i would avoid any 230v circuit in my garden especially in wet weather). Also I wanted them to be switchable remotely to avoid going out in the freezing cold. Hence this is what i came up with.. an “ESP-12F based USB-5V switcher”

See the full post on his blog.