Site Search

Light up with koshian! Program in JavaScript using konashi.js.
This time, let's solder pins to the through holes on the end face of the koshian and put it on the breadboard.
Here is the schematic. Connect an LED, a resistor, and a CR2032 coin battery to the koshian.

Article header Article header 96049 a 1 1

The result is something like this. The through-holes on the end face of koshian are 1.27mm pitch, so please be careful not to bridge when soldering. It can be a little difficult here...

Article header img 1272photo 1


Get Koshian Now

Well, next is LED blinking programming. First, install konashi.js on your iPhone from the AppStore.

Article header 96049 c 1

Select the sample code in konashi.js.

Article header 96049 d 1

When you read the sample code, it will search for surrounding BLE devices, so select koshian as the connection destination.
When the connection is completed, the LED blinks in a cycle of 1 second.

Article header img 1272 header 2

With koshian, you can easily flash the lights like this!

I will introduce the Javascript code image as supplementary information.
Commands starting with "k." are code by konashi.js SDK.
Please refer to the link below for details on the role of the code.

konashi/Documents

Article header 96049 f 1

Related products

articleMAKERS Article ListNext