<tamme[m]>
In case somebody is up for some bikeshedding: I am continuing my work on the driver list https://tdittr.github.io/drivers/ and have started to collect metadata that might be interesting but can not be extracted from a crates source: https://github.com/tdittr/drivers/pull/7/files for now my plan is to have a crate-db folder in the repo with one `<crate>.toml` file per crate, but later I want you to be able to add a `drive-rs.toml` to
<tamme[m]>
your crate root to automatically show up in the list.
<tamme[m]>
Feel free to add more ideas for fields or categories either here or directly on that PR
bartmassey[m] has quit [Quit: Idle timeout reached: 172800s]
adamhott[m] has joined #rust-embedded
<adamhott[m]>
Hi All, is 30 AWG wire sufficient to pass PWM pulse signals (not power)?
M9names[m] has joined #rust-embedded
<M9names[m]>
i think we're going to need a bit more information to answer that sensibly. what are you trying to do with your PWM signal, and how long is your wire?
<adamhott[m]>
pass signals to servo motors, the wires will be about 1/4 meter
<adamhott[m]>
nominal voltage 60 V
<adamhott[m]>
for the wire
henrik_alser[m] has joined #rust-embedded
<henrik_alser[m]>
It all depends on the current you’re passing
<henrik_alser[m]>
(Not the voltage)
<adamhott[m]>
I guess I need to know what variable I need to know to calculate the mA passed via PWM pulses
<adamhott[m]>
*variables
<M9names[m]>
you've only got two elements here, right? the wire, and the servo?
<M9names[m]>
you should be able to check the datasheet for the servos to see how much current is consumed by the signal pin. and current for the wire you apply ohm's law.
<M9names[m]>
25cm is short enough that you shouldn't need to care too much about capacitance + inductance at the frequencies that servos operate.
<M9names[m]>
and you're going to send it 60V on it's signal pin?
<M9names[m]>
i don't know much about servos but that seems wrong
<adamhott[m]>
no thats the nominal value of the wire
<JamesMunns[m]>
<adamhott[m]> "Hi All, is 30 AWG wire sufficien..." <- The answer is probably yes. Servo pwm inputs are usually very high resistance, meaning almost no current will be passed.
<JamesMunns[m]>
JamesMunns[m]: Definitely do not send them 60v tho.
<M9names[m]>
adamhott[m]: oh, okay. that's not really useful to calculate anything here. that's just what the insulation is rated for.
BrassPin88 has quit [Quit: Client closed]
<adamhott[m]>
thanks all!
<adamhott[m]>
<JamesMunns[m]> "The answer is probably yes..." <- I got one of those wire wrappers, going to practice that!
<adamhott[m]>
the tool
<adamhott[m]>
I was curious about the kynar wire, since it's silver plated, how much more current can it withstand than regular silicon tinned copper wire?
<JamesMunns[m]>
Neat! Probably not much more, honestly. There's probably a data sheet for the conductivity/resistivity, which will tell you how much it heats up when current is passed
<adamhott[m]>
The datasheet doesn't have that unfortunately
<adamhott[m]>
high-temperature resistance (up to 105°C)
<adamhott[m]>
wait is that it?
<JamesMunns[m]>
that's saying the insulation is resistant to temperature damage
<adamhott[m]>
ah okay thanks
<adamhott[m]>
is it stronger wire than regular silicon?
<JamesMunns[m]>
there's two parts: the wire, and the insulation.
<JamesMunns[m]>
Kynar is polyvinylidene fluoride, silicone wire is silicone rubber.
<JamesMunns[m]>
> PVDF is commonly used as insulation on electrical wires, because of its combination of flexibility, low weight, low thermal conductivity, high chemical corrosion resistance, and heat resistance.
<adamhott[m]>
ok cool, thanks that's probably more than I'd ever need to know about kynar wire! thanks!
<JamesMunns[m]>
reading a bit, silver is only 6% more conductive than copper, and the plating is more about corrosion resistance and the skin effect (only relevant for VERY high frequency, like microwave)
<JamesMunns[m]>
so, I'd probably treat it as having the same rating as normal copper 30awg wire
<JamesMunns[m]>
<AlexandrosLiarok> "Are we supposed to implement..." <- Just fyi, it's a little bad form to ask the same question in two places. It looks like you are getting answers to this in #embassy-rs:matrix.org.
<JamesMunns[m]>
If you don't get a response, it's fine to reask somewhere else later, but asking the same question in multiple places at the same time means others may not see the answers, or realized someone has already helped you.
kenny has quit [Ping timeout: 260 seconds]
kenny has joined #rust-embedded
<AlexandrosLiarok>
Yea I know. Meant to post in this room but posted in Embassy by mistake. Figured it's best to not delete the message.
<AlexandrosLiarok>
Noted.
BrassPin88 has joined #rust-embedded
spinfast[m] has joined #rust-embedded
<spinfast[m]>
<tamme[m]> "In case somebody is up for..." <- > <@tamme:matrix.org> In case somebody is up for some bikeshedding: I am continuing my work on the driver list https://tdittr.github.io/drivers/ and have started to collect metadata that might be interesting but can not be extracted from a crates source: https://github.com/tdittr/drivers/pull/7... (full message at
badyjoke[m] has quit [Quit: Idle timeout reached: 172800s]
<tamme[m]>
oh good one, I did not think about i2s before, could you create a wm8960.toml in my PR? I does not need to be perfect I'm still figuring out which information would be useful in that file
<tamme[m]>
* good one spinfast , I
<tamme[m]>
So you can also still come up with your favorite piece of metadata ;0
<tamme[m]>
s/0/)/
<tamme[m]>
s/;0/😉/
diondokter[m] has quit [Quit: Idle timeout reached: 172800s]
RobertJrdens[m] has quit [Quit: Idle timeout reached: 172800s]
AmanieudAntras[m has quit [Quit: Idle timeout reached: 172800s]
<embassy-learner[>
<JamesMunns[m]> "> <@embassy-learner:matrix.org..." <- 100% but I think the "issue" is with serde as @adamhott:matrix.org pointed out...have to study! :)
pflanze has quit [Remote host closed the connection]