Skip to content

Instantly share code, notes, and snippets.

View MarcosYonamine963's full-sized avatar

Marcos Yonamine MarcosYonamine963

  • F&K Electronics
  • Londrina, Brazil
View GitHub Profile
@MarcosYonamine963
MarcosYonamine963 / ATtiny.md
Last active January 5, 2024 17:04
Flash ATtiny with Arduino
View ATtiny.md

ATtiny85 Board Pinout

a

Chip Pin PB Func ADC Digital PWM ExtI USB
1 PB5 Reset ADC1 D5 (A0) - - -
@MarcosYonamine963
MarcosYonamine963 / one-wire.md
Last active February 9, 2024 17:49
1-Wire Implementation
View one-wire.md

What is 1-Wire protocol?

The 1-Wire protocol is a proprietary protocol (Maxim/Dallas) single-wire interface, half-duplex, bidirectional, low-speed and power, long-distance serial-data communication protocol. It operates over a single data line, without clock signal. But, at least two wires are required for 1-wire bus: Data, GND. An additional wire might be necessary (Vcc), depending on powering mode. The powering modes are: parasitic (no vcc), and conventional (with vcc), as seen on figures below.

image

image

@MarcosYonamine963
MarcosYonamine963 / usb-c-pd.md
Last active December 13, 2023 15:45
USB-C PD (Power Delivery)
View usb-c-pd.md

USB-C PD (Power Delivery)

This file explains the basics of what I learned about USB-C PD to help development engineers on their projects. I'm not an english mother-language speaker, so here I leave my apology for any mistakes.

Again, this docs relates what I learned. I'm not an expert on USB-C PD.

Introduction

The USB-C standard came with far more features than the previous standards. The thing that most catches the attention of common users is that you don't need to be aware of cable orientation (the connector is symmetrical).