PCF8575 I/O 확장 칩

  • Post author:
  • Post category:STM32

from: https://eroro.tistory.com/601 Remote 16-bit I/O expander for I2C-bus 테스트 프로그램 PIN 7에서 PIN 10번으로 넘어가는 부분을 PIN 8번으로 작성하였습니다. [crayon-6622a5dfbfbe4309835642/]     [crayon-6622a5dfbfbf6462290719/]  

Continue ReadingPCF8575 I/O 확장 칩

STM32 PID 제어

  • Post author:
  • Post category:STM32

https://eroro.tistory.com/542 ADC로 전류값을 읽어온 후 180mA로 타겟값을 맞췄습니다. (미제어시 125mA ~ 170mA 정도 소요) => arm에서 제공하는 arm_cortexMxxx_math.lib를 사용 [crayon-6622a5dfc29b0178374738/]

Continue ReadingSTM32 PID 제어

SoftUart Only TX

  • Post author:
  • Post category:STM32

from: https://eroro.tistory.com/488 https://github.com/blalor/avr-softuart 위 사이트에 나와있는 소스코드를 STM32F103에서 동작하도록 변경 9600bps에 맞췄습니다만 본인이 사용하는 클럭 설정이나 다른 코어라면 코어의 처리 속도등을 고려해서 Timer의 발생 시간을 조절해주어야 합니다. 계산해보면 1/9600 =…

Continue ReadingSoftUart Only TX