nuxx.net
Making, baking, and (un-)breaking things in Southeast Michigan.

Category making things

SIDbox Update

Well, it looks like I’ve identified a problem with the SIDbox layout. Per this thread I shouldn’t be using a stand-alone oscillator for the SID. Whoops. That means any finally assembled boards will have a jumper running from where the oscillator goes over to pin 18 of the PIC. Not a big deal. Won’t break anything, it’ll just work around a potential problem.

Second, I asked the guy who writes and has designed the core of the MIDIbox stuff if he’d be all right with my selling these boards as kits. He had some suggestions, but he sounds pretty okay with it. I’m just not sure I wish to make the investment. The thread about that can be found here if you are interested.

So, I’m laying the board out again, and I’m going to be getting six prototype boards which should work well, but aren’t usable as kit boards.

I guess the question is whether or not I should attempt to put this together as a kit. I’m thinking an initial (or single?) run of 50 would work well… I just wonder if I can afford it. And I still can’t answer the question of why I want to do it. It just seems like something fun to do.

electronicsmaking thingsmoved from livejournal

SIDbox v1.2 — Boards Ordered


SIDbox PCB Layout v1.2
(Click for SIDbox Gallery…)

Well, I did it. I just submitted an order with PCBFABEXPRESS for six PCBs made to the board layout seen above. US$78 for the boards and $15 shipping, and I should have them some time next week. I also placed an order with Mouser for the ‘new’ PICs (PIC18F4620), the parts for the new MIDI input / output handling (the IIC MIDI Module as opposed to straight off the PIC), and the stuff for a PIC programmer I’m piecing together.

With any luck I’ll have a working SIDbox prototype by the time I head off to the UK. This will be nice. If everything is as I hope, from here on out I’ll just have to etch one more PCB and everything after this will be soldering and assembly. Well… Except for the design of the rear panel for the case, but that won’t happen until I’m certain that I have a functioning board / synth.

Oh, I just remembered that I also need to pick up a USB to MIDI adapter… Hrm. Okay, have to find one of those. Still, things are coming along nicely.

This weekend I headed up to the northern Lower Pennisula (of Michigan) to visit my grandparents and meet up with for dinner. I also went to Sleeping Bear Dunes National Lakeshore (and received a mighty sunburn) and Hartwick Pines State Park. Photos from each are forthcoming.

I guess tonight I’ll just go and try to acquire some PCB etchant from Radio Shack. Then I’ll confirm / finalize this PCB design for the PIC programmer, etch it, and… That’ll probably be the whole evening.

electronicsmaking thingsmoved from livejournaltravel

PICs, SIDbox, and Mistakes


Microchip PICkit2 to DIP40 Adapter

Okay, so this post is going to contain lots of babbeling as I try to get my thoughts together…

First off, it seems that I made a bit of a mistake with this SIDbox I’m working on. The mistake stems from my thinking that the PIC18F452 is part of the PIC18F4520 and can thereby be programmed with the PICkit2 which I have. I was wrong.

Based on this faulty thinking, I both built the PICkit2 to DIP40 adapter (photo gallery retired) which you can see above and included support for using this programmer in the SIDbox (photo gallery retired) I hope to build.

So now I’ve got some hardware / connectors on the SIDbox PCB which are pretty much useless as the device would normally work.

At this point I have two choices…

The first is to build a new PIC programmer (probably connected to a serial port) which will properly flash the PIC18F452 using the 1×6 pin header found on the DIP40 adapter (photo gallery retired) and the SIDbox (photo gallery retired) and use the existing hardware layout and order the PCBs.

The second option is to use a newer PIC, the PIC18F4620, on the SIDbox instead. This has the advantage of being completely compatible with my programmer and thusly the adapter and the programming hardware on the SIDbox board. However, there appears to be a bug in the hardware of the PIC18F4620. The end result of this bug is that one can’t use a MIDI output directly from the chip. So, I’ll have to add some additional hardware to provide MIDI output. On the upside, this extra hardware (the MIDIbox IIC MIDI module) provides for MIDI LEDs, making part of my existing design redundant. That means some board space is freed up for the new hardware.

So, at this point I’m not completely certain what to do, but based on the responses I am getting to this post at the MIDIbox forums, I think the second option is going to be the best one. In fact, I’m going to change the schematic and start laying out the board for this now. Just in case I decide that’s the best way to go.

electronicsmaking thingsmoved from livejournal

SIDbox Update… Again…


SIDbox PCB Layout
(Click for more of the SIDbox album…)

Nope, there’s not much in the SIDbox (photo gallery retired) album yet, but I do have what I believe to be the final schematics and PCB layouts. I’m just waiting on some parts from Mouser and Digi-Key to arrive so I can confirm the desired layout, then I’ll place the order for everything.

Also, here is a post I made to the MIDIBOX.ORG Forum about the project:
Continue reading: Cut to save page space…

electronicsmaking thingsmoved from livejournal

…to avoid mad display…


Harbor Freight Digital Caliper

I feel embarrassed. I bought a digital caliper from Harbor Freight Tools. It was $15.99, and it passed tests like zeroing it, QUICKLY sliding it half-way opening it, reading the measurement, zeroing it again, then snapping it shut. And it still read the inverse of the other reading. It also does metric and standard, and appears… Not bad. At least not for a $16 caliper.

There are some engrish gems in the ‘operating instructions’, though. For example, “Clean caliper bar with dry cotton fabrics before using to avoid mad display…” or “Never apply any electric pressure on any part of the caliper and never use an electric pen for fear of damaging its chip.”

The original reason I went there was to get some slatwall-type plastic sorting bins to put electronic parts into. I managed to get what I wanted. A small metal stand with 15 plastic bins, for US$20. A bit high, but not too bad.

Time to go clean up my work bench area.

acquired thingsmaking thingsmoved from livejournal

SIDbox Update

Well… I just ordered about $150 worth of components for the SIDbox project. This is everything needed to build the first prototype except etched end panels, the PCBs, and the power supply. I’m waiting to order the PCBs until I can confirm the switches work as expect. The power supply is somewhat dependent on the type of SID installed in it. And the etched end panels… Well… They are just a finishing item, so those will wait until I’m certain that this thing actually works.

Also, I’m nailing down some final things on the PCB layout. Just… Tweaks and stuff.

electronicsmaking thingsmoved from livejournal

SIDbox PCB


SIDbox PCB (Click for 300dpi)

Yep, there it is. The first draft of the PCB for the SIDbox thingy I want to make. I need to do a good bit of checking to be sure I’m happy with it, but if I am, I’ll likely be ordering 5 of them. Then the Mouser parts order will be placed… Then (hopefully) I’ll put it together and it’ll work. I hope.

For now, though, I’m going home. On the way home I’ll stop to get something tasty (and fairly good-for-me) for dinner. Maybe tonight I’ll have a good beer, too. I’ve done enough electronics work for one evening.

Oh, and there is a copy of the Boondock Saints waiting for me to watch. Yes, I’ve never seen it.

UPDATE: Whoops, I just realized something that’s wrong with this… My hope is to solder on just the socket and pin header, then program the chip using my PICkit2 programmer. Well, without a line running from JP1P2 to VDD on IC1 (the PIC) I won’t be able to do it. Must change that…

Also:

· Rename all parts appropriately.
· Clean up BOM with new part names.
· Move JP1P1 indicator arrow to other side to align with the PICkit2’s indicator. Done.
· Establish values for the resistors for the LEDs.
· Also, maybe fix how the LEDs are connected. Currently the polarity for PWR_LED is different than MIDI_IN_LED and MIDI_OUT_LED. Maybe fix this. Probably should if kits may be sold. Done.
· Connect JP1P2 to VDD on IC1 so IC1 can be programmed with only JP1 and itself installed. Done.

electronicsmaking thingsmoved from livejournal


Click for full res…

Hmm, I think I’m done with the SIDbox schematic. Also, all the parts have packages matching the BOM I’ve been making up. I also replaced the standard MIDIbox programming header with one that matches the Microchip PICkit2.

Uhm… That’s all. I think it’s time to start laying out the PCB. I’ll probably do that tonight or tomorrow.

electronicsmaking thingsmoved from livejournal

SIDbox

Over the past couple days I’ve been attempting to learn to use CadSoft EAGLE better. I think I’ve come pretty far on it, and I’ve started working on a project that I’ve been wanting to tackle. That is, building a stand-alone SID module. Think of something about the size of an external hard drive, with MIDI IN / THRU / OUT jacks, and a pair of 1/4″ jacks for audio in and out.

Well, I think I’ve gotten pretty far on it. If any of you are interested in seeing the schematic as it stands right now, please take a look here: SIDbox Schematic

Also, if any of you who are a bit more electrically inclined could take a look at the power supply, that’d be really great. I’m not sure it’s right… I think so, but I’m not certain.

For what it’s worth, I’m hoping to feed PWR_TIP and PWR_RING 15VAC from a wall wart.

If the SID is a 8580 (the newer version) instead of a 6581, then I’ll replace the 7812 with a 7809 (since it only needs 9 VDC) and replace a few of the caps in the SID portion.

electronicsmaking thingsmoved from livejournal