Monday, 18 August 2014

uVolume T-32 OSH Park PCB Arrival




My PCB's arrived last week from OSH Park,  they turned out fantastic.....








Due to the lack of choice with SMD rotary encoders, I modified a through hole rotary encoder, to surface mount by bending the legs. Luckily they share the same PCB footprint. Debouncing of the rotary encoder is taken care of in hardware rather than software.  The datasheet also calls for a resistor, to form a filter, I generally only use a 0.01 to 0.1uf capacitor on each contact, and find it works really well.










PCB dimensions and router clearance....

When using OSH Parks PCB service, an allowance of 100 mil (not mm) is required on the boards outer dimension layer, this allows for the thickness of the routing tool, on unusually shaped boards. Keep in mind the 100mil allowance with be included in the total dimension when purchasing the PCB's. Rectangular and square PCB outlines, do not generally require this allowance, unless your PCB has a radius at the corners.




This version also uses the WS2812B 5050 RGB LED,  aka "NeoPixel", which are individually addressable smart pixels, both pixels are joined using a single DATA line.  The desired colour is then sent to the pixel, using the below example.

// pixels.Color takes RGB values, from 0,0,0 up to 255,255,255
// pixels.setPixelColor(Pixel number "0" is the first, red, green, blue);
// http://www.rapidtables.com/web/color/RGB_Color.htm

 pixels.setPixelColor(0,pixels.Color(255,0,0)); // RED
 pixels.show(); //  sends the value, when the color has been set