Inspiration

I'm currently working on my thesis about plant's electrophysiology, and one of the tasks that I need is to control a light system with PWM signals with three different shapes, so I decided to do this with a python script. The main advantage is that I will save computing time in the microcontroller, so it will read the value from an SD card and put it on the PWM output, instead of calculate the PWM value each time.

What it does

It generates three different signals with different shapes based on the configuration. You can change the PWM resolution, the number of stimuli, the duration of the whole signal and the duration of each stimulus.

How we built it

I used just python

Accomplishments that we're proud of

I completed this script in 30 minutes, it was really fast for me to define the math formula of the shapes and then implement them into the code, so I'm proud of this because it worked almost at the very first time.

What's next for LightStimulus_PWM_Signal_Generator

I will update this adding the lines to save the signals as .txt, and some instructions to use them also with circuits simulators that allows to use custom signals.

Built With

Share this project:

Updates