Skip to content

An open sourced alternative to the popular Mazda Miata MX-5 Wink/Sleepy Eye Mod. Upgrade your Miata's style with a community driven open-source kit.

License

Notifications You must be signed in to change notification settings

seasaltsaige/openwink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

655 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Open Wink Headlight Mod

An open sourced alternative to the popular Mazda Miata MX-5 Wink/Sleepy Eye Mod. Upgrade your Miata's style with a community driven open-source kit.

Miatas Winking

Technologies

Express.js Netlify

TypeScript React Native Expo

C++ Espressif BLE

Table of Contents

About the Project

This project started as a basic and rudimentary project using off the shelf components, and closely following the guides of online resources. After finding a project partner, who designed the custom PCB, the project has been able to evolve into a fully featured, custom project.

This project serves as an open source (though purchasable) alternative to the popular MX-5 Tech Wink Mod. This repository contains the code base for several components of the project.

  • The Update Server, used to push OTA updates to the Module, allowing for quick bug fixes if issues arise.
  • The App, a React Native application that can be built to both Android and iOS.
    • For more information on pre-built application installation, visit here.
    • For more information on building your own app, visit here
  • The Module, code which compiles and gets flashed to the module board itself, allowing interaction with the cars' headlights.
    • See Issue #14 for ESP-IDF refactor
    • For more information on module flashing, visit here.
    • For more information on the module board design, visit here

Project Features

Update Server

  • Manages over the air (OTA) firmware updates for the Wink Module.
  • Allows for quick bug fixes and feature pushes without removal from your Miata.
  • Lightweight and built with Express, ensuring reliable delivery of software.
  • Versioning in updates, preventing accidental downgrades of firmware version.

Controller Application

  • Mobile application built with React Native and Expo, allowing for cross platform build for both Android and iOS. (Pre-built app currently available only for Android. See Custom Build Guide for more information)
  • Controller based on Bluetooth Low Energy (BLE), allowing for long range communication and control.
  • Default Commands: Left/Right/Both Up, Down, Blink/Wink and Wave
  • Sleepy Eye: Allows for precise, per-headlight setup for a custom look.
  • Wave Delay: Customization of delay between headlight actuation, for precise, desired wave style.
  • Custom Commands: Create, save, and run a collection of commands,allowing for unique, custom headlight animations.
  • App Theme: Minimal UI with additional theme customization to match NA Miata color themes.
  • Transparent Storage: All data and settings stored on the app can be easily accessed and deleted in the App Settings.
  • OEM Button: Assign custom actions for the OEM Retractor Button (from 2-9 sequential presses), executing pre-defined actions or aforementioned custom commands with configurable timing between presses, allowing for app-like actions without being reliant on the app.
    • Ability to bypass MX-5 Tech Wink restriction which disallows button presses while your headlight lights are turned on. (Only tested on '93) (Don't be stupid with this)
  • Built in firmware updates for Wink Module, utilizing the Update Server and BLE.

Wink Module

  • Custom PCB designed by pyroxenes allowing for clean integration into the Miata's headlight circuitry.
  • Powered by an ESP32-S3 MCU allowing for Coded PHY BLE communications.
  • Plug and Play installation with no wire splicing required.
  • Open source firmware developed in C++, allowing for custom modification and community contributions.

Purchasing

Coming Soon...

Support the Project BuyMeACoffee

If you would rather support the open source initiative for the project, feel free to donate to keep the project alive.

Contributing contributions welcome

Contributions are always welcome! Whether you found a bug or have a feature that you would like to see added, head over to the Contribution Guide, and open a bug report/feature request. Ensure you follow the Code of Conduct, and scan through the open issues to ensure you don't create a duplicate request.

Development Roadmap

For a detailed overview of the planned and in progress features for the project, see the open issues and project board. Contributions are always welcome!

License License

The Open Wink - Wink Mod is free and open-source collection of software and hardware licensed under the GPL v3 License.

Acknowledgements

The Open Wink project codebase was created and is maintained by seasaltsaige.

  • Special thanks to pyroxenes for creating and iterating on the PCB design and assembly.

Contact Me

You can reach me through my website at miatawink.tech/contact

About

An open sourced alternative to the popular Mazda Miata MX-5 Wink/Sleepy Eye Mod. Upgrade your Miata's style with a community driven open-source kit.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published