It's very easy to manipulate a servo on IchigoJam.
PWM 2,100:WAIT60:PWM 2,200
2 means OUT2, 100 means 0.1msec. You can control from 50 to 200 to manipulate the servo.
OUT2-5 supports PWM command. So you can connect up to 4 servos. Do you want to more? Yes we can!
Use this the kit using NXP PCA9685.
You can connect 16 servos to this unit and control by I2C. Maximum capacity to manipulate is 992 servos using 16 units cause each unit can have a I2C slave address.
It's very easy to connect. Connect 5V/SCL/SDA/GND/VCC to same name pin on IchigoJam.
And connect servos as many as you want (up to 16).
1 'servo 16 (for ver 1.2beta43)
20 IF I2CW(#40,0,#700,1) STOP
60 M=400:FOR I=1 TO N:[I*2-1]=M:NEXT:GSB@SVO
65 WAIT 30
67 FOR J=1 TO 2
70 FOR I=1 TO N:[I*2-1]=150+RND(600-150):NEXT:GSB@SVO
90 GOTO 60
110 CLS:FOR I=1 TO N:LC 10,I*2:?HEX$(I-1),[I*2-1]:NEXT
This is demo program to manipulate 10 servos (on the movie).
10-40 set the frequency of PWM (have to stop before setting)
60 reset positions
70 set randam positions
100-130 sub function to manipulate servos and show them number
Sabae city was worried about taking times to make the report of count of passengers everyday.
"Sakura's IoT Platform(さくらのIoT Platform@ja → sakura.io)" the lowest 4G network device and IchigoJam will solve it!
Mr. Makita CIO of Sabae city built devices.
Find the place to deploy it!
Connect the power cable from the cigar socket of the bus to this system!
Tada! It's works!
The zero days (day 10, 20 and 30) are free for elderly people (over 75).
Let's promote with Sabae city!
Looking forward to launch in this April 1!
- Features Pysical Buttons are easier than touch interfaces and hand writings.
IchigoJam is stronger than other PCs cause no external strages (SD/SSD/HDD).
IchigoJam boots quicker than other PCs, just a second.
IchigoJam is safer than other PCs cause OS is very thin IchigoJam BASIC OS. Sakura's IoT Platform is safer than other systems cause this is protected by the device and the safe connection.
You can make the box using the 3D printer.
You can make a software and a hardware using IchigoJam.
You can make your original board using Upverter.
(This is EEPROM for IchigoJam... but it was fail. I have to check my mistake of the circuit.)