Python Forum
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
rising edge of detection
#4
I have done this type of thing many times in the past, and that's my problem, it's sort of faded as exactly what has to be done.
I think there is plenty of documentation on how to use a timer with pi, google 'raspberry pi timer' brings up quite a bit.
I think it's a lot easier now then when I was doing similar work (but on TI msp430 or Microchip PIC).
I recall setting up registers on the timer, prior to starting, then first rising edge on GPIO triggers the timer to start, then next GPIO signal triggers timer to stop, the register of the timer can then be read to get the time.
Sorry so vague, take a look at the docs, also another moderator with more recent knowledge may pick up here.
Reply


Messages In This Thread
rising edge of detection - by peter14 - Dec-19-2018, 03:46 PM
RE: rising edge of detection - by Larz60+ - Dec-19-2018, 03:56 PM
RE: rising edge of detection - by peter14 - Dec-19-2018, 08:08 PM
RE: rising edge of detection - by Larz60+ - Dec-20-2018, 01:05 AM
RE: rising edge of detection - by peter14 - Dec-20-2018, 09:20 AM
RE: rising edge of detection - by Larz60+ - Dec-20-2018, 03:52 PM
RE: rising edge of detection - by peter14 - Dec-23-2018, 07:09 PM
RE: rising edge of detection - by peter14 - Dec-27-2018, 10:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Networkx: Visualize an edge weight with a bubble/circle uvw 0 2,017 Sep-01-2021, 06:26 AM
Last Post: uvw
Photo Setting Marker Edge Color In Plotting JoeDainton123 0 2,730 Oct-26-2020, 10:48 PM
Last Post: JoeDainton123
  How do I apply a Gaussian blur to a particular edge of geometry in Matplotlib? hbolandi 0 2,019 Feb-02-2020, 06:08 PM
Last Post: hbolandi
  Randomise network while maintaining topology of nodes using edge-swap approach Tom1988 3 4,142 May-25-2017, 10:59 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020