N Channel Mosfet – Low Side Switch

Here’s my schematic and board design for a simple low side switch using a N channel mosfet.  It’s a simple circuit that has a input for positive and negative and an output for positive and negative connections.  Pretty self explanatory.   It seems like every time I go to work with mosfets I have to spend a good 5-10 minutes reminding myself how they work.  So here’s a reminder to myself for the next time I go looking and maybe it’ll help somebody else out.

Continue reading “N Channel Mosfet – Low Side Switch”

P Channel Mosfet – High Side Switch

Here’s my schematic and board design for a simple high side switch using a P channel mosfet.  It’s a simple circuit that has a input for positive and negative and an output for positive and negative connections.  Pretty self explanatory.   It seems like every time I go to work with mosfets I have to spend a good 5-10 minutes reminding myself how they work.  So here’s a reminder to myself for the next time I go looking.

Continue reading “P Channel Mosfet – High Side Switch”

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”

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”