future projects and ideas
2015-06-22 14:24:31
A mini mixer for headphone-use of cellphone and notebook at the same time.
Now that I've seen Jurassic World, I want to have a robot velociraptor!
A little TFT screen combined with a SD card reading dev board showing images of the most common basic electronic rules I always forget (like LED "pinouts") - like a pokedex for electronics :D
Using an MCP41100 as a voltage divider input for an ADC + z-diode to protect it while scanning through resolutions. [FAIL - datasheet says no to voltages higher than VDD]
Ignore this ESP8266 board | LM75 breakout board
2015-06-09 23:07:26
As it happens to be, I still have some LM75 3.3V in my magic drawers - so I designed a little breakout IIC board with 0603 resistors, to also see If I'm able to solder those. It's not a #Charles Jr, but still small :)

http://esd.cs.ucr.edu/labs/temperature/LM75.pdf
Heimdall - dumb remote home | pi camera vs. webcam
2015-06-08 10:55:25
I might have broken my PI camera with static shocks or something - should have known that would happen ;) So I hooked up a webcam instead and edited the cronjob to take pictures with fswebcam.
http://manpages.ubuntu.com/manpages/lucid/man1/fswebcam.1.html
picture storage
Ignore this ESP8266 board | designed a little case
2015-06-05 21:53:28
UPDATE: I've just wasted 10 minutes looking for the files, and now that I've finally found them, I've added them to the file section. It's still not printed - so it is untested!
So while I'm waiting I thought I do a little exercise in 123D Design and make a little round case, that twist locks. Gonna print this sooner or later. 80mm in diameter. 4 screw holes for mounting the pcb and 4 for mounting on whatever you like. Probably should have designed the pcb in sick-of-beige standard. Anyway - had some fun :)

Heimdall - dumb remote home | mqtt - because reasons
2015-06-02 22:00:54
sudo apt-get install mosquitto mosquitto-clients
sudo apt-get install apache2 php5 libapache2-mod-php5 -y
It's time I work myself into it. Here's a little bash script, that I've added to my cronjob list for logging the temperature of the raspberry. I should use something similar for the current sensor (ACS712 5A) that I have to read out. It's 5V and I might dedicate an arduino over USB for reading that and maybe talk to the neopixels as well. I still have to tweak the output of the temperature script. This should be on an SD card somewhere... dammit.
#!/bin/bash
TEMP=$(vcgencmd measure_temp)
echo $TEMP
mosquitto_pub -t sensors/temperature -m $TEMP -q 1
Also for web inclusion:
sudo usermod -G video www-data
sudo /etc/init.d/apache2 restart
Open Bicycle Computer | #6 - lack of bicycling
2015-06-01 12:33:59
You probably know how it is with projects - you're motivated at some point and then again totally lost focus and interest. And necessity is the mother of invention. This is not an excuse log. I'll always take a look at my projects and think about everyone for a minute.
There is a professional way to make this project and a diy/hackish-way to do it. This should probably be made with BTLE and be connected to your phone, but this would compromise my initial - off the phone - concept. I still have a BTLE dev kit - the wunderbar - with 6 sensor boards and one "mother"board somewhere and I feel like I owe them a project since I've won this and it's probably what they expected when they handed them out (because reasons). It's not that easy to hack, I guess. I'd have to work with the onboard BTLE chip and there are more people that are used to "work" with arduino.
I need a quick hacked together prototype to start writing some more code though. It should be something anyone can build with a few parts - basically a LiPo cell, a 5V boost converter and an arduino connected to a 1602 LCD character display with a hall effect sensor connected. I'm not happy with 5Vs though. the battery power should be measured with the arduino, too. This is a total waste of money in comparison to a 5 dollar computer and basically what I've achieved already. Next step would has to be logging. That's the killer-app / the pitch. Am I going in the right direction?
This feels like two projects! Damn! One is easy to hack together but not efficient, one is efficient but not easy to hack.
What should be the key point here?
Ignore this ESP8266 board | know your regulator
2015-05-30 16:43:58
When "designing" [stealing] this board parallel to the talk for the #ESP8266-01 Breakout I placed an LD1117AS33TR in my schematics while Matt used an LM1117 on his board. At this time I was only looking for a 1117 in the eagle library and added it. Turns out that I'm still in luck, since both only need 2 capacitors and all I had to do to fix this is order some 100nF in 1206.
Recycled LiPo Powerbank / PSU | 1s2p or 2s1p configuration?
2015-05-26 12:23:52
INFO: s stands for serial and p stands for parallel, might be obvious / might spare googling
I'm trying to find out what would make more sense. I have 4 cells of 2750mAh and I want to use a second cell to upgrade this device. So I have to decide - do I want more voltage or more capacity. I have this 2-6.8V input to 5V-20V output converter which is fixed to 12V (note to myself: I should check that) and could get some step-down regulators for 5V and 3.3V when I use the 2s1p configuration. OTOH, when I use the 1s2p configuration, I probably still can use the 12V booster, get more power and could use a buck booster for 5V. Not sure about the 3.3V vs. drop-out voltage of a 1117 though. I could add a direct out of the lipos, but it sounds a bit dangerous having them out in the open.
In case of charging: I'd use a lipo usb 1A charger per cell and a switch capable of switching the cells into charging mode vs. use mode. I might even switch between 1s2p and 2s1p, if it is plausible.
https://learn.adafruit.com/multi-cell-lipo-charging/fast-multi-cell-chargerR8-D8 - a distant relative of R2-D2 | taking him for a test spin
2015-05-23 23:58:09
So 5V from one source seem to work just fine - a pcb might help correct loose wires an hot-glue mess ;)
I designed 2 iterations of rolls for the front but finally bought one on eBay for 5 Euros.

Ignore this ESP8266 board | ESP-12-E is integrated - swag added
2015-05-21 00:38:09
I tried to keep all names and values this time, this way it's probably easier to spot mistakes etc. I might get rid of those voltage dividers and opt for a straight 3.3V design. My 5V ftdi adapter broke and after some research about those switchable FTDI adapters I'm not afraid anymore, that the jumper only toggles the power voltages, but not the IO voltages. But the common chips used in those boards all feature a VBUS or VCCIO pin, that should be connected to that jumper as well - so yeah. I was about to design an adapter myself, but those adapters are just too cheap on ebay. The pin headers are a different most of the time, though. I've seen Ben Heck using the locking footprint for programming, so no header would have to be soldered.


Ignore this ESP8266 board | new kid in town: ESP-12-E
2015-05-19 22:00:19
I've added a 12-E footprint to the library I found on the internet (totally forgot where I found it). Right now I'm redoing the design for this board to support the additional SPI headers and the two extra GPIOs which can probably only be used with a ESP-12-D module? I'm confused, as always. GPIO4 and GPIO5 seem to be switched in the 12 vs. 12-E version.

Ignore this ESP8266 board | first success
2015-05-18 20:27:14
To get reliable results with my boards, I had to play around with the #ESP8266-01 Breakout board and get it to work. Here are some tips that are probably only interesting for mac users.
I managed to upload the nodemcu bootloader on a mac, using the http://esptool.py (https://github.com/themadinventor/esptool) and the following command:
./http://esptool.py -p /dev/tty.usbserial-AH00ZRT7 write_flash 0x00000 ../../firmware/nodemcu_float_0.9.6-dev_20150406.bin
And we are in the blinking game! I was not running the right JDK on my mac, had to update to JDK 8 and add the paths to the shell script in order to start the jar file.
#!/bin/bash
export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home
export PATH=$PATH:/System/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/bin
java -jar "ESPlorer.jar"
http://esp8266.ru/esplorer/
One note - may be I've inserted the LED the wrong way, but I had to inverse LOW and HIGH in the lua script example for the Breakout board.
Ignore this ESP8266 board | Boards are ordered
2015-05-17 00:24:25
... and github repo is online. It might even work with auto reset - not sure yet. This would be a neat feature for flashing.
today my chair broke
2015-04-28 21:02:01
Seems like I have to build a captain Kirk chair sooner or later. Although you know you bought it cheap, it's always disturbing to know that a chair just broke under your weight. I'm thinking of a chair using rollers you'd see on a shopping cart, a rotating base using skateboard wheels and a total comfy seat and arms that have control knobs that do stuff. ---------- more ----------
- control lights and power switches
- control volume
- control a cooling/heating element
- throw in massage heads (or not) - could be joined with a calendar/alarm
- add a gas sensor and tweet high measurements (http://www.instructables.com/id/The-Twittering-Office-Chair/)
- measure temperatures and weight (DDR capacitive sensors) to get profiles
- a timer/counter telling you how long you are sitting
- gyro to detect if you have to pee
- moisture sensors to tell that you don't have to anymore
- dynamo to charge the chair by spinning
- round counter to get top speed from chair spinning
- integrate positioning system to light different areas on one button touch
- drop out of chair mechanics
Here's a sketch I made 31 months ago (that's what instagram says, anyway). I guess floating won't be an option for now.

What would you want/expect from a perfect chair? Any other good examples for augmented chairs?
zynthia - sequencer synthesizer | 4028 - installed
2015-04-26 21:03:19
Same colors for knob and led cables. Yay. Not sure what it is this time, but the BCD mode gets funky when it's going down. Anyway - I haven't posted a pic from the inside for a while.

I can't find a mouse to edit a video in blender on a mac, so the ring modulator video has to wait a bit... but here's a video of the working 4028. And yes, my calculator recorded this! (well no, you got me, it id not)
Found the mouse, it's rendering!
zynthia - sequencer synthesizer | 4011 - ring modulator
2015-04-24 23:25:18
Updates
2015-04-27 video added
I totally like this stuff more and more! I found a ring modulator circuit built with a single 4011 over here: http://www.diystompboxes.com/smfforum/index.php?topic=90804.0
I plan to add a frequency divider / D- flipflop made out of a second 4011 to auto sync the modulator, with no clue how it will sound or if it will work.
http://www.electronics-tutorials.ws/counter/count_1.html
Makes me want to buy an oscilloscope.
Here's the D-flip-flop in NAND gates turned to a T-flip-flop, which I didn't use because reasons - taking the 4017 instead.
http://www.neuroproductions.be/logic-lab/index.php?id=40498
Thanks to @haydn jones for sharing his #Open 4,4 Sequencer
zynthia - sequencer synthesizer | hardware vs. frequency
2015-04-23 15:57:49
I've made a table to see the frequency range of the potentiometers vs. capacitors in 10 steps and categorized them to see what values make sense for what spectrum/range.

zynthia - sequencer synthesizer | painted the box
2015-04-21 22:25:17
I was in the mood for some spray paint fumes and since I wanted some LEDs I had to add some holes and the golden print was drilled through etc. so I made the box metallic blue - that's also the color of my guitar, my FX pedal and my loop station - so it will fit right in some day ;) I had no dymo labels in black left, so I took the red ones. Heavy contrast and all, but with the "oil paint" weathering makes it look really really great. Only the up/down and bcd/dec switches are missing and I will have to make the DC and output plugs going somewhere. I drilled a hole for the DC plug and almost ripped the box apart but was able to glue it back together. Here's a "not weathered" picture:

zynthia - sequencer synthesizer | You get what you've paid for
2015-04-21 20:50:10
It's not that important, but when I noticed that one tone pot was off in the lowest position I decided to measure the 100K potentiometers I've bought for 2,10 Euros. Here are the values:
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 102 | 101 | 100 | 91,8 | 91,4 | 91 | 90,7 | 90,6 | 88,8 | 82,9 |
| 2% | 1% | 0% | 8,2% | 8,6% | 9% | 9,3% | 9,4% | 11,2% | 17,1% |
Look at these percents! I've ordered some more to get equal values. But I guess that was what to expect :D