Datalogger

From philcrump.co.uk
Jump to: navigation, search

MCU + Wifi

  • MCP1825S 3.3V LDO

Power

  • Micro-USB Socket
  • MCP73831 USB LiPo Charger
  • LiPo Battery
    • JST-2MM-2 Connector

ADC Socket

  • Board Detect
  • SPI
  • I2C
  • STM32 ADC
  • TPS79933ddccr Low Noise LDO

Pinout

  • 1: 3.3V
  • 2: GND
  • 3: Connect Detect
  • 4: STM32 ADC
  • 5: I2C SDA
  • 6: I2C SCL
  • 1: 3.3V
  • 2: GND
  • 3: SPI MOSI
  • 4: SPI MISO
  • 5: SPI SCK
  • 6: SPI NSS

Charging Indicator

Green LED next to micro-USB

  • ON: Charged (>90%)
  • Flashing: Charging
  • OFF: No Power

Battery Indicator

Red LED next to battery connector

  • OFF: >50%
  • Flashing slowly (25% duty cycle): 50% - 20%
  • Flashing fast: <20%

Programming

LEDs

  • POWER - ADC Vcc Line
  • DATA - PA5 (Pin 34)
  • CHARGE - PA10 (Pin 29)
  • BATT - PB6 (Pin 30)

Inputs

  • Charger Status - PA12 (Pin 27)
    • Charging - LOW
    • Charged - HIGH
  • Power Switch - PB1 (Pin 36)
    • Normally High