Embedded Computing
  • About
  • Blog
  • Hardware
    • Which Platform?
    • Controller Platforms >
      • Adafruit Platform
      • Arduino Plaform
      • BBC micro:bit
      • Espressif Platform
      • LaunchPad Plaform
      • Raspberry Pi Platform (MCU)
      • Seeeduino Platform
      • Teensy Plaform
    • Computer Platforms >
      • BeagleBone Platform
      • Raspberry Pi Platform (SBC)
      • UDOO Platform
    • Peripherals >
      • BoosterPacks for LaunchPads
      • Shields
      • Grove System
      • Sensors
      • Actuators
    • Displays >
      • E-Paper Displays
      • Reflective Displays
      • TFT Displays
      • LCD Displays
    • Legacy Platforms
  • Software
    • Exploring RTOS with Galaxia >
      • Event Library
      • Semaphore Library
      • Mailbox Library
      • Timer Library
      • Clock Library
      • SWI Library
      • Task Library
    • Ultra-Low Power with EnergyTrace >
      • Ultra-Low Power with MSP430
      • Ultra-Low Power with Energia MT and Galaxia
    • Using Integers Instead of Reals
  • IoT
    • IoT Platforms: Which Hardware?
    • IoT Services: Which Solution? >
      • Recommended IoT Solutions
      • Platform-Specific IoT Solutions
      • Other IoT Solutions
      • Not tested IoT Solutions
      • Notification Solutions
    • Get Date and Time from Internet with NTP
    • Fast and Easy WiFi Connection with QR-Code
  • Tools
    • How to Start?
    • Reference >
      • Asking for Help
      • Boards Pins Maps
      • Ruler
      • Boards and Plugs
      • I²C Logic Level Converter
      • Standards for Connectors
    • Training >
      • Texas Instruments Workshops
      • Embedded Systems: Shape The World — MOOC edX UTAustinX UT.6.02x
      • Embedded Systems - Shape The World: Microcontroller Input/Output — MOOC edX UTAustinX UT.6.10x
      • Embedded Systems - Shape The World: Multi-Threaded Interfacing — MOOC edX UTAustinX UT.6.20x
      • Real-Time Bluetooth Networks: Shape the World — MOOC edX UTAustinX UT.RTBN.12.01x
      • Systems Thinking with Texas Instruments Robotics System Learning Kit
    • Books >
      • Getting Started with the MSP430 LaunchPad
      • Getting Started with Arduino
      • Arduino Cookbook
    • IDE >
      • The Battle of IDEs >
        • Arduino IDE 2.0
      • More Options
      • Assessing the Next Generation of IDEs
      • Tools for Documentation
    • Equipment >
      • Saleae Logic Analyser
      • Rigol DS1102E Oscilloscope
      • XDS110 Debug Probe with EnergyTrace​
      • Segger J-Link Programmer-Debugger
      • Nordic Power Profiler Kit II
  • Projects
    • Libraries >
      • Master I²C Software Library
      • Date and Time Library
      • highView Library Suite
      • Others Libraries
    • smartDevices >
      • I²C smartColours Smart Sensor
      • I²C smartRFID Smart Sensor
      • I²C smartLED Display
      • I²C smartControls Smart Device
      • I²C smartWiFi Smart Device
      • I²C smartBLE Smart Device
      • I²C smartNode Smart Device
    • IoT Projects >
      • Remote e-Paper Pictures Panel
      • Remote e-Paper Messages Panel
      • Industrial IoT Project
      • Remote Contactless Temperature Monitor
      • Using Node-RED for IIoT
      • Low Power Home Network Weather Monitoring
      • Updated Low Power Home Network Weather Monitoring
      • Weather and Security Station with Blynk
      • SensorTag to Blynk Using Node-RED
      • Pervasive Reporting
    • AI Projects >
      • Colour Recognition with Neural Network
    • Other Projects >
      • Driving a Large E-Paper Display with a Compact Xiao RP2040
      • Low-Power E-Paper Weather Station
      • Portable Particulate​ Matter Monitor
      • FRAM-based E-Paper Screen Controller
      • General Purpose 3.5" Screen
      • Colour Recognition with Neural Network
      • A Low Power Weather Station
      • Digital Volt-Amp-Watt Meter
      • Mobile Measurement with LCD Display
      • Screen with SRAM for GUI
      • Volt-Amp-Watt-Meter for Grove
      • Multi-Touch Project with CapTIvate

chipKIT WF32 and WiFire

Digilent has released two interesting boards aimed at the much touted Internet of Things: the chipKIT WF32 and the new chipKIT WiFire. These boards have much in common, so I'll review them together.  
 
Both boards are based on PIC32 MCUs, feature a WiFi b/g radio and a microSD-card slot, a OTG USB with A and micro-AB connectors, 4 LEDs, 2 buttons and a potentiometer. The WiFi radio is based on the Microchip MRF24WG0MA with 802.11b/g capabilities. 

The difference resides on the PIC32 MCU used.
  • The chipKIT WF32 is based on the PIC32MX695F512L running at 80 MHz with 512 kB of Flash and 128 kB of RAM, while
  • The chipKIT WiFire is based on the PIC32MZ2048ECG running at 200 MHz with 2 MB of Flash and 512 kB or RAM.

The later configuration is really impressive.

Picture
Left, the chipKIT WF32; right, the chipKIT WiFire 
No surprise, the boards have the same form-factor as the Arduino Uno board, albeit being longer.

The boards include the same 43 GPIOs as the chipKIT Uno32.

Picture
Picture
Picture
Picture
From left t right: the OTG USB with A and micro-AB connectors,  the 4 LEDs and potentiometer, the two user buttons and the microSD-card slot.

Two IDEs

The programming IDE is exactly the same as for the Arduino, except it handles both AVR and PIC32-based environments through the selection of the board. It is called MPIDE for multi-platform IDE. 

The IDE or integrated development environment is called MPIDE for Multiple Platform IDE and comes now in two versions: 
  • one compatible with Arduino 0023, and 
  • another still in beta compatible with Arduino 1.5. 

As Processing-based Wiring-derived Arduino-like, both are platform-agnostic and run on Windows, Mac OS X or Linux.  

Looking for more features, I designed embedXcode, a template I could use with Xcode.
Picture

Two Ethernet and WiFi Libraries

There are two sets of libraries for Ethernet and WiFi, each aimed at a specific release of MPIDE, 0023 or 1.5. 
  • For MPIDE 0023, download the chipKIT Network Stack (DEIPcK) from Digilent.
  • For MPIDE 1.5, download the chipKIT Network and USB Libraries release 2015-01-15 from Microchip. This package also includes the libraries and documentation for Ethernet (TCP/IP and UDP), USB Host, USB Device, CAN, and WiFi support.

The libraries pack the TCP/IP stack, manage the standard security protocols (WEP, WPA, WPA2) and are well designed with a contained memory footprint. They come with many examples: I recommend to start with the WiFiScan sketch, and continue with the WebServer example. 

All the examples ran successfully on both versions, 0023 and 1.5. In less than a minute, the WebServer application was deployed on my LAN and answered my requests!

Picture
Picture
Left, libraries for MPIDE 0023; right, for MPIDE 1.5

Conclusion

I really like those two boards, with everything packed for an IoT application with OTG USB and microSD-card slot. No more need for a shield on top of the board!

Contrary to the Uno32 for which a specific configuration allows to debug with the chipKIT PGM programmer / debugger, there's no specific linking scripts for the WF32 and WiFire. 

The boards are listed at USD69 for the WF32 and USD79 for the WiFire. The extra USD10 are worth the price for 200 MHz, 2 MB of Flash and 512 kB of RAM the WiFire brings. For comparison, the Arduino Yún price tag is USD75.
Picture
Left, chipKIT uC32 with WiFi shield; right, all-in-one chipKIT WF32

Pros

  • Powerful 32-bit MCUs
  • IoT ready with WiFi 802.11b/g
  • MicroSD-card slot and OTG USB
  • Fast and powerful MCUs
  • Processing-based Wiring-derived Arduino-like IDE

Cons

  • Two versions of MPIDE and libraries for Ethernet and WiFi 
  • TCP/IP stack managed by software

Wrap-Up

  • All-in-one boards ready for IoT
  • Fast and powerful MCU, especially for the WiFire
  • Software TCP/IP stack

Links

  • chipKIT WF32 and chipKIT WiFire 
  • MPIDE
  • chipKIT website 
  • Digilent website
  • chipKIT forum 
  • Diligent forum
Picture
Picture
Picture
Powered by Create your own unique website with customizable templates.