toggledbits https://toggledbits.com/ en Welcome! https://toggledbits.com/node/12 <span>Welcome!</span> <span><span lang="" about="/user/10" typeof="schema:Person" property="schema:name" datatype="">patrick</span></span> <span>Fri, 01/26/2018 - 18:41</span> <div><p>This is the web home of my many projects. My name is Patrick Rigney, and I'm an entrepreneur and technology geek with over 35 years experience in high-tech. These days, I've hung up my tie and have gone back to my technical roots, doing projects for personal enjoyment, primarily, and occasionally for remuneration (but it still has to be fun). Feel free to browse, of course. If you're looking for something specific, see the navigation menu at the top of the page, or use my <a href="/projects/issues" title="Contact Form">contact form</a> to drop me a note and just ask.</p> <p>Links to items that may be of particular interest: <a href="http://patrickrigney.strikingly.com/" target="_blank" title="CV of Patrick H Rigney">My Resume</a> • <a data-entity-substitution="canonical" data-entity-type="node" data-entity-uuid="f765b0e4-2d07-40e7-ad78-2c2475a19d7d" href="/projects" title="projects">My Current Projects</a> • <a href="https://www.youtube.com/channel/UCDyBI18-xrQd8HGwQmn6Zug?view_as=subscriber" target="_blank" title="Patrick on YouTube">My YouTube Channel</a> • <a href="https://www.lpfayette.org/" target="_blank" title="Libertarian Party of Fayette County, Georgia">My Political Party</a></p> </div> Fri, 26 Jan 2018 23:41:20 +0000 patrick 12 at https://toggledbits.com Post-Photo Booth https://toggledbits.com/node/49 <span>Post-Photo Booth</span> <span><span lang="" about="/user/10" typeof="schema:Person" property="schema:name" datatype="">patrick</span></span> <span>Fri, 11/30/2018 - 17:52</span> <div><p>Since finishing the <a data-entity-substitution="canonical" data-entity-type="node" data-entity-uuid="1909a172-c348-4d47-aea6-992873952228" href="/node/40" title="Halloween Photo Booth">Halloween Photo Booth</a> project (a month of work for three hours of "show"--gotta love Halloween), I've been busy doing a major revision to my Reactor plugin for the Vera. But I'm now in late beta on that update, and with the Christmas break approaching, there will be time to spend on some of my other ideas.</p> <p>Two ideas came up in the Halloween Photo Booth project that I already have out in schematic form--I just knocked them out quickly to see what a solution might look like. Hopefully, over the break, I'll have time to lay out some boards.</p> <p>The first is based on Adafruit's DC and stepper motor control HAT for Raspberry Pi. They use a 16-channel PWM chip that uses I2C to communicate with the processor. The chip offloads the processor from any software PWM, and expands on its limited hardware PWM. Although we didn't do much PWM light control in the Halloween Photo Booth, I can see the need for it in future versions, so I thought, why not build a board with 16 channels of hardware PWM for that job? So, using the same PCA9685 PWM driver, I've laid out a control board with opto-isolated inputs like our 4-channel design, and insertable "driver" boards to handle the higher (than logic) voltage and current of the LED circuits. The system allows control of up to 8A per channel to a max of 12A total on all channels simultaneously (that's 144W of LEDs at 12VDC--quite enough for anything we might do in a photo booth). I'm calling this project "LightShow16."</p> <p>The second idea, which I call "PiUPS," originated with trouble we had, albeit briefly but with some lingering concern, about getting an adequate 2.5A power supply into the Pi. The Dupont wires we were using just didn't give us good connections consistently, and we ended up using the USB input, but that felt kind of "how ya doin'" as Dave Jones would say, because it really would only deliver 2A of the full 2.5A the Pi could theoretically draw. The Pi's GPIO header has two 5V pins, plenty to deliver 2.5A, so pretty much any kind of HAT with a solid connector could present opportunities to get a better power connection. That thinking quickly led to getting some ride-through when the power supply fades for whatever reason, and that gave birth to PiUPS. The board is a HAT (Hardware Attached on Top) that connects to the Pi's GPIO header and provides power to the Pi through the 5V pins. It has barrel and terminal block connections for input power. The input power feeds both the Pi and an on-board charger for a LiOn or LiPo battery. When input power fails, an on-board boost converter capable of a full, sustained 3A output draws from the battery and supplies 5V to the Pi. An optional GPIO connection signals the Pi when the battery is approaching the low-voltage cut-off point (i.e. in time for an orderly shutdown). The board can simultaneously supply the Pi and charge the battery when provided an input supply of 3A or more (or at least 500ma higher than the demand of the Pi). Accessory connectors allow supply of 5V to other system components if needed. A 2500mAh battery should be able to run a fully-loaded and very busy Pi for up to an hour.</p> <p> </p> </div> <section> <h2>Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=49&amp;2=comment&amp;3=comment" token="EYSBuqNkTPlaRK1NSYbtsloNkP_0gUfu3_ifJvB-TkQ"></drupal-render-placeholder> </section> Fri, 30 Nov 2018 22:52:43 +0000 patrick 49 at https://toggledbits.com https://toggledbits.com/node/49#comments