Opening my door with Blynk and Sparkfun's Blynkboard

Alright, so I’m trying to open my front door with blynk and a Sparkfun blynkboard ESP8266…

Here it is: https://www.sparkfun.com/products/13794

So I created a device that clamps on my door lock. To that device is hooked a servo that needs to rotate 90 degrees counterclockwise when I press a virtual button on Blynk and 90 degrees clockwise when I hit that button again. (There is just one servo for the whole project)

Additionally I would like to have a display indicator to know if the door is opened or closed.

Virtual button on Blynk pushed first time (unlocking door):

  • Virtual display indicates door locked
  • 90 degrees counterclockwise on servo
  • Wait 1 second
  • 90 degrees clockwise on servo
  • Virtual display indicates door unlocked

Virtual button on Blynk pushed second time (locking door):

  • Virtual display indicates door unlocked
  • 90 degrees clockwise on servo
  • Wait 1 second
  • 90 degrees counterclockwise on servo
  • Virtual display indicates door locked

Thanks in advance for the help!

So whats the problem ?

1 Like

I think the impression is that someone here will write up the code for this?

Sorry @Alexis_Tisseur, this is not a code factory!

You will need to read up about how to best utilize Blynk in the Documents, Help Center and Sketch Builder… all those links are at the upper right of this page. Everything you need to get started.

Then, during that process. we (other Blynk users like yourself) are here to assist, as best able, with any questions you have.

1 Like

I was waiting for your reaction :smile:

2 Likes

Enabler :stuck_out_tongue:

2 Likes

Thanks for your answer!
You’re absolutely right :slight_smile: not looking for someone to write code for me.
I wanted to see if anyone had tips on where to find more information for that kind of use. I couldn’t find much on forums… Most blynk projects either do not use sparkfun products or do not play with sparkfun’s code…
I’m having a hard time finding the library and where to input my code.

If you know of any resource that can guide me I would love the help.
If not, I’ll continue my researches.

Thanks in advance :slight_smile:

Surely it’s just an ESP with “Arduino” code, right?

Most probably :S although I could not find much on the subject. (I’m fairly new to arduino, blynk and microcontrollers in general)

@Alexis_Tisseur now you know what you have search here and on Google for:

“ESP8266 door lock”

I’ll try it out; thanks buddy!

There is a whole bunch of examples using that board in the Sketch Builder. And as @Costas pointed out, it just appears to be just a rebranded ESP that uses the same code as Arduino. So lots of code and examples throughout this forum.