On-sensor TinyML implementation: Advancing Neuroscience through Wearable Devices