Using the RPR-220 and a Breakout Board

One of the projects I’m working on is a robot that has reflectance sensors around its circumference.  I had trouble finding sensors that would work in the 0.25-0.75 inch range but eventually found the RPR-220.  To mount this sensor, I made a breakout board with space for resisters and connections for positive, negative, and signal. Continue reading “Using the RPR-220 and a Breakout Board”

Advertisement

Latex Tips and Tricks for Writing a Thesis or Dissertation

The best tip I can give for thesis writing is to use Latex.  For large documents it will be far easier to use and look much better in the end.  However, there is a bit of a learning curve with Latex and it does so much that it can sometimes be difficult to even know all the cool things it can do.  This posts will cover some of the Latex tips and tricks I’ve learned while writing my thesis over the past month year way too long.  I’m not going to include all the stuff you usually see like how to include a figure or how to make things bold.  I assume that you know how to use google and there are thousands of pages of tutorials for those common items.  I’m just going to be discussing the lesser known tips that I found helpful for long documents like a thesis or dissertation.

Continue reading “Latex Tips and Tricks for Writing a Thesis or Dissertation”

Export to the Correct Color Space from Lightroom

I’ve recently switched from Aperture to Lightroom and have been forced to learn a little about color spaces because of this.  Today, I’m going to keep things simple and only talk about three different color spaces (SRGB, Adobe RBG, and ProPhoto RGB) and which ones you should use at each point of your workflow.

Continue reading “Export to the Correct Color Space from Lightroom”

Sending 16 bit and 32 bit numbers with Arduino I2C

I’ve been using I2C a lot lately and something that keeps popping up is the need to send large numbers.  I2C normally only sends a single byte at a time so you are limited to 255 as the largest number.  This post will show you how I break large numbers apart to send them over I2C and reassemble them on the other side.

Continue reading “Sending 16 bit and 32 bit numbers with Arduino I2C”

Arduino i2c problem sending multiple bytes

I ran into a bit of a weird problem a little while back when using I2C on Arduinos.  I friend also had the problem recently so I figured maybe it was common enough that this post could help other people.  The problem occurs when you have the master request a certain number of bytes from the slave.  Except when the slave sends the bytes back, they all show up as -1 except for the last one.  Here is some example code and a workaround solution.

Continue reading “Arduino i2c problem sending multiple bytes”

Rotary Encoder on the ATtiny85 – Part 2

One of the most popular posts on my blog is this post about using rotary encoders on the attiny85.  Unfortunately that post is mostly things I tried that didn’t work.  A few months after writing that post I realized why it didn’t work and posted about that.  And finally, I’ve figured out the solution, which you can see below. Continue reading “Rotary Encoder on the ATtiny85 – Part 2”

Pin Change Interrupts on ATtiny85

Pin Change interrupts on the Arduino have eluded me for awhile so when I finally figured them out last week, I also started messing with Pin Change Interrupts on the ATtiny.  Unlike with the ATmega chips, examples are much harder to find for the ATtiny interrupts and even when you find them, I don’t think the quality is quite as good.  So here is a simple guide to working with Pin Change Interrupts on the ATtiny85. Continue reading “Pin Change Interrupts on ATtiny85”

Arduino Pin Change Interrupts

I recently needed to do some work with Pin Change Interrupts and it was a bit of a learning experience for me.  As it turns out, they’re actually pretty easy.  I’m posting this so that when I need to look it up in the future, I can easily find it and maybe I can help somebody else out too. Continue reading “Arduino Pin Change Interrupts”