* CPU (vorhanden) → http://wiki.stm32duino.com/index.php?title=Blue_Pill STM32F103C8T6 ARM Cortex M3 64 KB/128 KB Flash; 20 KB RAM LED = PC13 (leuchtet bei LOW)
* Display (1 vorhanden) → http://www.waveshare.com/2.13inch-e-paper-hat.htm http://www.waveshare.com/wiki/2.13inch_e-Paper_HAT http://www.waveshare.com/wiki/File:2.13inch_e-Paper_HAT-code.7z https://www.crystalfontz.com/product/cfap122250a00213-epaper-display-122x250-eink (→ Zip-Datei) SPI schwarz/weiß 250 × 122 Pixel
* Akku (3x vorhanden) → https://www.ebay.de/p/2-X-Panasonic-NCR18650B-3-6v-3400-mAh-Lithium-ionen-Akku/4003304682?iid=292047078780 Ladung bis 4,2V * GPS (2x vorhanden, Olli?) https://www.sparkfun.com/products/13740 http://www.telit.com/gnss/ (http://www.telit.com/gnss/sc872-a/) * SD-Kartenslot (4x vorhanden) → http://www.exp-tech.de/pololu-breakout-board-for-microsd-card * Ladeschaltung (5x in fernost bestellt) → http://www.ebay.com/itm/142421272780 * Spannungsversorgung (3x vorhanden) → http://www.exp-tech.de/pololu-3-3v-step-up-step-down-spannungsregler-s7v8f3?___SID=U * Touch (3x vorhanden) → http://www.exp-tech.de/adafruit-12-key-capacitive-touch-sensor-breakout-mpr121 —– HW-Anbindung: GPS: UART → PA9 (TX1), PA10 (RX1) Display: SPI2 → PB12 (NSS2), PB13 (SCK2), PB14 (MISO2), PB15 (MOSI2), PA8 (Busy), Reset des Display auf Vcc SD-Karte: SPI1 → PA7 (MOSI1), PA6 (MISO1), PA5 (SCK1), PA4 (NSS1) Touch: I2C-1 + WakeUp-IR (DigitalIn) → PB6 (SCL1), PB7 (SDA1), PA0 (WKUP) Akku: AnalogIn → PA1 (ADC1 - 12bit: 0-4095) (Messbereich: 0 - 4,35 V; Widerstandsteiler E24: 120k & 91k) For Future Use: 2x Digital Out: zum Zuschalten eines Bluetooth- und eines ESP8266-Moduls Bluetooth-Modul: UART-over-BT (RX vom BT-Modul an PA10/RX1) ESP8266: WLAN-Anbindung (WebServer, etc.) (Anbindung per UART: PA2/TX2 & PA3/RX2) —– Make: (*http://gnuwin32.sourceforge.net/packages/make.htm) (http://gnuwin32.sourceforge.net/packages/libintl.htm) (**http://gnuwin32.sourceforge.net/packages/libiconv.htm) *https://sourceforge.net/projects/mingw/files/MinGW/Extension/make/
Compiler: GCC ARM Embedded Toolchain (vormals GNU Tools for ARM Embedded Processors) gcc-arm-none-eabi-6-2017-q2-update-win32_arm-none-eabi_bin https://developer.arm.com/open-source/gnu-toolchain/gnu-rm https://www.mikrocontroller.net/articles/ARM_GCC https://gnu-mcu-eclipse.github.io/toolchain/arm/install/
aus Arduino: not_even_for_merchantability_or_fitness_for_a_particular_purpose
Bootloader: https://github.com/trueserve/stm32f103-bootloader Blue Pill = TARGET_GENERIC_F103_PC13 (GPIOC 13)
path_make.exe_generic-pc13_pause
Download-Batch:
end_echo_download_beendet_pause
Applikation:
- im Linker-Skript (*.ld): origin_0x08002000_length_120k - zu Beginn der Applikation die Vector-Tabelle ummappen: scb-_vtor_0x08002000
SW-Libs: https://github.com/mikalhart/TinyGPS
SW-Links: https://visualgdb.com/w/tutorials/category/tutorials/embedded/stm32_periph/
https://www.cs.indiana.edu/~geobrown/book.pdf
Spannungskennlinie der Akkus (Abschätzung Ladezustand anhand der Spannung): http://budgetlightforum.com/node/11772