I made a watch. Because of course I did. Same wrist-strap and general idea as the LilyPad and Protoboard Wrist Controller. But the protoboard is populated with a Real Time Clock (RTC) module, and four-digit seven-segment display.

I'm using the SparkFun DeadOn RTC module. I got it for another project and just happened to have it laying around. You can get others that use fewer pins though, like I used in the clock. (DeadOn RTC setup guide). Downsides include not being able to find the right sized battery. (I had to go to Belgium for it, and it still hasn't arrived.) Upsides include the module having two alarms. One to the second, the other to the minute.

If I have alarms I'm going to need an alert, so throw in a LilyPad Buzzer (as in speaker) (Buzzer setup guide), and a SPDT slide switch to put it into silent mode. And if it's on silent I'm going to want a vibrate option, so add a LilyPad Vibe Board. This is the Vibe Board setup guide, but I'm doing things a bit differently. I'm not using a MOSFET, and I connected - to GND, and + to PWM pin 6. It works just fine.

To see the time I'll need a nice display like Adafruit 4-Digit 7-Segment Display with I2C Backpack (Display Backpack library setup), and a nice Metal Ball Tactile Button to turn it on and off.

Then I just have to figure out how to connect everything together, and program it.

Details )

Then just turn everything on! There is quite a lot you can do with this kind of completely hackable setup. As it is you can use the alerts to train yourself to have a better understanding of time. Just by having it vibrate on the hour every hour. You could make it a countdown timer so you can remind yourself to stop talking. Or any arbitrary period to remind yourself to take breaks. You could use some of the empty pins and add a motion sensor. Then you can keep track of your activity and if you don't move around enough each hour you can alert yourself. You can tailor everything to yourself exactly. But, as a reminder, do not get this wet. If you really want to use this as an activity tracker you'd be better off minimising it and adding a skin-safe water/sweat-proof enclosure. But for general time related body hacking this is a decent start.



LilyPad watch assembled and operational
Photo by [personal profile] chebe



I find myself wanting to use the same hardware controls in different projects again and again. But in various configurations. Can I make something modular, that I can reuse as needed?

Let's take the Colour Stealing circuit, actually let's take the version with a microphone.

Details )

Here's the whole system; wrist controller connected to power regulation and signal level shifter board and NeoPixel matrix. For the longer runs of wire I'm using thicker silicone wire that I have loosely plaited.

Overall it has the same problem as watches, in that the heavier section has a habit of shifting around, but if it annoys too much I suppose I could always stick it in place. The nice thing is that it all disassembles cleanly, making everything (not soldered to the protoboard) reusable.



Wrist Controller in the middle of it all
Photo by [personal profile] chebe



Time to play with some super bright LEDs! (Just remember; do not look directly at them while powered.)

Kitronik have some lovely 3W LEDs (with unfortunate name) in a star shape for heat dissipation. They provide a datasheet with example circuit for 5V power source. It requires 2.2 ohm power resistors, which are new to me. But when I tried regular resistors there was a lot of smoke, so they are definitely required.

I want to control the lights from a lower voltage micro-controller, so I'm going to need some N-channel MOSFETs. This is my first time using these. The Data pin (from the Arduino) acts a switch to complete the higher power circuit that lights up the LED.

All together the circuit looks a bit like this.

Images )
As I do more with electronics I get more complicated ideas, which necessitate learning more. At the moment I want to run 5V NeoPixels from a 3.3V microcontroller (i.e. Arduino Lilypad) which doesn't have a handy MOSFET pin (like the Adafruit Flora). I studied the NeoPixel best practices guide repeatedly. The new requirements boiled down to;

- 300 to 500 Ohm resistor on the Data In line of NeoPixel strip (which will be added to the NeoPixel end),
- capacitor (1000 µF, 6.3V or higher) across the battery terminals,
- logic shifter to up the 3.3V Data Out from the microcontroller to the 5V Data In for the NeoPixels.

Okay, great. Now where am I going to get the 5Vs from? 4AA rechargeable batteries would give me 4 x 1.2V = 4.8Vs, great. But, what if I accidentally grab alkaline batteries by mistake? That would result in 4 x 1.5V = 6Vs. Which is enough to damage the NeoPixels. To protect against thoughtlessness I would need a 5V voltage regulator. But, hang on, why don't I also add a 3.3V voltage regulator and remove the need to power the microcontroller with a separate power source? Just have to make sure everything has a common Ground.

Great, okay, so that's two voltage regulators. And the recommended bypass capacitors; 1µF on input and 0.1µF on output. This is a lot. Let's sketch it out. A few times by hand, then in Fritzing.

Process )

Then it's time to commit it to solder. It all fits on a half-size breadboard, and you can use any, but the ElectroCookie board has a continuous ground line if you bridge the break, which saves me work. Also, bonus cuteness.



Finished circuit soldered
Photo by [personal profile] chebe



Testing )

Time Cuboid

2020-Apr-28, Tuesday 08:20 pm
I find myself, like many of us, sitting at my desk a lot. I sit there for work. I sit there again for the many video and/or voice socials that have been set up. I sit there to play games or watch films. I even clear off the computer stuff and sit there to solder and work on projects. I am, in fact, sitting there now as I write this. So basically, I sit there a lot. And it got so that I found it difficult to know what time it was, whether early or late, start of the day, or end. I know, I thought, possibly aloud, no-one will ever know, I need a clock.

But I didn't want to go buying lots of unnecessary things, or wait until my usual suppliers were back in full swing. So I dug around in the piles of boxes that comprise my electronics stash. Back at GaelHack (seven years ago) I started on a clock, but it never left the breadboard. I dusted that off, and found most of what else I needed.

Making it all fit together )

Given the purpose of the device, and age of most of the components, I had half a mind to refer to this as a Time Capsule, but Time Cuboid seems more self-explanatory.
Overall it looks something like this;



Time Cuboid, on
Photo by [personal profile] chebe

Get yourself one of the Adafruit NeoPixel Goggle kits, and make it up following their excellent instructions.



Adafruit NeoPixel Goggle kit made up
Photo by [personal profile] chebe



Enhancements )