Skip to content

Commit 6a1c90a

Browse files
committed
Add files
1 parent 98aaf9c commit 6a1c90a

File tree

100 files changed

+83064
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+83064
-0
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "openscad/scad-utils"]
2+
path = openscad/scad-utils
3+
url = https://github.com/OskarLinde/scad-utils

README.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<p align="center">
2+
<img align="center" width="60%" height="auto" src="./logo/minidenko-logo-dark.png">
3+
</p>
4+
5+
# miniDenko - A portable messaging device
6+
`miniDenko` (Denko = 電光 is from "an electric scoreboard" in Japanese) is a portable messaging device.
7+
8+
<p align="center">
9+
<img align="center" width="30%" height="auto" src="./images/md_2_sd.gif">
10+
</p>
11+
12+
## Features
13+
- Edit & save your message and show it up instantly.(Sub-second booting)
14+
- Also supports Japanese characters thanks to [Arduino-misakiUTF16](https://github.com/Tamakichi/Arduino-misakiUTF16) lib written by [[Tamakichi]](https://github.com/Tamakichi) san.
15+
- Easily connectable with Phones, Laptops, etc. via WiFi.
16+
- Supports `STA`, `AP`, `AP_STA` modes to collaborate with the devices.
17+
- Made from easily-obtainable parts. (See [#BOM](#BOM))
18+
- Its [portable and slim shape](./openscad/minidenko-case-body-opaque.stl) fits in your (large) pocket.
19+
- LED Matrix + esp8266 + MPU6050 + Modern Web framework(Vue.js + Buefy) = A hackable LED messaging platform
20+
- And as a latest gadget should be, equipped with the **Type-C** charging port.
21+
22+
## UI
23+
<p align="center">
24+
<img align="center" width="30%" height="auto" src="./images/md_webui_1_s.png">
25+
<img align="center" width="30%" height="auto" src="./images/md_webui_2_s.png">
26+
</p>
27+
28+
## Project structure
29+
- [`pio/`](./pio) - The code for the firmware(PlatformIO)
30+
- [`pio/webui/`](./pio/webui) - The code for the WebUI(Vue.js + Buefy)
31+
- [`kicad/`](./kicad) - The PCB design (KiCad)
32+
- [`openscad/`](./openscad) - The models for the 3D-printable case. (OpenSCAD)
33+
34+
## BOM
35+
// WIP
36+
37+
## Refs
38+
- https://www.thingiverse.com/thing:3876563
39+
- https://hackaday.io/project/167747-minidenko
40+
## License
41+
MIT

images/md_1_sd.gif

262 KB
Loading

images/md_2_sd.gif

570 KB
Loading

images/md_webui_1_s.png

98.9 KB
Loading

images/md_webui_2_s.png

154 KB
Loading

kicad/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# miniDenko/PCB
2+
3+
<p align="center">
4+
<img align="center" width="30%" height="auto" src="../images/md_2_sd.gif" alt="WIP">
5+
</p>

logo/minidenko-icon_128.png

3.32 KB
Loading

logo/minidenko-logo-dark.png

16.2 KB
Loading

logo/minidenko-logo.png

16.1 KB
Loading

openscad/Makefile

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
OPENSCAD := openscad-nightly
2+
MONTAGE := montage
3+
targets := $(wildcard minidenko-case-body*.scad) \
4+
$(wildcard minidenko-case-backpanel*.scad)\
5+
minidenko-port-holder.scad
6+
stls := $(targets:.scad=.stl)
7+
image_dir := images
8+
thumbnails := $(targets:%.scad=${image_dir}/%_s.png)
9+
img_models := ${image_dir}/models.png
10+
11+
.PHONY: all clean images
12+
all: ${stls}
13+
@echo done
14+
15+
${stls}: %.stl: %.scad
16+
@echo Building $@ from $<
17+
${OPENSCAD} -o $@ $<
18+
19+
clean:
20+
rm -f ${stls}
21+
22+
images: $(thumbnails) ${img_models}
23+
@echo done
24+
25+
$(thumbnails): ${image_dir}/%_s.png: %.scad
26+
@echo Generating $@ from $<
27+
${OPENSCAD} -o $@ \
28+
--imgsize=640,480 --colorscheme=Tomorrow \
29+
--projection o --camera 200,-200,280,0,0,20 $<
30+
31+
${img_models}: ${thumbnails}
32+
@echo Generating $@ from $^
33+
${MONTAGE} -label '%t' -geometry 320x240 $(sort $^) $@

openscad/README.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# miniDenko/shell
2+
3+
<p align="center">
4+
<img align="center" width="80%" height="auto" src="./images/main.png">
5+
</p>
6+
7+
The outer shell for miniDenko.
8+
9+
## Dependencies
10+
- [OskarLinde]'s [scad-utils](https://github.com/OskarLinde/scad-utils)
11+
- openscad-nightly (`20181009T230242.gitf3de0e27+2416.1`)
12+
13+
## Build
14+
```sh
15+
$ git submodule update --init --recursive # or git clone --recursive
16+
$ make -j4
17+
```
18+
19+
## Variants/Accessories
20+
### [minidenko-case-body-opaque](./minidenko-case-body-opaque.stl)
21+
* For opaque fillaments.
22+
23+
[![minidenko-case-body-opaque](./images/minidenko-case-body-opaque_s.png)](./minidenko-case-body-opaque.stl)
24+
25+
### [minidenko-case-body-transparent](./minidenko-case-body-transparent.stl)
26+
* For semi-transparent fillaments.
27+
28+
[![minidenko-case-body-transparent](./images/minidenko-case-body-transparent_s.png)](./minidenko-case-body-transparent.stl)
29+
30+
### [minidenko-case-backpanel-a](./minidenko-case-backpanel-a.stl.stl)
31+
* A backpanel (lid) - Type A
32+
33+
[![minidenko-case-backpanel-a](./images/minidenko-case-backpanel-a_s.png)](./minidenko-case-backpanel-a.stl)
34+
35+
### [minidenko-port-holder_s](./minidenko-port-holder.stl)
36+
* For fixing the LiPo charging board.
37+
38+
[![minidenko-port-holder](./images/minidenko-port-holder_s.png)](./minidenko-port-holder.stl)
39+
40+
## License
41+
MIT

openscad/charging_board_microb.scad

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
USB_X = 18;
2+
USB_Y = 15;
3+
module USB_BOARD_DIF(scZ) {
4+
5+
// BOARD
6+
difference() {
7+
translate([0, 0, 1.5/2])
8+
cube(size=[USB_X, USB_Y, 1.5], center=true);
9+
10+
copy_mirror([1,0,0])
11+
translate([USB_X/2-3.3/2-1, -USB_Y/2+3.3/2+4, 0])
12+
cylinder(d=3.3, h=10, center=true);
13+
}
14+
15+
// PORT
16+
USB_P_Y_OFFSET = 10;
17+
USB_P_Y = 8+USB_P_Y_OFFSET;
18+
translate([0, USB_Y/2-USB_P_Y/2 + USB_P_Y_OFFSET, 1.5-0.3]){
19+
hull() {
20+
//top
21+
translate([0, 0, 3.2])
22+
cube(size=[6.2+0.2, USB_P_Y, 0.01], center=true);
23+
24+
// middle
25+
translate([0, 0, 1.55])
26+
cube(size=[8.0+0.2, USB_P_Y, 0.5], center=true);
27+
28+
//bottom
29+
translate([0, 0, 0])
30+
cube(size=[5.2+1, USB_P_Y, 0.01], center=true);
31+
}
32+
}
33+
34+
//screws
35+
copy_mirror([1,0,0])
36+
translate([USB_X/2-3.3/2-1, -USB_Y/2+3.3/2+4, -scZ/2])
37+
cylinder(d=2.2, h=scZ, center=true);
38+
}

openscad/charging_board_typec.scad

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
USB_TYPEC_BOARD_X = 17.1;
3+
USB_TYPEC_BOARD_Y = 28.1;
4+
USB_TYPEC_BOARD_Z = 1.0;
5+
6+
module USB_TYPEC_BOARD(diff=false) {
7+
translate([0, -USB_TYPEC_BOARD_Y/2, 0])
8+
linear_extrude(height=USB_TYPEC_BOARD_Z, center=!true, convexity=10, twist=0)
9+
square(size=[USB_TYPEC_BOARD_X, USB_TYPEC_BOARD_Y], center=true);
10+
11+
translate([0, 1.5, USB_TYPEC_BOARD_Z])
12+
translate([0, -7.3, 3/2])
13+
rotate([-90, 0, 0])
14+
linear_extrude(height=diff ? 20 : 7.3, center=!true, convexity=10, twist=0)
15+
hull(){
16+
offset(r= diff ? 0.3 : 0)
17+
mirror_x()
18+
translate([9/2-3/2, 0, 0])
19+
circle(d=3);
20+
}
21+
}

openscad/images/main-rot.png

20.1 KB
Loading

openscad/images/main.png

3.42 KB
Loading
Loading
7.99 KB
Loading
Loading
2.68 KB
Loading

openscad/images/models.png

125 KB
Loading
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
$fn=40;
2+
3+
include <minidenko-case-base.scad>
4+
5+
BODY_BOTTOM_Z = 1.4;
6+
7+
translate([0, 0, 10])
8+
difference(){
9+
backPanel(inset=0.5, h=1.2);
10+
screws(1.8);
11+
translate([0, 0, 9-0.4])
12+
screws(3);
13+
14+
translate([-15, -2, BODY_Z-0.6])
15+
linear_extrude(height=1, center=false, convexity=10, twist=0)
16+
rotate([0, 0, -90])
17+
resize([55, 0, 0], auto=true)
18+
import("minidenko-logo-mono.dxf");
19+
}

0 commit comments

Comments
 (0)