GestIC Controller Enables One-step Design-in of 3-D Gesture Recognition

Microchip Technology recently announced a new addition to its patented GestIC family. The new MGC3030 3-D gesture controller features simplified user-interface options focused on gesture detection, enabling true one-step design-in of 3-D gesture recognition in consumer and embedded devices. Housed in an easy-to-manufacture SSOP28 package, the MGC3030 expands the use of 3-D gesture control features to high-volume, cost-sensitive applications such as audio, lighting, and toys.GestIC

The simplicity of gesture-detection integration offered by the MGC3030 is also achieved through Microchip’s free, downloadable AUREA graphical user interface (GUI) and easily configurable general-purpose IO ports that even allow for host MCU/processor-free usage. The MGC3030’s on-chip 32-bit digital signal processor executes real-time gesture processing, which eliminates the need for external cameras or controllers for host processing and allows for faster and more natural user interaction with devices.

The MGC3030 makes full use of the GestIC family development tools, such as Microchip’s Colibri Gesture Suite, which is an on-chip software library of gesture features. Intuitive and natural movements of the human hand are recognized, making the operation of a device functional, intuitive, and fun. Without the need to touch the device, features such as Flick Gestures, the Air Wheel, or the proximity detection perform commands such as changing audio tracks, adjusting volume control or backlighting, and many others. All gestures are processed on-chip, allowing manufacturers to realize powerful user interfaces with very low development effort.

Unique to GestIC technology, the programmable Auto Wake-Up On Approach feature begins operating in the range of 100-µW power consumption, enabling always-on gesture sensing in power-constrained applications. If real user interaction is detected, the system automatically switches into full sensing mode and alternates back to auto wake-up mode once the user leaves the sensing area. These combined features and capabilities provide designers with the ability to quickly integrate gesture detection features at price points that are ideal for high-volume devices.

Also available is Microchip’s Woodstar MGC3030 Development Kit (DM160226). The $139 kit is available via any Microchip sales representative, authorized worldwide distributor, or microchipDIRECT (www.microchip.com/Dev-Kit-012015a). The kit comes with the AUREA GUI, the central tool to parameterize the MGC3030 and the Colibri Suite to suit the needs of any design. AUREA is available via a free download at www.microchip.com/AUREA-GUI-012015a. The Colibri Gesture Suite is an extensive library of proven and natural 3-D gestures for hands and fingers that is preprogrammed into the MGC3030.

The MGC3030 featuring GestIC technology is available in a 28-pin SSOP package. Each unit costs under $2 each in high volumes.

Source: Microchip Technology

Microcontroller-Based Duodecimal Clock Project

Programmers and embedded circuit designers know that decimal is not the preferred number system for digital devices. Binary, octal, and hexadecimal numbers rule the day, so they’re comfortable using strange number systems. Clocks are essentially duodecimal, or base-12, devices. Devlin Gualtieri designed a two-digit clock that only an engineer would love (and know how to read).

The seven-segment LED displays were mounted on the foil side of a single-sided circuit board. I used single-row, in-line sockets to facilitate soldering. The sockets also elevated the displays above the circuit board and the SMT resistors placed beneath the displays.

The seven-segment LED displays were mounted on the foil side of a single-sided circuit board. I used single-row, in-line sockets to facilitate soldering. The sockets also elevated the displays above the circuit board and the SMT resistors placed beneath the displays.

In Circuit Cellar 294, Gualtieri writes:

Digital timekeeping has supplanted mechanical timekeeping not simply because it’s usually more accurate, but because it’s inexpensive. Digital alarm clocks are available everywhere for about $10. You can build the clock in this article for a few dollars more, but with a larger share of satisfaction.

Many years ago, I started designing with Microchip Technology PIC microcontrollers. Since I now have the necessary tools for PIC development, it would be hard for me to change. Fortunately, there’s no reason for change, since PIC microcontrollers are adequate for most embedded designs, and they’re quite inexpensive. This design uses the PIC16F630 microcontroller.

PIC microcontrollers have a built-in oscillator with about a percent accuracy, which is reasonable for many embedded applications. This accuracy comes from digitally trimming an internal resistor-capacitor oscillator on the chip. One percent accuracy is not adequate for a clock, since that would be a quarter of an hour’s error each day.

It is possible to use an inexpensive 32.768-kHz tuning fork crystal with a PIC. This frequency is useful for clocks, since a power of two will divide this frequency to 1 Hz. However, this slow clock rate prevents rapid computation and some useful functionality, so I didn’t use such a crystal in this circuit. Instead, I used a half-sized 10.000-MHz TTL canned oscillator. Canned oscillators are easy to use, highly accurate, and not too expensive.

Seven-segment LED displays are common circuit items, and this clock has a two-digit LED display. One digit is for hours, and the other digit is for the twelfth fraction of the hour. It’s straightforward to display the numbers, zero through nine, on a seven-segment display, but 10, 11, and 12 pose a slight problem. The problem of the twelfth hour disappears when we use zero for that digit. This convention is familiar to most technical people.

In the hexadecimal convention, 10 is represented by an “A,” and 11 is represented by a “B.” A capital letter “A” is easy to show on a seven-segment display, but a capital letter “B” looks just like an eight. As a compromise, we could use a lowercase “b,” instead.

We could also use a capital “E,” for 11, but having an “E” follow an “A” disturbs my hexadecimal sensibility. Although I’m not dyslexic, when I see a “b” on a seven-segment display, I think “six.” Another common notation, which I learned in my elementary school “new math” courses, is to use “t” for 10 and “e” for 11. Figure 1 shows possible number representations for ten and eleven, including the ones I chose for this clock.

Representing 10 and 1 on a seven-segment display. The “t” representations are somewhat abstract, but they can’t be confused with other characters. The last pictured in each category are my choices, since they’re easiest to read.

Representing 10 and 1 on a seven-segment display. The “t” representations are somewhat abstract, but they can’t be confused with other characters. The last pictured in each category are my choices, since they’re easiest to read.

Gualtieri goes on to describe the circuitry.

One way to minimize I/O pin count in a microcontroller circuit is to use multiplexing whenever possible. If we were to drive each seven-segment display and their decimal points individually, we would need 16 output pins. If we multiplex, we need just nine; that is, eight for the segments and decimal point, and one extra for the digit select.
The segments on the displays need a reasonably high current, and they also need about 4.5 V drive. That’s because they’re 1″ displays with two LEDs connected in series for each segment. For this reason, the display chips are driven from a 12-V supply, and the microcontroller interfaces with two 7406 TTL open-collector inverter/driver chips. Green displays were used, but other colors are available.

Digit select is easily accomplished with two transistors, also driven by sections of a 7406. The 5-V power for the PIC microcontroller and the clock oscillator is derived from a voltage regulator powered by the 12-V supply. A 12-V “wall wart” is a safe and convenient way to power this circuit, which is shown in Figure 2. The maximum current draw for my circuit was 250 mA. The circuit has two buttons for setting the clock by ramping the digits up or down.

This is the duodecimal clock’s circuitry. One nice thing about most embedded systems projects is that the software allows reduction in hardware complexity.  The particular displays used were green Lumex LDS-AA12RI displays.

This is the duodecimal clock’s circuitry. One nice thing about most embedded systems projects is that the software allows reduction in hardware complexity. The particular displays used were green Lumex LDS-AA12RI displays.

The nearby photo shows the the clock mounted in a custom case. You can see an AM/PM dot and the seconds flashing dot. The time setting buttons are mounted at the rear of the enclosure, but you could place them anywhere. A green filter increases the digit contrast.

The clock mounted in a custom case

The clock mounted in a custom case

The complete article appears in Circuit Cellar 294 (January 2015).

Microchip Joins Linux Foundation & Automotive Grade Linux

Microchip Technology recently announced that it joined The Linux Foundation and Automotive Grade Linux (AGL), which is an open-source project developing a common, Linux-based software stack for the connected car. Additionally, Microchip has begun enabling designers to use the Linux operating system with its portfolio of MOST network interface controllers.Microchip MOST

AGL was built on top of a stable Linux stack that is already being used in embedded and mobile devices. The combination of MOST technology and Linux provides a solution for the increasing complexity of in-vehicle-infotainment (IVI) and advanced-driver-assistance systems (ADAS).

The MOST network technology is a time-division-multiplexing (TDM) network that transports different data types on separate channels at low latency and high quality-of-service. Microchip’s MOST network interface controllers offer separate hardware interfaces for different data types. In addition to the straight streaming of audio or video data via dedicated hardware interfaces, Microchip’s new Linux driver enables easy and harmonized access to all data types. Besides IP-based communication over the standard Linux Networking Stack, all MOST network data types are accessible via the regular device nodes of the Linux Virtual File System (VFS). Additionally, high-quality and multi-channel synchronous audio data can be seamlessly delivered by the Advanced Linux Sound System Architecture (ALSA) subsystem.

Support is currently available for beta customers. The full version is expected for broad release in October.

Source: Microchip Technology

Microcontroller-Based Control Display Component

Jerry Brown, a California-based aerospace engineer, designed and built (both the hardware and software) an MCU-based computer display component (CDC) for a traffic-monitoring system. The system with the CDC is intended for monitoring and recording the accumulative count, direction of travel, speed, and time of day for vehicles that pass by.

In his November 2014 Circuit Cellar article, “MCU-Based Control Display Component,” Brown explained:

For the past five years, I have been working on an embedded project that you might find interesting. As part of a traffic-monitoring system (TMS) developed by a colleague (a retired aerospace/aeronautical engineer), whereby traffic flow on city streets and boulevards is monitored, I designed and built (both the hardware and software) a dual Microchip Technology PIC18F4520 microcontroller-based control display component (CDC, see Photo 1). My motivation to develop the CDC came about as a result of my chance meeting with my colleague when we were both judges at the local county-wide science fair. He explained the concept of the TMS to me and his motivation for developing it and said he needed an electrical engineer to design and build the CDC. Would I be interested? You bet I was.

Photo 1: Fully functional CDC prototype

Photo 1: Fully functional CDC prototype

Brown went on to describe system.

The TMS comprises a dual laser beam transmitter, a dual sensor receiver, and the CDC (see Figure 1). It is intended for unmanned use on city streets, boulevards, and roadways to monitor and record the cumulative count, direction of travel, speed, and time of day for vehicles that pass by a specific location during a set time period (e.g., 12 to 24 hours).

Figure 1: Traffic Monitoring System showing the Laser Beam Transmitter, the Sensor Receiver and the Control Display Component

Figure 1: Traffic Monitoring System showing the Laser Beam Transmitter, the Sensor Receiver and the Control Display Component

The transmitter, which is placed on one side of the roadway at the selected measurement-monitoring location, has two laser diodes (in the red color spectrum about 640-to-650-nm wavelength) spaced 12″ apart. The receiver has two photo transistor detectors also spaced 12″ apart. The transmitter is positioned directly across the roadway from the receiver as nearly orthogonal as possible. In operation, the two laser diodes in the transmitter continually emit a pair of parallel beams a small distance above the road surface, and the beams are aligned so that they impinge on the two photo sensor arrays in the receiver across the road. When a vehicle passes through the monitoring location, one beam is interrupted and, a short time later, the second beam is interrupted. The CDC electronics and software accurately measures the time differential between the sequential beam interruptions to determine vehicle speed and, depending on which beam is interrupted first, determines the direction of travel. The CDC—which counts the passing vehicles accumulatively and calculates and displays vehicle speed, direction of travel, and time of event on an LCD—is electrically connected to the receiver. All traffic-monitoring data including the time of each interruption event is recorded on a Compact Flash Memory (CFM) card within the CDC for later review and analysis in an Excel spreadsheet or other data  analysis program. In addition, the CDC has an alphanumeric keypad whereby the set-up technician can enter four initial parameters (Date, Location, Map Book Page, and Map Book Coordinates), which are downloaded to the CFM card as the “Header File.”

The TMS system-level requirements established by my colleague drove the CDC level requirements which I documented. Specifically, the CDC had to be of a size and weight so that it could be easily hand carried. Inexpensive off-the-shelf components were to be utilized to the maximum extent possible in the design and fabrication of the CDC. Power consumption needed to be kept to a minimum. Functionally, the CDC had to be capable calculating speed to within ±1 mph of all vehicles passing through (i.e., “interrupting”) the laser beam pair. In addition, the CDC had to be able to determine the direction of travel, the time the valid interruption occurred, and the cumulative count for all vehicles interrupting the laser beam pair during a manned or unmanned test session. A real-time GUI (i.e., the LCD) and a keypad were also required, as was nonvolatile  memory (CFM card) to store all the traffic pattern data obtained during a traffic-monitoring session.

Figure 2 shows the CDC’s functional elements.

The functions of the main co-processor are to display on the LCD input from the User Interface, to drive the status LEDs and to calculate and display traffic pattern data which is sent to the CFM microcontroller. The CFM microcontroller formats the traffic pattern data in a File Allocation Table (FAT) file and writes that file to the CFM card. Both microcontrollers are clocked by a 40-MHz crystal controlled oscillator and both have an in-circuit serial programming port (ICSP), which allows for programming and reprogramming the microcontrollers at the CDC level. During the software development phase of the project, the ICSP ports were definitely utilized. A power on reset (POR) circuit initializes both microcontrollers at system power-up.

Figure 2: CDC Functional Block Diagram showing the two micro-controllers, the User Interface and the Supporting Functionality

Figure 2: CDC Functional Block Diagram
showing the two micro-controllers,
the User Interface and the Supporting
Functionality

Based on the FBD and the established CDC functional requirements, I designed the CDC motherboard circuit using a schematic capture program. Where necessary, I simulated elements of the circuit using a circuit simulation program. I used an online PCB prototype fabrication service and had to re-enter the schematic using their software. I then laid out and routed the two-sided board using the software package provided by the online vendor. After I submitted the file, it only took a few days to receive the two prototype PCBs I ordered. I “populated” one of the boards with components I had purchased and kept the second board as a spare. Preliminary board-level testing of the assembled PCB revealed two layout errors which were easily corrected by an X-ACTO Knife trace cut and by the addition of a jumper wire.

Figure 3: CDC Motherboard Schematic divided into three sections: (1) Data Processor, (2) CFM Formatter and (3) Input/Output. Some circuitry, such as the RS-422 Interface (U2, U4, J6), was included in the design for potential future utilization but was not used in the prototype configuration.

Figure 3: CDC Motherboard Schematic
divided into three sections: (1) Data
Processor, (2) CFM Formatter and (3)
Input/Output. Some circuitry, such as
the RS-422 Interface (U2, U4, J6), was
included in the design for potential
future utilization but was not used in
the prototype configuration.

Figure 3 depicts the CDC main microcontroller circuit on the motherboard. Photo 3 shows the inside of the CDC with the front panel removed.

As indicated above, I designed and assembled the motherboard circuit card. The LCD module, the keyboard module, the RTC module, and the CFM card module were all purchased assemblies. Once all the parts were installed in the case, I completed the interface wiring.

Photo 3: Inside the CDC showing the (1) Main motherboard, (2) The Main Microcontroller, PIC18F4520, (3) the CFM Micro-controller, PIC18F4520 (4) the LCD module, (5) the Keyboard module, (6) the Real Time Clock module and (7) the CFM Card module, only partially visible.

Photo 3: Inside the CDC showing the (1) Main
motherboard, (2) The Main Microcontroller,
PIC18F4520, (3) the CFM
Micro-controller, PIC18F4520 (4) the
LCD module, (5) the Keyboard module,
(6) the Real Time Clock module and (7)
the CFM Card module, only partially
visible.

The complete article appears in Circuit Cellar 292 (November 2014). Additional files are available on the CC FTP site.

New JukeBlox Wi-Fi Platform for Streaming Audio

Microchip Technology’s fourth-generation JukeBlox platform enables product developers to build low-latency systems, such as wireless speakers, sound bars, AV receivers, micro systems, and more. The JukeBlox 4 Software Development Kit (SDK) in combination with the CY920 Wi-Fi & Bluetooth Network Media Module features dual-band Wi-Fi technology, multi-room features, AirPlay and DLNA connectivity, and integrated music services.

Microchip-JukeBlox-Wifi

Streaming audio with JukeBlox

The CY920 module is based on Microchip’s DM920 Wi-Fi Network Media Processor, which features 2.4- and 5-GHz 802.11a/b/g/n Wi-Fi, high-speed USB 2.0 and Ethernet connectivity. By using the 5-GHz band, speakers aren’t impacted by the RF congestion found in the 2.4-GHz band.

The DM920 processor also features integrated dual 300-MHz DSP cores that can reduce or eliminate the need for costly standalone DSP chips. An PC-based GUI simplifies the use of a predeveloped suite of standard speaker-tuning DSP algorithms, including a 15-band equalizer, multiband dynamic range compression, equalizer presets, and a variety of filter types. Even if you don’t have DSP coding experience, you can implement DSP into your designs.

JukeBlox 4 enables you to directly stream cloud-based music services, such as Spotify Connect and Rhapsody, while using mobile devices as remote controls. Mobile devices can be used anywhere in the Wi-Fi network without interrupting music playback. In addition, JukeBlox technology offers cross-platform support for iOS, Android, Windows 8, and Mac, along with a complete range of audio codecs and ease-of-use features to simplify network setup.

The JukeBlox 4 SDK, along with the JukeBlox CY920 module, is now available for sampling and volume production.

Source: Microchip Technology

PIC32MX1/2/5 Microcontrollers for Embedded Control & More

Microchip Technology’s new PIC32MX1/2/5 series enables a wide variety of applications, ranging from digital audio to general-purpose embedded control. The microcontroller series offers a robust peripheral set for a wide range of cost-sensitive applications that require complex code and higher feature integration.MicrochipPIC32MX125-starterkit

The microcontrollers feature:

  • Up to 83 DMIPS performance
  • Scalable memory options from 64/8-KB to 512/64-KB flash memory/RAM
  • Integrated CAN2.0B controllers with DeviceNet addressing support and programmable bit rates up to 1 Mbps, along with system RAM for storing up to 1024 messages in 32 buffers.
  •  Four SPI/I2S interfaces
  • A Parallel Master Port (PMP) and capacitive touch sensing hardware
  • A 10-bit, 1-Msps, 48-channel ADC
  • Full-speed USB 2.0 Device/Host/OTG peripheral
  • Four general-purpose direct memory access controllers (DMAs) and two dedicated DMAs on each CAN and USB module

 

Microchip’s MPLAB Harmony software development framework supports the MCUs. You can take advantage of Microchip’s software packages, such as Bluetooth audio development suites, Bluetooth Serial Port Profile library, audio equalizer filter libraries, various Decoders (including AAC, MP3, WMA and SBC), sample-rate conversion libraries, CAN2.0B PLIBs, USB stacks, and graphics libraries.

Microchip’s free MPLAB X IDE, the MPLAB XC32 compiler for PIC32, the MPLAB ICD3 in-circuit debugger, and the MPLAB REAL ICE in-circuit emulation system also support the series.

The PIC32MX1/2/5 Starter Kit costs $69. The new PIC32MX1/2/5 microcontrollers with the 40-MHz/66 DMIPS speed option are available in 64-pin TQFP and QFN packages and 100-pin TQFP packages. The 50-MHz/83 DMIPS speed option for this PIC32MX1/2/5 series is expected to be available starting in late January 2015. Pricing starts at $2.75 each, in 10,000-unit quantities.

 

Source: Microchip Technology

New AFEs for Single-Phase Smart Meters & Power Monitoring

Microchip Technology has announced the completion of its MCP391X energy-measurement Analog Front End (AFE) family.  The MCP3919 and MCP3912 integrate three and four channels of 24-bit, delta-sigma ADC, respectively. They have an accuracy of 93.5 dB SINAD, –107-dB THD, and 112-dB SFDR for precise signal acquisition and higher-perforce end products.microchipMCP391Xafe

Microchip also announced two new tools to aid in the development of energy systems using the new AFEs.  The MCP3912 Evaluation Board (part # ADM00499) and MCP3919 Evaluation Board (part # ADM00573) are each available for $129.99.

The MCP3912 and MCP3919 AFEs are both available today for sampling and volume production, with prices starting at $1.84 each in 5,000-unit quantities.  Both AFEs are offered in 28-pin QFN and SSOP packages.

Source: Microchip Technology

WillowTree Apps Named Microchip Design Partner

Microchip Technology recently announced its first App Developer Specialist—WillowTree Apps—the latest company to join its Design Partner Network. WillowTree is an iOS, Android, and Mobile Web app developer that enables Microchip’s customers to focus on Internet of Things (IoT) designs.MicrochipWillowTree

WillowTree wrote the first mobile app for Microchip’s Wi-Fi Client Module Development Kit 1, which is available in the Apple App Store. It enables customers to quickly get up and running with the kit’s cloud-based demo. WillowTree can also modify this cloud-demo app to suit a broad range of customer IoT design requirements.

Source: Microchip Technology

New Digitally Enhanced Power Analog Controllers

Microchip Technology recently announced its latest Digitally Enhanced Power Analog (DEPA) controllers—the MCP19118 and MCP19119—which offer analog PWM control for DC-DC synchronous buck converters up to 40 V with the configurability of a digital microcontroller. MicrochipMCP19118

Interestingly, the devices bring together 40-V operation and PMBus communication interfaces for power-conversion circuit development with an analog control loop that is programmable in the integrated 8-bit PIC core’s firmware.  According to Microchip in a product release, “this integration and flexibility is ideal for power-conversion applications, such as battery-charging, LED-driving, USB Power Delivery, point-of-load and automotive power supplies.”

As expected, Microchip’s MPLAB X, PICkit 3, PICkit serial analyzer, and MPLAB XC8s support the MCP19118/9 DEPA controllers. The MCP19118 and MCP19119 are now available with prices starting at $2.92 each in 5,000-unit quantities.

 

Dev Platform with 2-D Multi-Touch and 3-D Gestures

Microchip Technology recently announced the availability of the 3DTouchPad, which it describes as “a PC peripheral and world’s first Development Platform for 2D multi-touch and 3D gestures.”Microchip_3DTOUCH_7x5_RGB

The 3DTouchPad adds free space gesture recognition to projected-capacitive multi-touch.  Basically, it provides 3-D gesture recognition via Microchip Technology’s GestIC, which provides a detection range of up to 10 cm for 3D gestures, as well as Microchip’s projected-capacitive 2-D multi-touch solution supporting up to 10 touch points and multi-finger surface gestures. Microchip also claims the 2-D multi-touch is enhanced by its new capacitive touch-screen line driver, MTCH652.

The new 3DTouchPad includes: a driverless, out-of-the-box features for Windows7/8.X and OS X, 3D air gestures; advanced multi-touch performance including surface gestures; and a free downloadable GUI and SDK/API package. Possible applications include home automation, remote controls, game controllers, and wearable devices.

The 3DTouchPad costs $99.

Source: Microchip Technology

MPLAB Harmony Firmware Dev Framework for 32-Bit MCUs

Microchip Technology announced Monday the availability of MPLAB Harmony Version 1.0, which was described as a “fully integrated firmware development platform for all 32-bit PIC32 microcontrollers (MCUs).”  Microchip-MPLAB-Harmony

According to Microchp’s release, “It takes key elements of modular and object-oriented design, adds in the flexibility to use a RTOS or work without one, and provides a framework of software modules that are easy to use, configurable for specific design requirements and that are purpose built to work together.”

Features:

  • MPLAB Harmony Configurator for fast driver and middleware settings management
  • A pro graphics library in addition to functional and performance improvements across many of the Harmony driver libraries
  • IPv6 certification of the Microchip TCP/IP stack

The MPLAB Harmony Integrated Software Framework is supported by Microchip’s free MPLAB X Integrated Development Environment (IDE). The MPLAB Harmony basic framework is currently available as a free download.

Source: Microchip Technology, Inc.

New 8-Bit PICs for Sensor Applications

Microchip Technology recently expanded it’s PIC12/16LF155X 8-bit microcontroller family with the PIC16LF1554 and PIC16LF1559 (PIC16LF1554/9), which are targeted toward a variety of sensor applications. The PIC16LF1554/9 features two independent 10-bit, 100,000 samples per second ADCs with hardware Capacitive Voltage Divider (CVD) support for capacitive touch sensing.

Source: Microchip Techno

Source: Microchip Techno

Watch a short video:

The PIC16LF1554 MCUs are available now for sampling and production in 14-pin PDIP, TSSOP, SOIC, and 16-pin QFN (4 x 4 x .9 mm) packages. The PIC16LF1559 MCUs are available for sampling and production in 20-pin PDIP, SSOP, and QFN (4 x 4 x .9 mm) packages. Pricing starts at $0.63 each, in 10,000-unit quantities.

Source: Microchip Technology

Got Problematic Little Bits? (EE Tip #142)

While testing a project, something strange happened (see the nearby image). The terminal showed nonsense, but the logic analyzer properly displayed “Elektor” in ASCII. The latter also indicated that the UART was operating at 4800 baud instead of the 19200 baud that I had programmed (at least that’s what I thought), a difference with a factor of four. The change I had made in my code was a fourfold increase in the clock speed of the dsPIC. The conclusion I had to arrive at is that the clock speed was not being changed. But why not?

Source: Raymond Vermeulen (Elektor, October 2011)

Source: Raymond Vermeulen (Elektor, October 2011)

The inspiration came, and where else, in the shower. In a hobby project, I had used an ATmega32u4 with a bootloader whose only limitation was being unable to program the fuse bits. “That’s not going to be…” I was thinking. But yes, the bootloader I used in my dsPIC cannot program the configuration bits either. Experienced programmers would have realized that long ago, but we all have our off-days. (The solution is to use a “real” programmer, such as the ICD3).—By Raymond Vermeulen (Elektor Labs, Elektor, October 2011)

 

New PIC32 Bluetooth Starter Kit

Microchip Technology recently announced the new PIC32 Bluetooth Starter Kit, which is intended for low-cost applications such as a Bluetooth thermostat, wireless diagnostic tools, and Bluetooth GPS receivers. According to Microchip, the kit includes “a PIC32 microcontroller, HCI-based Bluetooth radio, Cree high-output multi-color LED, three standard single-color LEDs, an analog three-axis accelerometer, analog temperature sensor, and five push buttons for user-defined inputs.”

PIC32 Bluetooth Starter Kit (Source: Microchip Technology)

PIC32 Bluetooth Starter Kit (Source: Microchip Technology)

PICkit On Board (PKOB) eliminates the need for an external debugger/programmer, USB connectivity, and GPIOs for rapid development of Bluetooth Serial Port Profile (SPP), USB and general-purpose applications.  The starter kit also features a plug-in interface for an audio CODEC daughter card. The kit’s PIC32MX270F256D microcontroller operates at 83 DMIPS with 256-KB flash memory and 64-KB RAM.

The PIC32 Bluetooth Starter Kit is supported by Microchip’s free MPLAB X IDE and MPLAB Harmony Integrated Software Framework.  Additionally, the free Quick Start Package is available with an Android application development environment. It also includes a free SDK with the application source code and binary for Microchip’s Bluetooth SPP library.  Both are optimized for the on-board PIC32 MCU and are available for free at www.microchip.com/get/1AVL.

 

The PIC32 Bluetooth Starter Kit costs $79.99.

RN4020 Bluetooth Smart Module

Microchip Technology recently announced its first Bluetooth 4.1 Low Energy module, the RN4020, which carries both worldwide regulatory certifications and is Bluetooth Special Interest Group (SIG) certified. The integrated Bluetooth Low Energy (BTLE) stack and on-board support for the common SIG low-energy profiles speeds time to market while ensuring Bluetooth compatibility, eliminating expensive certification costs and reducing development risks. The module comes preloaded with the Microchip Low-energy Data Profile (MLDP), which enables designers to easily stream any type of data across the BTLE link. MicrochipRN4020

The RN4020 is a stack-on-board module, so it can connect to any microcontroller with a UART interface, including hundreds of PIC MCUs, or it can operate standalone without an MCU for basic data collection and communication, such as a beacon or sensor. Standalone operation is facilitated by Microchip’s unique no-compile scripting, which allows module configuration via a simple ASCII command interface—no tools or compiling are required.

The RN4020 Bluetooth Low Energy Module is available for $6.78 each in 1,000-unit quantities.

[Via Microchip Technology]