Project 2: Let There Be Light
LED lighting is a popular product category. Equipped with multiple PWM channels, as well as Wi-Fi and BLE interfaces, the WM2000 is perfect for controlling RGB LED strips and panels. The second app in the tutorial showcases just that — the WM2000's ability to drive RGB LEDs. The Kit only has one such LED, but this is enough to demonstrate the principle of operation.
This app allows you to dynamically control the RGB LED from a web page. In the process, you can also review the use of AJAX in creating dynamic, non-reloading web pages.
Finally, this chapter of your journey teaches you how to wirelessly upload a compiled application into the WM2000.
Hardware
Specifications:
- Two horizontal rows of spring-loaded pins hold the WM2000 in place
- The module can be easily popped out and popped back in
- I²C temperature sensor
- I²C light sensor
- A large RGB LED driven by three PWM-capable lines
- Two buttons:
- MD — connected to the MD line
- Reset — connected to the RST (reset) line
- Four status LEDs:
- Green (SG), red (SR), and yellow (SY) main status LEDs
- A blue LED (LPW) indicating if the power is applied to the board
- Jumpers and test points:
- For measuring the current of the WM2000 and the entire board
- For enabling the low-power mode
- For selecting the RTC power source (3.3V or backup battery)
- Two 12x2 male pin headers for connecting to external circuitry
- Kit dimensions (L x W x H): 100 x 120 x 27.5mm
- Tibbo BASIC/C applications can be debugged via Wi-Fi or USB
- A USB-C connector for powering the board and for serial debugging
- A two-pin terminal block for connecting external 3V–5.5V power*
- A CR2032 backup battery (in a holder)
- The circuitry required to enable the WM2000's low-power mode
- A USB Type-C-to-A cable is included with the Kit
* Only needed if the USB power is not applied
Files, Tools, and Documentation
Demonstration Apps | WM2000EV Project Repository (Github) |
Development Tools | CODY — Tibbo's project configuration wizard WebTIDE — cross-platform, browser-based IDE Tibbo Web Apps — browser-based utilities |
Documentation | WM2000EV Hardware Manual WM2000EV Getting Started Guide WM2000 Hardware Manual WM2000 Programming Platform |
Увійти