User Tools

Site Tools


info:sonos_api_for_seeburg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
info:sonos_api_for_seeburg [2023/11/12 08:35] 192.168.1.71info:sonos_api_for_seeburg [2023/11/12 08:35] (current) 192.168.1.71
Line 5: Line 5:
  
 The main loop of the program polls the GPIO pin which is connected to the voltage regulator.  When there is a pulse, the GPIO pin registers as “true”.  The pseudo-code looks like this: The main loop of the program polls the GPIO pin which is connected to the voltage regulator.  When there is a pulse, the GPIO pin registers as “true”.  The pseudo-code looks like this:
 +
 <code> <code>
 Wait for a pulse Wait for a pulse
Line 17: Line 18:
  
 Go back to the start Go back to the start
-</code?+</code
 It should be simple, but there are a couple of small complications to overcome.   The first complication is that the electro-mechanical nature of the wallbox creates occasional voltage spikes (from relays etc.) that are not part of a pulse train.  For example a short spike is created  when an inserted coin generates a credit, and another spike is seen when the rotor arm starts to move.  These could lead to decoding errors if they are interpreted as part of the pulse train.  The software needs to identify and ignore these. It should be simple, but there are a couple of small complications to overcome.   The first complication is that the electro-mechanical nature of the wallbox creates occasional voltage spikes (from relays etc.) that are not part of a pulse train.  For example a short spike is created  when an inserted coin generates a credit, and another spike is seen when the rotor arm starts to move.  These could lead to decoding errors if they are interpreted as part of the pulse train.  The software needs to identify and ignore these.
  
Line 25: Line 27:
  
 The logic now runs like this: The logic now runs like this:
 +
 <code> <code>
 Wait for a pulse Wait for a pulse
info/sonos_api_for_seeburg.1699796103.txt.gz · Last modified: 2023/11/12 08:35 by 192.168.1.71