encounters with electron•ics
I’ve made a shield for the bat board (a “batshield”) to turn into an F072-based SerPlus, with some extra features: “raw” mode (works as any other USB-to-Serial with DTR), neopixel for status, FET to control output power, slide switch to select 3.3V adn 5V).
I like the size of the ARM Teensies, and I’ve seen (and tried) a STM32L4 breakout of this size here: Dragonfly. However I wanted something cheaper, simpler, and hand-solderable (as usual). Hence a breakout board I dubbed “the bat board” (because I’m not good with names).
Note: Main post on the main page.
A summary of hand-solderable ARM breakout boards that I’ve made over the past year (STM32F042F6P6, STM32F030F4P6, MKL27Z256VLH4).
A BeagleBone Black half-cape featuring: an atmega328p, a RFM69(H)W radio and a DS3231 RTC with battery backup.
Following up on X-A4U-stick rev1, I’ve made another revision of the board, again Open Hardware.
Delving into the world of designing PCBs and SMT soldering, I’ve made an USB stick with atxmega128a4u, microSD socket and a couple more goodies.
A shield for Stephan’s fantastic AVR stick is in the works! It has the same format as the AVR stick itself, 5cm x 2.5cm. I want to use the AVR stick as an encrypted “mass” storage, so the features are
Stephan Bärwolf’s AVR stick is a wonderful device to play with: it is a breakout of sorts for ATMEL’s atxmega128a3u chip, and I like how it is designed:
As I’ve been moving from Ciseco’s radios to HopeRF’s RFM69CW’s, my XRF + thermistor sensor from Ciseco needed to be “converted” as well. As RFµ-328 has the same footprint as XRF (except it’s “sticking out” from the pins at the other end), with similar pinout (GND, VCC and some input/output pins at the same places), I thought that I would just replace the XRF with a RFµ-328 with a proper firmware. Success!
Recently there were several things related to Ciseco that annoyed me a bit (RFµ-328 is going to get a bigger footprint; they removed an item from a bundle in their shop from one day to the next without changing the price or announcing anything; buying SRF radios can be now only in bulk (10 minimum) UPDATE: Ciseco rescinded the decision; SRFs are available individually again. Well, too late for me.). Don’t get me wrong, they still make cool stuff (like the RFµ-328), but I didn’t want to depend on them for radio modules.
Inspired by FriedCircuits’ USB Tester 2.0, I’ve decided that instead of ordering one, I’ll make one myself on a protoboard.
Having looked at simpleavr’s HVSP fuse resetter, I wanted to make one myself, since I play with attiny85’s and sometimes I want to reset the fuses to “unlock” an attiny with disabled reset.
Having looked longingly at Sparkfun’s Tiny AVR programmer, I wanted the same functionality for my attiny USB stick. So I scrounged some old arduino stacking headers, and made another shield for it: Attiny25/45/85 programming shield!
I wanted to make a simple amplifier (essentially for use with Arduino), a little googling showed that one of the simplest ones uses LM386 operational amplifier chip. There are very many slightly different schematics to be found on how to go about using LM386. In the end, I used the one below, a combination of what I found and which parts I had on hand ;)
Intrigued by the cheap and easy-to-use radios from Ciseco, I set out to make a sensor data collecting station out of my Raspberry Pi. The goal is to have the Pi act as a central unit, with sensors reporting to it, and the Pi serving the data in a visually pleasant and easily comprehensible way over the net. Plus, it should be reasonably easy to hack, so that modifications to suit particular needs are quick.
Inspired by a Sunday fun rolling dice, one afternoon I ventured to build my own dice on a protoboard.
The really tiny VUSBtiny programmer I’ve made is a handy thing, but hooking up the wires to the flat 6 pin connector gets annoying. So I’ve soldered a ZIF socket onto a piece of a stripboard, a couple of wires, some headers…
As I’ve started using ATmega ICs on a breadboard or a tinyUSBboard, looking up the pinouts became a chore. I’m not the first to come up with the sticker – I found a couple of them on the web, even orderable from Adafruit for instance, but I wasn’t happy with those I found. The main reason is that sometimes I want to use the Arduino IDE to program them, sometimes straight avr-gcc with a programmer. So I made stickers in Inkscape which has both pinouts: red for arduino, black for original names from ATMEL. Plus indicators which pins support PWM. If you’re interested, grab a svg – it has drawings for ATmega328p and ATmega8.
As a second exercise in soldering, I decided to make a tinyUSBboard. It’s a pretty cool gadget – a prototyping board with an AVR chip (can be programmed through the Arduino IDE). The USBasploader bootloader makes it very easy to program the chip without any extra ISP programmer; to run the bootloader just hold the “Program button” while resetting the board. Check out its website for some examples, and also the files to add to the Arduino IDE for programming through it.
As an exercise in soldering (to which I’m quite new), I decided to take the VUSBtiny programmer on a breadboard and make one on a piece of a stripboard. I used a stripboard with 3x1 strips (so I didn’t have to etch anything off). The schematic is of course the same as the original breadboard version, except I added female headers for the USB and the ISP-out connection. Since I routed some wires underneath the ATtiny, instead of soldering the IC directly, I let it “stand” on a pair of precision female headers. Of course a dedicated socket is also fine (but I didn’t have one); I think one’d need a precision one, since there’s not much space underneath the usual one.
Control the light intensity of a LED diode by the length of a button press: if just clicked, then turn it on all the way; if held for a longer time, slowly change the intensity up and down. Releasing just keeps the current intensity.