BUS PIRATE: three inexpensive SPI Digital to Analog Converters

As much as possible, we’d like to move control of all the Bus Pirate peripheral hardware to the FPGA. Then everything can be controlled through the state machine command pipeline. In Ultra v1c we moved analog voltage measurement to the FPGA by adding an SPI ADC. In a future revision it would make sense to […]

App note: Core independent voltage window signal detection using a single comparator

Presenting the usage of Core independent paripheral of PICs in this app note from Microchip. Link here (PDF) It is possible to find out whether a measured signal is below or above a certain value/reference using a single comparator. But, what if the desired interval is between two values, the undervoltage and overvoltage protection? The […]

App note: Power supply rejection ratio of low dropout voltage regulators

Here’s an app note about PSRR of LDO from Microchip. Link here (PDF) The Power Supply Rejection Ratio is the ability of a device, such as a Low Dropout Voltage regulator, to reject the various perturbations that can be found in its input supply rail by providing a greatly attenuated signal at the output. Generally, […]

App note: Passive entry door system with proximity sensor

A full implementation of a keyless entry from Microchip. Link here (PDF) The door access systems have evolved from simple physical keys to more sophisticated keyless entry systems. Now, we have a system that automatically unlocks the door when user carrying an access key approaches the door handle. As it does not require any user […]

App note: Low Power POE Flyback Converter

App note from Microchip about their MIC2145 boost switching regulator to do POE Flayback conversion. Link here (PDF) The MIC2145 skip mode controller is used to implement a flyback converter that is intended for use in nonisolated, low power, POE applications. The circuit has a nominal 48V input and supports the POE voltage range of […]

App note: Adding flexibility by using multiple footprints for I2C™ serial EEPROMs

Save PCB space by utilizing EEPROM SOIC-8 area, here’s an application note from Microchip. Link here (PDF) For many years, the 8-lead SOIC package has been the most popular package for serial EEPROMs, but now smaller packages are becoming more commonplace. This offers a number of benefits; the reductions in footprint size and component height […]

App note: Writing to flash and EEPROM on the tinyAVR 1-series

Update your tinyAVR code to access memories when using 1-series tinyAVRs. Link here (PDF) On tinyAVR® 1-series devices, access to Flash memory and EEPROM has been changed from that on previous tinyAVR devices. This means that existing code for writing to Flash and EEPROM on older devices must be modified in order to function properly […]

App note: Grid-connected solar microinverter reference design

A good read from Microchip on the theory behind inverter design connected to grip power. Link here (PDF) There are two main requirements for solar inverter systems: harvest available energy from the PV panel and inject a sinusoidal current into the grid in phase with the grid voltage. In order to harvest the energy out […]

App note: Multiple Capture/Compare/PWM (MCCP): Extending the functionality for low-cost motor control applications

Microchip’s MCCP module on PIC32 devices demonstrate the built-in majority detection filter for simpler motor control drives. Link here (PDF) The motor control industry has been focusing on designing low-cost motor control drives for various applications. The consumer demand for low-cost motor control applications is driving this trend. Microchip has recently introduced the PIC32MM family […]

App note: IR remote control transmitter

IR remote control transmitter application note (PDF!) from Microchip: This application note illustrates the use of the PIC10F206 to implement a two-button infrared remote controller. The PIC10F2XX family of microcontrollers is currently the smallest in the world, and their compact sizes and low cost make them preferable for small applications such as this one. Two […]

App note: Using the Configurable Logic Cell (CLC) to interface a PIC16F1509 and WS2811 LED driver

An application note (PDF!) from Microchip on how to use CLC to interface a PIC16F1509 and WS2811 LED driver: The Configurable Logic Cell (CLC) peripheral in the PIC16F1509 device is a powerful way to create custom interfaces that would otherwise be very difficult. One example is the single-wire PWM signal, used by the WS2811 LEDs, well known in […]

LoRaWAN FeatherWing for Adafruit Feather

  Dan Watson documented a new custom FeatherWing he has designed to add the MicroChip RN2483/RN2903 LoRaWAN module to Adafruit Feather: I have designed some FeatherWings in the past to add a LoRa transceiver module to Feather. I did the LoRa FeatherWing Development Breakout and the LoRa FeatherWing IOX that used the HopeRF RFM95/96(W) modules. […]

Get ready for MPLAB Express, throw away your Arduino

Chas from iradan.com writes: I credit the maker movement with bringing electronics back from the crusty old and lonely electronics hobby back into the main stream. The Arduino is the micro of choice for this army of makers and I conceded it made sense… you install the IDE, plugged in your board into the USB port […]

App note: Low-Power Real Time Clock

An application note (PDF!) on low-power real-time clock from Microchip: This application note uses the Timer1 module, from a mid-range PIC16CXXX microcontroller, to control a low-power real-time clock. Timer1 was chosen because it has its own crystal which allows the module to operate during sleep. The two events that will wake the device from sleep […]

App note: USB Mass storage class on an Embedded Host

Microchip’s application note (PDF!) on USB Embedded Host Mass Storage class: With the introduction of Microchip’s microcontrollers with the USB OTG peripheral, microcontroller applications can easily support USB Embedded Host functionality. One of the most common uses of this capability is to interface to mass storage devices, such as USB Flash Drives and memory card readers. […]

App note: Switch Mode Power Supply (SMPS) Topologies (part I)

Here is an app note (PDF!) from Microchip describing the basics of different SMPS topologies: The industry drive toward smaller, lighter and more efficient electronics has led to the development of the Switch Mode Power Supply (SMPS). There are several topologies commonly used to implement SMPS. This application note, which is the first of a […]

App note: Use and calibration of the internal temperature indicator

Use and calibration of the internal temperature indicator (PDF!), an application note from Microchip: Many PIC16 family devices include an internal temperature indicator. These devices include the PIC16F72X device family, PIC16F1XXX device family, and the PIC12F1XXX device family. The temperature indicator is internally connected to the input multiplexer of the ADC (Figure 1). Refer to […]

App note: Synchronous CCSS Regulator

Capacitor-coupled switched shunt regulator (CCSS) App note from Microchip. App note here. Shunt regulators consist of two elements: a voltage regulator in parallel with the load (the shunt), and a series element between the supply and load to limit current. The parallel shunt regulates voltage by varying its conduction to maintain the desired voltage across […]

App note: HV823 & HV825 EL lamp driver circuits

App note from Microchip on their EL lamp drivers circuits utilizing (Supertex) HV823 and HV825, App note here. This application note presents fourteen EL driver circuits utilizing the Supertex HV823 and HV825 drivers. They have been optimized for a variety of applications and may be used as-is or used as a starting point in designing […]

App note: High-Precision 16-Bit PWM

Technical brief from Microchip on their high-precision 16-Bit PWM modules found on various PIC16 devices. PDF link here The high-precision 16-bit PWM available in various PIC16 devices such as the PIC16F1574, delivers advanced features beyond those found on standard PWM modules. These innovative features allow the user to easily vary phase, duty cycle and offset […]