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

flashlight

2963 readers
2 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
36
submitted 8 months ago* (last edited 8 months ago) by solrize to c/flashlight
 

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 1 points 8 months ago (1 children)

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.

[โ€“] [email protected] 4 points 8 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.