<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>raspberry pi on Spaghetti Code with Beer</title><link>https://nagimov.me/tags/raspberry-pi/</link><description>Recent content in raspberry pi on Spaghetti Code with Beer</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><lastBuildDate>Thu, 18 Aug 2016 20:56:00 -0800</lastBuildDate><atom:link href="https://nagimov.me/tags/raspberry-pi/index.xml" rel="self" type="application/rss+xml"/><item><title>alsa-utils' arecord bug: lots of *.wav files, ignoring --duration parameter</title><link>https://nagimov.me/post/alsa-utils-arecord-bug-lots-of-.wav-files-ignoring-duration-parameter/</link><pubDate>Thu, 18 Aug 2016 20:56:00 -0800</pubDate><guid>https://nagimov.me/post/alsa-utils-arecord-bug-lots-of-.wav-files-ignoring-duration-parameter/</guid><description>I ran into a rather funny bug recently &amp;ndash; when recording audio on an RPi with Raspbian Jessie via an external USB sound card, arecord doesn&amp;rsquo;t stop recording after a period of time specified by --duration flag, but keeps running and filling files *-01.wav, *-02.wav, etc. with garbage data. Googling doesn&amp;rsquo;t return a solution, except an obvious one to killall -KILL arecord. USB microphones are also affected.
Since I have another RPi running Wheezy and showing no symptoms of the bug (and being free of systemd malware ;), the bug is likely in arecord itself.</description></item><item><title>Calibrating MAX31855 Thermocouple Amplifier</title><link>https://nagimov.me/post/calibrating-max31855-thermocouple-amplifier/</link><pubDate>Mon, 15 Aug 2016 17:55:00 -0800</pubDate><guid>https://nagimov.me/post/calibrating-max31855-thermocouple-amplifier/</guid><description>Maxim 31855 chips are cheap and simple to use K-type thermocouple amplifiers. They&amp;rsquo;re equipped with a digital SPI interface with libraries available for both Raspberry Pi and Arduino boards. MAX31855 breakout boards are available from Adafruit.
The datasheet specifies the accuracy of ±2°C within the temperature range from -200°C to +700°C. However, close to the lower bound of this range, the accuracy of reported temperature is affected by linearized volt-to-degree conversion.</description></item></channel></rss>