create every day - 福野泰介の一日一創

Gamificate your life! Raspberry Pi x Glass with the neoplug 3D printed attachment

2017/04/22 23:55:00
#print3d #megane #IchigoJam #english 

I tested iPhone x neoplug. We need lighter one. So next I attached Raspbery Pi Zero on the other side of glasses.

How cute! (*I ordered shorter screws)


You can wear Raspberry Pi and small display! (*I need the smaller battery)


Using neoplug, it's very easy to attach and detach the attachment 3D printed!


I installed IchigoJam RPi to Raspberry Pi Zero. So this is a wearable BASIC machine also!


It likes a game on your real life!

10 CLS:?"TIME:";T 20 WAIT60:T=T+1:GOTO10 SAVE0

Let's enjoy programming your life in BASIC!


By the way I enjoyed small NES with neoplug x VUFINE+. (*without sounds)


There are things I mistaken. Failure is a source of success!


You can download this attachment STL data for 3D printers on Thingverse.
"attachment for neoplug x Raspberry Pi Zero by taisukef - Thingiverse"

Add annotations your life by neoplug x VUFINE+

2017/04/21 23:55:00
#sabae #megane #english 

The first model of neoplug the wearable adapter for glasses was arrived! In the beginning I tested with simple clock and stopwatch applications.

This is a composite image with simple clock app "clkbottom".
photo: the Ichigo event of NUAGE


You can snap the VUFINE+ to the glasses with neoplug adapter. You can see the front clearly and you can see the translucent time in the bottom of your sight.


This is an another composite image with stop watch app "stopwatch".
photo: the Ichigo event of NUAGE


VUFINE+ is the just wearable display so iPhone, Android, PC, Raspberry Pi and game machines any devices can connect it with HDMI. It's very fun to create the future lifestyles with smart glasses!

links
- 【鯖江~世界標準】ウェアラブルデバイスの新着脱機構“ネオプラグ”付メガネ - FAAVOさばえ
- Vufine | Wearable Displays, Simplified.
- 腕時計を過去のものに!電脳めがねによる眼鏡時計 (2011)

7seg LED simulator for IchigoJam web by WebAssembly x HTML

2017/04/20 23:55:00
#js #IchigoJam #web #english 

IchigoJam web updated to simulate 7-segment LED.

IchigoJam web by WebAssembly *7seg on right top!
IchigoJam web connects a 7-seg LED on HTML through shared memory on WebAssembly.


"LED(7seg) by PCN Kanazawa / LED(7セグ) by PCN金沢@ja"
7-segment LED is one of very popular electronics parts to build devices.

You can control the 7seg LED very easy.

OUT1,1

"OUT1,1" to light up a top of LED. OUT1-7 connects each LEDs.

OUT127

127 means 1111111(binary). So all 7 LEDs lighted up.


"Janken using 7seg LED"

This is the dice program.

10 LET[0],6,91,79,102,109,125 20 OUT[RND(6)]

This is the count down progrom.

10 LET[0],63,6,91,79,102,109,125,39,127,111 20 FOR I=9 TO 0 STEP -1:OUT[I]:WAIT60:NEXT


Let's make it!

Sabae to the World! 101 Businesses and Budgets in 2017 fisical year

2017/04/19 23:55:00
#opendata #sabae #english 

Sabae city (Fukui prefecture, Japan) start 2017 fisical year with 58 new business plans!
"平成29年度当初予算の概要 – めがねのまちさばえ 鯖江市"

"Sabae Businesses and Budgets / 鯖江市 平成29年度当初予算(主な事業) めがねのまちさばえ 世界飛翔元年"
(using CSV opendata)

I picked up some interesting plans.
- 英語に親しむ活動事業 810万円 (enjoy English)
- 鯖浦線防犯プロジェクト事業 800万円
- 公共用地ポケットパーク整備事業 600万円
- 大人ファーストさばえ眼鏡 600万円
- めがねのまちさばえから日本の未来が見えてくる事業 300万円
- ググれるまちサバエ事業 200万円 (googleability)
- プログラミング教育推進事業 182万円 (programming)
- 鯖江市役所JK課オリジナルメガネSOUZOU 100万円
- 若者による地域活性化推進事業 80万円
- サバエ×ワカモノ夢創造大学事業 80万円
- アジア建築学生国際サマーワークショップ支援事業費 80万円
- クリエイティブ教育都市事業 70万円 (creative education)
- DPDPドローンパイロット養成事業 70万円 (drone pilot)
- 「新しい公共」起業家支援事業 65万円 (Startup Intelligence in Sabae!?)
- サバヌシ総会事業(仮称) 35万円
- 国立情報学研究所との相互連携事業 30万円
- アプリコンテスト開催事業 20万円 (App contest)
- ご当地マンホールPR事業 4万円
主な事業合計 101事業 11億429万円

How about you?
Enjoy living your city!

links
- 平成29年度当初予算の概要 – めがねのまちさばえ 鯖江市
- 若者だもの・ 福野あおい 鯖江市議 — 鯖江市が京セラドームをジャックします
- 実感できるオープンガバメントへ | OpenGovLab

Utilize Data by Everyone! sakura.io board for IchigoJam will release also

2017/04/18 23:55:00
#IchigoJam #IoT #english 

Sakura's IoT Platform beta service became sakura.io released by Sakura Internet.

Utilize Data by Everyone! (from Sakura's slide)
The sakura.io module price is ¥8,000 + ¥60/month!! (with out tax)
LoRa version targets ¥5,000 + ¥20/month or less!!!


3 IchigoJam examples on Sakura's slide
1. capturing and notice system by IchigoJam x sakura.io
2. Real time bus passengers open data system at Sabae
3. Online typing battle system on Kids Venture

We're preparing the board to connect sakura.io and IchigoJam.
I'm looking forward to release!
"さくらインターネット、月額60円から利用できるIoTプラットフォーム「sakura.io」正式提供開始 - クラウド Watch"
IchigoSAKURA IoT car (IoTカー@ja)!?

27 April, you can touch and try sakura.io x IchigoJam in Shinjuku.
"IoTとオープンデータはじめのいっぽ&課題解決型アイデアソン - connpass"

These are new "IchigoJam goods" on SUZURI. (using open data of IchigoJam)

see also
"リスク0から始める商売!5分でできるオリジナルグッズショップ - 欲しいものは、作ればいい「SUZURI」"

SkyBerryJAM produced by Students in Tochigi / jig intern 2017 will start this summer!

2017/04/17 23:55:00
#IchigoJam #intern #jig #english 

Tochigi Technical High School (栃木県立栃木工業高校@ja) released SkyBerryJAM, the computer kit to learn programming and making things!

I soldered it!

SkyBerryJAM is licensed jig.jp's IchigoJam, so you can progrom in IchigoJam BASIC! (ご当地IchigoJam@ja)
SkyBerry is Tochigi local brand name of strawberry (Ichigo@ja).


It's fun to make with many features!
- 5 buttons (BTN/IN1/IN4/ISP/RESET)
- 5 LEDs (LED/OUT1/OUT2/OUT3/OUT4)
- a serial to connect the PC (UART)
- a motor driver to manipulate motor (with a switch)
- a servo pins (OUT5)
- a I2C pins same as CN5 with 10kΩ pull-up resisters
- a EEPROM socket (DIP or SMD, with a sample DIP EEPROM)


Let's begin to solder with short parts.


It's a nice idea that legs are colored on each color LED.


Enjoy computing!

For students, jig.jp will start 3weeks internship in Sabae this summer also!

"学生インターンプログラム2017~全国高専生向けjig.jpインターンシップ募集開始のお知らせ~"
Let's enjoy creative summer in Sabae!

IchigoJam BASIC on the web by WebAssembly

2017/04/16 23:55:00
#IchigoJam #web #english 

I updated IchigoJam on the web by WebAssembly.
You can write programs in "IchigoJam BASIC" on the web!

"IchigoJam web by WebAssembly" (for Firefox, now)
The size of main program "ichigojam.wasm" is just 30KB. It boots so quickly!

Notice!! Now it's only runs on Firefox.
I've not known why it couldn't boot on Chrome yet.

links
- IchigoJam ($15 PC for Kids)
- Moblie Game Machine making workshop for Kids using IchigoJam RPi (on Raspberry Pi)
- Write in C language! The fast web with WebAssembly

Moblie Game Machine making workshop for Kids using IchigoJam RPi / I-O DATA FAIR 2017

2017/04/15 23:55:00
#IchigoJam #rasppi #english 

On "I-O DATA FAIR2017", we held a BASIC programming workshop for Kids using Raspberry Pi x Sense HAT. 4-6 grade primary school kids could connect cables to Raspberry Pi, set up the add-on board Sense HAT and program an original mobile game machine!

6 families paticipated the workshop. They got both Raspberry Pi, Sense HAT and IchigoJam RPi! Lucky!


Try to snap the Sense HAT!


Let's play on your game machine!
IchigoJam RPi can boot automatically when pulled out the keyboard.


We prepared environment to program Sense HAT easily!
If you want to light up as red on (3,3)

SH.PUT 3,3,#700

If you want to get a number acceleration X

?SH.AX()

It's easy isn't it.

This is the slide of workshop. Retry at your home!


This time almost full, but welcome to inspect our workshop! (16 Apr 10:00am-11:30am)


We thanked Hosono-san president of I-O DATA to give us great chance!


You can touch IchigoJam RPi on I-O DATA FAIR2017 in Akihabara!

IchigoJam RPi will release near future!

links
- IchigoJam meets Raspberry Pi! Mr. Eben Upton's first IchigoJam BASIC program is...
- IchigoJam on Raspberry Pi - ラズパイ用のベアメタルOSとしてのIchigoJam

Write in C language! The fast web with WebAssembly

2017/04/14 23:55:00
#js #web #english 

Chrome and Firefox support WebAssembly to make fast application on the web!
You can write your web application in C language also!
This is simple demo using shared memory on both JavaScript and WebAssembly.

"WebAssembly test" (src on GitHub)

To set up WebAssembly to your Mac (taking 2 hours and 20GB storage space!!)

1. binaryen (compiler for WebAssembly)

cd *** git clone https://github.com/WebAssembly/binaryen.git cd binaryen cmake . && make

*** : your bin path
2. wabt (assembler for WebAssembly)

git clone --recursive https://github.com/WebAssembly/wabt cd wabt make cd ..

3. LLVM (takes long time and big storage space!)

git clone http://llvm.org/git/llvm.git cd llvm/tools git clone http://llvm.org/git/clang.git cd ../projects git clone http://llvm.org/git/compiler-rt cd ../.. mkdir llvmtmp cd llvmtmp cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly ../llvm make -j 8 sudo make install

4. edit PATH (.profile etc...)

export PATH=***/wabt/out/clang/Debug/:***/binaryen/bin/:$PATH

5. done! Let's make web an app in C!

#define SIZE 10 int mem[SIZE]; int* getMemory() { return mem; } int getMemorySize() { return SIZE; } int calc() { int sum = 0; for (int i = 0; i < SIZE; i++) { sum += mem[i]; } return sum; }

"WebAssembly test on GitHub"

Real Time Graph of Bus Passengers using Sabae Open Data

2017/04/13 23:55:00
#opendata #js #sabae #english 

I made a graph app from the open data of Tsutsuji-Bus at Sabae city.

Bus Graph / つつじバス乗客数グラフ@ja
(based on つつじバスなう)

links
- Count of Bus Passengers Real Time Open Data in Sabae
- Deploy to the Bus, "Bus Passengers Realtime Opendata System" will start at Sabae!
- Smart Bus with Corporate Fellowship of Code for Japan in Smart City Sabae

Tweet
クリエイティブ・コモンズ・ライセンス
この作品は「Creative Commons — CC BY 4.0」の下に提供されています。
CC BY 福野泰介 - Taisuke Fukuno / @taisukef / high-res profile image