Hokey Pokey with parts

bay-light-orangeps-1.1
My boards from OSHPark arrived yesterday. They look fantastic. I was very tempted to put a bay-light together before bed. It’s my first round board. That’s when I realized I had not ordered the LM7512 12v voltage regulators. I made a quick check of the schemtatic and LED resistor calculator to confirm that I had designed the circuit with a 12v operating voltage. This provides more possibilities in terms of where it can be used than a 24v operating design.

So I skipped the critical part! There was nothing else to do but order them and wait. Tayda is celebrating the “water holiday” which means nothing happens until they get back. If I was in a hurry I’m sure DigiKey or Mouser would have had the part, but I’m not and I like Tayda. They have great prices, super accurate picking, and cheap shipping.

Maybe next week….

Now, my more astute readers may notice the square boards which are OrangePS v1.1. Those boards came in too and I’ll try to get around to assembling them and testing them. This board has lots of possibilities. It’s initially designed to be a very stable 5v power supply for an OrangeOne Single Board Computer…. aka Orange SBC. However, 5v is also the magic number for all number of USB chargers and other goodies. So I may branch the design and create a 5v USB charger at some point in the near future. Yes, you can buy them, but most of them are not designed for 24v input current that is found on my motorhome. Besides, do you *really* think a $2 USB power source uses a design that places voltage stability high on the agenda? I don’t. By the time you factor in middlemen you are talking about a 25 cent item at the manufacturer.

Parts are here

My parts arrived from Tayda this weekend. It’s always fun to receive components and check them in. Boards are shipping today and I should be ready to build prototypes for the power supply and LED projects.
2016-04-06 18.57.18

I also received my OrangePi One single board computer. It’s a $10+ embedded Linux PC. 1/2GB of ram, network, a USB port and power.
2016-04-07 23.51.57

2016-04-07 23.51.53

2016-04-07 23.51.48
I ordered this one for about $19 from an Amazon reseller. I also ordered one on AliExpress for $9.99 with free shipping. I plan to print the case for it when it shows up, using the 3D printer. I’m building a power supply for it to use vehicle voltage to power it. That should eliminate the unique barrel connector on the power input. Once I get the kinks worked out I’ll publish the power supply.

Here’s a glance at the schematic for v1.1
orangeps1.1-bottom

orangeps1.1-top

The other project is bay-light which is a light with 9 LED’s and a regulator IC so it can be powered by 12-30vDC that is typically found on vehicles. I could have purchased a light for $12 to $20, but I think these will wind up being a little cheaper. Besides, making them is half of the fun.

The thaw – resuming shipping of kits

I am very happy to announce a return to doing business. For the last 1.5 years I had stopped selling and shipping kits. I originally anticipated it being a shorter pause. I sold one house and bought another. While I’m not done with my new house I am to a point where I can resume building and shipping kits and projects. For anyone who has patiently waited this long, thank you.

Orange PS

I found a neat SBC called an Orange Pi. It’s basically a Chinese knockoff of a Raspberry Pi. Similar, but not the same. The problem is that it uses a stupid 4mmx1.7mm plug which is reasonably uncommon. A few folks mentioned removing the power connector and soldering in some wires.

My eventual application is mobile, so I decided I would just design a power supply and fabricate it. A quick trip to Tayda Electronics confirmed that the switching voltage regulators were criminally cheap at 76 cents a piece. All the parts were ordered to build 10 of them for around $18.

I spent a few minutes at lunch dusting off my Eagle skills and drawing the schematic. I then arranged the board and sent it to Oshpark. I’ll receive 3 prototype boards for $6 including shipping. Not bad.

The finished unit will accept 7 to 40vdc and output 5vdc 3A. The Orange Pi requires 5v 2A so this should work just fine.

Here’s a image of what the board should look like.
front
bottom

I expect these to be an $8 kit when I’m done with them. It’s primary purpose is to provide a regulated 5v power supply to a mobile single board computer.

Amazon SES – Not ready for primetime

I give up! Amazon SES is a pain in the tail to get running. I understand that security is a compromise between the desire to put something inside of a block of concrete and leaving it in the middle of the street. SES is too deeply embedded by Amazon’s paranoia. Poorly documented sandboxing, no obvious way out, and unreliable performance make it anything but simple.

I’ve tried on and off for a month to deal with it. I went back to SendGrid which is truly simple, reliable, and easy to use. From start to test email delivery from my EC2 instance took under 5 minutes.

Now, in all fairness, I have used Sendgrid before, and I use it at the company where I’m the IT Manager. It is bundled free with Azure hosting. However, Azure is like flying economy class whereas AWS is like flying jumpseat. You have alot more data and alot more control at AWS.

The majority of what I use it for is administrative notifications from my EC2 instance and the wordpress sites I host on it. It’s really a shame, because so much of AWS is well documented and otherwise easy enough to use. However, AWS support is $100/mo and there is no “break glass” option of $10/incident etc for individual developers who need help, but don’t want to subscribe to help.

Dispenserator: An Idea for an Arduino driven fluid dispenser

So I had this idea tonight to build a fluid dispenser controlled by an Arduino. The problem I want to solve is dispensing lubricant fluids in metered amounts for my RV. Houdini would like my RV, it’s very difficult to access the filler locations. It’s nearly impossible to add oil without spilling it. A funnel isn’t the easy solution because of the access. My RV is far from being alone with this problem. Almost every Bus has the same headache.

So why not use a pump? Great, but how do you control it? Hmm… well an Arduino with a push button or dial interface and an LCD and maybe a couple of LED’s. Add a printed case and a peristaltic pump and a way to count revolutions and you should be good to go.

Here’s a perfect solution…. a stepper driven peristaltic pump… http://www.aliexpress.com/item/Kamoer-peristaltic-pump-12V-DC/1850266365.html?spm=2114.40010308.4.38.N8z9VZ
Way too expensive though…. $90 plus $30 in shipping for a $20 motor and some tubing… the rest could be 3D printed dirt cheap or fabricated from metal. Would need to include a stepper driver, but that’s fine it solves the metering issue. 320ml/min is about 8oz/min so a gallon would take 8 min to dispense…. that’s fast enough for function.

Here is a $35 version that is about half as fast… http://www.ebay.com/itm/Peristaltic-Pump-Dosing-Pump-With-42-Stepper-Motor-Tubing-Hose-Pump-CN-/361476915848?hash=item5429b40288:g:b2YAAOSwxCxT6ft4 for 1/4 the price.

I think this is doable. I’ll look into it when I have time later this year.

Add a container like this to dispense from: $35

A small LCD like this: $9

A rotary encoder: 76 cents

and a start / stop button: $1.50 or less

I think it’s pretty do-able. I’ll definitely get back to this because putting oil in the engine is a nuisance and it has to be done every 1,000 miles or so. It’s just part of running an old Detroit Diesel motor. They leak, eat oil, and smoke a bit when started, but run forever and are easy to maintain.

Bye Azure! Hello AWS

I’ve decided to move from Azure to AWS EC2 for hosting. To be honest the service at Microsoft Azure has been lackluster at best. No support and crappy performance. There are times when the machine is just simply unresponsive. AWS T2.Small instance size is pretty snappy and around the same money. In addition, Amazon offers a nice RDS service which includes backup and management. Yes, this increases my hosting cost, but it comes with better performance. My CDN is hosted on Cloudfront anyway, so hosting the server in EC2 makes sense.

Amazon RDS is not easy to setup. The first time I configured it a couple of weeks ago I had to invoke Amazon support to figure out which security setting was messed up. I wound up leveraging that today to finish the migration.

3D Scanning – BQ Ciclop kit ordered

I have realized that I would benefit from having a 3D scanner. I ran across the BQ Ciclop scanner. What a great open source company. BQ Systems You can read about the project on the link.

I purchase the electronics and metal bits part of the kit for $156 including shipping from AliExpress. This is about half the cost on eBay and less still than Amazon.

I’ve read really good things about the scanner and it’s really a novel idea. I’m not terribly amused with the shield and board design and may pay it forward by redesigning that later.

For the time being I’ll kick back and wait for the kit to get here. When it does I’ll create some videos and reviews of it. Here is a picture of what is supposed to be in the kit.
ciclop-kit
The images of the kit are quite good…. It’s either a darn good copy of BQ’s board or a nicely manufactured Chinese version. Their ZUM scan ought to be combined into a Arduino board though….

The 3D parts can be downloaded from Thingiverse. I think I’ll print it in Translucent Blue PLA, which I have on-hand. 🙂

Fusion 360 material experiment – 3D printing

So I’m on version 24 of my 3D printed unobtanium part….. I keep tweaking the dimensions and re-printing. It occurred to me that Autodesk Fusion 360 thought I was working in Steel, when I’m actually working in plastic. ABS plastic to be precise. Fusion 360 is a really nice CAD/CAM tool that represents the future of software delivery. It’s cloud-connected which means I can work on my project from anywhere, but I still get the power of my 8-core AMD Bulldozer CPU with 3 24″ screens when I’m at my home office.

So I made the inner radius a little smaller. That is the part I’m working on. I then exported the STL 3D model as I always do. And then I went back and changed the part material from Steel to ABS Plastic. I exported that as 16mm ball cap v24-ABS. I put both of them in Simplify3D and we’ll see how it goes. The “steel” one is on the left. The “ABS” one is on the right. The question to be answered is does Fusion 360 compensate when exporting the STL for 3D printing? It’s 3D aware and creates beautiful, defect free STL files.

Here is a screen grab of the Simplify 3D. The thin red lines are the tool paths when not extruding.
Capture-ABSvsSteel

And the answer is NO. Both versions are absolutely identical to each other.

3d Try Try Try Again

On the one hand, 3D printing holds out the promise of design it today, get it tonight. Somewhere along my toolchain I need to account for the shrink factor. Plastic shrinks when you heat it, extrude it, and cool it. ABS shrinks more than PLA. Fusion 360 (aka F360) thinks I’m working with Steel. In theory I could change the material, but I’ve been tweaking this design for so long that I’m not about to introduce a major change. I’m printing version 23, try number 2 right now. Try number 1 came off the print-bed. This normally indicates that it is time to spray some more “ABS Juice” which is simply ABS dissolved in Acetone. It creates a thin layer of plastic on the glass that allows the ABS being extruded to bond to it.

My particular project is probably about as complex as it gets because I want to control the outer and inner dimensions to create a friction fit on the outside and the inside. The outer friction fit needs to grab the tie-rod end and the inner friction fit needs to grab the ball stud. The combination gives me a way to rehab the 30 to 40 ball joints on my motorhome. All of which raises the observation that these iterations take lots of time. Just one more reason that 3D printing is probably not the future of Manufacturing, at least not in it’s current form. It is a great solution to custom or long-tail manufacturing. It’s also a great solution for niche problems, hobbyists, and tinkerers. I will be using it extensively for my circuit enclosures. I see it as one more value add that I can attach to an open source hardware project. The firmware, the board design, and the enclosure design available in case someone wants to leverage them.

In other news, my Prusa i3 RepRap printer has been performing flawlessly. I’ve been giving it a good workout this week. The Chinese linear bearings are a bit suspect, but I think a little 3-in-1 oil will keep them working good. I actually think a dry lube like Wonderlube would probably be better for them.

I’ve been looking at the 3D scanning arena as well. Ciclops from Spanish company BQ is a pretty neat solution. It’s a rotary table 3D scanner that you can build for around $150-$250. It uses 3D printed parts, some threaded rod, a Logitech C270 camera, a couple of laser line units, and an arduino to produce “dot cloud” scans. They even have some free software called Horus to go with it. The biggest issue I see with the whole design is that it leverages a quasi-custom Arduino with a stepper driver shield. I think this is clumsy and for projects like this it would be better to custom design a single board. It’s very tempting to design the board, build one for myself and release the design. Of course that shoots the whole “cheap 3d scanner” in the foot. There is nothing cheap about board design and iteration. However, when you install an Arduino in a permanent solution I think it should be on a dedicated hardware board. This eliminates the opportunity for bad contacts and makes it smaller.