Motion Detection with PhidgetSBC2 and Motion Sensor
This is a simple Phidgets project and want to show you that how simple to write a program to detect a motion with a motion sensor with PhidgetSBC2 board. After motion detection two red LEDs set to on. So you can see the how analog input and digital outputs can be controlled with Java.
As you know PhidgetSBC2 is a single board computer and has 8 analog inputs, 8 digital inputs and 8 digital outputs on it.
“Version Mismatch webservice 1.0.8, expecting 1.0.9″ problem solution for PhidgetSBC
When you connect your Phidget SBC and click Phidget Interface 8/8/8 link under WebService->Bonjour Tab from Phidget Control Panel, if an error message occured as following picture, please apply following steps to fix it,
Etohum Girişimcilik Zirvesi Hakkında
Soğuk bir Istanbul sabahı yakın bir arkadaşımla katılmış olduğum Etohum Girişimcilik Zirvesi çok eğlenceli ve keyifli geçti. Burak Büyükdemir’in her zamanki pozitif enerjisi ile başlayan etkinliğe, Bahçeşehir Üniversite’si kurucusu Enver Yücel Bey ve ünlü yazar Stefano D’Anna’da katıldı. Güzel konuşmaları ile güzel anlar yaşadık.
(more…)
Handle an object as variable in a loop with programatically, VB.Net
If you have lots of textboxes or other objects in your project and you need to populate and control these objects programatically, use Controls property of form object to handle this.
An example,
While sa.Read
s = s + 1
Me.Controls(“e” & s).Text = sa.Item(1)
Me.Controls(“b” & s).Text = sa.Item(2)
Me.Controls(“x” & s).Text = sa.Item(3)
Me.Controls(“y” & s).Text = sa.Item(4)
End While
The names of textboxes created in the loop and then the values which is stored in the DB assigned textboxes’ .text properties.
Changing FPS rate of a video with FFMPEG
If you want to change frame per second (fps) rate of a video file, you need a codec to achieve that. We can use FFMpeg to change this rate. You can run below script via CMD on windows or CLI on Linux.
ffmpeg -r 10 -f image2 -i C:\test\captures\image%d.png C:\test\captures\test2.flv
A point to keep it mind that,
-r 10 : define new fps rate
image2 : image file format
C:\5d\captures\image%d.png : image files in a directory which will be converted a video
C:\5d\captures\test2.flv : destination file name
If you have any problem of this script please share it with a comment.
Eclipse 3.4 Klavye Kısayolları(Shortcuts)
Eclipse 3.4 için kullanabileceğiniz kısayolları (shortcuts) asağıdaki adreste bulabilirsiniz.
Eclipse 3.4 KeyBoard Shortcuts Reference
Iyi çalışmalar.
JBoss “The procedure entry point JVM_FindClassFromBootLoader could not be located in the dynamic link library in jwm.dll” hatasının çözümü
Eğer aşağıdaki ekrandaki hatayı alıyorsunuz yapılması gereken bilgisayarınızın çevresel değişkenlerindeki JAVA_HOME değerini kontrol etmektir.
Java Unknown column ‘XXXX’ in ‘field list’ Hatası ve Çözümü
Java Unknown column ‘XXXX’ in ‘field list’ Hatasi ve Çözümü
Eger Java ile Mysql yada herhangi bir veritabani ile ugrasiyorsaniz ve asagidaki gibi bir hata aliyorsaniz, bu yazida çözümü sizlerle paylasayim. Çözüm çok kolay olmasina ragmen can sikici olabiliyor.
java.sql.SQLException: Unknown column ‘denmeer’ in ‘field list’
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2975)
(more…)


leave a comment