-
1. Re: Implementing an Arc Fault detection circuit using Psoc 4 pioneer kit
EmHo_296241 Jun 19, 2018 11:16 PM (in response to isbic_3500446)Hi,
What are your doubts? You can find examples on how to use ADC on File - Code example. That will be a good starting point on using ADC.
-
2. Re: Implementing an Arc Fault detection circuit using Psoc 4 pioneer kit
isbic_3500446 Jun 20, 2018 6:57 AM (in response to isbic_3500446)I have an external current sense circuit and im going to place the output to the ADC. Is there any type of protections or limits to the ADC that I should be aware of? I found some sample code for data collection but I need to transfer the data to excel sheets for every test run is there code on how to do that?
-
3. Re: Implementing an Arc Fault detection circuit using Psoc 4 pioneer kit
epr_1639216 Jun 20, 2018 8:45 AM (in response to isbic_3500446)You can look at the datasheet for the ADC (Right-click the ADC in the schematic view, and choose "Open Datasheet")
The ADC will support voltages between around ground voltage to around maximum power supply voltage (of the chip itself). This means you can't wire it directly to a wall outlet for example, and will need to make sure any and all voltage measurements are between 0v and the power supply voltage of the chip.
To transfer data to excel sheets, you only need the output to be CSV (comma separated values), and you can achieve this by using a terminal that has copy-paste function to format your data for entry into an excel sheet. Or, you can modify the program to output commas between data values. There are multiple methods for this, and the quickest/most efficient one is the one you should use.
-
4. Re: Implementing an Arc Fault detection circuit using Psoc 4 pioneer kit
VasanthR_91Jul 9, 2018 11:51 PM (in response to isbic_3500446)
Hi,
As the input is given through a GPIO pin, you should be well within the device absolute maximum
Now the range input voltage range you will select for measurement will depend on the reference voltage and mode you are selecting in your ADC. It can be VDDA,Vref etc according to your requirement. In PSoC Creator you can go to File -> Code Example and search for SAR ADC to see example codes for your device.
Best Regards,
VSRS