2023202220212020201920182017201620152014
1622272138102252152203170

New PCB For Calculator Watch | rev1

2023-11-16 18:27:20

The first version was doomed from the beginning, since I had no diodes on the keys. I also swapped the USB micro socket with a JST-SH socket and made a small adapter board instead. Let's see how far I get this time. 

https://cdn.hackaday.io/images/6995871700155584044.png

Me building projects from hackaday.io | Supercon 23 badge

2023-10-28 23:24:14

Don't have all parts yet, but enough to get started. I've send two PCBs to @Alex as well - but I have a head start ;)

We had to figure out some errata ourselves, since we've ordered boards that weren't the final version apparently. The BOM itself is also different now. The MOSFET in our version had to be soldered on in dead-bug style and turned by some degrees.

The badge worked in the end and I did two small modifications: the simple add-on was powered from the batteries, I changed that to also get 3.3V from the regulator. There was also a good use-case for an additional reset button, so I did that.

The badge worked great after the latest firmware was pushed on it, very happy with the result!


The 3d printed buttons arrived from JLCPCB, a long with the expander PCB, so this is complete now :)

https://github.com/Hack-a-Day/Vectorscope

https://cdn.hackaday.io/images/3379301698528207149.jpg
https://cdn.hackaday.io/images/6533101700156039590.png
https://cdn.hackaday.io/images/8037731700156283834.jpg
https://cdn.hackaday.io/images/4898011701431392302.jpg

Me building projects from hackaday.io | Supercon 23 badge

2023-10-28 23:24:14

Don't have all parts yet, but enough to get started. I've send two PCBs to @Alex as well - but I have a head start ;)

We had to figure out some errata ourselves, since we've ordered boards that weren't the final version apparently. The BOM itself is also different now. The MOSFET in our version had to be soldered on in dead-bug style and turned by some degrees.

The badge worked in the end and I did two small modifications: the simple add-on was powered from the batteries, I changed that to also get 3.3V from the regulator. There was also a good use-case for an additional reset button, so I did that.

The badge worked great after the latest firmware was pushed on it, very happy with the result!

https://github.com/Hack-a-Day/Vectorscope

https://cdn.hackaday.io/images/3379301698528207149.jpg
https://cdn.hackaday.io/images/6533101700156039590.png
https://cdn.hackaday.io/images/8037731700156283834.jpg
https://cdn.hackaday.io/images/6855571700156156065.png

LEDodecahedron | I2C buffer size on the ESP32

2023-09-03 19:22:08

Been a minute and I've currently found some motivation to work on animations and make the code run faster plus also mapping things finally.

Found out the ESP32 only has a 64 byte hardware buffer for I2C and that I need to use endTransmission after 63 bytes, stole some adafruit code for I2C oled displays and put it in the library I'm currently using for the IS31FL3733.

Here's a snippet of the I2C write section.

Wire.beginTransmission(i2c_addr);
Wire.write((byte) reg_addr);

uint16_t rounds = 1;
uint16_t bytesOut = 1;
uint8_t *ptr = buffer;

#if defined(ESP32)
    while (count--) {
        if (bytesOut >= 64) {
            Wire.endTransmission();
            Wire.beginTransmission(i2c_addr);

            Wire.write((byte) reg_addr + 63*rounds);
            bytesOut = 1;
            rounds++;
        }
        Wire.write((byte)(*ptr++));
        bytesOut++;
    }
    Wire.endTransmission();
    return 1;

#else
    Wire.write((byte) reg_addr);
    for (uint8_t i = 0; i < count; i++) {
        Wire.write((byte)(buffer[i]));
    }
    Wire.endTransmission();
    return 1;
#endif

Flipper At Home | nvrmnd

2023-08-03 19:35:24

bought one

Flipper At Home | nvrmnd

2023-08-03 19:35:24

bought one

Flipper At Home | programming menu and hardware options

2023-04-28 11:03:33

For 2-3 evenings I was working on "perfecting" the look of the menu on the small display, until I realised that the flipper zero has four menu styles (that I know of) https://chaos.social/@davedarko/110255372561304158 . I got to a point where I was very pleased, having a "128x64" pixel area in orange, centered in a slightly brighter orange 160x80 area, which is the display size. 

The other day I saw the LilyGO T-embed price reduced to 28€ with shipping, I had my eye on it for a while and decided to buy it as a second candidate. Keep in mind that it usually goes for 42€ instead. The external dimensions are almost the same and I can use the 320 x 170 as a 160 x 85 display by just doubling up the pixels.

https://cdn.hackaday.io/images/9761011682672149258.jpeg
https://cdn.hackaday.io/images/2335201682672149785.jpeg

Flipper At Home | programming menu and hardware options

2023-04-28 11:03:33

For 2-3 evenings I was working on "perfecting" the look of the menu on the small display, until I realised that the flipper zero has four menu styles (that I know of) https://chaos.social/@davedarko/110255372561304158 . I got to a point where I was very pleased, having a "128x64" pixel area in orange, centered in a slightly brighter orange 160x80 area, which is the display size. 

The other day I saw the LilyGO T-embed price reduced to 28€ with shipping, I had my eye on it for a while and decided to buy it as a second candidate. Keep in mind that it usually goes for 42€ instead. The external dimensions are almost the same and I can use the 320 x 170 as a 160 x 85 display by just doubling up the pixels.

https://cdn.hackaday.io/images/9761011682672149258.jpeg
https://cdn.hackaday.io/images/2335201682672149785.jpeg

Flipper At Home | first order arrived

2023-04-18 21:31:31

Today I received two ESP32-C3 boards, one with native USB CDC controller connected to the USB plug and one with a CH343 connected, plus two LCD boards, because why not, they were cheap! (I also got that fish console from prev post, why did I buy that??)

I'm a bit irritated on why there are two versions, why would you want a board with an extra serial converter? To be able to use the GPIO pins 18 and 19, which are the USB pins for the integrated CDC? Well let's see what and how many pins I need then.

I found this pinout diagram and expanded it, so it shows what pins are the LEDs connected to. 

Here are the boards again:
https://www.aliexpress.com/item/1005004539320086.html

https://cdn.hackaday.io/images/9056201681845767663.png

Flipper At Home | first order arrived

2023-04-18 21:31:31

Today I received two ESP32-C3 boards, one with native USB CDC controller connected to the USB plug and one with a CH343 connected, plus two LCD boards, because why not, they were cheap! (I also got that fish console from prev post, why did I buy that??)

I'm a bit irritated on why there are two versions, why would you want a board with an extra serial converter? To be able to use the GPIO pins 18 and 19, which are the USB pins for the integrated CDC? Well let's see what and how many pins I need then.

I found this pinout diagram and expanded it, so it shows what pins are the LEDs connected to. 

Here are the boards again:
https://www.aliexpress.com/item/1005004539320086.html

https://cdn.hackaday.io/images/9056201681845767663.png

Flipper At Home | looking for a case or at least inspiration

2023-04-08 19:26:17

While browsing through "handheld console" I found this weird "plug into tv" consoles and it definitely has the "XYZ at home" vibe.

https://www.aliexpress.com/item/1005002426662072.html

https://cdn.hackaday.io/images/3145661680974772007.jpg

Flipper At Home | looking for a case or at least inspiration

2023-04-08 19:26:17

While browsing through "handheld console" I found this weird "plug into tv" consoles and it definitely has the "XYZ at home" vibe.

https://www.aliexpress.com/item/1005002426662072.html

https://cdn.hackaday.io/images/3145661680974772007.jpg

LoKiPAD | revision log - small things to add

2023-02-27 11:31:36

With the mod connecting the button of the encoder to the switch on the PICO through a diode, I only need a reset button that's reachable so I can easily upload new programs. There are two pins unpopulated (13 and 16), that are able to be routed as I2C pins, which means I can add a qwiic connector on the board somewhere! 

LoKiPAD | revision log - small things to add

2023-02-27 11:31:36

With the mod connecting the button of the encoder to the switch on the PICO through a diode, I only need a reset button that's reachable so I can easily upload new programs. There are two pins unpopulated (13 and 16), that are able to be routed as I2C pins, which means I can add a qwiic connector on the board somewhere! 

Fixietube - Fake Nixie Tube displays | unix time and some miliseconds

2023-01-29 21:57:57
Finally managed to solder some more boards so I can put them into this 3d printed case, printed on a CR-30 belt printer with rainbow filament. Now I'm only sitting on 48 more jam jars, I guess. Well they sit in a shelf. The displays are controlled by a D1 mini (with USB-C socket!).

I2C sequencer thing | first prototype is programmable

2023-01-11 00:28:05
https://cdn.hackaday.io/images/3926351673393257218.jpeg

COVID-19 | SAO Simple Add-on | back of latest edition

2022-12-30 15:01:21

The 555 timer has a chamfer to indicate the side of thr first pin.


https://cdn.hackaday.io/images/2316261672411636240.jpg
https://cdn.hackaday.io/images/410181672408401589.jpg

LEDodecahedron | gave a little talk at hacking in parallel

2022-12-27 18:51:43

There are some "between the years" events happening in Europe that follow the spirits of the chaos communication congress that got cancelled this year. In a small venue with 400 people I gave this talk about my Dodecahedron! :) Was a fun first talk of this kind for me.

getting the pico usb host example compiled correctly

2022-12-01 20:51:24

I couldn't find the picoprobe with openOCD until I flashed it with a pre compiled picoprobe.uf2 file instead of compiling it myself. If it works, it works - I guess.

found the related issue where I got the working picoprobe.uf2 got from: https://github.com/raspberrypi/openocd/issues/71
Basically pointing to this site where you can download the probe firmware:

https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html#debugging-using-another-raspberry-pi-pico


So apparently there's a tinyusb bug that will break the usb hid example and throw something like this at you:

assertion "ep->active" failed: file "~/Projects/pico/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040/hcd_rp2040.c", line 164, function: hw_trans_complete

This has something to do with the debug mode and you need a flag to run cmake first before compiling:

PICO_SDK_PATH=~/Projects/pico/pico-sdk cmake .. -DCMAKE_BUILD_TYPE=Release
make -j8

I have yet to find out what the difference between -j8 and -j4 means but hey, that up their worked.

link that helped: https://github.com/raspberrypi/pico-sdk/issues/649

video that helped: 

Building openOCD for picoprobe on M1 mac

2022-12-01 13:35:14

Had some trouble compiling the openOCD version for the picoprobe on the M1 macbook. This is based on a thread on github and the official guides, plus some blog posts that basically copied from each other.  

https://github.com/raspberrypi/openocd/issues/7 

#install additional brew libraries
brew install libtool automake texinfo wget gcc pkg-config libusb

# some path magic so compilers know where to look for stuff 
export PATH="$(brew --prefix)/opt/texinfo/bin:$PATH"

# download openocd files with picoprobe branch
git clone https://github.com/raspberrypi/openocd.git \
  --branch picoprobe --depth=1

cd openocd
./bootstrap

# this enables the picoprobe and deactivates other modules that fail to compile otherwise
CAPSTONE_CFLAGS="-I$(brew --prefix)/include" \                      
  ./configure --prefix="$(brew --prefix)"  \
  --enable-picoprobe --disable-presto --disable-werror --disable-openjtag

make -j4

# this will probably overwrite your current installation
# and will break openjtag
make install

# optionally remove the installation folder
cd ~/git
rm -rf openocd