36
submitted 3 months ago* (last edited 3 months ago) by solrize@lemmy.world to c/flashlight@lemmy.world

And, any idea how to use them? 3 pins is perplexing.

you are viewing a single comment's thread
view the rest of the comments
[-] j4k3@lemmy.world 1 points 3 months ago

One wire is more for just a few sensors. I think the STmicro stuff has a 1 wire option. At least one of my programmers has a label for it, but with all my hobby stuff, I've never used 1 wire for programming. I have only used it for a temperature sensor as far as I can recall. Everything is either JTAG or UART in my limited experience.

[-] carzian@lemmy.ml 4 points 3 months ago

So there's the OneWire protocol that's for sensors, different microcontrollers will implement a programming protocol using a single wire, which is what I meant.

Jtag has a clock signal, but is generally 5 lines.

My point being that looking for similar trace lengths because one is a clock signal isn't sound advice. All the common protocols either don't use a clock signal, or are more than two lines.

this post was submitted on 13 Mar 2024
36 points (97.4% liked)

flashlight

2752 readers
4 users here now

Portable illumination

Rules:

  1. Be excellent to each other
  2. Don't be the reason we need to make more rules

Related:

founded 1 year ago
MODERATORS