Giter Site home page Giter Site logo

datalock-lock's Introduction

datalock-lock

The Arduino-powered door module of the Datalock

datalock-lock's People

Contributors

georgedewar avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

datalock-lock's Issues

Return Bluno and buy Grove Serial BT device or similar

The Bluno died, and I now have doubts about its design, with it sharing the hardware serial port with the USB-Serial converter.

We would probably be better off with a discrete BLE module such as the Grove one or something else.

Health indication

Currently, we display P for Polling and L for Logging when HTTP requests are being made, but there is no indication whether they have succeeded or failed.

Another indicator could be added beside it (perhaps only when in a "debug mode") which indicates whether the last request succeeded or not.

Memory leak

4 bytes of memory is lost when each instruction is received via the HTTP polling, causing the device to crash eventually.

Make HTTP requests occur asynchronously

The device should not busy-wait for an HTTP request to complete, but rather check in the main loop. This may require modification of the WiFi shield library.

Use newer WiFi shield

We should switch to the WiFi shield supplied at DataComp. It is newer, with an Uno R3 pinout, which allows it to stack directly on top of the Arduino without additional headers.

It can also communicate over SPI with a firmware upgrade, which should improve reliability over the software serial currently employed - and free up two valuable IO pins.

Add reset function

Add the ability to reset the EEPROM memory of the Arduino using a serial command, or a button. This clears out all the users.

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.