Example-Code for a generic ATTiny85 Device (e.g. Sensor, Display)
Example-Code for a Si7021 ATTiny85 Device (e.g. Sensor, Display)
- Author
- drtrigon
- Date
- 2018-08-08
- Version
- 1.0
- See Also
- https://github.com/gioblu/PJON/wiki/ATtiny-interfacing
* OneWire PJON Generic "OWPG" scheme:
* @ref OWPJON/LINUX/Local/LocalUDP/RemoteWorker/DeviceGeneric/DeviceGeneric.cpp
*
* Compatible with: atmega328 (Uno, Nano), atmega32u4 (Yun), attiny85
*
* Pinout:
* ???
*
* Thanks to:
* gioblu - PJON 11.0 and support
* @see https://www.pjon.org/
* @see https://github.com/gioblu/PJON
* fredilarsen - support
*
- Author
- drtrigon
- Date
- 2019-01-26
- Version
- 1.1
- See Also
- https://arduino.stackexchange.com/questions/4169/arduino-ide-ifdef
-
https://github.com/gioblu/PJON/wiki/ATtiny-interfacing
Tiny_OWSlave_OWH_DS18B20_thermo-hygrometer/Tiny_OWSlave_OWH_DS18B20_thermo-hygrometer.ino OWPJON/ARDUINO/Local/SoftwareBitBang/OWP_DG_1w-adaptor/OWP_DG_1w-adaptor.ino
* OneWire PJON Generic "OWPG" scheme:
* @ref OWPJON/LINUX/Local/LocalUDP/RemoteWorker/DeviceGeneric/DeviceGeneric.cpp
*
* Compatible with: attiny85, atmega328 (Uno, Nano), atmega32u4 (Yun)
*
* Pinout:
* ATtinyX5 Pin Layout (ATtiny85)
* ---_---
* . .
* RST PB5 |1 8| VCC 5V
* (via 220ohm to 1<-TX) 3 PB3 |2 7| PB2 2 SCL Adafruit_Si7021
* OWPJON DATA 4 PB4 |3 6| PB1 1 (via 4.7k to LED on GND)
* GND |4 5| PB0 0 SDA Adafruit_Si7021
* -------
*
* Thanks to:
* gioblu - PJON 11.0 and support
* @see https://www.pjon.org/
* @see https://github.com/gioblu/PJON
* fredilarsen - support
*