Pulsadis detector

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1
Request group membership
By: Thierry Eggen, ON5TE, created: 2013-06-20 | updated: 2013-06-20

Pulsadis is a remote control system using electric power distribution lines as physical support. It's mainly used ine Europe and particularly in Belgium and France to control public lighting, low/high rates periods, etc. This project detects Pulsadis frames and stores them on a memory card for further processing. It may also extremely easily control Leds, relays, ... Just a few cheap hardware components are required.

Original File Upload
AttachmentSize
Package icon pulsadis dual processor for Obex.zip183.81 KB

Comments

Hi Jacques, look in the description document:
"the hardware is quite simple: You feed an ADC with the mains voltage reduced
(here via a 230V/6V transformer and a two resistors divider) in order to have
a little less than 3.3 volts Peak-to-peak, centered on 1.65 Volts."
 
So, you just need to feed the primary of a 230 to low voltage transformer, let's say 6 volts.
The secondary feeds a potentiometric divider, one side to the ground and the tap point connected to the ADC input of the Propeller via a capacitor (100 K is fine).
Regarding the ADC, please consult the Parallax Propeller document AN008
(http://www.parallaxsemiconductor.com/an008). There was a new version released April 2013
but I did not try it as of today.
 
Good luck
 
You may also contact me at ON5TE@UBA.BE

Thank you Thierry for your precise answer about the hardware. I went through your Spin code and found it quite clear and useful. I have an extra question though: how did you compute the correction that was applied to the TicksPerSample variable ? I guess that the difference between the theoretical value (80.000.000/700=114.286 and 113800 is the time taken by the ADC code to execute. But how did you estimate that in practise ? I apologize if my question sounds naive but I am still a PIC newbie :-)

Many thanks

Jacques