Projekt IoT: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 9: | Line 9: | ||
* SonOff with own firmware and tasmota devices | * SonOff with own firmware and tasmota devices | ||
https://github.com/arendst/Sonoff-Tasmota/wiki | https://github.com/arendst/Sonoff-Tasmota/wiki | ||
== Arduino IDE Inofficial Boards == | |||
look here for an overview: | |||
* https://playground.arduino.cc/Main/ArduinoOnOtherAtmelChips | |||
=== ATTiny === | |||
* Most ATTinys: https://github.com/SpenceKonde/ATTinyCore | |||
Datasheet 2313: http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-2543-AVR-ATtiny2313_Datasheet.pdf | |||
Datasheet 2313 Summary: http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-2543-AVR-ATtiny2313_Summary.pdf | |||
==== Wiring ==== | |||
https://startingelectronics.org/tutorials/AVR-8-microcontrollers/ATtiny2313-tutorial/P8-TC0-polled-timer/ATTINY2313-TC0-polled.png | |||
* Vcc can also be 3.3V | |||
* C1 can have bigger capacity for unstable voltage | |||
* R1 can be higher values | |||
==== Programmer ==== | |||
I have an USBasp. Program with avrdude. Works integrated in Arduino IDE. | |||
Numbering of Connector is | |||
1 3 5 7 9 | |||
2 4 6 8 10 | |||
Need to connect Vcc, Gnd, Miso(1), Mosi, Reset and Sck | |||
New chip needed 0.5MHz for correct timing with delay() | |||
Needed this in file /etc/udev/rules.d/50-USBasp.rules | |||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", GROUP="dialout", MODE="0660" | |||
=== ESP8266 === | |||
https://github.com/esp8266/Arduino |
Revision as of 21:45, 6 December 2017
IoT - Internet of Things
some project ideas and notes regarding Arduino, ESP8266, ESP32 and other micro controllers
- Arduino Nano with 433 MHz data transfer
- ESP-01 for shutter control
- ESP-12 for LED switch
- ESP-12 for laundry room air control
- SonOff with own firmware and tasmota devices
https://github.com/arendst/Sonoff-Tasmota/wiki
Arduino IDE Inofficial Boards
look here for an overview:
ATTiny
- Most ATTinys: https://github.com/SpenceKonde/ATTinyCore
Datasheet 2313: http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-2543-AVR-ATtiny2313_Datasheet.pdf Datasheet 2313 Summary: http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-2543-AVR-ATtiny2313_Summary.pdf
Wiring
- Vcc can also be 3.3V
- C1 can have bigger capacity for unstable voltage
- R1 can be higher values
Programmer
I have an USBasp. Program with avrdude. Works integrated in Arduino IDE.
Numbering of Connector is
1 3 5 7 9 2 4 6 8 10
Need to connect Vcc, Gnd, Miso(1), Mosi, Reset and Sck
New chip needed 0.5MHz for correct timing with delay()
Needed this in file /etc/udev/rules.d/50-USBasp.rules
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", GROUP="dialout", MODE="0660"