Author Archives: R-B

End of Year Sale at Microchip Store

It’s time for the end-of-year sale at Microchip store. This year’s discount coupon code is EOY2016DT, which could save you some money on your favorite development board. Using this code can get you $65 off on Digilent Analog Discovery Multi-Function Instrument, $8 off on Curiosity HPC Development Board, and more.

Curiosity HPC Development Board

Curiosity HPC Development Board

Check out the main sale page.

Data logger for Skiers

Matthew Magaldi and Aidan Angus are both winter sport enthusiasts who love skiing. They designed a PIC32-based data logger system that captures their skiing experience on a SD card and also wrote a Python script for post-processing and visualization of their skiing behavior. The data logger receives data from multiple sensors, including an accelerometer, a gyroscope, and a temperature/pressure sensors.

Ski data logger

Ski data logger

There were several tradeoffs for the hardware and software used in the project. First, in software, because we were limited to using a single core processor in the PIC32, we were limited in the synchronization of our data. The protothreads that we used to implement our data logging and collection are not actually multi-threaded so data collection for the accelerometer occurred at a different time than data collection from the gyroscope. This made it very difficult to accurately compensate for gravity and led us to estimate by linear interpolation the time synchronization of these data sets. Additionally, we wanted data collection to occur as fast as possible for certain functions like the accelerometer and gyroscope because we knew that this data would be changing at a much faster rate than data from the pressure and temperature sensor. Thus, we updated the temperature, pressure, and altitude data about every second whereas the gyro and accelerometer were calculated about ten times per second.

For hardware, we tried to minimize the complexity of our peripherals. We decided to use SPI or Serial Peripheral Interface in order to communicate with the gyro, pressure sensor, and SD Card. This enabled us to use the same clock (SCK2) and data lines (SDI/SDO) for calculating the pressure and gyroscope values. Additionally, we would have liked to put all of our sensors and PIC32 on a solderboard in order to make a compact device and then have some sort of case over the circuitry and sensors to protect them from getting wet or snowed on while skiing. However, due to time constraints, this package was left out. In the end, we believe that this would be necessary if this were to become a fully- functioning device that had applications in cold, harsh environments.

Virtual fireplace using Raspberry Pi

Jaret Burkett, a tinkerer from Texas, enjoys fireplace. But the warm weather of Texas won’t let him run the fireplace most time of the year. One day, he figured out he could simulate a burning fireplace with crackling fire sounds using a Raspberry Pi computer and his old TV that perfectly fit the fireplace. Check out his step-by-step instructions to setup one for your fireplace.

Virtual fireplace using Raspberry Pi and TV

Virtual fireplace using Raspberry Pi and TV

DIY IoT breathalyzer

Dominic Peters shares his project about making an IoT breathalyzer using ESP8266 on Hackster.io. It uses the MQ3 sensor for detecting alcohol concentration on your breath. The ESP8266 reads the sensor data and post it to Cayenne IoT platform so that the data can be recorded and viewed over time from anywhere via internet.

IoT Breathalyzer

IoT Breathalyzer

The device needs to be portable and durable if it should be used while under the influence. The 11.1 Wh/hr lipo battery provides about 8 hours of continuous use. All the components are stuck to the battery pack with thick double sided tape. I hope this provides some shock absorption in case of drops. The enclosure is made of two 3mm aluminum plates bolted together. Aluminum is a great material to work with because it cuts and drills easily, but that also means that it is easily scratched as seen by the pictures. Regardless, it will protect the battery and electronics in most situations and I think it gives the device a rugged feel.

 

OpenRC Tractor

OpenRC is an open source 3D printed RC tractor designed all from scratch. It is a 1/10 scale replica of an original Ebro 160D tractor, with RC electronics.

OpenRC Tractor

OpenRC Tractor

I also prepared some basic instructions and BOM, so you can easily print and assemble your own tractor.
It is designed to be easy to print and no supports are needed for any part.

Points to bear in mind:

  • As part of optional parts, you’ll find different optional plates. There is one for Spain and one for Sweden because there are already OpenRC tractors in both countries. If you print your tractor and you would like to have a plate with your country letters, write a comment and I will try to add it.

  • Recommended motors have poor torque. They work on smooth surfaces but not off-road. I’m preparing a mod to upgrade the tractor with a more powerful motor (coming soon…)

  • I used same bearings as OpenRC formula1 to make it easier for those who already have the F1.

« Older Entries Recent Entries »