Giter VIP home page Giter VIP logo

vandal's Introduction

vandal

A lighting and fan control system for campervans (or anything else)

vandal is an ESP32-based 10-channel smart switch module with LoRa, CANBus, a display, and a rotary encoder. For 12-24V DC systems, intended to control camper or RV lighting. It features

  • 7 switched-positive output channels, capable of each sourcing 5A at Vin (up to 27V) . All channels support fade, blink, breathe modes via an SX1509 driver.
  • 3 switched-negative channels, capable of each sinking 200mA at up to 30V.
  • 6 protected IO lines, 5V-tolerant and operating at a 3.3V logic level
  • CANBus interface (via a SN65HVD230 transceiver)
  • Protected 1Wire bus, operating at 5V, for temperature sensors (DS1820B and others)
  • LoRa transceiver (HopeRF RFM95) with SMA antenna connection
  • USB programming for the ESP32 (using a FT232R)
  • Numeric/text display: footprints and headers to support 2x Adafruit 0.54" LED backpacks
  • 8x32 LED matrix: footprints and headers to support 4x MAX7219-based 8x8 LED arrays Amazon AliExpress 1 AliExpress 2
  • Rotary (quadrature) encoder to allow control by the user
  • Protected power supply supporting 12V and 24V lead-acid and LiFePO4 battery systems

Protected lines feature diode clamping to 5V and 0V, and high-current lines include TVS diodes on the output to protect against overvoltage and back-EMF. The input has reverse polarity protection. All outputs (and the input) are individually fused.

This project is a work in progress, and the software for the ESP32 doesn't exist yet. It's intended to control LED lighting in my van, and is a bit of an excuse to play with CANBus and the RFM95 LoRa module.

The PCB was created in KiCad. I have a few spare - if you're interested, shoot me an email and I can post you one for a small fee. Alternatively, the gerber files are available here.

The hardware and software for this project are copyright 2020 Patrick Coleman. They are released under the GNU General Public License, version 3.0.

Schematic and board renders

See this spreadsheet for the BOM for board revision v1.0.

schematic Full size PNG PDF

board top Full size PNG

board bottom Full size PNG

vandal's People

Contributors

blinken avatar

Stargazers

 avatar  avatar  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.