DIY chipKIT Uno32 Stopwatch

This project is for those who always wanted to make their own stopwatch. It’s built using a combination of eight seven segment displays multiplexed together and hence can be control by a fewer number of pins. It’s capable of timing minutes seconds, and even 1/10 of a second. The entire project revolves around a chipKIT Uno32 board. Along with the capability to time, it also has start and stop buttons just like a traditional stop watch. This project uses the millis() function for time keeping. The millis() is a built-in function in Arduino, and so in MPIDE, that returns the number of milliseconds elapsed. The LedControl library is used in this project to interface the MAX7219-based seven segment LED display with the chipKIT Uno32 board. The stopwatch is started and stopped by pressing the push switch attached to INT0 (pin 38) pin. The INT0 trigger mode is defined as FALLING, which means the interrupt routine is called when the INT0 pin goes from high to low. For those interested in the project the complete schematics along with all parts number… Continue reading

Temperature and humidity logger

chipkit temperature logger

Just like me, there would be people who are interested in monitoring temperature every now and then. Well, then this project is just made for you. The project is all about building a temperature and humidity sensor which will log all the data to the pc from time to time basis. It uses a DHT11 sensor which is an integrated sensor for both temperature and humidity and has a calibrated-digital output. It works on SPI protocol which is hard to integrate with any 8-bit controller. Another advantage of the project is that it doesn’t require wires as all the components are ‘plug-and use’ type. In this project, four pins of the DHT11 sensor is directly inserted into four I/O pins (7, 6, 5, and 4) of the Uno32 board. Writing firmware is easier with the use of the DHT11 library available for Arduino or chipKIT platform. The DHT11 library for Arduino was originally written by George Hadjikyriacou and was later modified by other people. On PC’s side, the open source programming language Processing is used to develop a graphical application… Continue reading

ChipKIT based temperature and humidity logger

ChipKIT is great development board with Arduino spirit. Just it uses 32-bit PIC microcontroller and has more flash and RAM memory. If have one here is a nice project based on ChipKIT UNO32. The only additional component to this project is DHT11 temperature and humidity sensor. It can be plugged directly in to ChipKIT header and be read. ChipKIT simply reads data from sensor and pushes it to serial interface. Not so much of performance requirements. The fun part is on PC side. The GUI is written in processing where nice window indicates current temperature in Celsius and Fahrenheit and relative humidity %. When Start Log button is pressed it starts logging these values along with time stamps. Great project for learning and fast use. Continue reading

12 temperature sensor shield for ChipKIT UNO32

ChipKIT UNO32 is a great substitution to Arduino boards. One advantage is that it’s 32-bit microcontroller and is much faster than AVR based Arduino. Programming experience is pretty same as it’s using same Arduino IDE environment and same programming style. SXRguyinMA developed shield for ChipKIT that is equipped with 12 ports for temperature sensors. It also has a header for standard alphanumeric LCD display. Shield accepts standard 10k thermistor sensors. Reading can be viewed on LCD. This is perfect solution for monitoring temperatures of multiple objects. Could be house heating monitoring, beer brewery. And surely you can always use less than 12 sensors. Project is Open hardware so you can grab and build one. Continue reading

Porting ITDB02 LCD shield library to ChipKIT

ChipKIT is a great board that may replace Arduino. It offers better performance and 32-bit architecture. It has an Arduino form factor with even more additional I/O pins and features. Circuitgeek have ported some code designed for Arduino to ChipKIT. Considering that there are specially designed shields for Chipkit and working libraries ITDB02 shield can be also used with a bit code modifications. As arduino compatible pins on ChipKIT has a different mapping there had to be function helper written that puts data byte to right pins. Also he had to get rid off PROGMEM functions as images and fonts are stored in SRAM. Touch screen library seemed to work without modifications. If you already have ITDB02 shield and don’t want to purchase another for ChipKIT you may consider using this library with a bit of loos of performance. Continue reading

ChipKIT – PIC32 with Arduino taste

Arduino has strong positions in hobby market. Their strategy is really simple – everything works out of a box. Speaking of development boards – they are open source with unified pin layout that allow plugging multiple extension (shield) boards. Development software is also open, works on major platforms including Windows, Linux and MacOSX. But probably the winning factor is that arduino is rich in libraries allowing easy code writing without knowing whats going on inside chip. Original Arduino boards are based on Atmel AVR 8-bit microcontrollers that are limited in processing power and even more in Flash and SRAM . Additionally Arduino libraries are written to be easy usable with sacrifice of performance. If you tried to develop more time critical apps then you know that Arduino’s don’t shine in this position. You can work around by writing your own libraries or simply go non Arduino way – writing your own C code. But why loose ability to use libraries and rich community resoures only because hardware can’t ensure desired performance. This is where chipKIT comes in. Thanks to Newark… Continue reading