Git Product home page Git Product logo

teslachargedooropener's Introduction

TeslaChargeDoorOpener

Open the Tesla charge door with an Arduino and an ASK STX882 transmitter

Introduction

The Tesla charging cables come with a button that can open the charge door of the car so that is is quicker to plug in. Non-original cables do not have this button.

With an Arduino and a STX882 or similar ASK transmitter that costs a dollar or less on eBay, it is very easy to use this program to obtain the same functionality. I have not used an antenna, as the STX882 has long enough reach without one. This makes it a quite compact solution.

It can be programmed on an ATtiny to make it fit into small places, or on any other type of Arduino. It uses only 1078 bytes of storage and 53 bytes of RAM. I use an Arduino Nano and added a microswitch to the charge plug wall holder so that the signal is sent when I pull the plug out of the holder, making it smooth to plug it into the car with the door already open. For this use I do not use a battery.

Using a push button to power it on, it can be battery powered and last virtually forever.

How it works

This sketch will when powered on send a radio signal that will open the charge door of a Tesla car. After sending this signal at power-on, it will do nothing. This is meant for battery powered operation using a push button. You can of course change it to be always on and trigger on something else.

Pin 11 must be connected to the signal pin of an ASK STX882 433.92MHz transmitter that can be bought on eBay for a low price.

Normally, a transmitter should not be used without an antenna, but I have used the STX882 without one without problems for this project to keep the range very short to avoid opening the charge door of other cars nearby. The transmit times are so short it is unlikely to cause problems.

The message that is sent has been grabbed by using an SRX882 receiver to pick up the data sent by a Tesla charging cable with built in push button. The signal will be sent 5 times repeatedly, just like the charge cable button does.

The cable uses this signal to open the charge door when pushing the button while not being plugged in to the car. The car must be unlocked or you must be in bluetooth range with your paired phone.

When plugged in, the button of the cable can unlock the cable from the car too. This is not done by RF but through wires in the cable, so this sketch will not unlock the cable when plugged in.

teslachargedooropener's People

Contributors

fredilarsen avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.