V2 Case Almost Finished!

Hello! It’s Alabaster with a long-overdue update.

I’m so close to done. There’s not much left for me to do. It’s taken me so long for so many reasons, and I’d like to talk about that a little before I mention my progress.

At BronyCon, I mentioned to those who asked that the case would be done mid to late August, and that never happened. I wanted to figure out a way to make the case nicer than the last one, and was having a hard time finding a way to do that. I’m not an expert designer, everything I know is self-taught for the most part. I tend to find myself in a position where I’m just not skilled enough to design the things I think of, and I try and work around that. On top of that, there’s the fact that 3D Printing isn’t always exact. I could design two parts that fit together perfectly, and have them not fit when printed. It’s a constant cycle of printing things, and making adjustments to things by a tenth of a millimeter.

The problem I had with the V2 case was the way the lid would attach to the case. Andon and I threw a ton of ideas at each other, but I was having a hard time replicating them in a way that my printer could keep up with. In the end, I’m fairly happy with what I was able to do, and I’d like to hope that everyone else will be too.

Here is what the case looks like in it’s entirety, right now. Mind you, I haven’t smoothed out all the edges, and I haven’t finalized anything yet.

Front view of the assembled design file

Front view of the assembled design file

Rear view of the assembled design file

Rear view of the assembled design file

I have a few photos of the printed and assembled case. Taking these pictures, I noticed a bunch of little errors that I may have missed otherwise. I’ve made note to change about 15 things, and I’ll go do those as soon as this gets posted.

View post on imgur.com

View post on imgur.com

View post on imgur.com

In the end, you can see I was able to successfully make the lid better. I made a real, working hinge! Inside the hinge is a 1mm diameter metal rod keeping it all together. It’s pretty simple to look at, but I had to reprint it several times before it all fit correctly more than 60% of the time. The only thing I have left to do for the case is make a latch on the front. I have a few ideas on how I want to do that, and that shouldn’t take me too long to figure out. More than likely I’ll end up using the same idea as the v1, except just a tiny bit in the front or the two front corners. We’ll see what works best while not looking like garbage! I really wanted to bring in some external parts for the latch, as well as the hinge, but that’s not going to happen, sadly.

As always, feel free to reach out to me on Discord, or at my email alabaster@matchfire.net


Never Finished Means Always Improving

When I set about to design the Verison 2 of the DigiBadge, I had no expectations that this would be the final end-of-the-line product. I expected to learn a lot, to experiment a lot, and to be able to do a lot more. So far, I have exceeded my expectations.

With that in mind, I’m going to go ahead and ‘Announce’ the Version 3 badge. It won’t be as radical a change as the V1 was from the V2, but there will be significant changes. I’ve talked before about adding the SPI Flash card to it, for some persistent data storage. This was initially going to be part of a Version 2+, but things have changed enough to warrant it being called the Version 3.

In addition to the flash memory storage, there will also be a more pins freed up, starting with a change to the control stick input. Initially, I had the control stick running through a bunch of resistors to a single analog input, with each direction being a different resistance. I couldn’t get that working and ended up using five direct inputs instead. The Version 3 will revisit this single analog input, freeing up four other pins. Another pin will be freed by tieing the screen’s Reset pin to the board’s Reset, but then that pin will be immediately taken by the SPI Flash’s CS line. I’ll be trying to break out these pins in the board, but space is limited, so I may not be able to do so.

Speaking of space, though, this leads me to the most significant change. The Version 2 uses two AAA batteries. Why? Well, because 3v is a perfectly acceptable voltage to run pretty much everything at. And it provides decent enough battery life, too. But two AAA batteries are large. Huge, even. They take up about 2/3 of the back of the PCB. I did some thinking, did some checking, and it’s easily affordable to change this.

In series, two batteries provide double the voltage at the same capacity. Two AAA batteries have roughly 1200 mAh of capacity… but so does one, just at 1.5v instead. So, I thought – Maybe I could include a boost regulator. After a bit of searching, it turns out that yes, I can, without much additional expense either. This will do two significant things. One, it’ll provide a nice, solid power state for the board at all times until it dies. This means no more screen dimming. No more worrying about the SD card going below its proper voltage threshold. Two, it’ll allow a lot more of the battery to be used. Currently, the Version 2 badge drops below useful power at about 2.7 volts, or 1.35 volts per cell. Realistically speaking, there’s a TON of power left in the battery – Maybe somewhere between 3-4x as much. The voltage regulator I’m currently looking at goes down to 0.8 volts. While it will use more power, I don’t expect to see much of a difference in expected lifespan.

The Version 3 will fit into the same case as the Version 2, which is why I mentioned those size restraints above. However, I AM working on something for the more adventurous among you: The return of the ‘Hacker’ Badge.

The Hacker Badge will be a significant change from the Version 3’s normal layout. It’ll be larger. A bit larger. It’ll feature the same components, but in a different manner. First, the nav stick will be moved to the front. Second, every pin that can be broken out will. There will be the FTDI connector, along with an ISCP header and headers for the digital pins and analog pins that are free, aproxamately 4-5 of each. It’ll have a different power switch, which will make Alabaster a lot happier in designing a case for it.

There are also a few other devices I’ve been working on, most notably the Super badge which I’ve covered before. I’ve also designed a breakout board for the SPI flash which I’m using, and an I2C controller for a MUX chip, mostly just because I can.

I’ll keep you guys updated with how things go!


Alabaster on the V2 Case

Hey guys, been a good while since I posted, and there’s a kinda good reason (not so much) for that. I’ve been having rampant computer problems that have almost barred me entirely from using my Desktop computer (the one I do all my work on). Turns out, the memory leak I was trying to hunt down and kill was in more than just the three programs I had removed from my desktop about a month ago, but in Windows itself.

Long story short, the problem is fixed now. And I need to catch up. Badly… I’ve been putting of saying anything until I had the problem sorted out, and now that that time is now, here we go!

SO! I will be scrapping the half-finished design I had been working on in order to favor a new one. That being said, now that I’m not scraping along at 98% memory usage all day, I have the ability to both work faster, and show my work to you guys. As some of you may have already seen, I made a post on Twitter asking for votes on the type of media you would like to see (either a livestream, or a timelapse). HERE is a link to the tweet, so you may go vote. Now, keep in mind, if I do a livestream, I will also be posting that on the YouTube, if a bit later than I would post the timelapse.


Anyhow, yeah. Like Andon said at the end of his last post, I will be working to make it so that the V2 case is compatable with the V2+, V2.5, V3, whatever we call it. That way, you guys don’t have to wait months again for me to get my act together. I promised people at BronyCon that I would have the case design done by mid to late July, and I failed to deliver. And for that I am sorry.

My new “release date” is early to early-mid August.


As usual, if you have any questions, I can be reached on Twitter @MysterAla or through my email alabaster@matchfire.net

Plans for the future!

Greetings everyone! Figured I’d update you on what’s going on with the Super Badge, the V2, NightMare Nights, and anything else I can think of by the end of this article.

First up, the fun stuff: Updates on the Super Badge! If you take a look at the last post, you’ll see some things about the Super Badge. Well, most of them are now wrong. I found a screen that, instead of taking up almost all of the pins of an ATMega328, operates under SPI. This means significantly fewer pins are used, meaning we don’t need to have the 328, or its associated hardware such as the MUX, at all. This trade actually reduces the total cost by a handful of cents. Even though it is SPI, it’ll use a few more pins. Three pins will be used by the Chip Select pins for the display, the touch controller, and the SD card. Additionally, the display needs another data pin and a pin for the backlight, bringing the total used pins to 5, plus the 3 for the SPI bus.

That’s not an insignificant amount of pins. The ATmega32u4 only has 17 digital pins, and we’re using almost half of them for the screen! It does have six additional analog pins but we’re still using a lot of pins. It was at this time that I came across the concept of port expanders. While I initially was looking for SPI port expanders to save pins, they were all fairly expensive. Then I found the PCF8574, an incredibly inexpensive I2C port expander. Each chip adds eight ports, and while they require the use of the I2C pins, this doesn’t prohibit the use of other I2C devices unless there’s an address conflict. With this in mind, I immediately added two of them to the board’s proto-design. Then I went even further and added a PCA9685. This is a 16-channel PWM chip, designed for use with LEDs but often used for controlling servomotors. It can also be used as a general-purpose PWM output as well. With these chips added, the Super Badge will have 43 pins available. Granted, 16 of them are PWM output only, but that’s still a lot of pins.

Now, for other things.

In a few months I’ll be heading out to Texas for Nightmare Nights where I’ll be selling the remaining V2 badges and will have the first Matrix Pendants there too. If things go well, I might even be able to have a Super Badge prototype there, too! Given my track record with prototypes, I don’t expect to have the Super Badge until closer to the end of the year. I fully expect the first few designs to have horrible disastrous flaws in them, but that’s why you prototype.

Now, if you noticed, I said the “Remaining V2 Badges” – As you may have presumed, that wasn’t a typo. I’m currently in the concept stage of an improved version of the V2 badge. Whether it warrants a V2.x label, a V2+ label, or even a V3 label remains to be seen, but it’ll be different. First thing I’ll be doing is figuring out the SD card reset issue. A capacitor’s been suggested to me and should do the trick, but the question is how large of a capacitor do I need? After that, I’ll be looking in to squeezing on a small Flash memory chip for storing settings through power cycling, and I’ll also be breaking out as many of the pins as I can manage. Most of them are used, so it won’t be many, but it’ll be all of them that are available. I’m having Alabaster adjust his case design to accommodate this new badge, so we don’t have to turn around and immediately redesign the case for the modified board.

That’s it for now! If you have any questions or comments, feel free to leave them here, on our Twitter, or on our Facebook.

It’s a bird! It’s a plane! It’s the Super Badge!

Greetings, everyone! Sorry I’ve been so quiet lately. After BronyCon I had some family issues that took up a large amount of the week after that. Since then, I’ve been mostly relaxing and playing large amounts of Fallout. But, I haven’t been entirely lazy. I’ve been mulling about doing a “Super” DigiBadge – A larger one with many more features, but at a higher, potentially significantly higher, price point. After BronyCon, Purple Tinker – The founder of BronyCon and a, well, tinker, hopped on our Discord Chat (Yes, that’s a link – Join us!) and asked about… a larger DigiBadge with more features. The conversation that ensued was glorious, with loads of ideas bouncing back and forth.

The biggest issue with the screens for the Super are that they require a VERY large number of pins. Put one on the 328 and you have just about nothing left. The obvious solution is to find a screen that uses fewer pins. We didn’t go for the obvious solution, because while price is less of an issue, it’s still a huge motivator. Instead, we went for the possibly-insane but workable solution of two microcontrollers on the same board. An ATMega328 will drive the screen, and will be programmed to accept commands to display things. Essentially, it’ll be the GPU of the system.

The real brains of the project will be an ATMega32u4, the same that is found in the Arduino Pro Micro. In addition to having 3 additional Digital pins over the 328 (Bringing the total to 16), the 32u4 also allows for six of those digital pins to be used as analog pins, bringing the usable number of analog pins to 11. That’s not even the biggest feature. That belongs to the fact that the 32u4 is USB-Native. What does this mean? You won’t need a special programming chip to interface with the device, making it significantly easier to program.

After we figured out how the project would work, we started figuring out what sort of other goodies we could throw in there. Below is the current list of features that I’m planning on putting on the Super, but be aware that it will likely change before the everything is said and done:

  • 2.8″ TFT LCD screen
    • Touchscreen, too!
  • MicroSD card slot
  • ATMega328 for GPU
    • FTDI Connection will be available for reprogramming
  • ATMega32u4 for CPU
    • USB-Native support for reprogramming the ATMega32u4
    • All unused pins for both microcontrollers will be broken out
  • 2500 mAh 3.7v LiPo Battery
    • Including charging circuit
    • Will charge if Super is plugged in but off.
  • 3.3v Regulator
    • No more screen dimming as the battery fades
  • USB Micro port for programming and charging.
    • Charge on the go with your phone’s charger!
  • 1Mb on-board flash storage for saving settings
    • Set a “Favorite” badge to default to.
    • Start to a “Favorite” image with an Art Card
    • Set and display your name!
  • 3-Channel Multiplexer/Demultiplexer
    • Both chips can share the SPI bus!

That last bit is a late addition to the board. Most of the Arduino-to-Arduino communications solutions out there are one-way. I wanted to have the 32u4 have access to the SD card, but the 328, being the GPU, would also need access to it. I’d have to code in a way to get information from the SD card, into one ATMega, and then to the other ATMega. This seemed a little excessive. The solution is a Multiplexer/Demultiplexer or MUX chip. This chip allows easy switching for three channels of communication (Clock, MOSI, MISO) between two sources to one destination – Or from one source to two destinations. And, it can all be controlled via the 328, so the 32u4 doesn’t even lose any pins, aside from those used for communicating with the 328 and the SPI pins. But those were going to be used anyway. The 32u4 would simply send a command to the 328 saying it wants the SD card, and the 328 would set the MUX appropriately and then use one of its own pins as the CS pin.

We had explored some other options for the boards, such as Bluetooth or WiFi capabilities – But then we run afoul of FCC regulations. Currently, Matchfire boards fall under the “Subassembly” category, making them exempt from FCC certification. If the FCC were to tell us that they didn’t comply with the Subassembly category, certifying the boards with the FCC would cost somewhere between $1000-$2000, which is a lot but not terrible. That all changes when you start throwing around wireless transmission. If you’re building your own wireless device, you have to get it certified. There’s a few caveats to that, but one of those is that you can’t make more than five boards, and another is that you can’t advertise them for sale. Certifying such a device runs somewhere between $10,000 to $25,000. Or more. It’s expensive, and Matchfire does not make enough money to pay for that sort of thing. They’re a little more lenient when you’re using a pre-built wireless transmitter, but those are a bit more expensive and outside of the price range of what we’d like for default inclusion. I plan on designing around users being able to include one of those, but it would have to be purchased separately.

Currently, I’m guessing, and only guessing, that the purchase price for these will be somewhere between $35 and $40.

Formatting images and SD cards for the DigiBadge V2

Greetings, everyone! I had many, MANY questions on how to format images for the V2 DigiBadge. Doing so is fairly simple, but there’s some things to keep in mind. The images need to be 24-Bit BMP images, and need to be 160 x 128 pixels. There are some quirks depending on what editor you use.

For GIMP, which is the image editing program I use, simply export as a 24-Bit BMP. I can personally attest to this, and have had no issues so far.

For Photoshop, I’ve read that you need to export as an 8-Bit BMP as Photoshop uses slightly different terminology to refer to the same thing. However, I have also heard that people have needed to export as 24-Bit BMP from Photoshop. I don’t have any versions of photoshop so I can’t personally check this – It may be that older versions of Photoshop called them 8-bit and newer versions call it 24-bit. If there is an option to export as 24-bit, I would try that first, and if it doesn’t work, try exporting as an 8-bit image.

For Other Image Editing Programs, you should be able to export as a 24-bit BMP, but depending on the software and terminology used, it may be called a 24-bit BMP, an 8-bit BMP, or something else entirely. These programs may require some experimentation.

As for SD Cards, I was asked multiple times about them, but I wasn’t sure about the correct answer. The SD cards must be formatted as FAT32. Official programs will not format cards larger than 32gb as Fat32, but utilities exist to format cards up to 512gb as Fat32. One of these utilities is used as part of an alternate Arduino SD utility which I will look into including into the V2’s code if possible. As it is, the code is pretty tight on space, but I might be able to squeeze it in there somehow.

Post-Con Breakdown

Greetings, everyone!

So, after spending the weekend at BronyCon and having a blast and running out of things to sell, I’ve had the chance to run the numbers. Lots and lots of numbers. I have some good news, better news, and plenty of thoughts along the way.

The most common question I received from other vendors and even a few people was “Did you break even?” – A question whose answer is not as easy as I would like. The short answer is “No.” But that’s with some of the most basic math. I’m not going to go into specifics, but that’s counting the costs for the Pendants, which weren’t available for sale at BronyCon. It’s not exactly fair to count something you didn’t sell, but it’s also not particularly easy to split out the costs. A lot of the components for the V2 were shared by the Pendant, and splitting the price isn’t exactly the easiest thing to do. Still, the best quick math that I’ve done says we just about broke even when you don’t take into account the Pendants. But you know what? I’m not too concerned with breaking even. I honestly didn’t expect to break even, as the production for the weekend was ambitious.

That said, it really helped a lot. As I mentioned above, I ran out of things to sell. That doesn’t mean I sold everything I brought. A number of the Version 2 badges suffered from something I missed – I expected the battery packs to be a bit tighter to the board than they were. This led to quite a few breaking a solder joint, which made them unstable as moving the battery pack would and did cause the power to cut, turning the device off. This is a simple fix, as it just involves re-soldering the pins and securing the loose end of the battery pack with hot glue or similar. I have a whole bag of V2s that broke in this manner that I need to repair, but thankfully I made quite a large amount and was able to sell somewhere around 80 of the badges. I haven’t gone through and done a full inventory of what I have left, so exact numbers will have to wait.

There were a few super-minor issues with the programming that will be addressed, and I’ll go through those here. First, when an SD card is inserted, but the card load fails, the badge will continually attempt to reload the SD card. This only came up with some V2 badges that had issuess accessing the SD card slot, but it would also crop up if a bad SD card was inserted into the device. The second “issue” is that, even with an SD Card loaded, the V2 will restart into badge mode. This will be changed into slideshow mode.

As far as money is concerned, it was essentially a wash. As far as everything else goes? Well, the response I received from people was fantastic. People loved the idea, and I ran out of sellable items. Going by sales numbers, if I hadn’t run into the issues I had, it’s entirely possible we’d have broke even, even after adding the additional cost of the pendant – Products that weren’t even available to sell.

And, for a final bit of good news, Matchfire has been accepted to vend at Nightmare Nights Dallas! I’ll have V2 digibadges there, I’ll have Pendants there, and maybe a new design or two. As I have the core products that I need (V2s and Pendants), I’ll be able to fund some experiments into a V2 “Super” – A larger DigiBadge that has more capabilities. I’m looking into various options for these badges, but at the moment I have my eye on a screen that’s both larger and a touchscreen.

That’s it for now! It was absolutely wonderful to be able to meet with everyone and the response I received was absolutely fantastic. Thank you all for a wonderful weekend, and I’ll keep you posted on updates and information about future products and appearances.

Mid-BronyCon quick update

Hey everyone!

I’m not going to go over much, but BronyCon has beem fantastic! I’m running short on sellable product and fully expect to run out tomorrow. A good problem to have!

In bad news, the battery packs are not as secure as I first thought they would be, leading to broken solder joins. While most, if not all of these can be fixed, I don’t have the tools with me to do so. Additionally, I’ll have to find a good permanent solution – Hot glue, maybe. Perhaps some double-sided tape. Something to keep the battery pack still.

There’s been a significant amount of discussions with people and ideas on what can be improved. I’ll go over that when I’m back at my computer.

Until then, have a great weekend! My thursday sucked, but the weekend has been great for me, and I hope it is for you too!


BronyCon Preparations!

Sorry we’ve been quiet the past few days. We’ve been prepping for BronyCon! And with that, I’ve got some details on things.

First, our full catalog of items we’ll have:

  • DigiBadge V2 for $15
  • DigiBadge Art Card for $10
  • LED Pendant for $10
  • Matchfire Keychains in Purple, Blue, and Black for $5

Please note: While we will be providing a set of AAA batteries for your DigiBadge or LED Pendant, we will NOT be providing or selling additional sets of batteries. They’re not something we’ll be selling or shipping normally, and the power of the provided batteries should be quite enough for the whole convention. I’ll detail battery life below.

Second: Our location! Matchfire will be sharing booth #612 with The Paper Pony. The two artists we’ve collaborated with, Leekfish and Trish Forstner, will be at booths 121 and 616 respectively. I’ve color-coded us all on this handy-dandy image. Matchfire and The Paper Pony are in red. Trish is in Green, and Leekfish is in Purple. I encourage you all to pay each of them a visit! They’ve helped me quite a lot and I’d love to return the favor.

Matchfire is at 612 (Red) Trish Forstner is at 616 (Green) Leekfish is at 121 (Purple)

Matchfire is at 612 (Red)
Trish Forstner is at 616 (Green)
Leekfish is at 121 (Purple)

Third: I ran, a week or so ago, an experiment to see how long the DigiBadge will stay on. The short answer is: A very, very long time. The long answer gets a little more complicated.

To start off, you should be fairly safe in leaving the DigiBadge on from the time you get it until the time you go home. At the end of the con. From opening ceremonies at 9am on Friday to closing ceremonies on Sunday at 5pm is 56 hours. At about 65 hours of continuous runtime, the V2 badge was noticeably dimmer but still quite visible. So convention run time won’t be an issue, especially if you turn it off when sleeping or not at the convention. Please note that in continuous cycle mode or slideshow mode, battery consumption will increase by about a third, reducing the useful lifespan of the batteries.

The microcontroller will stay powered all the way down to 1.8v. The problem is that below about 2.6v, the screen’s backlight becomes incredibly dim and almost impossible to see what it is at a distance. I’ve programmed in a “Low Battery” warning indicator that’ll show up when the battery voltage dips below 2.7v, but even when that appears it’ll still have a decent amount of visible time left. As the batteries have a significant amount of power left in them at that point, I’d encourage you to find somewhere else to use them.

The LED Pendant is a different animal altogether, as it has a voltage regulator that has an extremely low cutoff – 0.8v. However, the voltage regulator and other circuitry greatly increase the power draw of the device to between 4-5x the amount of the DigiBadge. This results in a battery lifespan of aproxamately 16-18 hours or so – It won’t last the entire con if you have it powered the whole time, but it’ll last a day or two of normal usage.

Fourth and finally: I’m excited to announce that Matchfire has been accepted into the Vendor hall for Nightmare Nights! This is a bit far off and we have BronyCon to worry about at the moment, but we’re excited for this! I’m hoping to get one or two of the products out of my head and into reality before then, but we’ll just have to wait and see.

That’s all for now! See you at BronyCon!

A most shocking update

Greetings, ladies and gentlemen! I’ve got a great big nice update for you today.

Over the last week or so, the parts orders that I’ve placed have trickled in and I’ve accumulated quite the pile of boxes. Today, I finally got the “Big One” – The final circuit boards! So, I immediately set about assembling the first “Production” DigiBadge V2 (I’d have assembled a pendant, but there’s one package due in later this week I still need). Used the solder stencil, put it in the reflow oven, hand-soldered the screen and battery on. Drop some batteries in, flip the switch…

Nothing. Batteries get warm. Out comes the multimeter! Check the resistance between ground and supply. There’s a short. Spot two of them on either side of the microcontroller. A dab with the solder wick fixes these real quick. Put the batteries back in, hit the switch.

Nothing. Except wait, the microcontroller’s getting hot! That’s typically indicative of backwards voltage. Check things, double check things, everything looks right. On a hunch, I look at the battery pack, and go grab my previous V2 prototype. Surprise! The battery packs are not identical – The ones I had been using had switched pins compared to the ones from the bulk source.

So I sigh in exasperation, take the batteries out, put them in backwards, and switch the thing back on. I didn’t expect much, as reverse polarity is typically the easiest way to fry a chip, but the badge fired right up and sprung to life, working absolutely splendidly. This issue will be addressed in the upcoming V2.1 DigiBadge, but if you get a DigiBadge at BronyCon or until I run out of stock on the V2, you’ll have to remember to put your batteries in backwards. Additionally, as this is a part issue with the battery holder – Something shared between the DigiBadge and the Pendant – this will mean that pendant batteries must also be placed backwards. As with the DigiBadge V2.1, this will be addressed in a Pendant V1.1.

But there is good news! The issue with the SD card resetting the chip seems to not be present with this specific badge. I’m not going to promise it’ll work with your V2, as I’m not 100% sure WHY it’s working properly, but it’s allowing me to debug and address the issues with the code. I’ll be keeping my eye on all of the standard-production V2s and seeing if it may have been an issue arising from me hand-soldering parts that weren’t designed to be hand-soldered. If it does rear up again, I’ve got an idea for how to address it in the V2.1.

If you haven’t yet, you can pre-order the V2 and the Pendant over in our shop!