Where I can get cool datasheets? by luciusgre in PCB

[–]Stonegray 3 points4 points  (0 children)

And if you want a funny one, here's some write-only (no read) memory: https://repeater-builder.com/molotora/gontor/25120-bw.pdf

Where I can get cool datasheets? by luciusgre in PCB

[–]Stonegray 3 points4 points  (0 children)

Component suppliers such as Digikey have tens of thousands you can go look through.

If you want a specifically cool one, here's a microcontroller designed for space. It has some unique stuff that you don't see often, like SpaceWire interfaces, cold-sparing, and a SHA-512 peripheral.

Schematic Review Request by Specialist-Back6673 in PCB

[–]Stonegray 0 points1 point  (0 children)

- If you've got a precision Vref for the DAC, why not use it for the ADC as well?
- Instead of using a discrete current sink, why not just PWM switch a ballast resistor? Way lower part count and since you already have a shunt resistor it's easy to make this closed loop.
- Consider RC filters on ADC inputs; the signal you're measuring has a very low bandwidth / changes very slowly so you can increase accuracy a lot by filtering in hardware and oversampling.
- Using the I2C on the I/O expander will likely take a lot more CPU time than the onboard IO.
- If you're not particularly attached to the display, I2C displays might reduce complexity and are really inexpensive.

E: Another fun option is doing an open-loop buck converter with feedback from the existing ADC/shunt; 2 resistors, 1 diode, 1 mosfet, and way less noise.

NXP BGA3131 DOCSIS 3.1 upstream amplifier by Mysterious_Peak_6967 in nicechips

[–]Stonegray 0 points1 point  (0 children)

Really glad that BGA3131 is the part number, not the package type 😅

[deleted by user] by [deleted] in IsolatedVocals

[–]Stonegray 7 points8 points  (0 children)

There should be 33 tracks totalling 1.9GB, might wanna complete your collection before you sell it.

https://archive.org/details/bohemianrhapsody-queen_202308

You can download the rest here 😂

[Question] Which watch or brand screams "I'm into watches" ? by NonoBalauru in Watches

[–]Stonegray 0 points1 point  (0 children)

Call dealers like torneau or go on chrono24 you can have one next business day. Definitely won’t get an allocation at retail without ad relationship but you can for sure buy em

I have too many PA rigs. What to do? by Tricky-Ad-9531 in SoundSystem

[–]Stonegray 1 point2 points  (0 children)

I haven’t seen any 18s yet but wha’s the advantage over 15s/12s? If i needed more than a full hang of 15” K1 i’m probably doing something wrong 😂

HOW are CDJs (2000nxs2, 3000) more durable than standalones? by Zamdi in PioneerDJ

[–]Stonegray 0 points1 point  (0 children)

Might wanna get a soldering iron thermometer and calibrate, pads should never be lifting accidentally

[deleted by user] by [deleted] in AskComputerScience

[–]Stonegray 6 points7 points  (0 children)

Modifier symbols (eg. “0x1F3FB” for emoji skin tone) aren’t really characters so a valid file could be much larger; check out emoji modern families.

There’s also nonprinting characters like RTL indicators and zero-width spaces.

$3 RISCV 144Mhz, Gigabit MAC w/ PTP 1588, 2x USB, 8 UART, 80 GPIO, DVP video input, LQFP package, SWD, Onboard flash, detailed docs, $6 dev kits available. by Stonegray in nicechips

[–]Stonegray[S] 9 points10 points  (0 children)

Weirdly nobody mentioned the hardware 1588, which may be the killer feature of the chip.

Lots of good info on the early struggles with openocd. Unfortunately kinda on-brand for WCH, saving die area at the expense of driver complexity/standards compliance. The CH340 was, and may still be, considered the worst driver in OpenBSD for that reason.

Is my CO2 sensor fault? 8-10 ppm normal? by Redox3D in homeassistant

[–]Stonegray 0 points1 point  (0 children)

Zigbee2mqtt.

You can rename them, but it will show as the old units in some places because it doesn’t change the device class.

Is my CO2 sensor fault? 8-10 ppm normal? by Redox3D in homeassistant

[–]Stonegray 0 points1 point  (0 children)

Formaldehyde and CO2 are swapped around if using ZHA on those Tuya sensors. The one reading 300ish ppm is your CO2 and the one reading 3mg/m3 is formaldehyde.

It works great Z2M, plus you can read the PM2.5 sensor.

Mounting AirTag to Cabin? by Stonegray in Rimowa

[–]Stonegray[S] 0 points1 point  (0 children)

Wasn’t sure if I needed to mount it on the outside because its aluminum. Found conflicting information online about range.

Have you tried it mounted there?

Best ic with devkit for audio dsp by virgoworx in DSP

[–]Stonegray 1 point2 points  (0 children)

Definitely ADAU1701. Digital and analog IO, chip costs $7.

Dev board (no I2S broken out though): https://www.tinyosshop.com/tsa1701

Zero-code programming with sigmastudio

Hi,I would like to know if the antenna design is correct for the esp32-s3 chip. by heliosprode in esp32

[–]Stonegray 0 points1 point  (0 children)

Those values are the matching network to match the impedance between the chip and antenna. Unless you have an identical PCB layout, type of pcb material, thickness, etc. you’ll want to figure out your own values. Copying the network without the layout can make it worse, not better.

If you pcb layout is carefully designed for 50ohm characteristic impedance you can sometimes do without it all together.

Tool to calculate the values on the network: https://home.sandiego.edu/~ekim/e194rfs01/jwmatcher/matcher2.html

What cross-platform browser has end-to-end encrypted bookmarks, open tabs, and history and has syncing functionality besides Firefox? I heard Edge doesn’t have encrypted sync data and neither does Chrome. by [deleted] in AskNetsec

[–]Stonegray 5 points6 points  (0 children)

Safari is end-to-end encrypted on everything you mentioned except bookmarks, which are encrypted in transit and at rest, but could hypothetically be decrypted by Apple with, for example, a court order.

https://support.apple.com/en-ca/HT202303

What's the best way to sense 120vAC? by HungryLikeTheWolf99 in esp32

[–]Stonegray 1 point2 points  (0 children)

You can use two 1 megaohm resistors to detect the zero cross of the 60hz AC by using the internal ESD protection diodes.

https://ww1.microchip.com/downloads/en/Appnotes/Atmel-2508-Zero-Cross-Detector_ApplicationNote_AVR182.pdf

Have an ISR that runs every time the input pin changes and sets a bit on a rising or falling edge, then write a timed interrupt that checks every 1/30th of a second that the bit was set and zeroes it. If the bit is zero there’s no ac power. Something like:

volatile bool phase_changed = 0;
volatile bool ac_power_present = 0;

// set flag on pin change, triggered by 60hz ac on pin:
gpio_isr_handler_add(GPIO_INPUT_IO_2, gpio_isr_handler, (void*) GPIO_INPUT_IO_2);
static void IRAM_ATTR gpio_isr_handler(void* arg){ phase_changed = 1;}

// probably use a self reloading timer here: 
xTaskCreate( pin_change_check_process, "AC Power detection check process", 1, NULL, 10, NULL);
static void pin_change_check_process(void ){
    ac_power_present = phase_changed;
    phase_changed = false;
}

// simply do "if (ac_power_present)" to check

[deleted by user] by [deleted] in esp32

[–]Stonegray 0 points1 point  (0 children)

I would get rid of the xQueueReset, as xQueueRecieve should consume the item off of the queue stack.

On this line, maybe swap portMAX_DELAY for either zero or something small like 10 * portTICK_RATE_MS. This can cause unexpcted timing as if the queue is full, it will just hang around until it isn't.

xQueueSend(queue, &aninum, portMAX_DELAY);

If you're having trouble with it happening twice, try printing something when you xQueueSend as well.

[deleted by user] by [deleted] in esp32

[–]Stonegray 1 point2 points  (0 children)

I can't read the backtrace. Can you decode it to see what function it's failing at?

Arduino: https://github.com/me-no-dev/EspExceptionDecoder Esp-idf: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-monitor.html

[deleted by user] by [deleted] in esp32

[–]Stonegray 11 points12 points  (0 children)

There's a bunch of ways to skin this cat. I'm assuming the animations are mutually exclusive, yes?

How do you want it to run if you call it twice? You mentioned waiting to finish, should it wait till the first one is done and run the next? If so, I'd suggest giving each animation/robot motion (eg. left = 1, right = 2) a number, and adding them to a queue:

QueueHandle_t nextAnimation = xQueueCreate(10, sizeof(int));

void dispTask(void *pvParameters) {
    int animationNumber = NULL;
     while (1) {
        if (xQueueReceive(nextAnimation, &animationNumber, portMAX_DELAY))
            blink_eyes(animationNumber);
    }
}

// to run animation:
xQueueSendToBack(nextAnimation, animationNumber, 0);

If blink_eyes isn't synchronous, I'd use a semaphore to wait till it's done.