Skip to main content

Posts

Showing posts from September, 2024

My journey with ATTiny4313 (part 3)

Part 3: More than blinking Adding MIDI Adding the configuration of USART is straightforward. ... ; ========================================================= ; Main routine ; ========================================================= main: ... ; --------------------------------- ; Configuration of USART for MIDI ; --------------------------------- ldi r16, (1<<UDRE) STORE UCSRA, r16 ; Asynchronous Normal mode, buffer empty ldi r16, (1<<TXEN) STORE UCSRB, r16 ; Enable the transmitter, but not the receiver ldi r16, (1<<UCSZ1|1<<UCSZ0) STORE UCSRC, r16 ; 8 bits, no parity, 1 stop bit ; Setting the speed to 31250 bauds ; UBRR = (fosc / 16 * BAUD) - 1 ; = (8000000 / 16 * 31250) - 1 ; = 15 = 0x0f ldi r16, 0x00 STORE UBRRH, r16 ldi r16, 0x0f STORE UBRRL, r16 After the loop, we check the LOOP LED; if the LED is off, we send a MIDI NOTE ON and light on the LED. Ot...

Fixing a broken key on Yamaha QX1

I recently purchased a Yamaha QX1 in good condition. However, the REC key is wobbly. Once the box opened, I saw the key axle were broken and reglued, which led the key wobbling and sometimes sticky. 0 As too few QX1 were built, I didn't found any spare key available, so I decided to open the keyboard and repair the key axle. Notice the keys are actually made by Cherry. The axle is a complex piece, made of plastic, way too difficult to carve, so I decided to 3D print one. Here are all the pieces of the key: The new axle fits perfectly in place. Once reassembled Resoldered in place. Finally, the key looks great and works great. I printed 4 more, just in case.

Fixing a Roland FP-8 Digital Piano

I remember when the Roland has released the FP-8 back in the mid-nineties. At that time, I had a mixed experience with the Yamaha PF-15 (so-so FM piano sound) and I was looking for the PF-80, then Roland released the FP-8, which at this time, gained a lot of acclamations. The keybed was one of the best available (and is still very descent), and the sampled sounds were quite convincing, by the 90s standards. This particular FP-8 was purchased brand new by my friend Charles, and given a few years ago to another friend, Dominique. One day, Dominique called me: the FP-8 is dead, declared beyond repair by Moog Audio. A nasty capacitor leak dissolved somes tracks on the SMC PCB. The capacitors haved been changed, but still no joy. "Could you take it?". Unfortunatelly, at that time, my workbench was full, no room for another keyboard, so I had to decline. Few years later thouh, Dominique purchased another piano (a nice Kawai MP6), and was moving: the dead FP-8 was doomed to th...