https://github.com/obono/esp32mjkirisrss
An RSS reader with ESP32
https://github.com/obono/esp32mjkirisrss
esp32 lovyangfx rss-reader
Last synced: about 2 months ago
JSON representation
An RSS reader with ESP32
- Host: GitHub
- URL: https://github.com/obono/esp32mjkirisrss
- Owner: obono
- License: mit
- Created: 2024-11-19T13:59:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-30T14:44:23.000Z (over 1 year ago)
- Last Synced: 2024-12-14T17:12:39.318Z (over 1 year ago)
- Topics: esp32, lovyangfx, rss-reader
- Language: C++
- Homepage:
- Size: 6.56 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ESP32MjkIrisRss

Something like electric bulletin board displaying headlines of news using an ESP-WROOM-32 and a 640×48 LCD.
## Hardware
### Components
* An [ESP-WROOM-32](https://www.espressif.com/en/products/modules?id=ESP32)
* A 640×48 LCD with an FFC cable (by disassembling [Majoka Iris](https://www.takaratomy.co.jp/products/magimajopures/toy/25/))
* A [DC-DC converter (9V)](https://www.aitendo.com/product/18515)
* A [LDO module (3.3V)](https://www.aitendo.com/product/20341)
* A [USB to serial UART module](http://akizukidenshi.com/catalog/g/gM-08461/)
* Two tactile switches
* Two resistors: a 10kΩ and a 270Ω
* A 0.1μF ceramic capacitor
* A USB connector for power supply
* Wires, connectors, etc...
### Schematic
[](doc/schematic.png)
### Examples
[](doc/picture1.jpg)
[](doc/picture2.jpg)
[](doc/picture3.jpg)
## Software
### Build environment
[Install ESP32 boards to the Arduino IDE](https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#installing-using-arduino-ide) and configure the settings as follows.
Attribute |Value
-----------------|------------------------------
Board |ESP32 Dev Module
Upload Speed |921600
CPU Frequency |240MHz (WiFi/BT)
Flash Frequency |80MHz
Flash Mode |QIO
Flash Size |4MB (32Mb)
Partition Scheme |No OTA (2MB APP/2MB SPIFFS)
Core Debug Level |None
PSRAM |Disabled
Arduino Runs On |Core 1
Events Runs On |Core 1
Erase All Flash Before Sketch Upload|Disabled
JTAG Adapter |Disabled
Zigbee Mode |Disabled
This sketch depends on following library(ies). (You can add these by library manager)
* [LovyanGFX](https://github.com/lovyan03/LovyanGFX) version 1.1.16
You must modify some files according to your situation.
* Edit `MY_SSID` and `MY_PASSWORD` in ["credentials.h"](credentials.h) for your Wi-Fi access point
```
#define MY_SSID "SSID"
#define MY_PASSWORD "PASSWORD"
```
* Edit arguments of calling `getAndParseRss()` function in ["MyRssManager.cpp"](MyRssManager.cpp) as you like.
* Get root certificate files and define as arrays of `const char` in ["certificates.h"](certificates.h).
* Alternatively, you can skip certificate verification by omitting the second argument.
```
getAndParseRss("https://www3.nhk.or.jp/rss/news/cat0.xml", rootCA_NHK);
getAndParseRss("https://www.asahi.com/rss/asahi/newsheadlines.rdf", rootCA_AsahiCom);
```
### License
These codes are licensed under [MIT License](LICENSE).
## References
* [マジョカアイリスハック | honeylab's blog](https://honeylab.hatenablog.jp/entry/2021/01/08/131422)
* [TFT_Test_48x640 | GitHub by kingyoPiyo](https://github.com/kingyoPiyo/TFT_Test_48x640)
* [今更ながらマジョカアイリスハックした | koktoh の雑記帳](https://koktoh.hatenablog.com/entry/2021/04/23/232551)
* [(Lチカならぬ)寿司チカ | GitHub by htlabnet](https://github.com/htlabnet/inside_magimajopures/wiki/sushi_chika)
* [マジョカアイリス Yahoo! News 電光表示板 | GitHub by pokibon3](https://github.com/pokibon3/MajokaIrisHack/tree/master/YahooNewsEx2)
* [ESP32-S3で1.9"IPSカラーLCDをパラレル接続した | Qiita by nak435](https://qiita.com/nak435/items/e271cdf3713ff3c88731)