2023202220212020201920182017201620152014
1823282248118278173230178

COVID-19 | SAO Simple Add-on | #37C3 - Congress

2023-12-26 00:00:55

First off all, I am very sorry for giving you a bag with freely flying resistors in it and that you have to read the value in the darkness of Congress! In parts this is @Alex 's fault, he once gave me bags of 0805 resistors and I recycled them in this projects, as I only want to use 0603 parts most of the time.

Anywho, there might be a 330k resistor in there instead of a 390k resistor, so according to this fine website, it should blink 3 times per second, instead of 2 times.

https://www.digikey.de/en/resources/conversion-calculators/conversion-calculator-555-timer


Here's the parts list:


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


Btw checkout Berlin's very fine sewage report:

https://data.lageso.de/lageso/corona/corona.html#abwasser

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

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

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!).

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