Pump Protection via Photon Microcontroller

Goal - Develop a simple safety control algorithm/program using a Photon microcontroller ([login to view URL]) that will safeguard a motor from self-destruction.

Program Concept - Count input signals over a specified period of time. If the input signal count exceeds a maximum allowable value within a specified period of time and it exceeds it for x number of cycles, we will turn on an output and halt the checking process. If the input count does not exceed the maximum allowable count within a specified period of time, we will reset the counter and timer and start the check process over. This process will loop forever until the input count exceeds the maximum allowable count for X number of cycles. If the maximum allowable count is exceeded at some point, the only way to "reset" the output/program will be to power cycle the photon.

For example, if we have a maximum input count set to 5, a timer value set to 1 second with a maximum cycle count set to 3 and we receive greater than 5 input signals every second for more than 3 cycles we would then energize an output.

We would like to develop the program with as few libraries as possible and as few of lines of code as possible.

The counter and timer values need to be adjustable via variables at the start of the program

Variable Names...

Counter = vCycleCount (Integer value)

Timer = vSafetyIntervalTime (settable to the tenth of a second [login to view URL])

Max Cycle Count = vMaxCycleCount (Integer value)

The input signal will be a 3.3v signal supplied via a N/C contact. When the N/C contact opens we are considering that an input signal. The output will simple energize a 5v relay.

Open to ideas and design improvements. This project may lead into most complex projects involving the photon.

Skills: Microcontroller, Electronics, C Programming, Arduino

See more: visual basic goal seek variable goal, develop license protection software, induction motor protection using microcontroller, microcontroller project pump, can pump run microcontroller, google analytics goal names, variable step size nlms matlab code, microcontroller based variable speed drive phase induction motor, speed variable driver microcontroller, variable frequency drive using pic microcontroller, project variable frequency drive microcontroller, microcontroller based variable frequency drive, microcontroller based variable speed drive, i have 300 names in excel file need to done copy from excel file into notepad file, i need you to develop some software for me i would like this software to be developed for windows using metatrader, how to develop website to footbal club in php code, i want to develop a website what i need, We develop apps for iOS and Android in quality native code and excellent user experience. We need a design for our website urgen, I need you to develop some software for me. I would like this software to be developed for Windows using

About the Employer:
( 0 reviews ) EPWORTH, United States

Project ID: #20113104

Awarded to:


Hi. I read the description and your idea with the Photon is great. I can collaborate with both the programming part (to work according to the requirements you wrote and at the beginning to define the control variables More

$30 USD in 2 days
(0 Reviews)

8 freelancers are bidding on average $134 for this job


Hi, I hope you are doing well. I have expertise in Particle IO programming and development. I have reviewed your requirements of Counter and I can execute the project in less possible time. Looking Forward, Khawaja

$100 USD in 10 days
(87 Reviews)

Dear employer , I am an Embedded systems developer , please contact me for details. .I will definitely help you.

$30 USD in 2 days
(7 Reviews)

Hello, I'm a software engineer & linux sysadmin. To be honest never worked with photon, but I was thinking to accomplish this using Arduino and any needed modules and relays. I'm sending this proposal to you because I More

$10 USD in 7 days
(7 Reviews)

Hello Sir it's a great project ,I get your description carefully . it's clear to me you can check some of my last projects there [login to view URL] More

$150 USD in 12 days
(16 Reviews)

Hello We have been an engineer for more than 8 years in the market and have already developed projects for several companies using microcontrollers like PIC, AVR, Arduino, ARM, NXP, Nordic, Texas, STM, ESP among other More

$200 USD in 20 days
(1 Review)

Hello Thanks to support this It,s pleasure to prefer recommendation for my job first. So the important thing what i want to show you is i have deep and flexible experiences within microcontroller & embedded system. Of More

$500 USD in 7 days
(0 Reviews)

Expertise in developing firmware and have good understanding of hardware Relevant Skills and Experience Have worked on industrial control system like automatic ac valve control and power sequence

$55 USD in 5 days
(0 Reviews)