Testing a sensor from here. http://www.seeedstudio.com/wiki/Grove_-_Dust_Sensor It's a dust sensor. Everyone can buy it anywhere also. It's a cheep one actually. We can find its document here: http://www.seeedstudio.com/wiki/images/4/4c/Grove_-_Dust_…
It looks like this one: This one isn't a digital light sensor, so it's very simple. http://www.seeedstudio.com/wiki/Grove_-_Light_Sensor With seeeduino and it's grove shield, this would be very easy to use. Now we can do a little experiment: using a…
Arduino的另外几种模块,我们常见的joystick摇杆模块. 用起来很爽,摇杆 有X,Y轴可调 这里有一篇非常想尽的示例代码: http://www.geek-workshop.com/forum.php?mod=viewthread&tid=96 什么也不操作的话,显示的数字是512 const int xside = A0; const int yside = A1; ; ; void setup() { // set the serial port Serial.begin(); }…
解决方案. 条件: 1.手机android 商店下载 blueTerm 2.向arduino中载入如下代码: char val; ; void setup() { Serial.begin(); pinMode(ledpin,OUTPUT); } void loop() { val=Serial.read(); if(val=='o') { digitalWrite(ledpin,HIGH); Serial.println("LED ON!"); }else if(val=='f'){…
根据arduino官方网站出的shield, 类似的情况有很多中motor shield 这里测试采用的是http://www.seeedstudio.com/wiki/Motor_Shield_V1.0 这款.采用的驱动芯片是L298N, 官方网站arduino.cc 采用的是L293N,现在最新的已经采用了L298P了.http://www.arduino.cc/en/Main/ArduinoMotorShieldR3 其他类似的shield 如下: http://www.dfrobot.c…
The vibrator I got works at the voltage ranging from 3.3V ~ 5.5V I want to make it vibrate variably. So I planned to test in 2 different ways. 1) analog valtage supply 2) PWM full valtage supply Here's the test situations and codes 1) analog valtage…
---恢复内容开始--- The GPRS shield which I tested is one which looks like this: ---恢复内容结束--- Need to be re-edited soon.…
vibrator is a good thing. it has multi-funtionality . :) Now the  vibrator we choose is the one which looks like this: http://www.seeedstudio.com/wiki/Grove_-_Vibrator I am testing this vibrator which is neat. ; void setup() { pinMode(vibratorPin, OU…
示例代码: 类似与这样的led,共阴rgb led,通过调节不同的亮度,组合成不同的颜色. 示例代码: /* 作者:极客工坊 时间:2012年12月18日 IDE版本号:1.0.1 发布地址:www.geek-workshop.com 作用:共阳RGB颜色循环 */ ; ; ; void setup() { pinMode(redPin, OUTPUT); pinMode(greenPin, OUTPUT); pinMode(bluePin, OUTPUT); } void loop() { s…
37款传感器与模块的提法,在网络上广泛流传,其实Arduino能够兼容的传感器模块肯定是不止37种的.鉴于本人手头积累了一些传感器和模块,依照实践(动手试试)出真知的理念,以学习和交流为目的,这里准备逐一做做实验,不管能否成功,都会记录下来---小小的进步或是搞不掂的问题,希望能够抛砖引玉. [Arduino]168种传感器模块系列实验(资料+代码+图形+仿真) 实验四十二:DSM501A韩国进口PM2.5灰尘粉尘传感器模块 韩国三瀛(SYHITECH)原装进口,专利产品粉尘传感器DSM501可…