This is potentially a hardware issue.
On 5 May 2025, at 8:04 pm, Matt Gaidica <ma...@gaidi.ca> wrote:
This is potentially a hardware issue.
- Is the noise signature the exact same every time or different? Can you provide multiple traces with the entire x-axis/timestamps?
- Have you tried an alternative scope?
- Have you tried probing the A0 (BNC_OUT) pin directly on the Arduino board itself inside the FED (see below)?
It is strange that you have sharp edges though, but knowing if the noise pattern is identical each time would help. You should also provide the entire sketch/code. pinMode(BNC_OUT, OUTPUT) should be called in FED3.begin() but it might be worth trying to do that explicitly before your digitalWrite to see if it's toggling in a high-impedance/input state.
<Pinouts.png>Dear all,I am planning to use the FED3 during an in vivo calcium epiflourescence experiment, and having the FED3 pellet information synced with the scope is essential for conducting event based analysis of neural activity. As such I have connected the BNC output of the FED3 to the GPIO input to the scope and added different duration pulses for left, right, and pellet events, an example which is show below. However, one thing I have observed in the test recordings were that even though the correct pulse durations of the low BNC signal were being logged, after each event there is a period of noise where the output signal seems to fluctuate randomly. Is there a known cause/remedy for this?// TTL pulse on LEFT pokedigitalWrite(BNC_OUT, LOW);delay(15); // 15 ms for LEFTdigitalWrite(BNC_OUT, HIGH);
--
You received this message because you are subscribed to the Google Groups "FEDforum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fedforum+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/fedforum/158bd199-fb88-487d-a9ce-ad4613d31f48n%40googlegroups.com.
<Pinouts.png>