Embedded Software Monitoring Using Pulse Width Modulation as a Communication Channel for Low Pin Count Microcontroller Applications

  • Przemyslaw Mazurek
  • Dawid BakEmail author
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 763)


Low pin count microcontrollers are used in numerous applications, especially in power control. Pin number reduction complicates real–time monitoring and debugging. Two modulation techniques for transmission data using PWM (Pulse Width Modulation) channel without significant influence on main application of this channel are proposed in this paper. Two modulation techniques: Additive Pulse Width Fluctuation and Differential Pulse Width Fluctuation are proposed with appropriate demodulation methods.


Software monitoring Embedded systems Microcontrollers Pulse Width Modulation 


  1. 1.
    Alter, D.M.: Using PWM Output as a Digital–to–Analog Converter on a TMS320C240 DSP, SPRA490, Texas Instruments, November 1998Google Scholar
  2. 2.
    Aviran, S., Siegel, P.H., Wolf, J.K.: An improvement to the bit stuffing algorithm. IEEE Trans. Inf. Theory 51(8), 2885–2891 (2005)MathSciNetCrossRefGoogle Scholar
  3. 3.
    ATtiny4/5/9/10 8–bit AVR Microcontroller with 512/1024 Bytes In–System Programmable Flash, Atmel (2010)Google Scholar
  4. 4.
    Bech, M.M., Pedersen, J.K., Blaabjerg, F., Trzynadlowski, A.M.: A methodology for true comparison of analytical and measured frequency domain spectra in random PWM converters. IEEE Trans. Power Electron. 14, 578–586 (1999)CrossRefGoogle Scholar
  5. 5.
    Clark Jr., G.C., Cain, J.B.: Error-Correction Coding for Digital Communications. Plenum Press, New York (1981)CrossRefGoogle Scholar
  6. 6.
  7. 7.
    Maxim/Dallas DS1822 Econo 1–Wire Digital Thermometer DatasheetGoogle Scholar
  8. 8.
    Maxim/Dallas DS2450 1–Wire Quad ADC with Programmable ResolutionGoogle Scholar
  9. 9.
    National Communications System Technology and Standards Division, Telecommunications: Glossary of Telecommunication Terms, General Services Administration Information Technology Services (1996)Google Scholar
  10. 10.
    Haller, C.A.: The ZEN of BDM 1996–1997.
  11. 11.
    I2C–bus specification and user manual, UM10204, NXP 2007.
  12. 12.
    Mazurek, P.: Hardware supported debugging in 32–microcontrollers and digital signal processors. In: 6th International Conference on Advanced Computer Systems ACS 1999 Szczecin, pp. 169–178 (1999)Google Scholar
  13. 13.
    Palacherla, A.: Using PWM to Generate Analog Output, AN538, Microchip Technology (1997)Google Scholar
  14. 14.
    Peterson, W.W., Brown, D.T.: Cyclic codes for error detection. In: Proceedings of the IRE, vol. 49, pp. 228–235, January 1961. Scholar
  15. 15.
    PIC10F200/202/204/206 Data Sheet 6–Pin, 8–bit Flash Microcontrollers, Microchip (2007)Google Scholar
  16. 16.
    Proteus Design Suite. Product Guide. Labcenter Electronics.
  17. 17.
    Song, Z., Sarwate, D.V.: The frequency spectrum of pulse width modulated signals. Sig. Process. 83(10), 2227–2258 (2003)CrossRefGoogle Scholar
  18. 18.
    Stankovic, A.M., Lev-Ari, H.: Randomized modulation in power electronic converters. Proc. IEEE 90(5), 782–799 (2002)CrossRefGoogle Scholar
  19. 19.
    Wilson, Stephen G.: Digital Modulation and Coding. Prentice-Hall, Englewood Cliffs (1996)zbMATHGoogle Scholar

Copyright information

© Springer International Publishing AG, part of Springer Nature 2019

Authors and Affiliations

  1. 1.Department of Signal Processing and Multimedia Engineering, Faculty of Electrical EngineeringWest–Pomeranian University of TechnologySzczecinPoland

Personalised recommendations