Advertisement
91tech

LP - AirPower

Aug 18th, 2022 (edited)
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.42 KB | None | 0 0
  1. // --------- AirPower Prototype Unit - LP - Developer Output --------- //
  2. Compiled by 91Tech - @91_tech - youtube.com/91tech
  3.  
  4. Main document: https://pastebin.com/CuvaGx0F
  5. This document contains output for the 'lp' command.
  6.  
  7. // Contents //
  8. - Help
  9. - CLOCK
  10. - SLEEP
  11. - RUN
  12. - TRANSIENT
  13. - START
  14. - SAMPLE
  15. - SCAN
  16. - PWM_ON
  17. - PWM_OFF
  18. - BASELINE
  19. - GET_BASELINES
  20. - THRESHOLD
  21. - FATP
  22.  
  23.  
  24. --------- Help ---------
  25. B431-22-P2> lp help
  26. Available commands:
  27. clock
  28. sleep
  29. run
  30. transient
  31. start
  32. sample
  33. scan
  34. PWM_on
  35. PWM_off
  36. baseline
  37. get_baselines
  38. threshold
  39. fatp
  40. help
  41.  
  42.  
  43.  
  44. --------- CLOCK ---------
  45. B431-22-P2> lp clock
  46. [no output]
  47.  
  48.  
  49.  
  50. --------- SLEEP ---------
  51. lp sleep
  52. sleep should have 1 parameter!
  53. B431-22-P2> lp sleep 0
  54. sleep duration should be greater than 1300us
  55. B431-22-P2> lp sleep 1301
  56. sleep length set to 1301us.
  57.  
  58.  
  59.  
  60. --------- RUN ---------
  61. B431-22-P2> lp run
  62. run should have 1 parameter!
  63. B431-22-P2> lp run 0
  64. run duration should be greater than 500us
  65. B431-22-P2> lp run 501us
  66. run length set to 501us.
  67.  
  68.  
  69.  
  70. --------- TRANSIENT ---------
  71. B431-22-P2> lp transient
  72. transient should have 1 parameter!
  73. B431-22-P2> lp transient 0
  74. transient duration should be greater than 1300us
  75. B431-22-P2> lp transient 1301
  76. transient length set to 1301us.
  77.  
  78.  
  79.  
  80. --------- START ---------
  81. B431-22-P2> lp start
  82. lp complete
  83. coil: 13
  84. baseline+threshold: 3660
  85. ADC sample: 3429
  86.  
  87.  
  88.  
  89. --------- SAMPLE ---------
  90. B431-22-P2> lp sample
  91. LP sample all coils
  92. B431-22-P2> Coil0 Amp,3989
  93. Coil1 Amp,3710
  94. Coil2 Amp,3782
  95. Coil3 Amp,3946
  96. Coil4 Amp,3657
  97. Coil5 Amp,3679
  98. Coil6 Amp,3787
  99. Coil7 Amp,3857
  100. Coil8 Amp,3973
  101. Coil9 Amp,4093
  102. Coil10 Amp,3817
  103. Coil11 Amp,3909
  104. Coil12 Amp,3911
  105. Coil13 Amp,3710
  106. Coil14 Amp,3763
  107. Coil15 Amp,4095
  108. Coil16 Amp,3817
  109. Coil17 Amp,3976
  110. Coil18 Amp,4054
  111. Coil19 Amp,3782
  112. Coil20 Amp,3803
  113. Coil21 Amp,3927
  114.  
  115.  
  116.  
  117. --------- SCAN ---------
  118. B431-22-P2> lp scan
  119. LP sample all coils
  120. B431-22-P2> Coil0 Amp,4068
  121. Coil1 Amp,3793
  122. Coil2 Amp,3918
  123. Coil3 Amp,3966
  124. Coil4 Amp,3675
  125. Coil5 Amp,3733
  126. Coil6 Amp,3787
  127. Coil7 Amp,3888
  128. Coil8 Amp,3953
  129. Coil9 Amp,4071
  130. Coil10 Amp,3803
  131. Coil11 Amp,3886
  132. Coil12 Amp,3895
  133. Coil13 Amp,3701
  134. Coil14 Amp,3752
  135. Coil15 Amp,4086
  136. Coil16 Amp,3805
  137. Coil17 Amp,3956
  138. Coil18 Amp,4034
  139. Coil19 Amp,3769
  140. Coil20 Amp,3789
  141. Coil21 Amp,3911
  142.  
  143.  
  144.  
  145. --------- PWM_ON ---------
  146. B431-22-P2> lp PWM_on
  147. PWM should have 1 parameter!
  148. B431-22-P2> lp PWM_on 0
  149. LPPWM set to 0Hz (source freq = 72000000Hz)
  150.  
  151. -- Pulse-width modulation (PWM), or pulse-duration modulation (PDM), is a method of reducing the average power delivered by an electrical signal. --
  152. https://en.wikipedia.org/wiki/Pulse-width_modulation
  153.  
  154.  
  155.  
  156. --------- PWM_OFF ---------
  157. B431-22-P2> lp PWM_off
  158. PWM source = hrtim
  159.  
  160. * does not appear to change prior to using 'PWM_on' *
  161.  
  162.  
  163.  
  164. --------- BASELINE ---------
  165. B431-22-P2> lp baseline
  166. baselines: { 3956 3686 3757 3912 3625 3667 3760 3837 3938 4056 3780 3869 3893 3694 3751 4079 3801 3948 4023 3753 3789 3913 }
  167.  
  168.  
  169.  
  170. --------- GET_BASELINES ---------
  171. B431-22-P2> lp get_baselines
  172. baselines: { 3956 3686 3757 3912 3625 3667 3760 3837 3938 4056 3780 3869 3893 3694 3751 4079 3801 3948 4023 3753 3789 3913 }
  173.  
  174.  
  175.  
  176. --------- THRESHOLD ---------
  177. B431-22-P2> lp threshold 0
  178. threshold set: 0
  179. B431-22-P2> lp threshold 91
  180. threshold set: 91
  181. B431-22-P2> lp threshold 111111111
  182. threshold set: 0
  183.  
  184.  
  185.  
  186. --------- FATP ---------
  187. B431-22-P2> lp fatp
  188. No output
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement