Today I mostly soldered up a batch of six PCBs, but completed one to verify that everything was functional. This one is going to a beta tester / evaluator. The rest are mostly going to be reserved for educators that can give me feedback regarding lessons and suggestions for documentation.
Looks like I can start working with the PCB assembly house to ensure that they can produce these boards without any issues regarding my parts and layout.
There has been so much activity on G+ regarding the K40 "eBay" laser that I had to get on board. The seller was in the US and should get it to me in less than a week. Well, you know what? It came in today, and here is the official unboxing. I don't have too much to say at the moment, so here are pictures.
CE = Chinese Export
FDA = Fools Da Authorities
Busted vent duct, which I was planning on replacing anyway, plus a duct fan. At least the duct ends sort of protect the optics.
I think I will be using some OpenBuilds extrusions to build a frame for this. Something with protective windows, ventilation, and a place to hold the water tank for cooling off the laser. Needs casters so I can roll it outside to run the cuts.
I hope to have some free time at work eventually, so I can get this thing running!
Recently, I heard about a new company called Raise. On the surface, they are in the business of buying used gift cards and then reselling to their customers at a discount. I am really only interested in their service because I (unfortunately) occasionally go to Starbucks early in the morning to get breakfast. Their turkey bacon breakfast sandwich with egg whites makes me feel like I'm going with a healthier option (instead of McDonald's), and the price is acceptable. Raise makes the price even better, and their mobile app makes purchasing these gift cards a snap!
However, when is the right time to buy a discounted gift card? "Buy low" is certainly the right mindset, but I have seen the discounts fluctuate from anywhere between 8% and 19% recently. I thought it would at least be cool to be able to track gift card discounts over time so I'd be in the position to make a more informed decision when I need to get another card.
I couldn't find a Raise API online, so I opted to scrape their pages for data. To simplify the approach, I limited the data of interest to the best discount available for a gift card, i.e. the first one on the page. Thankfully, Raise displays all GC information without a user login, so I wouldn't have to deal with this extra level of complexity that I'm not experienced enough to handle right now.
My regex skills are rudimentary, but easily came up with a pattern that was good enough to scrape the data I wanted from the HTML source. Now I just needed a way to post the data on a webpage. Since I'm not a web developer, I had to come up with a really kludgy implementation that I think will work:
The app is complete and will download the Raise webpage for the Starbucks GC every hour. It then runs my regex and scrapes the GC data from the page. If the discount is different than the previous query (my app will query once an hour), then it will push the new value to data.sparkfun.com.
You can check out the raw data here. There's some garbage in there from testing, so just ignore that.
Next, I will be addressing the visualization part of this project. When (if) I figure it out, I'll blog. Hopefully, I have the ability to host Google Charts in a blog.
Are you interested in data for a different gift card? Post a comment, and I might just add it to my query!
I'm not leaving anything to chance when sourcing ICs from China. I can't afford to have boards assembled and then be bricks because of a dead serial converter chip. I ended up making another simple board for testing the CH340G.
Here it is, the latest rev of my low cost PICAXE board for kids! Same size, but more pins than before! When I make these in large quantities, the cost of putting components on the bottom side of the PCB is negligible, so I decided to do just that and cram in a larger PICAXE.
I was very excited to get this board soldered, so I assembled one at work, only to find that it didn't work. When I plugged it in, the power LED came on, but I didn't get my friendly Windows chime that it makes when USB devices are recognized. Thinking that maybe I did a bad job, I soldered up another one. That one also didn't work! No way, I couldn't have made a mistake on the schematic, could I? I mean, it was just a PICAXE change, a different LDO, and I added a jumper for external power.
I brought the boards home with me, hoping that I would find time tonight to diagnose the problem. Luckily, I did find the time. And there were a lot of problems.
The first thing I did was take a bare board and check the connections. I found that there was a trace in my layout that shouldn't have been there. I think that in the process of routing and rerouting, I forgot to delete an extra trace and ended up with some components shorted to ground. Next, there was a trace missing between the CH340G and one of the 22pF capacitors.
Once I made these changes, the COM port was recognized! Yay! Ok, now to test my simple program from the 14M2 on the 20M2.
But it wouldn't program. The first thing I checked was the Serial In line, and sure enough I found a problem there. One cut and add later, I got it all working. Phew.
I'm not sure that video uploaded properly. You can also see it on Google+.
My version 2 board arrived last week from OSHpark. I got all excited until I finished soldering everything and found that the board didn't work. My PC wouldn't discover the COM port after plugging it in. I found that the CH340G wasn't getting power! Hmmm... I wonder why...
DOH! I guess I accidentally bumped the power line before autorouting. I fixed that problem with a simple add, only to run into another one -- the app couldn't program the PICAXE. However, the programming tool could correctly detect the type of chip connected, as well as its firmware version. What an interesting paradox. I inspected the TX signal and found that processor was sending periodic data packets. Each packet looked like it coincided perfectly with the timing of the processor detection on the application side. I probed the RX signal and saw that there was no activity when I tried to program the processor. In fact, the RX line was always high, and a high state is what tells the PICAXE to report its processor information, and that's why the application was able to tell what was connected.
I found it very unlikely that one input of the inverter was bad, but I replaced that chip anyway. It didn't solve the problem. I also changed the PICAXE for another one, but it behaved the same way. something on the board is causing the RX line to be pulled high.
I soldered up a new board section by section, thinking that if it's a design issue, I would see the problem on another board. I started with the LDO and inverter chips, and they behaved as expected. I then added the serial converter and its related components. All good. Finally, I installed the PICAXE and voila, it worked!
I had one board left so I soldered that one. It was also good.
I need to go back to the bad board to try to determine the cause of the problem. I don't think it's the serial converter chip because it's on the opposite side of the inverter. The output of the inverter is somehow pulled high. At this point, I think I will start removing components one by one until I can isolate the problem. I know that when I installed the inverter on this board, I had trouble soldering the SOT363 package and had some large bridges to clean up. The solder wick was really thick and I used a lot of heat to remove the solder. Perhaps I damaged the board...
Next up, I think I'll post some videos of bringing up the board and doing a simple breadboard project.
Looks like OSHpark beat DirtyPCBs on delivery time this time around. Now let's see if the boards work at all... I'll start with the LED and UART test today.
Quick update -- I submitted my PCB to OSHpark a few days ago, and to DirtyPCBs yesterday. We'll see what the differences are, and how quickly each service turns the boards around!
I also ordered a ton of components from Digikey, so once I have everything in hand, you can be sure to see some status updates here.
Keeping my fingers crossed, hoping that I won't need to do a rev of the board!
I've been spending a few minutes here, a few minutes there, and am close to having something to send out to OSHpark. Here's what it looks like at the moment:
I'm going to get pretty close to the $5 cost target! After I do a quick review, I'm going to get this thing made and see how hard it is to assemble. Hopefully, it works. :)
As I said in my previous post, a few dads and I are going to help out with a Maker's elective at school. The three topics we will be covering include plumbing, woodworking, and electronics. Of the three, I'm probably most skilled in electronics, so that's what I am going to attempt to "teach".
My goal is not going to be to make the kids experts in electronics. Heck, I'm not an expert and just kind of hack my way through projects. I just want them to be comfortable enough with the basics that they will be able to work on their own projects after the course is over. In addition, I would like them to have fun and excite their curiosity so that they will WANT to pursue projects.
The basics include an explanation of voltage and current, Ohm's law, and Kirchoff's Laws. I will need to come up with analogies to make the concepts easier to understand, as well as piece together simple demonstrations to show how the laws apply. I would also like to give an overview of basic components, like resistors, capacitors, diodes, potentiometers, switches, and LEDs.
Blinking an LED when you press a button is nice for a "hello world" kind of electronics project, but to really capture their interest, I'm thinking that demonstrating fun things is the right way to go. For example, I might be able to hack together demos like the following:
wiimote with accelerometer
spinning a stepper motor to drive a car
rotating a servo to move a Nerf cannon
lighting up LEDs in series to emulate a Force FX light saber
sound recording / playing (maybe to add to above light saber demo)
The list goes on and on... but then the question remains -- how in the world do you enable kids to create these projects? When you think about schools and limited budgets in general, cost is a huge concern. You also have to consider the programming hurdle for the kids, as well as what kinds of computers are available. Are the programming tools free? Do they work on Windows and Mac? Can you program the board easily?
I created a matrix of products that had to be cheaper than $20, but the magic price I wanted to hit was $5. That's a tall order, but I think I have reached a decision...
This matrix aims to evaluate each available platform in terms of cost, ease of use, my ability to help the kids out with them, as well as accessibility to programming tools and development environments.
I have decided to go with a custom solution, and am currently designing a simple PICAXE-based PCB that includes everything a kid would need on a stick that plugs into a USB board. It wouldn't need a voltage regulator because I would just rely on the 5V, 500mA USB port present on all computers. The USB-RS232 converter and PICAXE are both 5V compatible. I am currently going to go with the 14M2, which I believe will give them a reasonable amount of I/O to play with. The PCB will include all required components, as well as female stackable headers so that the board can be plugged into a standard breadboard for prototyping.
The other nice thing here (if it works!) is that this gives the kids an opportunity to learn soldering and assemble a mixture of through-hole and surface mount components. I am going to go with the largest surface mount packages available for each component so that it's easier for them.
If this works out, this board could be a really useful platform for future classes at our school, or at our engineering fairs. I'll open source everything so other schools can use it as well, not that there's really anything I'm doing here except assembling the BOM and designing a PCB...
If you have any suggestions about useful electronics topics for kids, or anything else at all, please post them!
It has been a while since my last post! That's because work and life have, in general, prevented me from making stuff. However, over this Thanksgiving holiday Steam had a great sale on games, so I picked up a bunch of them. The most exciting one was project CARS, which is a racing simulator. Well, it turns out that 2+ years ago, I built a racing sim and never wrote about it in my blog.
The frame I built is based on one from someone named "Mr. Burns". His post is no longer online, unfortunately, so I cannot give credit to him other than reference his alias. It was very helpful in getting me to the point where I was just attacking the build and creating on the fly, rather than evaluating the 10 million different ways I could build a seat frame. Thanks, Mr. Burns!
For my particular design, I broke up the frame into two sections. The first part was the steering wheel and monitor mount, and the second was Mr. Burns' seat mount. This separation allows me to adjust the seat distance for taller players. The current design is really inconvenient because I have to loosen up t-nuts to separate the frames. The steering wheel / monitor frame is also not very rigid and stable.
The rear frame is composed of a cheap APR seat (purchased from Amazon), mounted to a frame, which is then mounted on top of another frame through a shock absorber. Most builders suggested using tie rods to prevent the seat from twisting about the shock absorber, so I added them. The seat motion is generated by two SCN5 linear actuators, which are connected from the rear of the bottom frame to the rear of the seat frame. This allows the simulator to generate pitch and roll motions.
The magic is in all in the software, called x-sim. For non-commercial use, you can download it for free from x-sim.de. The mastermind behind the software, sirnoname, authors plugins for each of the available racing sims. These plugins basically hook into the game and can peek at memory locations that represent the car's telemetry data. Using this data and fancy math, he's able to convert the data into physical motion. It's brilliant, and for project CARS it works really well. When I first built this simulator, I only played it with iRacing and Dirt 3, and never spent the time to tune the seat feedback properly. Well, with project CARS, I am quite happy with the results without having changed a single setting. :)
In other news, I'm also going to be helping out with a Maker's elective at school, so I will be posting again shortly about a fun little project I'm going to try to complete for the kids (and possibly for kids in other schools, if it works well enough!).
Like I was saying in my previous post, my MarkOne failed during a print and the fiber was jammed up in the feed mechanism. I had a support call in to Markforg3d, but I decided to be daring and take apart this mechanism to see how it worked.
Thankfully, it was a very simple process. The feeder is basically two thin metal tubes fixed on either side of a pair of opposing-spinning rubber(ish) wheels. The fiber is simply forced through by the wheels, just like a baseball pitching machine or battery-powered Nerf gun.
Just after the exit tube is a small gap before the next tube. This gap is where the razor blade passes to cut the fiber. They use a standard RC servo to do the cutting, which is a great way to do it. Closed loop, high torque, small package. The problem is the noise. I suspected they were using a servo for the cutter because of the characteristic chirping, and disassembly confirmed this.
So the problem my machine was having was that the fiber got jammed up inside the wheels. All I had to do was to provide light tension on the fiber by pulling it, while I manually rotated one of the wheels. I ended up pulling a huge strand out of there!
After the repair, I was able to print two versions of the quadcopter, one with concentric fibers, and the other with isotopic fibers.
Concentric fibers just make outline passes around the perimeter of your object, as well as around any adjacent holes.
Isotopic fibers will do passes like it would for filled layers, but it doesn't do an entire layer of fiber. Instead, the layer is partially printed with fiber, while the rest is completely filled with nylon. The next layer is oriented at a different angle, as are all subsequent layers. You get to control the layup angles through Eiger, if you like.
And the results? Well, the parts are a little stiffer. Not a lot, but I think I need to play with infill. Concentric @ 25% was slightly stiffer than without fiber @ 25%. Isotopic was a little stiffer than concentric, but that could be because it is basically going to print at 100% fill.
Unfortunately, my long follow up build (to complete all of the quadcopter parts) overnight failed, but this shows off another really nice feature of their system -- I just submitted a problem ticket, and they told me they will go into my machine's logs remotely and try to determine what went wrong! So my MarkOne is out of commission for a few days, but hopefully this will help them fix a bug or two in the process.
On Monday, I finally got my registration issues with Eiger resolved. I wasn't going to use specific product names and screenshots in this blog post, but I just noticed that Markforg3d updated their website and are now showing off their software. So I assume that I can now pretty much talk about whatever I want! Eiger is their cloud-based 3D printing software. I'm concerned about this platform for the obvious reasons, like how they can shut a printer down with a remote command if they really wanted to, and how customers are stuck with a paperweight if they go out of business. I hope they eventually release desktop software for the MarkOne, I really do. More about the software later.
So, how was the setup experience? Overall, it was simple and there weren't any surprises. The only problem I ran into was that the dry box that comes with the MarkOne is a rather large OTS Pelican case, and it doesn't fit on the bookshelf with my MarkOne. All of the photos online show just the printer, but I think they should also post accurate images where they've got a large black plastic box adjacent to the printer. Or they could avoid this altogether by shipping with longer flexible tubing so customers have the freedom to place the dry box wherever they like. Since I was forced to place the box to the left of the MarkOne, I just left it sitting precariously between my desk and bookshelf.
The spool holder is really nicely designed. They printed it out of nylon and embedded magnets for attaching the end cap. All you have to do is put the spool on the holder, snap on the magnetic end cap, and then drop the assembly into the dry box. Next, feed the filament to the MarkOne, power it up, and then run the load filament utility from the touchscreen. Simple!
Power up video! Ok, it's not that exciting and it's also upside-down.
And here is the model that I decided to use, along with some of the images of the file getting processed.
The next step involved figuring out Eiger without first looking for a manual. Thankfully, the software is so easy that you don't even need one. It's a bit light on the options -- I like the fact that they don't expose a lot of features, but I'd also like to see customizable slicer profiles that allow me to mess with bridge settings, at the very least. Of course, this assumes that their software even supports bridging. I have no idea if it's an in-house software, or if they are using someone elses under the hood. I'm sure that the fiber-related code is all theirs, though. One other small nitpick is that they use sliders for entering some of the information. I would much rather enter the parameters via textboxes because I generally don't like
having to drag an object on the screen around just to decrease my number
of base layers from 4 to 2. I just want to hit 2. If it's a slider where the exact number doesn't matter so much (like in my GUIs where 1 unit doesn't make a whole lot of difference), then it's generally okay in my book.
Overall,
the workflow is intuitive and quick. After logging in, you start in your library, where you can simply drag and drop STL files. From there you can choose which object you'd like to
print. It takes a little while to process each step because the data
is uploaded to their server, processed, and then
the resulting data is downloaded to the browser. Oh, did I forget to mention
Eiger only supports Chrome? Not a big deal for me, but I just wanted to
let you know.
The 3D rendered parts are gorgeous. I haven't
seen a single 3D printer software package that renders models this
nicely. I also love how rotation is extremely quick compared to something like MakerWare, which I use with my Replicator 2.
Once the part is sliced and viewable, you can check out the
individual layers by clicking Internal View and cycling through the layers. Finally, click Save and then Print. Select your
printer from the droplist of available printers (I guess companies can
afford multiple of these expensive machines), click Print again and the
data will get transmitted over the network to your MarkOne. That's it!
Having a cloud-based printer software is extremely nice. Let's say you're at work and you come across a part that you really like. Just submit the job remotely through Eiger, and you might be lucky enough to have a completed part right when you get home!
I submitted the print job and waited for it to complete. Unfortunately, it was a failure because the part came out warped (but at least it completed!). I guess I was expecting too much
by assuming that a machine that claims 10 micron repeatibility can stay
level even after shipping. :)
I ran the bed leveling
program, which was extremely simple to follow. The only thing that
bothered me was that no matter how many times I leveled the bed, I
couldn't get the piece of paper to slip under the extruder nozzle at the
center point. I also noticed that the knobs are extremely sensitive.
If you literally tap them, you can go from feeling slight resistance to
feeling none at all. Despite all of this, my reprinted part came out very flat. Here are the two prints side-by-side.
After
this model printed, I moved on to an iPhone 6+ stand since my wife has
been bugging me to design one and I keep forgetting. I ended up just
printing the awesome Octopus Stand by notcolinforreal on Thingiverse.
I then moved on to printing a stretch bracelet from anoved and a couple of GT2 and GT3 belts by LionAlex. Nylon is a pretty awesome material. I've wanted to print this material for a very long time, but didn't have a printer capable of handling the higher extruder temperature. I love how it's very stretchy and tough. The belts seem to work pretty well (I'd rather have an OTS belt, of course), but these can work for some prototyping. The bend radius isn't very good, but I think that if you're willing to sacrifice durability, you can print with 0% fill, 0 base layers, and 1 shell. The print will delaminate but the teeth are still intact!
After all of this printing, I decided to move to Kevlar printing last night. Setting it up was also simple, but you need to read the directions. It's very important to use the provided tape to keep the kevlar fiber under tension. Just feed the fiber through the tube until it reaches the feeder/cutter mechanism and then run the load utility. It will feed the fiber all of the way through the extruder, and when you tell it to cut, it will cut off that length of fiber, which you can then pull out through the extruder.
I decided to print the Mini Flame Wheel Styler Quadcopter by tosjduenfs, because quadcopters need to be tough, but rigid. This would be a perfect test to see how stiff the parts come out, and how heavy they are compared to tosjduenfs' numbers.
Unfortunately, the first print failed because the nylon jammed up before the first layer was even partially complete. You know it's jammed because the extruder makes a loud clicking noise, which is pretty much like all other FDM printers out there. The layer was extremely thin, and almost looked thinner than 0.1mm. I tried again and got the same results. The funny thing is that fiber prints start each layer by printing a "timeline" cylinder in the rear left corner of the build plate, and the first layer of the cylinder printed perfectly. I cleaned off the build platform and tried again -- exact same result.
As a sanity check, I printed the quadcopter piece without fiber, just to verify that it was a software issue and not a bed-leveling issue. The part printed perfectly, so it had to be software.
In the main settings page under "Material Settings", you can enable the "Use Fiber" option. However, when you do this, the "Layer Height" setting disappears. If you disable Use Fiber and change the layer height to 0.2mm, it resets to 0.1mm if you disable/re-enable Use Fiber. I figured the printing problem could be related to this, so I disabled fiber. The trick is that you can still selectively enable fiber after you slice the part!
With the new approach to using fiber, the first layer of nylon went down! And the second! And the first layer of Kevlar! But then the fiber feeder jammed. :( I aborted the print and started looking into it by checking the online help pages. It could definitely be an extruder jamming problem, so I followed the disassembly instructions. The fiber was still in the tube -- it hadnt even reached the end of the extruder. I then disconnected the feed tube from the output of the feeder/cutter and extracted the fiber. What I found interesting was that there was still a piece of fiber in the tube after I removed the other piece! I only ran the load procedure once, so this fiber had to have been left in the tube prior to shipment. So I think what happened is that the fiber that got jammed had actually gotten caught up on the other piece, which then gunked up the inside of the feeder/cutter mechanism.
I imagine that the cutter is slightly complicated, so I submitted an online help request through Eiger. I really like how you can post comments on any canceled print, and that this feedback goes back to Markforg3d for review. That's a nice touch.
Well, we'll see if I can get this problem resolved with an engineer today! I'm waiting for the call.
After a week with the MarkOne, I have to say that it's a nice looking, pretty nicely engineered product. It almost works perfectly out of the box and the software has worked well so far, with the exception of a couple of problems. My only real complaint with the design is that it is loud. Stepper motors bolted to a metal frame just make too much noise. Operation is noisy, and the final procedure of lowering the build platform is even noiser -- so much that when it completed a print last night, my wife yelled "WHAT WAS THAT???". Hopefully, this is something they can address by softening the mounts, or changing the step resolution. It's definitely possible to get quieter stepper operation. My PP3DP Up! printer is really, really quiet in comparison to all of my other 3D printers.