202620242023202220212020201920182017201620152014
2211152313307215210213462
newer 4 / 31 older

zynthia - sequencer synthesizer | more expansion ideas

2020-02-24 15:18:05

I was watching a review of a modern sequencer and saw it going back and forwards. Thought to myself I could maybe connect the "overflow" pin of the 4029 and the forwards / backwards selection with a 4017 / 4022 chip. Need to investigate that :D

Club Matrix | Not The Final Countdown

2020-02-17 11:55:42

We had an event with short talks at the xHain Hackerspace recently and we wanted to use the club matrix as a timer for the presenter. I have yet to write a font generator and a script to do that though and the only thing I can kind of reliably do is playing a video. The sane solution: search on youtube for a 15min countdown video, which kind of worked. 

But since we were at the hackerspace, one member wanted to try to let ffmpeg generate the countdown. The first version of the script by Niklas was almost perfect, but used a PNG as a background image. Then another member (danimo) took a look and removed the background image and let ffmpeg turn the background from green to red in the last minute.

All done in a filter for ffmpeg. Very nice.

https://gist.github.com/davedarko/956772590b413734c38af7f55b3eaa04

MiDi Drum machine | Repurposed project

2020-02-08 23:05:25

I want to build a midi drum sequencer and the Dream Blaster Synth S1 that I got ages ago will make a cool target to send data to.

https://www.serdashop.com/DreamBlaster-Synth-S1-General-MIDI-Daughterboard

Researching stuff | CR-10S value output

2020-01-09 22:28:58

start
echo: External Reset
Marlin 
echo: Last Updated: 2015-12-01 12:00 | Author: (CR-10Slanguage)
Compiled: Apr 18 2018
echo: Free Memory: 1024  PlannerBufferBytes: 1232
echo:Hardcoded Default Settings Loaded
echo:Steps per unit:
echo:  M92 X80.00 Y80.00 Z400.00 E93.00
echo:Maximum feedrates (mm/s):
echo:  M203 X300.00 Y300.00 Z5.00 E25.00
echo:Maximum Acceleration (mm/s2):
echo:  M201 X500 Y500 Z100 E5000
echo:Accelerations: P=printing, R=retract and T=travel
echo:  M204 P500.00 R500.00 T1000.00
echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s),  Z=maximum Z jerk (mm/s),  E=maximum E jerk (mm/s)
echo:  M205 S0.00 T0.00 B20000 X5.00 Z0.40 E5.00
echo:Home offset (mm):
echo:  M206 X0.00 Y0.00 Z0.00
echo:Material heatup parameters:
echo:  M145 M0 H185 B0 F0
echo:  M145 M1 H240 B0 F0
echo:PID settings:
echo:  M301 P22.20 I1.08 D114.00 C100.00 L20
echo:Filament settings: Disabled
echo:  M200 D3.00
echo:  M200 D0
echo:SD card ok
Init power off infomation.
size: 
591
init valid: 
0
0

After activation of linear advance with .4 nozzle:

M900

Advance K=0.50

looking back to 2019 and forward to 2020

2020-01-05 19:01:48

2019 Bigger Projects

zynthia - sequencer synthesizer | New DIP version

2020-01-03 20:34:12

I've been asked for a DIP version and this is basically the latest SMD version with swapped parts and a bigger PCB. Ordered at JLCPCB in red.

ToDo:

check if C2  needs to be a 10th of current value

Club Matrix | Showing the IP on startup

2019-12-27 15:16:12

Here at 36C3 congress the "bla.local" bonjour stuff doesn't work. Incase you see 127.0.1.1 as the IP, you have to edit that out in the following file:

sudo nano /etc/hosts

Club Matrix | From 10 x 8x8 LEDs to 40 x 16 LEDs

2019-12-24 19:30:18

So this took me a while. The library that I'm using stores the matrix data in a one dimensional array with the length of 40 * 16. 

Each LED matrix is 8x8 and are connected in that order: 

0 - 1 - 2 - 3 - 4
                |
9 - 8 - 7 - 6 - 5

 And each LED matrix is wired like this:

0 - 1 - 2 - 3 - 4 - 5 - 6 - 7
8 - 9 - . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . .  63

When I finally found the error in this function, I had already written a lookup table for all the 640 LEDs. This is fixed for my setup, but it should be possible to rearrange it for others.

int matrix_arrangement[] = { 0,1,2,3,4,9,8,7,6,5 };
void club_matrix_render(void)
{
    for (int i=0; i<led_count; i++)
    {
        int led_real_x = i % width; // 0 to 39
        int led_real_y = i / width; // 0 to 1

        int matrix_number_x = led_real_x / 8; // should be 0 to 4
        int matrix_number_y = led_real_y / 8; // should be 0 or 1

        int matrix_number = matrix_number_y * 5 + matrix_number_x; // 0 to 9

        int matrix_x = led_real_x % 8; // 0 to 7
        int matrix_y = led_real_y % 8; // 0 to 7

        ledstring.channel[0].leds[matrix_arrangement[matrix_number] * 64 + matrix_y * 8 + matrix_x] = matrix[i];
    }
}

WIFI Game Boy Cartridge | Soldered a prototype, found a bug

2019-12-14 14:58:34

Finally decided on soldering a PCB and when I programmed it, it wouldn't start the program afterwards. So I was calling for help on twitter and got some well meant advices about pulling certain pins that no ESP32 dev board pulled up. It took me a while to notice that I was missing the capacitor in my reset circuit. I didn't check what C6 actually does while debugging, so I thought being so close to the ESP reset pin and resistor, that it was part of it. With a bodged on capacitor it now resets to run the program!

So far it's only a cartridge shaped ESP dev board that can talk to 5V devices, but it's good to know this is programmable!

LED handheld | Firmware

2019-11-27 20:54:22

Getting stuff done when you're watching your niece and changing diapers isn't an optimal combination! But I managed to write a little library that handles the display driving etc. So now I have to reprogram everything I had running before, like the enemies that are moving and drawing to the frame that then get's shown. 

Do or Donut SAO | check stock before deciding on parts

2019-11-27 20:45:04

The title says it pretty much, but I had some trouble getting somewhat reasonable priced IS31FL3731 in SSO, while you can get the QFN version just anywhere. My current BOM for one donut is around 7 Euros now, which still seems reasonable. 800 LEDs in 0603 are coming my way, too. Hundreds of red, yellow, orange, green, blue, white, pink and purple. 

SX-64 inspired Raspberry PI 4 thing

2019-11-26 16:50:59

So I've made this thing for element14 presents, never really had a set and forget PI to work on. I do like the optics of the SX-64 very much and all the other "portables" from the 80ies. I went with makerbeams 10x10mm aluminium extrusions for the frame and some lasercut MDF to hold everything together. Still needs an enclosure, but I'm pretty happy with it.

I tried to make the 2K display work, but it was too flickery and I couldn't get it to work properly, so I switched to the official display. 

Quicklinks for my kindle "hacking" efforts

2019-11-25 21:53:31

https://github.com/pjimenezmateo/kindle-wallpaper/blob/master/In%20the%20Kindle/launch.sh


Type in homescreen, without USB connected:

;debugOn

~usbNetwork

and then plug in USB cable

PI of kindle: 192.168.15.244

Password: mario

mntroot rw
nano /etc/crontab/root 

Do or Donut SAO | Routing is done, PCB ordered

2019-11-24 23:06:03

I've chosen to go with JLCPCB and order 5 white test boards and a bunch of LEDs. 

Mr. Robot shitty addon | Amplification by using inverted oscillator output

2019-11-18 18:05:37

When I was talking with people about how some badges use two pins of the attiny, I basically explained it to myself while trying to explain to others why it would be louder. Instead of just pushing the speaker from the resting position, you also pull it back, when connecting both the inverted oscillator pins to a speaker. Now at the airport and thanks to seeing Charles Lohr at the supercon, I remembered that he actually did that. I need to further hack that bodged prototype I guess :D

https://www.youtube.com/watch?v=__ECzxnvEg8

Mr. Robot shitty addon | Hackaday Supercon updates

2019-11-17 20:28:37

Friday night at supercon I decided to spend some time on the I2C part of the firmware. It's pretty simple, but I'm now able to send data from the #Penghicorn badge to this SAO and it will play a tone. Of course this can be further expanded, but I'm quite happy with the beeps. The speaker is very quite though and I need to take a look at other preferably surface mount speakers. Someone made a beeping R2D2 SAO and that has a nice speaker I want to check out. 

MAX3421E FeatherWing | new found motivation

2019-11-05 10:21:20

I still need to make this work / compile with all the feathers, sounds like a good software project for my vacation, right? The PCB could get got an update too, all 8 inputs and 8 outputs on a header.

zynthia - sequencer synthesizer | wiring diagram and BOM

2019-10-03 12:43:02

always wanted to do this, but it needed a tindie message to force me to finally draw this.

Cheap Chinese Closet Controller | more problems and fixes

2019-08-29 14:53:25

Two out of three solenoids are "burned" / jammed at this point. When I was cutting the switch connectors off of the locks, I didn't check the wiring. Some of the connectors had switched red and black wiring. I first thought my 700mA was not big enough, but it died regularly when two coils where powered at the same time.

Now I only have a problem where my signals aren't strong enough every 9/10 times. Two times out of those it will recognise something, but then the checksum must be bad as it doesn't do what it was told. 

Not yet sure how important that is, but I found a 4k7 pulldown resistor on the A+ connection of the relay board. The 4k7 resistor connected to B- leads to nothing an unpopulated resistor footprint. The chip itself seems to be a MAX485.

Biasing and termination resistors in a story factor with oscilloscope pictures:

http://support.fccps.cz/download/adv/frr/RS485/RS485.html

LAMEBOY - another ESP12 handheld | good vibrations

2019-08-22 19:50:17

Added minimal changes overall, but they are quite a decent change functionality wise. When woody added a pager [here], I was amazed by the idea. When I saw him and his Lameboy the other day at the 3rd Hardware Happy Hour in Berlin, I decided to add that to one of my own and add an update to the schematics.

Much often I forget to add sound to my projects and here I try to free GPIO0 from resetting the LCD and instead connect a tiny buzzer to it. The LCD has a reset circuit added now.

I'm undecided to wheather I should order these versions or mod the other 10+ pcbs though, so I'll just update the github repo for now.

newer 4 / 31 older