R/C Tech Forums - View Single Post - "Load Master"
Thread: "Load Master"
View Single Post
Old 07-02-2023 | 02:37 PM
  #42  
trilerian's Avatar
trilerian
Tech Elite
iTrader: (51)
 
Joined: Apr 2005
Posts: 2,393
From: Lexington KY
Default

So I have cobbled together some code using the internal comparator in the 328p chip and managed to get digital waves out of the bemf. Now my brain hurts because I learned how to use the port registers directly instead of doing digital read on pin yadda, yadda... Anyway, as you increase or decrease timing the digital waves correspond so that is something. I now need to reinvent my rpm counter using port registers and then setup a comparison between the bemf and the rpm. Attached is a pic that has the 3 bemf waves plus one rpm sensor output. The bottom waveform is the rpm sensor.


trilerian is offline