Giter Site home page Giter Site logo

alaskalinuxuser / bluefruit_autostart Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 44.9 MB

My Bluetooth Autostart made with a BlueFruit Feather board. https://thealaskalinuxuser.wordpress.com

License: Apache License 2.0

C++ 1.77% HTML 1.53% Java 96.70%

bluefruit_autostart's Introduction

BlueFruit Autostart

################# This repository has been archived and is read only. Please go to https://gitlab.com/alaskalinuxuser for an open and editable version of this repository. All of my repositories have been copied to GitLab. Please post any issues, comments, or work there. Thank you - AlaskaLinuxUser. #################

Here is my work on a home built bluetooth autostart that uses a BlueFruit nRF52 board at it's core.

The entire build process, my thoughts, and actions are can be read here: https://thealaskalinuxuser.wordpress.com/2018/05/15/bluefruit-project-vehicle-autostart/

ScreenShot

Programming Folder

Here you will find the program sketch that I made in Arduino IDE to program the nRF52 Adafruit BlueFruit board. You will need to add the Adafruit nRF52 boards through the board manager in the IDE to utilize this sketch.

You will also find the Android program that I modified from Adafruit to make my autostart app. This is written for Android Studio 2.3. Newer versions of Android Studio will require some modification to the files.

Video and Pictures Folders

Here you can see pictures throughout the process, as well as a video of the final result.

Schematics Folder

In this folder is the original concept schematic for the autostart. There is also the schematics for the 1993 GMC K3500 pickup truck that I installed this in. Those drawings have been marked for which wires I connected to.

Info Folder

This folder includes information on the Adafruit BlueFruit board I used. This is not my work, only shared here so one can see how the bluetooth board works.

How it works

After programming the board and wiring it up per the schematics. It works as follows:

  • On the Android app, pair with the board to connect to it.
  • Press the start button to send the start signal to the board.
  • The board recognizes the start signal and initiates the start timer of 5 seconds, during which it turns on the relays for accessories, fuel pump, ignition, lights, etc.
  • After the 5 second wait, the board checks voltage on the battery (through a voltage divider) and that the brakes are not being pressed. It will then initiate the cranking relay for 3 seconds (this time can be adjusted).
  • It will crank until voltage comes up (due to starting the vehicle, alternator now running) or the crank time has expired.
  • The board will check the voltage to see if the alternator has increased the voltage, which will determine if the engine is running. If yes, it starts a 10 minute run timer, after which the vehicle will shut down. If no, then it will make up to 2 more start attempts.

At any time:

  • Pressing the brakes will stop the process and turn off cranking relays, as well as accessory/ignition/lights/fuelpump relays.
  • Pressing the stop button on the Android app will turn off cranking relays, as well as accessory/ignition/lights/fuelpump relays.
  • Voltage that is above 13 volts will prevent further cranking.

Special conditions:

  • Run Timer of 10 minutes reaching 0 will turn off all relays.
  • 3 total failed start attempts will turn off all relays.

bluefruit_autostart's People

Watchers

 avatar  avatar

bluefruit_autostart's Issues

Range is rather limited, at about 30 feet.

Due to the board being a LE (Low Energy) board, with no external antenna, the range of communication with the autostart is rather limited. It appears to work out to about 30 feet.

Voltage detection verses tachometer to determine if vehicle is started.

Using the voltage off the battery/alternator is great to determine that the engine is running IN BETWEEN cranking attempts. However, it will not tell the board to stop cranking during starting, because when the engine starts, the starter is running, which draws the voltage below the 13 volt threshold. It may be better to figure out a way to use tachometer instead of voltage for future builds.

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.