avatar

ShawnHymel

Member Since: August 12, 2013

Country: United States

Profile

Role

Engineering Superhero

Programming Languages

C, C++, CUDA, LabVIEW, MATLAB

Universities

  • Virginia Tech (2009-2011)
  • Rose-Hulman (2002-2006)

Expertise

Embedded systems, board layout, firmware, and mad soldering skillz.

Interests

Electronics and gadgets and stuff. Nerd stuff. Outside of that, swing dancing whenever I can.

Websites

shawnhymel.com

Let's celebrate Thomas Edison's birthday and talk about our Edison Blocks and some information on how to get started with the Intel Edison.

Continue reading

I met Reagan at Maker Faire New York, and I ask him some questions about his recent project: an animatronic Jackal helmet from Stargate.

Continue reading

Guest blog post by Arnoud Buzing of Wolfram Research on using the Edison and SparkFun Blocks to make a pendulum monitor.

Continue reading

I share my designs for my new electronics workbench and go over some of the design decisions for it. I also cover what makes triangles more stable than squares.

Continue reading

Overview of the related M2X Learn tutorial, which walks users through the process of connecting an Arduino and CC3000 to AT&T's M2X service.

Continue reading

In this three-part video series, I show users how to setup their Raspberry Pi with Raspbian, connect a humidity and temperature sensor, and Tweet the results on a regular basis using Python.

Continue reading

Designs for a custom, DIY electronics workbench, and some lessons I learned in the process.

Continue reading

Why do we feel a tingle when we lick a 9V battery?

Continue reading

How to create a Twitter monitor in Python and flash an LED using a Raspberry Pi.

Continue reading

Why the voltage rating on capacitors matters and why you should derate them.

Continue reading

BadgerHack

March 12, 2015

This tutorial shows users how to solder their SXSW 2015 SparkFun badges as well as put them to use in other projects.

Loading Debian (Ubilinux) on the Edison

December 5, 2014

How to load a Debian distribution (specifically Ubilinux) onto the Edison.

mbed Starter Kit Experiment Guide

November 27, 2014

This Experiment Guide will get you started with the wonderful world of mbed microcontrollers. Need to find that next step after mastering the Arduino? This a great place to take those skills to the next level.

APDS-9960 RGB and Gesture Sensor Hookup Guide

November 6, 2014

Getting started guide for the Avago APDS-9960 color, proximity, and gesture sensor.

Using AT&T's M2X With the CC3000

September 2, 2014

A set of tutorials and examples to show how to connect an Arduino and CC3000 to AT&T's M2X data streams. We show how to post, fetch, and delete data. The final lesson is controlling an LED from an M2X stream.

CC3000 Hookup Guide

April 3, 2014

Getting started guide for the CC3000 shield and breakout board.

Getting Started with the BrickPi

February 20, 2014

How to connect Lego Mindstorms to the Raspberry Pi using the BrickPi.

USB Type A Female Breakout Hookup Guide

February 13, 2014

An above-and-beyond example using the USB Type A Female Breakout board.

AT42QT1010 Capacitive Touch Breakout Hookup Guide

December 12, 2013

Learn how to use the simple AT24QT1010 Capacitive Touch Breakout.

INA169 Breakout Board Hookup Guide

November 20, 2013

How to interface with the INA169 Breakout Board to measure current.

Raspberry Pi Twitter Monitor

November 19, 2013

How to use a Raspberry Pi to monitor Twitter for hashtags and blink an LED.
  • No worries! Juan was out there with a camera and told me to “do something.” Jumping around like an idiot was the first thing that came to mind, so the comment was most appropriate :)

    Enjoy the prize!

  • It’s the exact same pinout as the Arduino Pro Mini.

  • That would require modifying the library, but it’s not too bad. In SparkFun_APDS9960.h, there is a list of constants (/* Default values */) where you can play with the LED strength and gain during gesture sensing. Specifically, look at DEFAULT_GGAIN and DEFAULT_GLDRIVE. By adjusting those values, you can reduce the range and sensitivity.

  • Not without modifying the library. You have to read the FIFO from the IC for it to clear it’s interrupt pin. Right now, the handle gesture function is the only thing that does that.

  • The desk lamp is a Saicoo. It’s a great desk/task lamp, as you can adjust the “warmness.”

  • This is correct and works as intended. The APDS-9960 sensor brings the INT pin low until its FIFO is read (e.g. using the readGesture() method).

    *EDIT: Can you explain what you are trying to do? You could, for example, call handleGesture() and just ignore the results if all you want to do is increment a counter.

  • Because the system doesn’t handle code so well, I recommend pasting the code into something like a gist to make it easier to read: https://gist.github.com/ShawnHymel/65cd4c1c1bbb097ab62e

    A few things I noticed:

    • You are waiting 5 seconds every time you receive an interrupt. The INT pin, I believe, will stay low until you call apds.readGesture(), which means that the INT pin will be low for 5 seconds before you actually read anything from the sensor. Can I ask why you need that delay?

    • Your “break;” line is inside of the if statement, which means that you are actually executing both case ‘R’ and case ‘X’ unless you see an interrupt.

  • .

  • Yes, please paste in your code. That will help us troubleshoot the problem.

  • Does the interrupt work for other functions? Does the ProximityInterrupt example work for you?

Large Digit Driver Hookup Guide

ShawnHymel 4 items

Parts list required for the [Large Digit Driver Hookup Guide](ht…

mbed Starter Kit - Part 8: Temperature Logging

ShawnHymel 7 items

The parts listed are required for the [mbed Starter Kit - Part 8…

TEI '15 Workshop

ShawnHymel 15 items

List of parts to get you started with logging temperature/humidi…

APDS-9960 Hookup Guide

ShawnHymel 7 items

List of materials needed for the [APDS-9960 RGB and Gesture Sens…

M2X Tutorial - Temperature Data Logging

ShawnHymel 7 items

Parts needed for connecting an Arduino and CC3000 to AT&T's M2X …

M2X Tutorial - Controlling a Device

ShawnHymel 7 items

Parts needed for connecting an Arduino and CC3000 to AT&T's M2X …

M2X Tutorial - Fetching Data

ShawnHymel 3 items

Parts needed for connecting an Arduino and CC3000 to AT&T's M2X …

mbed Starter Kit - Part 10: Hardware Soundboard

ShawnHymel 13 items

The parts listed are required for the [mbed Starter Kit - Part 1…

mbed Starter Kit - Part 9: PWM Sounds

ShawnHymel 5 items

The parts listed are required for the [mbed Starter Kit - Part 9…

mbed Starter Kit - Part 7: USB Device

ShawnHymel 14 items

The parts listed are required for the [mbed Starter Kit - Part 7…

mbed Starter Kit - Part 6: USB Host and Threading

ShawnHymel 6 items

The parts listed are required for the [mbed Starter Kit - Part 6…

mbed Starter Kit - Part 4: Accelerometer

ShawnHymel 6 items

The parts listed are required for the [mbed Starter Kit - Part 4…

mbed Starter Kit - Part 5: Internet Clock

ShawnHymel 9 items

The parts listed are required for the [mbed Starter Kit - Part 5…

mbed Starter Kit - Part 3: Graphic LCD

ShawnHymel 4 items

The parts listed are required for the [mbed Starter Kit - Part 3…

mbed Starter Kit - Part 2: Buttons and PWM

ShawnHymel 14 items

The parts listed are required for the [mbed Starter Kit - Part 2…

Getting Started With Raspberry Pi - Ep. 3

ShawnHymel 11 items

Components needed to get started with the Raspberry Pi, as per m…

Getting Started With Raspberry Pi - Ep. 2

ShawnHymel 7 items

Components needed to get started with the Raspberry Pi, as per m…

Getting Started With Raspberry Pi - Ep. 1

ShawnHymel 10 items

Components needed to get started with the Raspberry Pi, as per m…

Party Button

ShawnHymel 18 items

This is the wishlist for the Party Button that we'll be making o…