All Projects → sqfmi → Badgy

sqfmi / Badgy

Licence: mit
Home of Badgy - IoT Badge

Programming Languages

python
139335 projects - #7 most used programming language
micropython
64 projects

Projects that are alternatives of or similar to Badgy

Mycontroller V1 Legacy
The Open Source Controller
Stars: ✭ 135 (-43.51%)
Mutual labels:  arduino, iot, esp8266
Platform Espressif8266
Espressif 8266: development platform for PlatformIO
Stars: ✭ 206 (-13.81%)
Mutual labels:  arduino, iot, esp8266
Blinker Doc
blinker中文文档
Stars: ✭ 139 (-41.84%)
Mutual labels:  arduino, iot, esp8266
Dsckeybusinterface
An Arduino/esp8266/esp32 library to directly interface with DSC security systems.
Stars: ✭ 202 (-15.48%)
Mutual labels:  arduino, iot, esp8266
Awesome Esp
📶 A curated list of awesome ESP8266/32 projects and code
Stars: ✭ 212 (-11.3%)
Mutual labels:  arduino, iot, esp8266
Server Go
🎨OpenIoTHub Server[内网穿透和物联网设备管理服务器]
Stars: ✭ 127 (-46.86%)
Mutual labels:  arduino, iot, esp8266
Espmqttclient
Wifi and MQTT handling for ESP8266 and ESP32
Stars: ✭ 169 (-29.29%)
Mutual labels:  arduino, iot, esp8266
Esp8266
ESP8266 NodeMCU Workshop
Stars: ✭ 109 (-54.39%)
Mutual labels:  arduino, iot, esp8266
Arduinowebsockets
A library for writing modern websockets applications with Arduino (ESP8266 and ESP32)
Stars: ✭ 213 (-10.88%)
Mutual labels:  arduino, iot, esp8266
Wirehome.core
Wirehome.Core is a home automation system written in C# targeting .NET Core. It runs on Linux, Windows and macOS.
Stars: ✭ 180 (-24.69%)
Mutual labels:  arduino, iot, esp8266
Awot
Arduino web server library.
Stars: ✭ 200 (-16.32%)
Mutual labels:  arduino, iot, esp8266
Pjon
PJON (Padded Jittering Operative Network) is an experimental, arduino-compatible, multi-master, multi-media network protocol.
Stars: ✭ 2,615 (+994.14%)
Mutual labels:  arduino, iot, esp8266
Gateway Go
🎁GateWay Client for OpenIoTHub[云易连访问内网端口和设备的网关]
Stars: ✭ 127 (-46.86%)
Mutual labels:  arduino, iot, esp8266
Home Assistant Config
My Home Assistant Configuration 🏡🏡
Stars: ✭ 133 (-44.35%)
Mutual labels:  arduino, iot, esp8266
Swifitch
Swifitch is ESP8266 based relay board that could be used to turn any light or any wall socket into smart one!
Stars: ✭ 117 (-51.05%)
Mutual labels:  arduino, iot, esp8266
Esp8266 Tiny Door And Window Sensor
Battery powered door and window sensor with ultra low standby power. Arduino, ESP-12, Reed switch, ATtiny, LDO
Stars: ✭ 146 (-38.91%)
Mutual labels:  arduino, iot, esp8266
Homie Esp8266
💡 ESP8266 framework for Homie, a lightweight MQTT convention for the IoT
Stars: ✭ 1,241 (+419.25%)
Mutual labels:  arduino, iot, esp8266
App Release
An IoT Solution,this is the android release app | download ios app in app store
Stars: ✭ 104 (-56.49%)
Mutual labels:  arduino, iot, esp8266
Make
📖📖📖📖📖 写给软件工程师看的硬件编程指南
Stars: ✭ 170 (-28.87%)
Mutual labels:  arduino, iot, esp8266
Blynk Server
Blynk is an Internet of Things Platform aimed to simplify building mobile and web applications for the Internet of Things. Easily connect 400+ hardware models like Arduino, ESP8266, ESP32, Raspberry Pi and similar MCUs and drag-n-drop IOT mobile apps for iOS and Android in 5 minutes
Stars: ✭ 8 (-96.65%)
Mutual labels:  arduino, iot, esp8266

I sell on Tindie

Know Your Badgy

Since launching the first revision of Badgy, we have made various updates and fixes to the hardware and design. Refer to the diagram below to know which revision of Badgy you have. This is helpful for getting started and troubleshooting.

Rev 2C

This is the latest revision of Badgy (September 2019) with a new display that supports 2-bit 4 color grayscale (Black/Dark Gray/Light Gray/White). It can be uniquely identified by the closed solder jumper on the back marked with the asterisk *. It also has a green tab on the screen protector film.

Rev 2B

This revision of Badgy (May 2019) can be uniquley identified by the small green PCB on the bottom left corner. It supports programming over USB (updated from CH340 to CP2104, woohoo!) and WiFi OTA. It fixes the battery issue with Rev 2A.

Rev 2A

This revision of Badgy adds USB programming capability with the CH340 USB-UART controller. It also has two additional jumper pads: 1) ADC broken out if you choose to measure the battery voltage 2) jumper pad for driving other E-ink displays (e.g. 2.13" flexible E-ink). This version has a hardware bug that causes Badgy to not work on battery power, full description with hacks/fixes described here https://github.com/sqfmi/badgy/issues/20.

Rev 1

This is the original and first revision of Badgy. It only supports firmware uploading via WiFi OTA, but the programming pads are broken out so you could also use your own USB-Serial adapter.

Getting Started

By default your Badgy displays the welcome message when powered on. To upload new firmware, you can simply connect via USB (Rev 2A/2B), or to your WiFi network (Rev 1/2A/2B). You will also need a LIR2450 rechargeable coin cell battery if you wish to run on battery power only.

WARNING: Make sure you are using a rechargeable battery (LIR2450 coin cell or 1S LiPo). Other batteries such as the CR2450 or CR2032 are undervoltage (3.0V) and will not work. The battery charging IC also does not have reverse polarity protection! Check the polarity before inserting the battery

Over USB (for Rev 2A & Rev 2B)

  1. Download and install the latest version of Arduino IDE
  2. Install board support for the ESP8266 using the Arduino Board Manager using instructions found here.
  3. If you are using a windows machine then you need to add support for the CP201X by installing drivers from here.
  4. The USB-Serial device should show up on the list of ports (e.g. COM8, /dev/cu.* , /dev/tty.*). If you don't see it then it is possible that you need to install the drivers for CP2104 on your system.
  5. From Tools -> Board choose "NodeMCU 1.0 (ESP-12E Module)".
  6. Compile and upload one of our code samples, or create your own! See the 'compiling' section below for some details.

Note that if the ESP chip is in a deep sleep then it will not automatically respond to the upload request and you may see something like "error: espcomm open failed" when trying to upload. A manual restart of the ESP chip, using the power slide button, just prior to upload gives you a small window of time to upload.

Over WiFi

  1. Power your Badgy through USB or a rechargeable battery, or both. Make sure the power switch is in the off position (up)
  2. Hold down the center button and slide the power switch on (down). Note: On older firmware versions it is not necessary to hold down the center button and OTA is on by default
  3. The screen should now update letting you know to connect to the "Badgy AP" network. You can now let go of the center button
  4. Using your mobile phone, connect to the "Badgy AP" WiFi network
  5. Follow the captive portal instructions to select your desired WiFi connection
  6. Once connected, Badgy is ready to receive new firmware! Go to http://YOUR_IP_ADDRESS:8888/update to upload your new firmware
  7. WiFi credentials are automatically saved onboard, your Badgy will automatically connect to your selected network the next time you perform an update

Check out the examples folders for various code samples, we're constantly adding more!

Compiling examples

The readme files within the example directories contain specific library and version information for that example. At a minimum though you should consider installing the following libraries as they are very useful and/or necessary for any real functionality.

  1. GxEPD library: you can find the repo here.
  2. AdaFruit GFX library: installation instructions available here.
  3. WifiManager library: you can find the repo here. You can also find this in the Library Manager under 'WiFiManager by tzapu'.
  4. Time library: you can find the repo here.
  5. ArduinoJson library: you can find the repo here. You can also find this in the Library Manager under 'ArduinoJson by Benoit Blanchon'. Make sure that you install a 5.x version since some of the examples require that.

Autoreset

Some users have reported that Badgy doesn't automatically reset after uploading a new sketch via USB; this appears to be an issue with the ESP8266 Arduino library v2.5.0+. You can either toggle the power switch to reset, or downgrade to v2.4.2. This issue does not affect the operation of Badgy

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].