Category: chipKIT

DHT22 (RHT03) Temp Humidity library for chipKIT and Arduino 1.x

Download, unzip and copy the DHT22 folder into your libraries folder eg: for MPIDE: C:\Users\yourname\Documents\mpide\libraries\DHT22 for Arduino IDE: C:\Users\yourname\Documents\Arduino\libraries\DHT22 An example script is included. Been reading a few reports that this sensor is more accurate at the higher voltage (eg 5V) rather than the 3.3V. My observations so far suggest the same. So when using […]

chipKIT Max32 UART mapping

Been playing with the chipKIT Max32 a bit lately and using the native Microchip C32 compiler with MPLab X. Anyway, something not to well documented is the mapping between the different UARTs. This is what I’ve found: UART1 = UART1A = (RX0 pin A0 / TX0 pin A1) UART2 = UART3A = (RX2 pin 17 […]

Microchip C32 UART library example (modified)

I’ve modified the original UART example that comes with the Microchip C32 compiler to easily handle different UART’s along with adding a compare function that compares what is recieved over the UART to a pre-defined set of characters. See the description in the source below for more. Download the source as a text file here: […]

Gainspan WiFi library for chipKit and Arduino

After forking the DIYSandbox Wirefree library, modified it using compiler directives to also be compatible with the chipKIT Max32 board. This library uses Serial1 for the Gainspan GS1011 module (instead of the original Serial0). It’s retained the same name as the original. The library uses the standard Arduino Server and Client libraries for compatibility with […]