HT48R002 A Very Cheap OTP MCU as Low as $0.085/Unit

A highlight from CNXSoft about Holtek HT48R002 MCU as the cheapest MCU.
HT48R002 is a 8-Bit OTP (One Time Programming) MCU with the following key features (datasheet):

  • 8-bit RISC MCU @ 8MHz.
  • 1K x 14-bit ROM (OTP).
  • 64 x 8-bit RAM data memory.
  • 6x I/O including 1x external interrupt pin, and 1x 8-bit timer.
  • Two oscillators –  Internal high speed RC: HIRC; Internal low speed RC: LIRC.
  • Fully integrated internal 8MHz oscillator requires no external components.
  • Low voltage reset function Operating Voltage – 2.3 to 5.5V.
  • Package types: 8-pin DIP/SOP, 10-pin MSOP and 16-pin DIP/NSOP

T48R002-8-SOP

As we mentioned, this MCU has OTP ROM which means that you can program it with your code just one time. If your end product will not have any update in the firmware, then OTP MCUs will be a good choice for you.

If you’re still searching for another cheap MCU, not OTP one, that costs $0.32 per unit for 1k orders, it’s PIC10F200 from MICROCHIP a 8-bit MCU with 256B flash and 16B RAM, available in either SOT-23 or 2×3 DFN packaging.

Via: cnx-software

DIY ECG with 1 op-amp

IMG_7570-1-640x480

A DIY ECG made from single op-amp (LM741) and 5 resistors by Scott Harden:

I made surprisingly good ECG from a single op-amp and 5 resistors! An ECG (electrocardiograph, sometimes called EKG) is a graph of the electrical potential your heart produces as it beats. Seven years ago I posted DIY ECG Machine on the Cheap which showed a discernible ECG I obtained using an op-amp, two resistors, and a capacitor outputting to a PC sound card’s microphone input.

DIY ECG with 1 op-amp – [Link]

PCB layout tips for thermal vias

thermal-vias

Paul Rako @ edn.com discuss about thermal PCB layout tips.

Texas Instruments’ WEBENCH is a neat program, especially because it has Mentor Graphic’s FloTherm built in to help you see the hot spots in switching regulators. This is what taught me that a modern buck regulator will have more heat coming out of the catch diode than the pass FET. It made perfect sense once I saw the heat diagram. After all, a diode has 0.6 to 0.9V across it, while a modern FET has such low on-resistance it hardly drops any voltage at all.

PCB layout tips for thermal vias – [Link]

RELATED POSTS

Space Invaders FPGA Game

img_0678

Patsiatzis Nikos and Katsaros Nikos build the space invaders game using a ZedBoard FPGA. The project’s code is available on github.

This two person project was completed through the course of Embedded Systems at the University of Thessaly, Department of Computer Engineering. In the context of this game we implemented the classic space invaders game using a zedboard fpga. The code is in Verilog and you can find it on github . The project consists of 3 parts. First the connection with the monitor through the vga interface, the game logic and the sprite memory modules.

Space Invaders FPGA Game – [Link]

An isolated analog input for Arduino

VF1 isolated converter

Giovanni Carrera designed a circuit that accepts input voltage from about 20mV to 5V or a current of 4 to 20 mA and converts it to a isolated frequency signal.

A voltage to frequency converter can realize an opto-isolated analog input for Arduino or other microcontroller systems. This circuit is particularly suitable for industrial control plants with 4-20mA sensors.

An isolated analog input for Arduino – [Link]

How to Measure LUX With Arduino

FZW2RM8IRF7SHVN.MEDIUM

In this tutorial uses the Adafruit TSL2561 sensor to measure LUX with Arduino.

The TSL2561 luminosity sensor is an advanced digital light sensor, ideal for use in a wide range of light situations. Compared to low cost CdS cells, this sensor is more precise, allowing for exact lux calculations and can be configured for different gain/timing ranges to detect light ranges from up to 0.1 – 40,000+ Lux on the fly.

How to Measure LUX With Arduino – [Link]

CIRCUIT WIZARD – Circuit Simulator for begginers

Circuit wizard is one of the good simulators for beginners. Here the tutorial explains how to draw and simulate a circuit in circuit wizard simulator

CIRCUIT WIZARD – Circuit Simulator for beginners – [Link]

How to Set Up WiFi on the Raspberry Pi

circuitbasics.com show us how to setup a Wifi dongle using SSH connection.

Now I’ll explain how to use that SSH connection to setup a WiFi dongle so you can run your Raspberry Pi wirelessly from a remote desktop application. This is a really useful way to set up your Raspberry Pi, because you will be able to access your it over the internet from anywhere in the world. You can use it from your iPhone, iPad, or Laptop from anywhere with an internet connection.

How to Set Up WiFi on the Raspberry Pi – [Link]

Soft Latch Power Switch Circuit

Dаvid Jones through his Youtube channel EEVblog described in detail how to design a cheap soft latch power switch circuit, using one push button switch to toggle your circuit power on and off with the following design requirements:

  1. Zero power when off.
  2. One on/off switch.
  3. Standalone(no MCU).
  4. General components only (Diodes, Transistors, ..ect).
  5. Minimal parts.

First Basic Circuit

SLPW_cir1

A passing transistor is between the input and the output, with another latching transistor.

When we initially power on the circuit, it will be off because the passing transistor is off and so the latching transistor is off (like the egg and chicken). When we turn on the “ON” switch, the passing transistor is on, so the current flows from input to output and therefor the latching transistor is on. To turn it off, press the “OFF” button and the latching transistor is off, and the passing transistor is off.

SLPW_cir1H

First design uses 2 switches and we are looking forward a circuit with one switch only, so let us get a look to the next circuit design.

Second Circuit

SLPW_cir2

When we push the button, the transistor connected to the gate of passing MOSFET will be on, and therefor the passing transistor will be on, on the right side the BJT will be on driving the line down to ground. So next time when you press the the button the transistor connected to gate will be off.

The capacitor connected to base of right side transistor is used to prevent the oscillating on/off while the pressing of the button needs milliseconds and the transistors works much faster.

To see an experiment of the design and to learn more details, check David’s video bellow:

New Alcohol Monitoring System from University of California, San Diego

A new alcohol monitoring system from UCSD consists of a temporary and one-time use tattoo that clings to the human skin and a flexible electronic board that attaches to the tattoo magnetically transfers the results of sensing the blood alcohol concentration via Bluetooth to a smart device paired with it.

The UCSD researchers tried to design the system in a less bulky and less expensive approach. The device uses an electrochemical sensor to measure ethanol molecules emitted through our skin.

tattoo-alcohol

To know more about the results of using this device and how this electrochemical sensor works, read the paper published in ACS Sensors journal.

Via: IEEE SPECTRUM