×

SparkFun Electronics will be closed in observance of memorial day on Monday, May 29th. We will resume normal business hours on Tuesday, May 30th. Any orders placed after 2pm Mountain Time on Friday, May 26th will process and ship out on Tuesday, May 30th.

avatar

.Brent.

Member Since: January 8, 2015

Country: United States

We've created an iOS and Android app that calculates if the power requirements of a linear regulator cause the temperature of the device to rise to unsafe, component-damaging levels.

Continue reading

Playing around with auto-generating content, or predicting next words.

Continue reading

Developing a demo app using an open source cross-platform framework (Xamarin) to display data from SparkFun's Phant server.

Continue reading

SparkFun's drivers for MS Windows are now signed!

Continue reading

Exploring a simple von Neumann architecture computer

Continue reading

MPU-9250 Hookup Guide

July 28, 2016

Get up and running with the MPU-9250 9-axis MEMS sensor.

Blynk Board Bridge Widget Demo

March 25, 2016

A Blynk project that demonstrates how to use the Bridge widget to get two (or more) Blynk Boards to communicate.

MyoWare Muscle Sensor Kit

March 17, 2016

Line of products to work with the MyoWare muscle sensor from Advancer Technologies

SparkFun USB to serial UART Boards Hookup Guide

February 18, 2016

How to use the SparkFun FTDI based boards to program an Arduino and access another serial device over the hardware serial port, without unplugging anything!

MAX31855K Thermocouple Breakout Hookup Guide

November 5, 2015

Learn how to take readings with a k-type thermocouple using the MAX31855K cold-junction-compensated k-type thermocouple-to-digital converter.

LSM303C 6DoF Hookup Guide

October 8, 2015

A basic guide to get started with the LSM303C 6 Degrees of Freedom Breakout.

MPU-9150 Hookup Guide

August 13, 2015

A basic guide to get started with the MPU-9150 9 Degrees of Freedom Breakout.

Installing an Arduino Library

January 11, 2013

How do I install a custom Arduino library? It's easy!
  • Nice overview! I spent much of a day researching these, mostly the interesting high temperature alloys used in the coils, last time I was stuck in bed sick. This hit all of the points that stuck in my head from my research.

  • Thanks. Fixed that swap!

  • Sure are, here is a post of Nick teaching you how to do your own.

  • The IC has DMP capabilities, but only by loading about 3kB of closed binary firmware onto it each time it’s powered on. Things are changing, but that is a little large for the more common Arduinos. InvenSense’s developer site has code for ARM processors if you need it.

  • Thanks for the tip. I believe I did actually use sudo with the -H flag to set the HOME environment variable correctly. I left that out following the common convention of doing that for whatever reason people do that. To be honest, mostly because I forgot if it was necessary by the time I documented it. Another fix I could have used would have, similar to what you suggested, been to install another copy of Python. I’d have done that with the Homebrew package manager, but I didn’t have the desire to have more redundant tools on my system.

  • It doesn’t install protobuf. I didn’t dig deeper than that. Here is the error I saw:

    Collecting six==1.10.0 (from -r python_requirements.txt (line 9)) Downloading six-1.10.0-py2.py3-none-any.whl Requirement already satisfied (use --upgrade to upgrade): setuptools in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (from protobuf==3.1.0.post1->-r python_requirements.txt (line 4)) Installing collected packages: six, cycler, numpy, python-dateutil, pytz, pyparsing, matplotlib, protobuf, pyserial Found existing installation: six 1.4.1 DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project. Uninstalling six-1.4.1:

    Exception: Traceback (most recent call last): File "/Library/Python/2.7/site-packages/pip-6.1.1-py2.7.egg/pip/basecommand.py", line 246, in main status = self.run(options, args) File "/Library/Python/2.7/site-packages/pip-6.1.1-py2.7.egg/pip/commands/install.py", line 352, in run root=options.root_path,

  • Note for MacOS users: pip install -r python_requirements.txt does quite work due to the way the the package six (six-1.4.1 on my machine) was installed. To get past this issue which breaks the install of protobuf I used the following command. Not sure if this is the best fix, but it gets rid of the error and lets google.protobuf.internal be installed. sudo pip install protobuf --upgrade --ignore-installed six

  • To remove parts with more than 2 contacts with the same trivial technique as shown for the 0603 chip resistors I like to use tips like these tunnel tips, or even just a spatula tip.

  • Nice. Does your code have this line: if (myIMU.begin() != IMU_SUCCESS)? The begin method in the LSM303C class makes calls to Wire.begin(); and Wire.setClock(400000L);. I’d be curious to know if I’ve got something missing.

  • You are absolutely correct. I don’t think that should happen. There aren’t any double “the"s in the source text, so a the node should never lead to another the node. That book was full of all sorts of made up words like "Beau–ootiful Soo–oop!” which I didn’t address. That is one of the known bugs mentioned, but not explicitly. This was a fun side project that didn’t get the time I would have liked to have given it. It’s pretty much the first think I typed out with little effort fixing things. I’ll hopefully revisit this. The sentences currently generated feel way too long too.