福野泰介の一日一創

MIDI Random Rhythm Machine with KORG volca beats x IchigoJam

2017/01/19 23:55:00
#IchigoJam #MIDI #music #english 

IchigoJam can control any MIDI instrument easily!

volca beats x IchigoJam


How to connect MIDI and IchigoJam
1. Flip back the MIDI socket(¥60).
2. Solder the red jumper to 2nd from the left.
3. Solder the green jumper to 4th from the left.
4. Connect the red jumper to VCC of IchigoJam.
5. Connect the green jumper to TXD of IchigoJam.

MIDI is the UART serial communication with 31,250bps.

BPS 31250:?CHR$(#90,60,100);

This is the random rhythm machine program. It's very simple!

10 LET[0],36,38,39,42,43,46,49,50,67,75 20 BPS 31250:S=0 30 SRND S 40 FOR I=0 TO 7 50 ?CHR$(#99,[RND(10)],1); 60 WAIT 10 70 NEXT 80 K=INKEY():IF K S=K 90 GOTO 30

#99 means the tone of rhythm 10ch. The numbers of line 10 are volca beats's 10 sounds. (UART0 is a command to ignore sending via UART)

Try computer music with IchigoJam!

posture glass app on neoplug connected glasses and gadgets / Wearable Expo 2017

2017/01/18 23:55:00
#megane #js #sabae #english 

"neoplug" is shown on Wearable Expo 2017. (In 2016 neoplug released as the mockup)
This year that connected many real wearable devices!


neoplug added glasses the detachable function. It's easy and firm.


neoplug as a platform to connect any devices you want to glasses you like.


Telepathy x neoplug, F.T.K x neoplug


BLINCAM x neoplug, WESTUNITIS x neoplug, VUFINE x neoplug


It's also supported 2nd detachable function for heavy device. It's Sabae!


This app "posture" show you your posture for VUFINE x neoplug.

other wearables ...
b.g. by megane SUPER


MOVERIO for B2B by EPSON


There is Fukui-pref Pavilion!


The programmable glasses by Arudiono


The weapon and wearable controller to attack bad animals by Shimano, Fukui KOSEN and Fukui University of Technology.
It'll be better with neoplug!

links
- neoplug now on the crowdfunding!
- Wearable Expo 2017.1.18-20 10:00-18:00(17:00 on 20)

Promote the Japan's Open Data with 5 Star! Do you know the longest bridge your hometown?

2017/01/17 23:55:00
#opendata #vled #doc #sabae #english 

Last month, prime minister Mr. Abe said "I promote the Open Data strongly with the new law about data".
(平成28年12月19日 未来投資会議 | 平成28年 | 総理の一日 | 総理大臣 | 首相官邸ホームページ)

In 2013, Japan government released "Japan Open Data Charter Action Plan" and updating our load map and strategy "The Strategic Headquarters for the Promotion of an Advanced Information and Telecommunications Network Society (IT Strategic Headquarters)".

I recommend to add the 5 Star Open Data as standardization on VLED meeting of Utilization and Promotion Committee. (docs)

This slide shows how to access 5 star bridge open data in SPARQL.

Consulting company "IPC" made a vocabulary of the bridge.
IPC is a group company of Pacific Consultants International Group.

SPARQL is very easy and web standard API to access 5 Star Open Data.
This query obtains the top 5 longest bridge.

select ?uri ?name ?len { ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.ipc-pacific.com/ipc/BridgeData>. ?uri <http://www.ipc-pacific.com/ipc/bridgeName> ?name. ?uri <http://www.ipc-pacific.com/ipc/bridgeLength> ?len. } order by desc(?len)

You can get though just copy & paste that code on the SPARQL console of odp.
Tannanbashi(丹南橋) bridge is the longest bridge (182.5m) in Sabae city.


"a list of 5 star bridge open data (sortable csvviewer)"
Also 5 star open data can easily convert to CSV, XML and JSON. This is table view of 5 star open data bridges.


"Bridge x Bus Map at Sabae"
This web app combine Bus realtime open data x Bridge 5 star open data.


This is a 91 old years bridge the oldest bridge in Sabae city!

Sabae city manages 423 bridges but this number is less than number of bridges in Sabae city.
I'm asking bridges managed by Fukui prefecture and Japan government.
5 Star Open Data can connect all of the infrastructure data around you!

Open Data and Robot Event in Kyoto on Feb. 4

2017/01/16 23:55:00
#kyoto #opendata #js #english 

"KYOTO OPEN DATA" is an open data portal site of Kyoto city. There is a map data of UNESCO World Heritage Site "Nijo castle" on this site! To begin with I rotated that by the web app.

"Rotating Nijo Castle SVG" SVG data converted by Illustrator from PDF on KYOTO OPEN DATA
I want to build the castle 3D virtually and enter with VR! (such this)

I met with people in charge of open data from Kyoto prefecture and Kyoto city.
Let's go Kyoto on February 4!
"オープンデータ・ロボット活用イベントin京都 - Impact Hub Kyoto"
(event to utilize the open data and robot in Kyoto)


Thank you for coming to Sabae city!

whereami - Using user's location on non secure web applications

2017/01/15 23:55:00
#opendata #js #english 

We "team 198" updated our application for better your trip experience "CHIE TO BAA". You can use any location in Japan (using 5 star sight seeing opendata on odp). And we post to opendata contest "LOD challenge 2016"!


"CHIE TO BAA(ちーとばー)" - demo page here
This app recommends you near 4 good locations.
You can walk to there you want to go and get another 4 locations next.

If you want to use GPS location on your web application, all of the services are supported SSL completely. It's a little hard so I created a location proxy service "whereami". Just link to "https://codeforfukui.github.io/whereami/" with your return URL after hash!


"whereami" - test1: posting to Google Maps without a link
"whereami" - test2: link to AKIJIKAN

KIDS IoT Hackathon - How do you help your mom by the robot you create?

2017/01/14 23:55:00
#IchigoJam #KidsIT #maker #miyagi #english 

KIDS IoT Hackathon (こどもIoTハッカソン) produced 15 unique prototypes in Sendai city Miyagi prefecture.

Boys and girls from age 6 to 12 years made own robot using IchigoJam BASIC and FaBo rapid prototyping tool and Design Thinking.


Let's interview to get dissatisfactions to Mom or Dad!


Get the skill to create with hands on the programming lecture with making a game with FaBo.


Let's create!


It's making time of own product individually!


Kids can create so rapidly!
Presentation to all after just 1 hour!


Dissatisfaction: Daughter don't get up quickly
Solution Robot : Shaking bed to be got up!


Dissatisfaction: Son don't eat the meal
Solution Robot : Be delicious looking food machine through the camera


Dissatisfaction: Daughter don't clean up
Solution Robot : Present machine when cleaning up


Dissatisfaction: Lost things
Solution Robot : Alarm machine when not picking a thing


movie: presentations from kids by PCN Sendai


Finished! Thank you for joining this event!
I hope to stay creative!

Smart Bus with Corporate Fellowship of Code for Japan in Smart City Sabae

2017/01/13 23:55:00
#IchigoJam #maker #english 

Bus will be smart by corporate fellowship of Code for Japan from "Yahoo! Japan" in Sabae city!


This is the bus control panel 2nd version! (made by Hirose, designed by Katsuragi)


The device programed in IchigoJam BASIC and connects the net with Sakura's IoT Platform.


Easy access to manipulate from the driver.
Big screen with VIDEO3 with IchigoJam ver 1.2 beta firmware. (beat download from IchigoJam-FAN)


Since 2013, all of the buses open them location data with a tablet in Sabae.
"bus monitor"


This time, we're trying to add a device to open them traffic data on the bus to analyze public transportation.

Event of progress report & Ideathon about the bus: Jan 28 13pm!
"福井県鯖江市>「つつじバス」をみんなでもりあげよう”アイデアソン”参加者募集"
Let's create smarter city!

links
- Code for Japan
- Data City Sabae - Open Data Catalog of Sabae city

New LCD Shield for IchigoJam mobile for KOSEN students

2017/01/12 23:55:00
#IchigoJam #maker #pcb #kosen #english 

I updated PCB of IchigoJam mobile using web based PCB design service "Upverter".

"LCD shield for IchigoJam with SOUND&UART by taisukef 18f9367667da9422 - Upverter"
Added SOUNDER pins to be enable the sound!
Added a serial port to connect PC/Mac for advanced. (U2UART2102-6PMCU)
supported LCD: FSTN LCD module - CH12864F-SPI
* I ordered now, so I've not checked this PCB yet.


You can switch to LCD or NTSC TV mode by SWITCH command. (on ver 1.2 beta)


If you can't get CH12864F-SPI, CH12864F-L5B5 can be switched to SPI.
remove 2 x 0Ω resistor(R1,R4)
put 7 x 0Ω resistor or jumper (R2,R8,R9,R10,R11,R12,R13)


a switched and a old LCD shield for IchigoJam (I checked)

I hope to use at KOSEN and university students and spread funs of creating hardwares to kids!
(Programming Club Network (PCN) hold a contest for kids "PCN ProCon", I supported)

Deadline is coming! Let's start programming on IchigoJam ap for PC/Mac! PCN KIDS Programming Contest 2016 Winter

2017/01/11 23:55:00
#IchigoJam #mac #english 

15 January is deadline of #6 PCN KIDS Programming Contest 2016 Winter!
Let's try to program your original game or tool!


You can understand this program after reading documents below for first programmer "first step" and "IchigoJam print (in Japanese)".

10 CLS 20 LC RND(32),RND(22) 30 ?CHR$(224+RND(32)); 35 LC 2,10:?" PCN KIDS PROCON 2017 WINTER " 40 WAIT 10 50 GOTO 20

I updated the IchigoJam ap for Windows / Mac to support to text format data on SAVE/LOAD command.
So you can post to the contest by e-mail easily!

You can download the beta version of IchigoJam ap on "IchigoJam-FAN".


"PCN Kids Programming Contest 2016 in Winter | PCN Programming club network"
Check the past works and prizes!

Make the location opendata from open map apps in Japan

2017/01/10 23:55:00
#opendata #js #english 

If you want to make detailed location (latitude and longitude) to publish as opendata, you must clear the license. You can't get that from Google Maps.

LatLngMap I created is one of methods to make that.
It's using "maps.gsi.go.jp (地理院地図)" map service published from Japan as opendata.

"LatLngMap" shows latitude and longitude simply
How beautiful Azelea (Tsutsuji) flowers at Nishiyama park in Sabae city are!

You can fork and hack with JavaScript you like from GitHub.
"Information Access Division, Geospatial Information Authority of Japan"

links
- OpenStreetMap (Japan)
- 東京大学空間情報科学研究センターの CSV アドレスマッチングサービス
- 地図による小地域分析(jSTATMAP) - 国土交通省 GIS ホームページ 位置参照情報ダウンロードサービス
- 国土交通省データを使ったプログラムで使えるジオコーディング

Tweet
クリエイティブ・コモンズ・ライセンス
この作品は「Creative Commons — 表示 4.0 国際 — CC BY 4.0」の下に提供されています。
CC BY 福野泰介 - Taisuke Fukuno / @taisukef / 高解像度プロフィール画像(和服)