From c54d6de0546f2e1186faf453b91b35e9f12faf51 Mon Sep 17 00:00:00 2001 From: Noel Eck Date: Tue, 27 Feb 2018 12:12:09 -0800 Subject: [PATCH] JAVA: Unified Java Example names Unified all Java examples to *match* [_otherstuf]_Example.java. Note, a handful of the examples have a pseudo-random string for the first component (see FlexSensor_Example.java, ideally this would be Flex_Example.java). This commit allows for quick development on a single sensor library since a -DMODULE_LIST=mysensorlib now works with Java examples (previously Java examples would fail generation when using MODULE_LIST). * Renamed examples * Updated class names * Updated library descriptor .json files * Updated sample mapping file TODO: Make this work like the C/C++ examples - grab the target library name from the filename and grab all dependencies from that target library. Fix the handful of example names which don't conform. Signed-off-by: Noel Eck --- doxy/samples.mapping.txt | 150 ++--- .../{A110XSample.java => A110X_Example.java} | 2 +- ...ntrSample.java => A110X_intr_Example.java} | 4 +- ...021Sample.java => ADC121C021_Example.java} | 2 +- ...AM2315Example.java => AM2315_Example.java} | 2 +- ...{APA102Sample.java => APA102_Example.java} | 2 +- ...Ad8232Example.java => Ad8232_Example.java} | 2 +- ...ds1015Sample.java => Ads1015_Example.java} | 2 +- ...ds1115Sample.java => Ads1115_Example.java} | 2 +- ...dxl345Sample.java => Adxl345_Example.java} | 2 +- .../{Apds9002.java => Apds9002_Example.java} | 2 +- ...S0001Sample.java => BISS0001_Example.java} | 2 +- ...{BMA220Sample.java => BMA220_Example.java} | 2 +- ...ple.java => BME280_Interface_Example.java} | 2 +- ...{BMPX8XSample.java => BMPX8X_Example.java} | 2 +- ...{ButtonSample.java => Button_Example.java} | 2 +- ...trSample.java => Button_intr_Example.java} | 4 +- ...{BuzzerSample.java => Buzzer_Example.java} | 2 +- ...JQ4435Sample.java => CJQ4435_Example.java} | 2 +- examples/java/CMakeLists.txt | 437 +++++++------- ...{Collision.java => Collision_Example.java} | 2 +- .../{DFRPHSample.java => DFRPH_Example.java} | 2 +- ...{DS1307Sample.java => DS1307_Example.java} | 2 +- ...S1030Example.java => ECS1030_Example.java} | 2 +- .../java/{EHRSample.java => EHR_Example.java} | 2 +- ...{ENC03RSample.java => ENC03R_Example.java} | 2 +- .../{ES08ASample.java => ES08A_Example.java} | 2 +- examples/java/{Emg.java => Emg_Example.java} | 2 +- ...orExample.java => FlexSensor_Example.java} | 2 +- ...SCAMSample.java => GROVESCAM_Example.java} | 2 +- ...AS12DSample.java => GUVAS12D_Example.java} | 2 +- ...Gp2y0aExample.java => Gp2y0a_Example.java} | 2 +- ...onSample.java => GroveButton_Example.java} | 2 +- ...ple.java => GroveButton_intr_Example.java} | 4 +- ...ision.java => GroveCollision_Example.java} | 2 +- ...veEHRSample.java => GroveEHR_Example.java} | 2 +- .../{GroveEmg.java => GroveEmg_Example.java} | 2 +- .../{GroveGsr.java => GroveGsr_Example.java} | 2 +- ...veLEDBar.java => GroveLEDBar_Example.java} | 2 +- ...veLEDSample.java => GroveLED_Example.java} | 2 +- ...ample.java => GroveLed_multi_Example.java} | 2 +- ...ghtSample.java => GroveLight_Example.java} | 2 +- ...mple.java => GroveLineFinder_Example.java} | 2 +- ...roveMDSample.java => GroveMD_Example.java} | 2 +- .../{GroveMQ3.java => GroveMQ3_Example.java} | 2 +- .../{GroveMQ9.java => GroveMQ9_Example.java} | 2 +- ...Sample.java => GroveMoisture_Example.java} | 2 +- ...oveO2Example.java => GroveO2_Example.java} | 2 +- ...veQTouch.java => GroveQTouch_Example.java} | 2 +- ...laySample.java => GroveRelay_Example.java} | 2 +- ...rySample.java => GroveRotary_Example.java} | 2 +- ...ideSample.java => GroveSlide_Example.java} | 2 +- ...rSample.java => GroveSpeaker_Example.java} | 2 +- ...TempSample.java => GroveTemp_Example.java} | 2 +- ...mple.java => GroveUltraSonic_Example.java} | 2 +- ...VDivSample.java => GroveVDiv_Example.java} | 2 +- ...veWFSSample.java => GroveWFS_Example.java} | 2 +- ...terSample.java => GroveWater_Example.java} | 2 +- examples/java/{Gsr.java => Gsr_Example.java} | 2 +- ...1DLSample.java => H3LIS331DL_Example.java} | 2 +- ...{HCSR04Sample.java => HCSR04_Example.java} | 2 +- .../{HM11Sample.java => HM11_Example.java} | 4 +- .../{HMTRPSample.java => HMTRP_Example.java} | 2 +- .../{HP20xExample.java => HP20x_Example.java} | 2 +- ...{HTU21DSample.java => HTU21D_Example.java} | 2 +- ...5883lSample.java => Hmc5883l_Example.java} | 2 +- ...tg3200Sample.java => Itg3200_Example.java} | 2 +- ...13m1Sample.java => Jhd1313m1_Example.java} | 2 +- ...Sample.java => Jhd1313m1_lcd_Example.java} | 2 +- ...k12Sample.java => Joystick12_Example.java} | 2 +- ...e.java => Joystick12_example_Example.java} | 2 +- .../{KX122Example.java => KX122_Example.java} | 2 +- ...LEDSample.java => LCD_EBOLED_Example.java} | 2 +- ...06Sample.java => LCD_SSD1306_Example.java} | 2 +- ...DT0028Sample.java => LDT0028_Example.java} | 2 +- .../java/{LEDSample.java => LED_Example.java} | 2 +- .../{LM35Sample.java => LM35_Example.java} | 2 +- ...3DLHSample.java => LSM303DLH_Example.java} | 2 +- ...SM9DS0Sample.java => LSM9DS0_Example.java} | 2 +- ...2cSample.java => Lcm1602_i2c_Example.java} | 2 +- ...ple.java => Lcm1602_parallel_Example.java} | 2 +- .../{LightSample.java => Light_Example.java} | 2 +- ...derSample.java => LineFinder_Example.java} | 2 +- .../java/{LoLSample.java => LoL_Example.java} | 2 +- ...leSample.java => LoL_example_Example.java} | 2 +- ...dnessSample.java => Loudness_Example.java} | 2 +- ...LR64ESample.java => M24LR64E_Example.java} | 2 +- ...1855Example.java => MAX31855_Example.java} | 2 +- ...44000Sample.java => MAX44000_Example.java} | 2 +- ...X5487Example.java => MAX5487_Example.java} | 2 +- ...1mExample.java => MAXds3231m_Example.java} | 2 +- ...CP9808Sample.java => MCP9808_Example.java} | 2 +- .../java/{MDSample.java => MD_Example.java} | 2 +- .../{MG811Sample.java => MG811_Example.java} | 2 +- .../{MHZ16Sample.java => MHZ16_Example.java} | 2 +- ...MA7455Sample.java => MMA7455_Example.java} | 2 +- ...MA7660Sample.java => MMA7660_Example.java} | 2 +- ...15A2Sample.java => MPL3115A2_Example.java} | 2 +- ...{MPR121Sample.java => MPR121_Example.java} | 2 +- ...PU9150Sample.java => MPU9150_Example.java} | 2 +- .../java/{MQ2Sample.java => MQ2_Example.java} | 2 +- ...{MQ303ASample.java => MQ303A_Example.java} | 2 +- .../java/{MQ4Sample.java => MQ4_Example.java} | 2 +- .../java/{MQ5Sample.java => MQ5_Example.java} | 2 +- .../java/{MQ6Sample.java => MQ6_Example.java} | 2 +- .../java/{MQ7Sample.java => MQ7_Example.java} | 2 +- .../java/{MQ8Sample.java => MQ8_Example.java} | 2 +- ...oneSample.java => Microphone_Example.java} | 2 +- ...stureSample.java => Moisture_Example.java} | 2 +- ...PIO16Sample.java => NLGPIO16_Example.java} | 2 +- ...le.java => NRF24L01_receiver_Example.java} | 2 +- ...java => NRF24L01_transmitter_Example.java} | 2 +- ...CHUCKSample.java => NUNCHUCK_Example.java} | 2 +- .../java/{O2Example.java => O2_Example.java} | 2 +- ...TP538USample.java => OTP538U_Example.java} | 2 +- .../{P9813Sample.java => P9813_Example.java} | 2 +- .../{PN532Sample.java => PN532_Example.java} | 2 +- ...ample.java => PN532_writeurl_Example.java} | 2 +- ...PD42NSSample.java => PPD42NS_Example.java} | 2 +- ...nsorSample.java => Pulsensor_Example.java} | 2 +- ...FR359FSample.java => RFR359F_Example.java} | 2 +- .../{RHUSBSample.java => RHUSB_Example.java} | 2 +- ...{RPR220Sample.java => RPR220_Example.java} | 2 +- ...trSample.java => RPR220_intr_Example.java} | 4 +- .../{RelaySample.java => Relay_Example.java} | 2 +- ...Sample.java => RotaryEncoder_Example.java} | 2 +- ...{RotarySample.java => Rotary_Example.java} | 2 +- .../{SCAMSample.java => SCAM_Example.java} | 2 +- .../{SM130Example.java => SM130_Example.java} | 2 +- ...dSample.java => SSD1308_oled_Example.java} | 2 +- ...dSample.java => SSD1327_oled_Example.java} | 2 +- ...{ST7735Sample.java => ST7735_Example.java} | 2 +- ...ample.java => SensorTemplate_Example.java} | 2 +- .../{SlideSample.java => Slide_Example.java} | 2 +- ...PWMSample.java => SpeakerPWM_Example.java} | 2 +- ...peakerSample.java => Speaker_Example.java} | 2 +- ...otorSample.java => StepMotor_Example.java} | 2 +- ...{TM1637Sample.java => TM1637_Example.java} | 2 +- .../{TP401Sample.java => TP401_Example.java} | 2 +- ...SL2561Sample.java => TSL2561_Example.java} | 2 +- ...{TTP223Sample.java => TTP223_Example.java} | 2 +- ...reSample.java => Temperature_Example.java} | 2 +- .../{Th02Example.java => Th02_Example.java} | 2 +- .../{Tsl2561.java => Tsl2561_Example.java} | 2 +- ...200XASample.java => ULN200XA_Example.java} | 2 +- .../{VDivSample.java => VDiv_Example.java} | 2 +- ...L6070Sample.java => VEML6070_Example.java} | 2 +- .../java/{WFSSample.java => WFS_Example.java} | 2 +- ...{WT5001Sample.java => WT5001_Example.java} | 4 +- ...sor.java => WaterLevelSensor_Example.java} | 2 +- .../{WaterSample.java => Water_Example.java} | 2 +- ...rSample.java => WheelEncoder_Example.java} | 2 +- ...{YG1006Sample.java => YG1006_Example.java} | 2 +- .../{ZFM20Sample.java => ZFM20_Example.java} | 2 +- src/CMakeLists.txt | 8 +- src/a110x/a110x.json | 144 ++--- src/ad8232/ad8232.json | 2 +- src/adafruitms1438/adafruitms1438.json | 96 +-- src/adafruitss/adafruitss.json | 94 +-- src/adc121c021/adc121c021.json | 94 +-- src/adis16448/adis16448.json | 90 +-- src/ads1x15/ads1x15.json | 174 +++--- src/adxl335/adxl335.json | 92 +-- src/adxl345/adxl345.json | 92 +-- src/adxrs610/adxrs610.json | 92 +-- src/am2315/am2315.json | 94 +-- src/apa102/apa102.json | 2 +- src/apds9002/apds9002.json | 2 +- src/biss0001/biss0001.json | 2 +- src/bmm150/bmm150.json | 92 +-- src/bmpx8x/bmpx8x.json | 98 ++-- src/bmx055/bmx055.json | 98 ++-- src/bno055/bno055.json | 96 +-- src/button/button.json | 2 +- src/buzzer/buzzer.json | 2 +- src/cjq4435/cjq4435.json | 92 +-- src/collision/collision.json | 90 +-- src/curieimu/curieimu.json | 76 +-- src/cwlsxxa/cwlsxxa.json | 118 ++-- src/dfrec/dfrec.json | 78 +-- src/dfrorp/dfrorp.json | 78 +-- src/dfrph/dfrph.json | 80 +-- src/ds1307/ds1307.json | 82 +-- src/ds1808lc/ds1808lc.json | 78 +-- src/ds18b20/ds18b20.json | 78 +-- src/ds2413/ds2413.json | 78 +-- src/e50hx/e50hx.json | 82 +-- src/ecezo/ecezo.json | 86 +-- src/ecs1030/ecs1030.json | 78 +-- src/ehr/ehr.json | 80 +-- src/eldriver/eldriver.json | 80 +-- src/electromagnet/electromagnet.json | 82 +-- src/emg/emg.json | 76 +-- src/enc03r/enc03r.json | 80 +-- src/flex/flex.json | 78 +-- src/gas/gas.json | 550 +++++++++--------- src/gp2y0a/gp2y0a.json | 78 +-- src/gprs/gprs.json | 80 +-- src/grove/grove.json | 14 +- src/grovecollision/grovecollision.json | 82 +-- src/groveehr/groveehr.json | 80 +-- src/groveeldriver/groveeldriver.json | 80 +-- .../groveelectromagnet.json | 82 +-- src/groveemg/groveemg.json | 74 +-- src/grovegprs/grovegprs.json | 80 +-- src/grovegsr/grovegsr.json | 76 +-- src/grovelinefinder/grovelinefinder.json | 80 +-- src/grovemoisture/grovemoisture.json | 76 +-- src/groveo2/groveo2.json | 78 +-- src/grovescam/grovescam.json | 78 +-- src/grovespeaker/grovespeaker.json | 80 +-- src/groveultrasonic/groveultrasonic.json | 80 +-- src/grovevdiv/grovevdiv.json | 74 +-- src/grovewater/grovewater.json | 78 +-- src/grovewfs/grovewfs.json | 80 +-- src/gsr/gsr.json | 78 +-- src/guvas12d/guvas12d.json | 80 +-- src/h3lis331dl/h3lis331dl.json | 78 +-- src/h803x/h803x.json | 76 +-- src/hcsr04/hcsr04.json | 76 +-- src/hdc1000/hdc1000.json | 76 +-- src/hdxxvxta/hdxxvxta.json | 70 +-- src/hka5/hka5.json | 74 +-- src/hm11/hm11.json | 78 +-- src/hmc5883l/hmc5883l.json | 78 +-- src/hmtrp/hmtrp.json | 80 +-- src/hp20x/hp20x.json | 80 +-- src/ht9170/ht9170.json | 78 +-- src/htu21d/htu21d.json | 64 +- src/hwxpxx/hwxpxx.json | 80 +-- src/hx711/hx711.json | 74 +-- src/ili9341/ili9341.json | 76 +-- src/ims/ims.json | 78 +-- src/ina132/ina132.json | 76 +-- src/isd1820/isd1820.json | 66 +-- src/itg3200/itg3200.json | 78 +-- src/jhd1313m1/jhd1313m1.json | 74 +-- src/joystick12/joystick12.json | 66 +-- src/kxcjk1013/kxcjk1013.json | 78 +-- src/l298/l298.json | 76 +-- src/l3gd20/l3gd20.json | 78 +-- src/lcdks/lcdks.json | 72 +-- src/lcm1602/lcm1602.json | 74 +-- src/ldt0028/ldt0028.json | 74 +-- src/led/led.json | 2 +- src/lidarlitev3/lidarlitev3.json | 76 +-- src/light/light.json | 80 +-- src/linefinder/linefinder.json | 80 +-- src/lis2ds12/lis2ds12.json | 76 +-- src/lis3dh/lis3dh.json | 74 +-- src/lm35/lm35.json | 76 +-- src/lol/lol.json | 64 +- src/loudness/loudness.json | 78 +-- src/lpd8806/lpd8806.json | 74 +-- src/lsm303agr/lsm303agr.json | 74 +-- src/lsm303d/lsm303d.json | 78 +-- src/lsm303dlh/lsm303dlh.json | 72 +-- src/lsm6ds3h/lsm6ds3h.json | 78 +-- src/lsm6dsl/lsm6dsl.json | 78 +-- src/lsm9ds0/lsm9ds0.json | 78 +-- src/m24lr64e/m24lr64e.json | 76 +-- src/mag3110/mag3110.json | 76 +-- src/max30100/max30100.json | 74 +-- src/max31723/max31723.json | 78 +-- src/max31855/max31855.json | 76 +-- src/max44000/max44000.json | 78 +-- src/max5487/max5487.json | 2 +- src/maxds3231m/maxds3231m.json | 2 +- src/md/md.json | 104 ++-- src/mhz16/mhz16.json | 2 +- src/mic/mic.json | 2 +- src/mma7455/mma7455.json | 2 +- src/mma7660/mma7660.json | 2 +- src/moisture/moisture.json | 2 +- src/mpl3115a2/mpl3115a2.json | 2 +- src/mpr121/mpr121.json | 2 +- src/mpu9150/mpu9150.json | 118 ++-- src/mq303a/mq303a.json | 2 +- src/my9221/my9221.json | 2 +- src/nrf24l01/nrf24l01.json | 2 +- src/nunchuck/nunchuck.json | 2 +- src/o2/o2.json | 78 +-- src/otp538u/otp538u.json | 2 +- src/p9813/p9813.json | 2 +- src/ppd42ns/ppd42ns.json | 2 +- src/pulsensor/pulsensor.json | 2 +- src/relay/relay.json | 2 +- src/rfr359f/rfr359f.json | 2 +- src/rotary/rotary.json | 2 +- src/rotaryencoder/rotaryencoder.json | 2 +- src/rpr220/rpr220.json | 2 +- src/scam/scam.json | 2 +- src/sensortemplate/sensortemplate.json | 2 +- src/servo/servo.json | 4 +- src/si1132/si1132.json | 100 ++-- src/slide/slide.json | 2 +- src/sm130/sm130.json | 2 +- src/speaker/speaker.json | 2 +- src/st7735/st7735.json | 2 +- src/stepmotor/stepmotor.json | 2 +- src/temperature/temperature.json | 2 +- src/th02/th02.json | 2 +- src/tm1637/tm1637.json | 2 +- src/tsl2561/tsl2561.json | 2 +- src/ttp223/ttp223.json | 2 +- src/uln200xa/uln200xa.json | 2 +- src/vdiv/vdiv.json | 2 +- src/veml6070/veml6070.json | 2 +- src/water/water.json | 2 +- src/waterlevel/waterlevel.json | 2 +- src/wfs/wfs.json | 2 +- src/wheelencoder/wheelencoder.json | 106 ++-- src/wt5001/wt5001.json | 2 +- src/yg1006/yg1006.json | 2 +- src/zfm20/zfm20.json | 2 +- 315 files changed, 5209 insertions(+), 5168 deletions(-) rename examples/java/{A110XSample.java => A110X_Example.java} (98%) rename examples/java/{A110X_intrSample.java => A110X_intr_Example.java} (96%) rename examples/java/{ADC121C021Sample.java => ADC121C021_Example.java} (98%) rename examples/java/{AM2315Example.java => AM2315_Example.java} (98%) rename examples/java/{APA102Sample.java => APA102_Example.java} (98%) rename examples/java/{Ad8232Example.java => Ad8232_Example.java} (98%) rename examples/java/{Ads1015Sample.java => Ads1015_Example.java} (99%) rename examples/java/{Ads1115Sample.java => Ads1115_Example.java} (99%) rename examples/java/{Adxl345Sample.java => Adxl345_Example.java} (98%) rename examples/java/{Apds9002.java => Apds9002_Example.java} (98%) rename examples/java/{BISS0001Sample.java => BISS0001_Example.java} (98%) rename examples/java/{BMA220Sample.java => BMA220_Example.java} (98%) rename examples/java/{BME280_InterfaceExample.java => BME280_Interface_Example.java} (98%) rename examples/java/{BMPX8XSample.java => BMPX8X_Example.java} (98%) rename examples/java/{ButtonSample.java => Button_Example.java} (98%) rename examples/java/{Button_intrSample.java => Button_intr_Example.java} (96%) rename examples/java/{BuzzerSample.java => Buzzer_Example.java} (98%) rename examples/java/{CJQ4435Sample.java => CJQ4435_Example.java} (98%) rename examples/java/{Collision.java => Collision_Example.java} (98%) rename examples/java/{DFRPHSample.java => DFRPH_Example.java} (98%) rename examples/java/{DS1307Sample.java => DS1307_Example.java} (98%) rename examples/java/{ECS1030Example.java => ECS1030_Example.java} (98%) rename examples/java/{EHRSample.java => EHR_Example.java} (98%) rename examples/java/{ENC03RSample.java => ENC03R_Example.java} (98%) rename examples/java/{ES08ASample.java => ES08A_Example.java} (98%) rename examples/java/{Emg.java => Emg_Example.java} (98%) rename examples/java/{FlexSensorExample.java => FlexSensor_Example.java} (96%) rename examples/java/{GROVESCAMSample.java => GROVESCAM_Example.java} (98%) rename examples/java/{GUVAS12DSample.java => GUVAS12D_Example.java} (98%) rename examples/java/{Gp2y0aExample.java => Gp2y0a_Example.java} (98%) rename examples/java/{GroveButtonSample.java => GroveButton_Example.java} (97%) rename examples/java/{GroveButton_intrSample.java => GroveButton_intr_Example.java} (95%) rename examples/java/{GroveCollision.java => GroveCollision_Example.java} (97%) rename examples/java/{GroveEHRSample.java => GroveEHR_Example.java} (98%) rename examples/java/{GroveEmg.java => GroveEmg_Example.java} (98%) rename examples/java/{GroveGsr.java => GroveGsr_Example.java} (98%) rename examples/java/{GroveLEDBar.java => GroveLEDBar_Example.java} (97%) rename examples/java/{GroveLEDSample.java => GroveLED_Example.java} (97%) rename examples/java/{GroveLed_multiSample.java => GroveLed_multi_Example.java} (97%) rename examples/java/{GroveLightSample.java => GroveLight_Example.java} (97%) rename examples/java/{GroveLineFinderSample.java => GroveLineFinder_Example.java} (97%) rename examples/java/{GroveMDSample.java => GroveMD_Example.java} (98%) rename examples/java/{GroveMQ3.java => GroveMQ3_Example.java} (98%) rename examples/java/{GroveMQ9.java => GroveMQ9_Example.java} (98%) rename examples/java/{GroveMoistureSample.java => GroveMoisture_Example.java} (97%) rename examples/java/{GroveO2Example.java => GroveO2_Example.java} (98%) rename examples/java/{GroveQTouch.java => GroveQTouch_Example.java} (98%) rename examples/java/{GroveRelaySample.java => GroveRelay_Example.java} (97%) rename examples/java/{GroveRotarySample.java => GroveRotary_Example.java} (98%) rename examples/java/{GroveSlideSample.java => GroveSlide_Example.java} (97%) rename examples/java/{GroveSpeakerSample.java => GroveSpeaker_Example.java} (97%) rename examples/java/{GroveTempSample.java => GroveTemp_Example.java} (98%) rename examples/java/{GroveUltraSonicSample.java => GroveUltraSonic_Example.java} (97%) rename examples/java/{GroveVDivSample.java => GroveVDiv_Example.java} (98%) rename examples/java/{GroveWFSSample.java => GroveWFS_Example.java} (98%) rename examples/java/{GroveWaterSample.java => GroveWater_Example.java} (97%) rename examples/java/{Gsr.java => Gsr_Example.java} (98%) rename examples/java/{H3LIS331DLSample.java => H3LIS331DL_Example.java} (98%) rename examples/java/{HCSR04Sample.java => HCSR04_Example.java} (98%) rename examples/java/{HM11Sample.java => HM11_Example.java} (97%) rename examples/java/{HMTRPSample.java => HMTRP_Example.java} (99%) rename examples/java/{HP20xExample.java => HP20x_Example.java} (98%) rename examples/java/{HTU21DSample.java => HTU21D_Example.java} (98%) rename examples/java/{Hmc5883lSample.java => Hmc5883l_Example.java} (98%) rename examples/java/{Itg3200Sample.java => Itg3200_Example.java} (98%) rename examples/java/{Jhd1313m1Sample.java => Jhd1313m1_Example.java} (98%) rename examples/java/{Jhd1313m1_lcdSample.java => Jhd1313m1_lcd_Example.java} (97%) rename examples/java/{Joystick12Sample.java => Joystick12_Example.java} (97%) rename examples/java/{Joystick12_exampleSample.java => Joystick12_example_Example.java} (97%) rename examples/java/{KX122Example.java => KX122_Example.java} (98%) rename examples/java/{LCD_EBOLEDSample.java => LCD_EBOLED_Example.java} (97%) rename examples/java/{LCD_SSD1306Sample.java => LCD_SSD1306_Example.java} (99%) rename examples/java/{LDT0028Sample.java => LDT0028_Example.java} (98%) rename examples/java/{LEDSample.java => LED_Example.java} (98%) rename examples/java/{LM35Sample.java => LM35_Example.java} (95%) rename examples/java/{LSM303DLHSample.java => LSM303DLH_Example.java} (98%) rename examples/java/{LSM9DS0Sample.java => LSM9DS0_Example.java} (95%) rename examples/java/{Lcm1602_i2cSample.java => Lcm1602_i2c_Example.java} (97%) rename examples/java/{Lcm1602_parallelSample.java => Lcm1602_parallel_Example.java} (98%) rename examples/java/{LightSample.java => Light_Example.java} (98%) rename examples/java/{LineFinderSample.java => LineFinder_Example.java} (98%) rename examples/java/{LoLSample.java => LoL_Example.java} (98%) rename examples/java/{LoL_exampleSample.java => LoL_example_Example.java} (97%) rename examples/java/{LoudnessSample.java => Loudness_Example.java} (95%) rename examples/java/{M24LR64ESample.java => M24LR64E_Example.java} (98%) rename examples/java/{MAX31855Example.java => MAX31855_Example.java} (98%) rename examples/java/{MAX44000Sample.java => MAX44000_Example.java} (97%) rename examples/java/{MAX5487Example.java => MAX5487_Example.java} (98%) rename examples/java/{MAXds3231mExample.java => MAXds3231m_Example.java} (98%) rename examples/java/{MCP9808Sample.java => MCP9808_Example.java} (99%) rename examples/java/{MDSample.java => MD_Example.java} (98%) rename examples/java/{MG811Sample.java => MG811_Example.java} (95%) rename examples/java/{MHZ16Sample.java => MHZ16_Example.java} (98%) rename examples/java/{MMA7455Sample.java => MMA7455_Example.java} (98%) rename examples/java/{MMA7660Sample.java => MMA7660_Example.java} (98%) rename examples/java/{MPL3115A2Sample.java => MPL3115A2_Example.java} (98%) rename examples/java/{MPR121Sample.java => MPR121_Example.java} (95%) rename examples/java/{MPU9150Sample.java => MPU9150_Example.java} (98%) rename examples/java/{MQ2Sample.java => MQ2_Example.java} (98%) rename examples/java/{MQ303ASample.java => MQ303A_Example.java} (98%) rename examples/java/{MQ4Sample.java => MQ4_Example.java} (98%) rename examples/java/{MQ5Sample.java => MQ5_Example.java} (98%) rename examples/java/{MQ6Sample.java => MQ6_Example.java} (98%) rename examples/java/{MQ7Sample.java => MQ7_Example.java} (95%) rename examples/java/{MQ8Sample.java => MQ8_Example.java} (98%) rename examples/java/{MicrophoneSample.java => Microphone_Example.java} (98%) rename examples/java/{MoistureSample.java => Moisture_Example.java} (98%) rename examples/java/{NLGPIO16Sample.java => NLGPIO16_Example.java} (98%) rename examples/java/{NRF24L01_receiverSample.java => NRF24L01_receiver_Example.java} (98%) rename examples/java/{NRF24L01_transmitterSample.java => NRF24L01_transmitter_Example.java} (98%) rename examples/java/{NUNCHUCKSample.java => NUNCHUCK_Example.java} (98%) rename examples/java/{O2Example.java => O2_Example.java} (98%) rename examples/java/{OTP538USample.java => OTP538U_Example.java} (98%) rename examples/java/{P9813Sample.java => P9813_Example.java} (98%) rename examples/java/{PN532Sample.java => PN532_Example.java} (96%) rename examples/java/{PN532_writeurlSample.java => PN532_writeurl_Example.java} (98%) rename examples/java/{PPD42NSSample.java => PPD42NS_Example.java} (98%) rename examples/java/{PulsensorSample.java => Pulsensor_Example.java} (98%) rename examples/java/{RFR359FSample.java => RFR359F_Example.java} (98%) rename examples/java/{RHUSBSample.java => RHUSB_Example.java} (98%) rename examples/java/{RPR220Sample.java => RPR220_Example.java} (98%) rename examples/java/{RPR220_intrSample.java => RPR220_intr_Example.java} (96%) rename examples/java/{RelaySample.java => Relay_Example.java} (98%) rename examples/java/{RotaryEncoderSample.java => RotaryEncoder_Example.java} (97%) rename examples/java/{RotarySample.java => Rotary_Example.java} (98%) rename examples/java/{SCAMSample.java => SCAM_Example.java} (98%) rename examples/java/{SM130Example.java => SM130_Example.java} (98%) rename examples/java/{SSD1308_oledSample.java => SSD1308_oled_Example.java} (99%) rename examples/java/{SSD1327_oledSample.java => SSD1327_oled_Example.java} (99%) rename examples/java/{ST7735Sample.java => ST7735_Example.java} (98%) rename examples/java/{SensorTemplateSample.java => SensorTemplate_Example.java} (97%) rename examples/java/{SlideSample.java => Slide_Example.java} (98%) rename examples/java/{SpeakerPWMSample.java => SpeakerPWM_Example.java} (98%) rename examples/java/{SpeakerSample.java => Speaker_Example.java} (98%) rename examples/java/{StepMotorSample.java => StepMotor_Example.java} (98%) rename examples/java/{TM1637Sample.java => TM1637_Example.java} (98%) rename examples/java/{TP401Sample.java => TP401_Example.java} (98%) rename examples/java/{TSL2561Sample.java => TSL2561_Example.java} (97%) rename examples/java/{TTP223Sample.java => TTP223_Example.java} (98%) rename examples/java/{TemperatureSample.java => Temperature_Example.java} (97%) rename examples/java/{Th02Example.java => Th02_Example.java} (98%) rename examples/java/{Tsl2561.java => Tsl2561_Example.java} (98%) rename examples/java/{ULN200XASample.java => ULN200XA_Example.java} (98%) rename examples/java/{VDivSample.java => VDiv_Example.java} (98%) rename examples/java/{VEML6070Sample.java => VEML6070_Example.java} (98%) rename examples/java/{WFSSample.java => WFS_Example.java} (98%) rename examples/java/{WT5001Sample.java => WT5001_Example.java} (97%) rename examples/java/{WaterLevelSensor.java => WaterLevelSensor_Example.java} (97%) rename examples/java/{WaterSample.java => Water_Example.java} (98%) rename examples/java/{WheelEncoderSample.java => WheelEncoder_Example.java} (95%) rename examples/java/{YG1006Sample.java => YG1006_Example.java} (98%) rename examples/java/{ZFM20Sample.java => ZFM20_Example.java} (99%) diff --git a/doxy/samples.mapping.txt b/doxy/samples.mapping.txt index 2a2eca02..40cfa467 100644 --- a/doxy/samples.mapping.txt +++ b/doxy/samples.mapping.txt @@ -1,79 +1,79 @@ # Mapping examples across provided languages -a110x.cxx A110XSample.java a110x.js a110x.py -a110x-intr.cxx A110X_intrSample.java a110x-intr.js a110x-intr.py -adc121c021.cxx ADC121C021Sample.java adc121c021.js adc121c021.py -adxl345.cxx Adxl345Sample.java adxl345.js adxl345.py -biss0001.cxx BISS0001Sample.java biss0001.js biss0001.py -bmpx8x.cxx BMPX8XSample.java bmpx8x.js bmpx8x.py -bno055.cxx BNO055_Example.java bno055.js bno055.py -button.cxx ButtonSample.java button.js button.py -buzzer.cxx BuzzerSample.java buzzer.js buzzer.py -cjq4435.cxx CJQ4435Sample.java cjq4435.js cjq4435.py -ds1307.cxx DS1307Sample.java ds1307.js ds1307.py -enc03r.cxx ENC03RSample.java enc03r.js enc03r.py -servo-es08a.cxx ES08ASample.java es08a.js es08a.py -groveehr.cxx GroveEHRSample.java groveehr.js groveehr.py -my9221-groveledbar.cxx GroveLEDBar.java groveledbar.js groveledbar.py -grove-groveled.cxx GroveLEDSample.java groveled.js groveled.py -grovelinefinder.cxx GroveLineFinderSample.java grovelinefinder.js grovelinefinder.py -grovemoisture.cxx GroveMoistureSample.java grovemoisture.js grovemoisture.py -grovescam.cxx GROVESCAMSample.java grovescam.js grovescam.py -grovewfs.cxx GroveWFSSample.java grovewfs.js grovewfs.py -guvas12d.cxx GUVAS12DSample.java guvas12d.js guvas12d.py -h3lis331dl.cxx H3LIS331DLSample.java h3lis331dl.js h3lis331dl.py -hcsr04.cxx HCSR04Sample.java hcsr04.js hcsr04.py -hm11.cxx HM11Sample.java hm11.js hm11.py -hmc5883l.cxx Hmc5883lSample.java hmc5883l.js hmc5883l.py -htu21d.cxx HTU21DSample.java htu21d.js htu21d.py -ims.cxx IMS_Example.java ims.js ims.py -itg3200.cxx Itg3200Sample.java itg3200.js itg3200.py -jhd1313m1-lcd.cxx Jhd1313m1_lcdSample.java jhd1313m1-lcd.js jhd1313m1-lcd.py -joystick12.cxx Joystick12Sample.java joystick12.js joystick12.py -lcm1602-i2c.cxx Lcm1602_i2cSample.java lcm1602-i2c.js lcm1602-i2c.py -ldt0028.cxx LDT0028Sample.java ldt0028.js ldt0028.py -light.cxx LightSample.java light.js light.py -lol.cxx LoLSample.java lol.js lol.py -lsm303dlh.cxx LSM303DLHSample.java lsm303dlh.js lsm303dlh.py -m24lr64e.cxx M24LR64ESample.java m24lr64e.js m24lr64e.py -max44000.cxx MAX44000Sample.java max44000.js max44000.py -mic.cxx MicrophoneSample.java mic.js mic.py -mma7455.cxx MMA7455Sample.java mma7455.js mma7455.py -mma7660.cxx MMA7660Sample.java mma7660.js mma7660.py -mpl3115a2.cxx MPL3115A2Sample.java mpl3115a2.js mpl3115a2.py -mpr121.cxx MPR121Sample.java mpr121.js mpr121.py -mpu9150.cxx MPU9150Sample.java mpu9150.js mpu9150.py -gas-mq2.cxx MQ2Sample.java mq2.js mq2.py -mq303a.cxx MQ303ASample.java mq303a.js mq303a.py -gas-mq5.cxx MQ5Sample.java mq5.js mq5.py -nrf24l01-receiver.cxx NRF24L01_receiverSample.java nrf24l01-receiver.js nrf24l01-receiver.py -nrf24l01-transmitter.cxx NRF24L01_transmitterSample.java nrf24l01-transmitter.js nrf24l01-transmitter.py -nunchuck.cxx NUNCHUCKSample.java nunchuck.js nunchuck.py -otp538u.cxx OTP538USample.java otp538u.js otp538u.py -ppd42ns.cxx PPD42NSSample.java ppd42ns.js ppd42ns.py -pulsensor.cxx PulsensorSample.java pulsensor.js pulsensor.py -relay.cxx RelaySample.java relay.js relay.py -rfr359f.cxx RFR359FSample.java rfr359f.js rfr359f.py -rotary.cxx RotarySample.java rotary.js rotary.py -rotaryencoder.cxx RotaryEncoderSample.java rotaryencoder.js rotaryencoder.py -rpr220.cxx RPR220Sample.java rpr220.js rpr220.py -rpr220-intr.cxx RPR220_intrSample.java rpr220-intr.js rpr220-intr.py -slide.cxx SlideSample.java slide.js slide.py -speaker.cxx SpeakerSample.java speaker.js speaker.py -lcd-ssd1308-oled.cxx SSD1308_oledSample.java ssd1308-oled.js ssd1308-oled.py -lcd-ssd1327-oled.cxx SSD1327_oledSample.java ssd1327-oled.js ssd1327-oled.py -st7735.cxx ST7735Sample.java st7735.js st7735.py -stepmotor.cxx StepMotorSample.java stepmotor.js stepmotor.py -tm1637.cxx TM1637Sample.java tm1637.js tm1637.py -gas-tp401.cxx TP401Sample.java tp401.js tp401.py -tsl2561.cxx TSL2561Sample.java tsl2561.js tsl2561.py -ttp223.cxx TTP223Sample.java ttp223.js ttp223.py -uln200xa.cxx ULN200XASample.java uln200xa.js uln200xa.py -vdiv.cxx VDivSample.java vdiv.js vdiv.py -water.cxx WaterSample.java water.js water.py -wt5001.cxx WT5001Sample.java wt5001.js wt5001.py -yg1006.cxx YG1006Sample.java yg1006.js yg1006.py -sensortemplate.cxx SensorTemplateSample.java sensortemplate.js sensortemplate.py -p9813.cxx P9813Sample.java p9813.js p9813.py +a110x.cxx A110X_Example.java a110x.js a110x.py +a110x-intr.cxx A110X_intr_Example.java a110x-intr.js a110x-intr.py +adc121c021.cxx ADC121C021_Example.java adc121c021.js adc121c021.py +adxl345.cxx Adxl345_Example.java adxl345.js adxl345.py +biss0001.cxx BISS0001_Example.java biss0001.js biss0001.py +bmpx8x.cxx BMPX8X_Example.java bmpx8x.js bmpx8x.py +bno055.cxx BNO055_Example.java bno055.js bno055.py +button.cxx Button_Example.java button.js button.py +buzzer.cxx Buzzer_Example.java buzzer.js buzzer.py +cjq4435.cxx CJQ4435_Example.java cjq4435.js cjq4435.py +ds1307.cxx DS1307_Example.java ds1307.js ds1307.py +enc03r.cxx ENC03R_Example.java enc03r.js enc03r.py +servo-es08a.cxx ES08A_Example.java es08a.js es08a.py +groveehr.cxx GroveEHR_Example.java groveehr.js groveehr.py +my9221-groveledbar.cxx GroveLEDBar_Example.java groveledbar.js groveledbar.py +grove-groveled.cxx GroveLED_Example.java groveled.js groveled.py +grovelinefinder.cxx GroveLineFinder_Example.java grovelinefinder.js grovelinefinder.py +grovemoisture.cxx GroveMoisture_Example.java grovemoisture.js grovemoisture.py +grovescam.cxx GROVESCAM_Example.java grovescam.js grovescam.py +grovewfs.cxx GroveWFS_Example.java grovewfs.js grovewfs.py +guvas12d.cxx GUVAS12D_Example.java guvas12d.js guvas12d.py +h3lis331dl.cxx H3LIS331DL_Example.java h3lis331dl.js h3lis331dl.py +hcsr04.cxx HCSR04_Example.java hcsr04.js hcsr04.py +hm11.cxx HM11_Example.java hm11.js hm11.py +hmc5883l.cxx Hmc5883l_Example.java hmc5883l.js hmc5883l.py +htu21d.cxx HTU21D_Example.java htu21d.js htu21d.py +ims.cxx IMS_Example.java ims.js ims.py +itg3200.cxx Itg3200_Example.java itg3200.js itg3200.py +jhd1313m1-lcd.cxx Jhd1313m1_lcd_Example.java jhd1313m1-lcd.js jhd1313m1-lcd.py +joystick12.cxx Joystick12_Example.java joystick12.js joystick12.py +lcm1602-i2c.cxx Lcm1602_i2c_Example.java lcm1602-i2c.js lcm1602-i2c.py +ldt0028.cxx LDT0028_Example.java ldt0028.js ldt0028.py +light.cxx Light_Example.java light.js light.py +lol.cxx LoL_Example.java lol.js lol.py +lsm303dlh.cxx LSM303DLH_Example.java lsm303dlh.js lsm303dlh.py +m24lr64e.cxx M24LR64E_Example.java m24lr64e.js m24lr64e.py +max44000.cxx MAX44000_Example.java max44000.js max44000.py +mic.cxx Microphone_Example.java mic.js mic.py +mma7455.cxx MMA7455_Example.java mma7455.js mma7455.py +mma7660.cxx MMA7660_Example.java mma7660.js mma7660.py +mpl3115a2.cxx MPL3115A2_Example.java mpl3115a2.js mpl3115a2.py +mpr121.cxx MPR121_Example.java mpr121.js mpr121.py +mpu9150.cxx MPU9150_Example.java mpu9150.js mpu9150.py +gas-mq2.cxx MQ2_Example.java mq2.js mq2.py +mq303a.cxx MQ303A_Example.java mq303a.js mq303a.py +gas-mq5.cxx MQ5_Example.java mq5.js mq5.py +nrf24l01-receiver.cxx NRF24L01_receiver_Example.java nrf24l01-receiver.js nrf24l01-receiver.py +nrf24l01-transmitter.cxx NRF24L01_transmitter_Example.java nrf24l01-transmitter.js nrf24l01-transmitter.py +nunchuck.cxx NUNCHUCK_Example.java nunchuck.js nunchuck.py +otp538u.cxx OTP538U_Example.java otp538u.js otp538u.py +ppd42ns.cxx PPD42NS_Example.java ppd42ns.js ppd42ns.py +pulsensor.cxx Pulsensor_Example.java pulsensor.js pulsensor.py +relay.cxx Relay_Example.java relay.js relay.py +rfr359f.cxx RFR359F_Example.java rfr359f.js rfr359f.py +rotary.cxx Rotary_Example.java rotary.js rotary.py +rotaryencoder.cxx RotaryEncoder_Example.java rotaryencoder.js rotaryencoder.py +rpr220.cxx RPR220_Example.java rpr220.js rpr220.py +rpr220-intr.cxx RPR220_intr_Example.java rpr220-intr.js rpr220-intr.py +slide.cxx Slide_Example.java slide.js slide.py +speaker.cxx Speaker_Example.java speaker.js speaker.py +lcd-ssd1308-oled.cxx SSD1308_oled_Example.java ssd1308-oled.js ssd1308-oled.py +lcd-ssd1327-oled.cxx SSD1327_oled_Example.java ssd1327-oled.js ssd1327-oled.py +st7735.cxx ST7735_Example.java st7735.js st7735.py +stepmotor.cxx StepMotor_Example.java stepmotor.js stepmotor.py +tm1637.cxx TM1637_Example.java tm1637.js tm1637.py +gas-tp401.cxx TP401_Example.java tp401.js tp401.py +tsl2561.cxx TSL2561_Example.java tsl2561.js tsl2561.py +ttp223.cxx TTP223_Example.java ttp223.js ttp223.py +uln200xa.cxx ULN200XA_Example.java uln200xa.js uln200xa.py +vdiv.cxx VDiv_Example.java vdiv.js vdiv.py +water.cxx Water_Example.java water.js water.py +wt5001.cxx WT5001_Example.java wt5001.js wt5001.py +yg1006.cxx YG1006_Example.java yg1006.js yg1006.py +sensortemplate.cxx SensorTemplate_Example.java sensortemplate.js sensortemplate.py +p9813.cxx P9813_Example.java p9813.js p9813.py tcs37727.cxx tcs37727.py tmp006.cxx tmp006.py mma8x5x.cxx mma8x5x.py diff --git a/examples/java/A110XSample.java b/examples/java/A110X_Example.java similarity index 98% rename from examples/java/A110XSample.java rename to examples/java/A110X_Example.java index 18d17bc8..1e748504 100644 --- a/examples/java/A110XSample.java +++ b/examples/java/A110X_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class A110XSample { +public class A110X_Example { public static void main(String[] args) throws InterruptedException { //! [Interesting] diff --git a/examples/java/A110X_intrSample.java b/examples/java/A110X_intr_Example.java similarity index 96% rename from examples/java/A110X_intrSample.java rename to examples/java/A110X_intr_Example.java index 53d23a5e..ce722b89 100644 --- a/examples/java/A110X_intrSample.java +++ b/examples/java/A110X_intr_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class A110X_intrSample { +public class A110X_intr_Example { public static int counter=0; @@ -52,6 +52,6 @@ class A110XISR implements Runnable { super(); } public void run(){ - A110X_intrSample.counter++; + A110X_intr_Example.counter++; } } \ No newline at end of file diff --git a/examples/java/ADC121C021Sample.java b/examples/java/ADC121C021_Example.java similarity index 98% rename from examples/java/ADC121C021Sample.java rename to examples/java/ADC121C021_Example.java index 602892df..57722c47 100644 --- a/examples/java/ADC121C021Sample.java +++ b/examples/java/ADC121C021_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class ADC121C021Sample { +public class ADC121C021_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/AM2315Example.java b/examples/java/AM2315_Example.java similarity index 98% rename from examples/java/AM2315Example.java rename to examples/java/AM2315_Example.java index 3da2ff57..dae8a253 100644 --- a/examples/java/AM2315Example.java +++ b/examples/java/AM2315_Example.java @@ -23,7 +23,7 @@ */ import upm_am2315.AM2315; -public class AM2315Example { +public class AM2315_Example { static { try { diff --git a/examples/java/APA102Sample.java b/examples/java/APA102_Example.java similarity index 98% rename from examples/java/APA102Sample.java rename to examples/java/APA102_Example.java index 4ebbdbff..540dd6a2 100644 --- a/examples/java/APA102Sample.java +++ b/examples/java/APA102_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class APA102Sample { +public class APA102_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/Ad8232Example.java b/examples/java/Ad8232_Example.java similarity index 98% rename from examples/java/Ad8232Example.java rename to examples/java/Ad8232_Example.java index 0ee0f2c0..e4c1933d 100644 --- a/examples/java/Ad8232Example.java +++ b/examples/java/Ad8232_Example.java @@ -23,7 +23,7 @@ */ import upm_ad8232.AD8232; -public class Ad8232Example { +public class Ad8232_Example { public static void main(String[] args) { // TODO Auto-generated method stub diff --git a/examples/java/Ads1015Sample.java b/examples/java/Ads1015_Example.java similarity index 99% rename from examples/java/Ads1015Sample.java rename to examples/java/Ads1015_Example.java index e0f5f616..8620c127 100644 --- a/examples/java/Ads1015Sample.java +++ b/examples/java/Ads1015_Example.java @@ -31,7 +31,7 @@ import java.io.*; import java.util.concurrent.*; import upm_ads1x15.*; -public class Ads1015Sample +public class Ads1015_Example { static boolean running = true; static int id = 0; // Sample number diff --git a/examples/java/Ads1115Sample.java b/examples/java/Ads1115_Example.java similarity index 99% rename from examples/java/Ads1115Sample.java rename to examples/java/Ads1115_Example.java index df055b35..2f98f48d 100644 --- a/examples/java/Ads1115Sample.java +++ b/examples/java/Ads1115_Example.java @@ -30,7 +30,7 @@ import java.io.*; import java.util.concurrent.*; import upm_ads1x15.*; -public class Ads1115Sample +public class Ads1115_Example { static boolean running = true; static int id = 0; // Sample number diff --git a/examples/java/Adxl345Sample.java b/examples/java/Adxl345_Example.java similarity index 98% rename from examples/java/Adxl345Sample.java rename to examples/java/Adxl345_Example.java index 028f6583..1918c0c5 100644 --- a/examples/java/Adxl345Sample.java +++ b/examples/java/Adxl345_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class Adxl345Sample { +public class Adxl345_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/Apds9002.java b/examples/java/Apds9002_Example.java similarity index 98% rename from examples/java/Apds9002.java rename to examples/java/Apds9002_Example.java index 0c6b7cb7..ce7939fb 100644 --- a/examples/java/Apds9002.java +++ b/examples/java/Apds9002_Example.java @@ -24,7 +24,7 @@ import upm_apds9002.APDS9002; -public class Apds9002 { +public class Apds9002_Example { public static void main(String[] args) { // TODO Auto-generated method stub diff --git a/examples/java/BISS0001Sample.java b/examples/java/BISS0001_Example.java similarity index 98% rename from examples/java/BISS0001Sample.java rename to examples/java/BISS0001_Example.java index eaacacfa..fe94e971 100644 --- a/examples/java/BISS0001Sample.java +++ b/examples/java/BISS0001_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class BISS0001Sample{ +public class BISS0001_Example{ public static void main(String[] args) throws InterruptedException { //! [Interesting] diff --git a/examples/java/BMA220Sample.java b/examples/java/BMA220_Example.java similarity index 98% rename from examples/java/BMA220Sample.java rename to examples/java/BMA220_Example.java index 24cb12f6..c332c782 100644 --- a/examples/java/BMA220Sample.java +++ b/examples/java/BMA220_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class BMA220Sample { +public class BMA220_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/BME280_InterfaceExample.java b/examples/java/BME280_Interface_Example.java similarity index 98% rename from examples/java/BME280_InterfaceExample.java rename to examples/java/BME280_Interface_Example.java index 62125c88..e3940d2a 100644 --- a/examples/java/BME280_InterfaceExample.java +++ b/examples/java/BME280_Interface_Example.java @@ -26,7 +26,7 @@ import upm_bmp280.*; import upm_interfaces.*; -public class BME280_InterfaceExample +public class BME280_Interface_Example { public static void main(String[] args) throws InterruptedException { diff --git a/examples/java/BMPX8XSample.java b/examples/java/BMPX8X_Example.java similarity index 98% rename from examples/java/BMPX8XSample.java rename to examples/java/BMPX8X_Example.java index b0377f28..12a930d8 100644 --- a/examples/java/BMPX8XSample.java +++ b/examples/java/BMPX8X_Example.java @@ -23,7 +23,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class BMPX8XSample { +public class BMPX8X_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/ButtonSample.java b/examples/java/Button_Example.java similarity index 98% rename from examples/java/ButtonSample.java rename to examples/java/Button_Example.java index 6b656629..61115e17 100644 --- a/examples/java/ButtonSample.java +++ b/examples/java/Button_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class ButtonSample { +public class Button_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/Button_intrSample.java b/examples/java/Button_intr_Example.java similarity index 96% rename from examples/java/Button_intrSample.java rename to examples/java/Button_intr_Example.java index 7dd46c59..9268d4c2 100644 --- a/examples/java/Button_intrSample.java +++ b/examples/java/Button_intr_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class Button_intrSample { +public class Button_intr_Example { public static int counter = 0; @@ -47,7 +47,7 @@ class ButtonISR implements Runnable { } public void run() { - Button_intrSample.counter++; + Button_intr_Example.counter++; System.out.println("Button pressed!"); } } diff --git a/examples/java/BuzzerSample.java b/examples/java/Buzzer_Example.java similarity index 98% rename from examples/java/BuzzerSample.java rename to examples/java/Buzzer_Example.java index 88003e84..fb527a82 100644 --- a/examples/java/BuzzerSample.java +++ b/examples/java/Buzzer_Example.java @@ -23,7 +23,7 @@ */ import upm_buzzer.Buzzer; -public class BuzzerSample { +public class Buzzer_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/CJQ4435Sample.java b/examples/java/CJQ4435_Example.java similarity index 98% rename from examples/java/CJQ4435Sample.java rename to examples/java/CJQ4435_Example.java index 333c20ea..ef71eceb 100644 --- a/examples/java/CJQ4435Sample.java +++ b/examples/java/CJQ4435_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class CJQ4435Sample { +public class CJQ4435_Example { public static void main(String[] args) throws InterruptedException { // Instantiate a CJQ4435 MOSFET on a PWM capable digital pin D3 diff --git a/examples/java/CMakeLists.txt b/examples/java/CMakeLists.txt index a4fcdddf..53031b18 100644 --- a/examples/java/CMakeLists.txt +++ b/examples/java/CMakeLists.txt @@ -1,225 +1,262 @@ +# The purpose of this CMakeLists.txt is to compile all listed JAVA examples +# during build time (ensuring that ALL examples compile against their +# dependency JAVA packages). + find_package(Java REQUIRED) include(UseJava) -macro(add_example example_name jar_name) - set(example_src "${example_name}.java") - set(example_jar "${CMAKE_CURRENT_BINARY_DIR}/../../src/${jar_name}/upm_${jar_name}.jar") +# Add a JAVA example target for the provided JAVA source file which depends +# on UPM JAVA targets. +# +# Usage: +# add_example(example_class_name upm_target_dependency_list) +# +# Parameters: +# example_class_name: JAVA class name. This name MUST match the JAVA +# example file name. +# .java +# upm_target_dependency_list: One or more UPM library targets. This +# function assumes a javaupm_ also exists. +# +# Examples: +# # Creates SensorFooExample JAVA target, depends on target: sensorfoo, +# # and will add upm_sensorfoo.jar to the javac classpath. +# add_example(SensorFooExample sensorfoo) +# +# # Creates SensorFooExample JAVA target, depends on targets: sensorfoo, +# # and interfaces and will add both upm_sensorfoo.jar and upm_interfaces.jar +# # to the javac classpath. +# add_example(SensorFooExample "sensorfoo;interfaces"") +# +function(add_example example_class_name dependency_list) + set(example_file "${example_class_name}.java") - add_jar(${example_name} SOURCES ${example_src} INCLUDE_JARS ${example_jar}) - add_dependencies(${example_name} javaupm_${jar_name}) -endmacro() + # Build a list of all dependency jar files + set(jar_file_list "") -macro(add_example_with_path example_name jar_path jar_name) - set(example_src "${example_name}.java") - set(example_jar "${CMAKE_CURRENT_BINARY_DIR}/../../src/${jar_path}/upm_${jar_name}.jar") + # Build a list of all dependency java target names + set(java_targets_list "") - add_jar(${example_name} SOURCES ${example_src} INCLUDE_JARS ${example_jar}) - add_dependencies(${example_name} javaupm_${jar_name}) -endmacro() + # Iterate over the dependencies + foreach(dependency ${dependency_list}) + set(java_target "javaupm_${dependency}") -macro(add_example_multiple_jars example_name example_jar_name jar_name_list) - set(example_src "${example_name}.java") + # Append to the targets list + list(APPEND java_targets_list ${java_target}) - set(list_of_jars "") - foreach(jar_name ${jar_name_list}) - set(example_jar "${CMAKE_CURRENT_BINARY_DIR}/../../src/${jar_name}/upm_${jar_name}.jar") - list(APPEND list_of_jars ${example_jar}) + # If a dependency target does NOT exist, print a warning and skip + if (NOT TARGET ${java_target}) + message(STATUS "Example ${example_file} is missing a required CMake target (${java_target}), skipping...") + return() + endif() + + # Get the jar for this java_target (saved as a property) + get_target_property(jar_file ${java_target} JAR_FILE_ABSOLUTE) + + # Append to the jar list + list(APPEND jar_file_list ${jar_file}) endforeach() - add_jar(${example_name} SOURCES ${example_src} INCLUDE_JARS ${list_of_jars}) - add_dependencies(${example_name} javaupm_${example_jar_name}) -endmacro() + # Add the jar/s + add_jar(${example_class_name} SOURCES ${example_file} INCLUDE_JARS ${jar_file_list}) -add_example(A110X_intrSample a110x) -add_example(A110XSample a110x) -add_example(ADC121C021Sample adc121c021) -add_example(Adxl345Sample adxl345) -add_example(Apds9002 apds9002) -add_example(BISS0001Sample biss0001) -add_example_multiple_jars(BMPX8XSample bmpx8x "bmpx8x;interfaces") -add_example(BuzzerSample buzzer) -add_example(CJQ4435Sample cjq4435) -add_example(DS1307Sample ds1307) -add_example(ENC03RSample enc03r) -add_example(ES08ASample servo) -add_example(ButtonSample button) -add_example(GroveButtonSample grove) -add_example(Button_intrSample button) -add_example(GroveButton_intrSample grove) -add_example(Collision collision) -add_example(EHRSample ehr) -add_example(GroveEHRSample groveehr) -add_example(Emg emg) -add_example(GroveEmg groveemg) -add_example(Gsr gsr) -add_example(GroveGsr grovegsr) -add_example(LEDSample led) -add_example(LightSample light) -add_example(GroveLightSample grove) -add_example(GroveLineFinderSample grovelinefinder) -add_example(LineFinderSample linefinder) -add_example(GroveLed_multiSample grove) -add_example(GroveLEDSample grove) -add_example(GroveMDSample grovemd) -add_example(MDSample md) -add_example(MoistureSample moisture) -add_example(GroveMoistureSample grovemoisture) -add_example(GroveMQ3 gas) -add_example(GroveMQ9 gas) -add_example(O2Example o2) -add_example(GroveO2Example groveo2) -add_example(GroveQTouch at42qt1070) -add_example(RelaySample relay) -add_example(GroveRelaySample grove) -add_example(RotarySample rotary) -add_example(GroveRotarySample grove) -add_example(GROVESCAMSample grovescam) -add_example(SCAMSample scam) -add_example(SlideSample slide) -add_example(GroveSlideSample grove) -add_example(SpeakerSample speaker) -add_example(GroveSpeakerSample grovespeaker) -add_example(TemperatureSample temperature) -add_example(GroveTempSample grove) -add_example(VDivSample vdiv) -add_example(GroveVDivSample grovevdiv) -add_example(WaterSample water) -add_example(GroveWaterSample grovewater) -add_example(GroveWFSSample grovewfs) -add_example(WFSSample wfs) -add_example(GUVAS12DSample guvas12d) -add_example(H3LIS331DLSample h3lis331dl) -add_example(HCSR04Sample hcsr04) -add_example(HM11Sample hm11) -add_example(Hmc5883lSample hmc5883l) -add_example(HMTRPSample hmtrp) -add_example(HP20xExample hp20x) -add_example(HTU21DSample htu21d) -add_example(Itg3200Sample itg3200) -add_example(Joystick12Sample joystick12) -add_example(LDT0028Sample ldt0028) -add_example(LoLSample lol) -add_example(LSM303DLHSample lsm303dlh) -add_example(M24LR64ESample m24lr64e) -add_example(MAX44000Sample max44000) -add_example(MHZ16Sample mhz16) -add_example(MicrophoneSample mic) -add_example(MMA7455Sample mma7455) -add_example(MMA7660Sample mma7660) -add_example(MPL3115A2Sample mpl3115a2) -add_example(MPR121Sample mpr121) -add_example(MPU9150Sample mpu9150) -add_example(MQ2Sample gas) -add_example(MQ303ASample mq303a) -add_example(MQ5Sample gas) -add_example(GroveLEDBar my9221) -add_example(NRF24L01_receiverSample nrf24l01) -add_example(NRF24L01_transmitterSample nrf24l01) -add_example(NUNCHUCKSample nunchuck) -add_example(OTP538USample otp538u) -add_example(PPD42NSSample ppd42ns) -add_example(PulsensorSample pulsensor) -add_example(RFR359FSample rfr359f) -add_example(RotaryEncoderSample rotaryencoder) -add_example(RPR220_intrSample rpr220) -add_example(RPR220Sample rpr220) -add_example(ST7735Sample st7735) -if (NOT ANDROID) - add_example(StepMotorSample stepmotor) -endif () -add_example(TM1637Sample tm1637) -add_example(TP401Sample gas) -add_example(TSL2561Sample tsl2561) -add_example(TTP223Sample ttp223) -add_example(ULN200XASample uln200xa) -add_example(WaterLevelSensor waterlevel) -add_example(WT5001Sample wt5001) -add_example(YG1006Sample yg1006) -add_example(ZFM20Sample zfm20) -add_example(Ad8232Example ad8232) -add_example(Gp2y0aExample gp2y0a) -add_example(Th02Example th02) -add_example(FlexSensorExample flex) -add_example(CWLSXXA_Example cwlsxxa) -add_example(TEAMS_Example teams) -add_example(APA102Sample apa102) -add_example(TEX00_Example tex00) -add_example(BMI160_Example bmi160) -add_example(Tsl2561 tsl2561) -add_example(AM2315Example am2315) -add_example(MAX31855Example max31855) -add_example(MAX5487Example max5487) -add_example(MAXds3231mExample maxds3231m) -add_example(ECS1030Example ecs1030) -add_example(SM130Example sm130) -if (MODBUS_FOUND) - add_example(H803X_Example h803x) -endif() -if (BACNET_FOUND) - add_example(E50HX_Example e50hx) - add_example(T8100_Example t8100) - add_example(TB7300_Example tb7300) -endif() -if (JPEG_FOUND) - add_example(VCAP_Example vcap) -endif() -add_example_multiple_jars(BMP280_Example bmp280 "bmp280;interfaces") -add_example(BNO055_Example bno055) -add_example(BMX055_Example bmx055) -add_example(NMEAGPS_Example nmea_gps) -add_example(MMA7361_Example mma7361) + # Add a dependency from this jar to all dependency java targets + add_dependencies(${example_class_name} ${java_targets_list}) +endfunction() + +add_example(A110X_Example a110x) +add_example(A110X_intr_Example a110x) +add_example(Ad8232_Example ad8232) +add_example(ADC121C021_Example adc121c021) +add_example(Ads1015_Example "ads1x15;interfaces") +add_example(Ads1115_Example ads1x15) +add_example(Adxl345_Example adxl345) +add_example(AM2315_Example am2315) +add_example(APA102_Example apa102) +add_example(Apds9002_Example apds9002) add_example(BH1750_Example bh1750) -add_example(HKA5_Example hka5) -add_example(DFRORP_Example dfrorp) -add_example(DFREC_Example dfrec) -add_example(SHT1X_Example sht1x) -add_example(MS5803_Example ms5803) -add_example(ECEZO_Example ecezo) -add_example(IMS_Example ims) -add_example(MB704X_Example mb704x) -add_example(MCP2515_Example mcp2515) -add_example_multiple_jars(Ads1015Sample ads1x15 "ads1x15;interfaces") -add_example(MAX30100_Example max30100) -add_example(Ads1115Sample ads1x15) -add_example(SensorTemplateSample sensortemplate) -add_example(P9813Sample p9813) -add_example(BMG160_Example bmg160) +add_example(BISS0001_Example biss0001) add_example(BMA250E_Example bma250e) +add_example(BMC150_Example bmx055) +add_example(BME280_Example "bmp280;interfaces") +add_example(BMG160_Example bmg160) +add_example(BMI055_Example bmx055) +add_example(BMI160_Example bmi160) add_example(BMM150_Example bmm150) +add_example(BMP280_Example "bmp280;interfaces") +add_example(BMPX8X_Example "bmpx8x;interfaces") +add_example(BMX055_Example bmx055) +add_example(BNO055_Example bno055) +add_example(Button_Example button) +add_example(Button_intr_Example button) +add_example(Buzzer_Example buzzer) +add_example(CJQ4435_Example cjq4435) +add_example(Collision_Example collision) +add_example(CWLSXXA_Example cwlsxxa) +add_example(DFREC_Example dfrec) +add_example(DFRORP_Example dfrorp) +add_example(DS1307_Example ds1307) +add_example(ECEZO_Example ecezo) +add_example(ECS1030_Example ecs1030) +add_example(EHR_Example ehr) +add_example(Emg_Example emg) +add_example(ENC03R_Example enc03r) +add_example(ES08A_Example "servo;interfaces") +add_example(FlexSensor_Example flex) +add_example(Gp2y0a_Example gp2y0a) +add_example(GroveButton_Example grove) +add_example(GroveButton_intr_Example grove) +add_example(GroveEHR_Example groveehr) +add_example(GroveEmg_Example groveemg) +add_example(GroveGsr_Example grovegsr) +add_example(GroveLEDBar_Example my9221) +add_example(GroveLED_Example grove) +add_example(GroveLed_multi_Example grove) +add_example(GroveLight_Example grove) +add_example(GroveLineFinder_Example grovelinefinder) +add_example(GroveMD_Example grovemd) +add_example(GroveMoisture_Example grovemoisture) +add_example(GroveMQ3_Example gas) +add_example(GroveMQ9_Example gas) +add_example(GroveO2_Example groveo2) +add_example(GroveQTouch_Example at42qt1070) +add_example(GroveRelay_Example grove) +add_example(GroveRotary_Example grove) +add_example(GROVESCAM_Example grovescam) +add_example(GroveSlide_Example grove) +add_example(GroveSpeaker_Example grovespeaker) +add_example(GroveTemp_Example grove) +add_example(GroveVDiv_Example grovevdiv) +add_example(GroveWater_Example grovewater) +add_example(GroveWFS_Example grovewfs) +add_example(Gsr_Example gsr) +add_example(GUVAS12D_Example guvas12d) +add_example(H3LIS331DL_Example h3lis331dl) +add_example(HCSR04_Example hcsr04) +add_example(HKA5_Example hka5) +add_example(HM11_Example hm11) +add_example(Hmc5883l_Example hmc5883l) +add_example(HMTRP_Example hmtrp) +add_example(HP20x_Example hp20x) +add_example(HTU21D_Example htu21d) +add_example(Itg3200_Example itg3200) +add_example(Jhd1313m1_Example jhd1313m1) +add_example(Jhd1313m1_lcd_Example jhd1313m1) +add_example(Joystick12_Example joystick12) +add_example(KX122_Example kx122) +add_example(Lcm1602_i2c_Example lcm1602) +add_example(Lcm1602_parallel_Example lcm1602) +add_example(LDT0028_Example ldt0028) +add_example(LE910_Example uartat) +add_example(LED_Example led) +add_example(Light_Example light) +add_example(LineFinder_Example linefinder) +add_example(LIS2DS12_Example lis2ds12) +add_example(LoL_Example lol) add_example(LSM303AGR_Example lsm303agr) add_example(LSM303D_Example lsm303d) -add_example(VEML6070Sample veml6070) -add_example(RN2903_Example rn2903) -add_example(LIS2DS12_Example lis2ds12) +add_example(LSM303DLH_Example lsm303dlh) add_example(LSM6DS3H_Example lsm6ds3h) add_example(LSM6DSL_Example lsm6dsl) - -add_example_with_path(Jhd1313m1_lcdSample jhd1313m1 jhd1313m1) -add_example_with_path(Jhd1313m1Sample jhd1313m1 jhd1313m1) -add_example_with_path(Lcm1602_i2cSample lcm1602 lcm1602) -add_example_with_path(Lcm1602_parallelSample lcm1602 lcm1602) -add_example_with_path(SSD1308_oledSample lcd lcd) -add_example_with_path(SSD1327_oledSample lcd lcd) -add_example_multiple_jars(BME280_Example bmp280 "bmp280;interfaces") +add_example(M24LR64E_Example m24lr64e) +add_example(MAX30100_Example max30100) +add_example(MAX31855_Example max31855) +add_example(MAX44000_Example max44000) +add_example(MAX5487_Example max5487) +add_example(MAXds3231m_Example maxds3231m) +add_example(MB704X_Example mb704x) +add_example(MCP2515_Example mcp2515) +add_example(MCP2515_TXRX_Example mcp2515) +add_example(MD_Example md) +add_example(MHZ16_Example mhz16) +add_example(Microphone_Example mic) +add_example(MMA7361_Example mma7361) +add_example(MMA7455_Example mma7455) +add_example(MMA7660_Example mma7660) +add_example(Moisture_Example moisture) +add_example(MPL3115A2_Example mpl3115a2) +add_example(MPR121_Example mpr121) +add_example(MPU9150_Example mpu9150) +add_example(MQ2_Example gas) +add_example(MQ303A_Example mq303a) +add_example(MQ5_Example gas) +add_example(MS5803_Example ms5803) +add_example(NMEAGPS_Example nmea_gps) +add_example(NMEAGPS_I2C_Example nmea_gps) +add_example(NRF24L01_receiver_Example nrf24l01) +add_example(NRF24L01_transmitter_Example nrf24l01) +add_example(NUNCHUCK_Example nunchuck) +add_example(O2_Example o2) +add_example(OTP538U_Example otp538u) +add_example(P9813_Example p9813) +add_example(PPD42NS_Example ppd42ns) +add_example(Pulsensor_Example pulsensor) +add_example(Relay_Example relay) +add_example(RFR359F_Example rfr359f) +add_example(RN2903_Example rn2903) +add_example(RN2903_P2P_RX_Example rn2903) +add_example(RN2903_P2P_TX_Example rn2903) +add_example(RotaryEncoder_Example rotaryencoder) +add_example(Rotary_Example rotary) +add_example(RPR220_Example rpr220) +add_example(RPR220_intr_Example rpr220) +add_example(SCAM_Example scam) +add_example(SensorTemplate_Example sensortemplate) +add_example(SHT1X_Example sht1x) +add_example(Slide_Example slide) +add_example(SM130_Example sm130) +add_example(Speaker_Example speaker) +add_example(SpeakerPWM_Example speaker) +add_example(SSD1308_oled_Example lcd) +add_example(SSD1327_oled_Example lcd) +add_example(ST7735_Example st7735) +add_example(TEAMS_Example teams) +add_example(Temperature_Example temperature) +add_example(TEX00_Example tex00) +add_example(Th02_Example th02) +add_example(TM1637_Example tm1637) +add_example(TP401_Example gas) +add_example(TSL2561_Example tsl2561) +add_example(Tsl2561_Example tsl2561) +add_example(TTP223_Example ttp223) +add_example(ULN200XA_Example uln200xa) +add_example(VDiv_Example vdiv) +add_example(VEML6070_Example veml6070) +add_example(Water_Example water) +add_example(WaterLevelSensor_Example waterlevel) +add_example(WFS_Example wfs) +add_example(WT5001_Example wt5001) +add_example(YG1006_Example yg1006) +add_example(ZFM20_Example zfm20) if(SWIG_VERSION VERSION_GREATER 3.0.8) - add_example_multiple_jars(BME280_InterfaceExample bmp280 "bmp280;interfaces") + add_example(BME280_Interface_Example "bmp280;interfaces") + add_example(IMS_Example "ims;interfaces") + add_example(RHUSB_Example "rhusb;interfaces") endif() -add_example_with_path(BMC150_Example bmx055 bmx055) -add_example_with_path(BMI055_Example bmx055 bmx055) if (OPENZWAVE_FOUND) - add_example_with_path(AeotecSS6_Example ozw ozw) - add_example_with_path(AeotecSDG2_Example ozw ozw) - add_example_with_path(AeotecDW2E_Example ozw ozw) - add_example_with_path(AeotecDSB09104_Example ozw ozw) - add_example_with_path(TZEMT400_Example ozw ozw) + add_example(AeotecDSB09104_Example ozw) + add_example(AeotecDW2E_Example ozw) + add_example(AeotecSDG2_Example ozw) + add_example(AeotecSS6_Example ozw) + add_example(TZEMT400_Example ozw) endif() -add_example_with_path(NMEAGPS_I2C_Example nmea_gps nmea_gps) -add_example_with_path(MCP2515_TXRX_Example mcp2515 mcp2515) -add_example_with_path(LE910_Example uartat uartat) -add_example_with_path(SpeakerPWMSample speaker speaker) -add_example_with_path(RN2903_P2P_RX_Example rn2903 rn2903) -add_example_with_path(RN2903_P2P_TX_Example rn2903 rn2903) -add_example(KX122Example kx122) +if (MODBUS_FOUND) + add_example(H803X_Example h803x) +endif() + +if (BACNET_FOUND) + add_example(E50HX_Example e50hx) + add_example(T8100_Example t8100) + add_example(TB7300_Example tb7300) +endif() + +if (JPEG_FOUND) + add_example(VCAP_Example vcap) +endif() + +if (NOT ANDROID) + add_example(StepMotor_Example stepmotor) +endif () diff --git a/examples/java/Collision.java b/examples/java/Collision_Example.java similarity index 98% rename from examples/java/Collision.java rename to examples/java/Collision_Example.java index a89c4ff5..8a163d2d 100644 --- a/examples/java/Collision.java +++ b/examples/java/Collision_Example.java @@ -24,7 +24,7 @@ import upm_collision.*; -public class Collision { +public class Collision_Example { public static void main(String[] args) { // Initializing the sensor on D2 on the Base Shield diff --git a/examples/java/DFRPHSample.java b/examples/java/DFRPH_Example.java similarity index 98% rename from examples/java/DFRPHSample.java rename to examples/java/DFRPH_Example.java index edc6484d..14c6a18e 100644 --- a/examples/java/DFRPHSample.java +++ b/examples/java/DFRPH_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class DFRPHSample { +public class DFRPH_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/DS1307Sample.java b/examples/java/DS1307_Example.java similarity index 98% rename from examples/java/DS1307Sample.java rename to examples/java/DS1307_Example.java index 89ae5dc6..7a9212c7 100644 --- a/examples/java/DS1307Sample.java +++ b/examples/java/DS1307_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class DS1307Sample { +public class DS1307_Example { static private void printTime(upm_ds1307.DS1307 rtc) { System.out.print("The time is: " + rtc.getMonth() + "/" + rtc.getDayOfMonth() + "/" diff --git a/examples/java/ECS1030Example.java b/examples/java/ECS1030_Example.java similarity index 98% rename from examples/java/ECS1030Example.java rename to examples/java/ECS1030_Example.java index b9223496..d98ab5f6 100644 --- a/examples/java/ECS1030Example.java +++ b/examples/java/ECS1030_Example.java @@ -23,7 +23,7 @@ */ import upm_ecs1030.ECS1030; -public class ECS1030Example { +public class ECS1030_Example { static { try { diff --git a/examples/java/EHRSample.java b/examples/java/EHR_Example.java similarity index 98% rename from examples/java/EHRSample.java rename to examples/java/EHR_Example.java index 7ad3e4d3..253884d2 100644 --- a/examples/java/EHRSample.java +++ b/examples/java/EHR_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class EHRSample { +public class EHR_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/ENC03RSample.java b/examples/java/ENC03R_Example.java similarity index 98% rename from examples/java/ENC03RSample.java rename to examples/java/ENC03R_Example.java index 498d604c..2c05a955 100644 --- a/examples/java/ENC03RSample.java +++ b/examples/java/ENC03R_Example.java @@ -23,7 +23,7 @@ */ -public class ENC03RSample { +public class ENC03R_Example { private static final long CALIBRATION_SAMPLES = 1000; public static void main(String[] args) throws InterruptedException { diff --git a/examples/java/ES08ASample.java b/examples/java/ES08A_Example.java similarity index 98% rename from examples/java/ES08ASample.java rename to examples/java/ES08A_Example.java index 02852043..01db78c9 100644 --- a/examples/java/ES08ASample.java +++ b/examples/java/ES08A_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class ES08ASample { +public class ES08A_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] upm_servo.ES08A servo = new upm_servo.ES08A(6); diff --git a/examples/java/Emg.java b/examples/java/Emg_Example.java similarity index 98% rename from examples/java/Emg.java rename to examples/java/Emg_Example.java index 30f46dc0..a74f0858 100644 --- a/examples/java/Emg.java +++ b/examples/java/Emg_Example.java @@ -23,7 +23,7 @@ */ import upm_emg.EMG; -public class Emg { +public class Emg_Example { public static void main(String[] args) { // TODO Auto-generated method stub diff --git a/examples/java/FlexSensorExample.java b/examples/java/FlexSensor_Example.java similarity index 96% rename from examples/java/FlexSensorExample.java rename to examples/java/FlexSensor_Example.java index ce4e697e..46d8295e 100644 --- a/examples/java/FlexSensorExample.java +++ b/examples/java/FlexSensor_Example.java @@ -1,6 +1,6 @@ import upm_flex.Flex; -public class FlexSensorExample { +public class FlexSensor_Example { static { try { diff --git a/examples/java/GROVESCAMSample.java b/examples/java/GROVESCAM_Example.java similarity index 98% rename from examples/java/GROVESCAMSample.java rename to examples/java/GROVESCAM_Example.java index 1e4a3743..9fa6c33a 100644 --- a/examples/java/GROVESCAMSample.java +++ b/examples/java/GROVESCAM_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class GROVESCAMSample { +public class GROVESCAM_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/GUVAS12DSample.java b/examples/java/GUVAS12D_Example.java similarity index 98% rename from examples/java/GUVAS12DSample.java rename to examples/java/GUVAS12D_Example.java index 89c9f081..3167a3be 100644 --- a/examples/java/GUVAS12DSample.java +++ b/examples/java/GUVAS12D_Example.java @@ -23,7 +23,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class GUVAS12DSample { +public class GUVAS12D_Example { // analog voltage, usually 3.3 or 5.0 private static final float GUVAS12D_AREF = 5; diff --git a/examples/java/Gp2y0aExample.java b/examples/java/Gp2y0a_Example.java similarity index 98% rename from examples/java/Gp2y0aExample.java rename to examples/java/Gp2y0a_Example.java index 1501b877..d02b15d2 100644 --- a/examples/java/Gp2y0aExample.java +++ b/examples/java/Gp2y0a_Example.java @@ -23,7 +23,7 @@ */ import upm_gp2y0a.GP2Y0A; -public class Gp2y0aExample { +public class Gp2y0a_Example { public static final float GP2Y0A_AREF = 5; public static final short SAMPLES_PER_QUERY = 20; diff --git a/examples/java/GroveButtonSample.java b/examples/java/GroveButton_Example.java similarity index 97% rename from examples/java/GroveButtonSample.java rename to examples/java/GroveButton_Example.java index 9be6e2fc..479a6688 100644 --- a/examples/java/GroveButtonSample.java +++ b/examples/java/GroveButton_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class GroveButtonSample { +public class GroveButton_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/GroveButton_intrSample.java b/examples/java/GroveButton_intr_Example.java similarity index 95% rename from examples/java/GroveButton_intrSample.java rename to examples/java/GroveButton_intr_Example.java index ad0d72ee..4cf26b48 100644 --- a/examples/java/GroveButton_intrSample.java +++ b/examples/java/GroveButton_intr_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class GroveButton_intrSample { +public class GroveButton_intr_Example { public static int counter = 0; @@ -47,7 +47,7 @@ class ButtonISR implements Runnable { } public void run() { - GroveButton_intrSample.counter++; + GroveButton_intr_Example.counter++; System.out.println("Button pressed!"); } } \ No newline at end of file diff --git a/examples/java/GroveCollision.java b/examples/java/GroveCollision_Example.java similarity index 97% rename from examples/java/GroveCollision.java rename to examples/java/GroveCollision_Example.java index e1ace72e..50907f76 100644 --- a/examples/java/GroveCollision.java +++ b/examples/java/GroveCollision_Example.java @@ -24,7 +24,7 @@ import upm_grovecollision.*; -public class GroveCollision { +public class GroveCollision_Example { public static void main(String[] args) { // Initializing the sensor on D2 on the Base Shield diff --git a/examples/java/GroveEHRSample.java b/examples/java/GroveEHR_Example.java similarity index 98% rename from examples/java/GroveEHRSample.java rename to examples/java/GroveEHR_Example.java index ddec36ac..5a209b5e 100644 --- a/examples/java/GroveEHRSample.java +++ b/examples/java/GroveEHR_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class GroveEHRSample { +public class GroveEHR_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/GroveEmg.java b/examples/java/GroveEmg_Example.java similarity index 98% rename from examples/java/GroveEmg.java rename to examples/java/GroveEmg_Example.java index 98277011..5652f62c 100644 --- a/examples/java/GroveEmg.java +++ b/examples/java/GroveEmg_Example.java @@ -23,7 +23,7 @@ */ import upm_groveemg.GroveEMG; -public class GroveEmg { +public class GroveEmg_Example { public static void main(String[] args) { // TODO Auto-generated method stub diff --git a/examples/java/GroveGsr.java b/examples/java/GroveGsr_Example.java similarity index 98% rename from examples/java/GroveGsr.java rename to examples/java/GroveGsr_Example.java index d7e9a69c..3aaf5a9e 100644 --- a/examples/java/GroveGsr.java +++ b/examples/java/GroveGsr_Example.java @@ -24,7 +24,7 @@ import upm_grovegsr.GroveGSR; -public class GroveGsr { +public class GroveGsr_Example { public static void main(String[] args) { // TODO Auto-generated method stub diff --git a/examples/java/GroveLEDBar.java b/examples/java/GroveLEDBar_Example.java similarity index 97% rename from examples/java/GroveLEDBar.java rename to examples/java/GroveLEDBar_Example.java index 51d2f71c..2efd9ffb 100644 --- a/examples/java/GroveLEDBar.java +++ b/examples/java/GroveLEDBar_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class GroveLEDBar { +public class GroveLEDBar_Example { public static void main(String[] args) throws InterruptedException { //! [Interesting] diff --git a/examples/java/GroveLEDSample.java b/examples/java/GroveLED_Example.java similarity index 97% rename from examples/java/GroveLEDSample.java rename to examples/java/GroveLED_Example.java index b9964490..a065dc18 100644 --- a/examples/java/GroveLEDSample.java +++ b/examples/java/GroveLED_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class GroveLEDSample { +public class GroveLED_Example { public static void main (String args[]) throws InterruptedException { //! [Interesting] upm_grove.GroveLed led = new upm_grove.GroveLed(2); diff --git a/examples/java/GroveLed_multiSample.java b/examples/java/GroveLed_multi_Example.java similarity index 97% rename from examples/java/GroveLed_multiSample.java rename to examples/java/GroveLed_multi_Example.java index 98d792c7..9e213f80 100644 --- a/examples/java/GroveLed_multiSample.java +++ b/examples/java/GroveLed_multi_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class GroveLed_multiSample { +public class GroveLed_multi_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/GroveLightSample.java b/examples/java/GroveLight_Example.java similarity index 97% rename from examples/java/GroveLightSample.java rename to examples/java/GroveLight_Example.java index 611b744b..4b2549e1 100644 --- a/examples/java/GroveLightSample.java +++ b/examples/java/GroveLight_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class GroveLightSample { +public class GroveLight_Example { public static void main(String args[]) throws InterruptedException { // ! [Interesting] upm_grove.GroveLight gl = new upm_grove.GroveLight(2); diff --git a/examples/java/GroveLineFinderSample.java b/examples/java/GroveLineFinder_Example.java similarity index 97% rename from examples/java/GroveLineFinderSample.java rename to examples/java/GroveLineFinder_Example.java index 2baa418a..dc7b9664 100644 --- a/examples/java/GroveLineFinderSample.java +++ b/examples/java/GroveLineFinder_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class GroveLineFinderSample { +public class GroveLineFinder_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/GroveMDSample.java b/examples/java/GroveMD_Example.java similarity index 98% rename from examples/java/GroveMDSample.java rename to examples/java/GroveMD_Example.java index 9bb4bb7a..4c1306ea 100644 --- a/examples/java/GroveMDSample.java +++ b/examples/java/GroveMD_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class GroveMDSample { +public class GroveMD_Example { private static final short speed50 = 127; private static final short speed0 = 0; diff --git a/examples/java/GroveMQ3.java b/examples/java/GroveMQ3_Example.java similarity index 98% rename from examples/java/GroveMQ3.java rename to examples/java/GroveMQ3_Example.java index c101189c..08f36c6a 100644 --- a/examples/java/GroveMQ3.java +++ b/examples/java/GroveMQ3_Example.java @@ -34,7 +34,7 @@ import upm_gas.MQ9; import upm_gas.TP401; import upm_gas.thresholdContext; -public class GroveMQ3 { +public class GroveMQ3_Example { public static void main(String[] args) { // TODO Auto-generated method stub diff --git a/examples/java/GroveMQ9.java b/examples/java/GroveMQ9_Example.java similarity index 98% rename from examples/java/GroveMQ9.java rename to examples/java/GroveMQ9_Example.java index 24b916d5..082a5519 100644 --- a/examples/java/GroveMQ9.java +++ b/examples/java/GroveMQ9_Example.java @@ -34,7 +34,7 @@ import upm_gas.MQ9; import upm_gas.TP401; import upm_gas.thresholdContext; -public class GroveMQ9 { +public class GroveMQ9_Example { public static void main(String[] args) { // TODO Auto-generated method stub diff --git a/examples/java/GroveMoistureSample.java b/examples/java/GroveMoisture_Example.java similarity index 97% rename from examples/java/GroveMoistureSample.java rename to examples/java/GroveMoisture_Example.java index 8fb32d6e..62076914 100644 --- a/examples/java/GroveMoistureSample.java +++ b/examples/java/GroveMoisture_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class GroveMoistureSample { +public class GroveMoisture_Example { public static void main(String args[]) throws InterruptedException { // ! [Interesting] upm_grovemoisture.GroveMoisture gm = new upm_grovemoisture.GroveMoisture(1); diff --git a/examples/java/GroveO2Example.java b/examples/java/GroveO2_Example.java similarity index 98% rename from examples/java/GroveO2Example.java rename to examples/java/GroveO2_Example.java index 6ef0e61e..e50edb5a 100644 --- a/examples/java/GroveO2Example.java +++ b/examples/java/GroveO2_Example.java @@ -24,7 +24,7 @@ import upm_groveo2.GroveO2; -public class GroveO2Example { +public class GroveO2_Example { public static void main(String[] args) { // TODO Auto-generated method stub diff --git a/examples/java/GroveQTouch.java b/examples/java/GroveQTouch_Example.java similarity index 98% rename from examples/java/GroveQTouch.java rename to examples/java/GroveQTouch_Example.java index 795e4ac7..9b83af64 100644 --- a/examples/java/GroveQTouch.java +++ b/examples/java/GroveQTouch_Example.java @@ -24,7 +24,7 @@ import upm_at42qt1070.AT42QT1070; -public class GroveQTouch { +public class GroveQTouch_Example { public static void main(String[] args) { // TODO Auto-generated method stub diff --git a/examples/java/GroveRelaySample.java b/examples/java/GroveRelay_Example.java similarity index 97% rename from examples/java/GroveRelaySample.java rename to examples/java/GroveRelay_Example.java index 56a044b9..69d9b2b6 100644 --- a/examples/java/GroveRelaySample.java +++ b/examples/java/GroveRelay_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class GroveRelaySample { +public class GroveRelay_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] // Create the button object using UART diff --git a/examples/java/GroveRotarySample.java b/examples/java/GroveRotary_Example.java similarity index 98% rename from examples/java/GroveRotarySample.java rename to examples/java/GroveRotary_Example.java index f1b98c74..efddf1be 100644 --- a/examples/java/GroveRotarySample.java +++ b/examples/java/GroveRotary_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class GroveRotarySample { +public class GroveRotary_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/GroveSlideSample.java b/examples/java/GroveSlide_Example.java similarity index 97% rename from examples/java/GroveSlideSample.java rename to examples/java/GroveSlide_Example.java index b1597130..3f3ea80c 100644 --- a/examples/java/GroveSlideSample.java +++ b/examples/java/GroveSlide_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class GroveSlideSample { +public class GroveSlide_Example { public static void main (String args[]) throws InterruptedException { //! [Interesting] // Instantiate new grove slide potentiometer on analog pin A0 diff --git a/examples/java/GroveSpeakerSample.java b/examples/java/GroveSpeaker_Example.java similarity index 97% rename from examples/java/GroveSpeakerSample.java rename to examples/java/GroveSpeaker_Example.java index 2e96c893..b7524663 100644 --- a/examples/java/GroveSpeakerSample.java +++ b/examples/java/GroveSpeaker_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class GroveSpeakerSample { +public class GroveSpeaker_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/GroveTempSample.java b/examples/java/GroveTemp_Example.java similarity index 98% rename from examples/java/GroveTempSample.java rename to examples/java/GroveTemp_Example.java index 68788273..f09c9585 100644 --- a/examples/java/GroveTempSample.java +++ b/examples/java/GroveTemp_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class GroveTempSample { +public class GroveTemp_Example { public static void main (String args[]) throws InterruptedException { //! [Interesting] upm_grove.GroveTemp temp = new upm_grove.GroveTemp(3); diff --git a/examples/java/GroveUltraSonicSample.java b/examples/java/GroveUltraSonic_Example.java similarity index 97% rename from examples/java/GroveUltraSonicSample.java rename to examples/java/GroveUltraSonic_Example.java index e776b46a..1636b683 100644 --- a/examples/java/GroveUltraSonicSample.java +++ b/examples/java/GroveUltraSonic_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class GroveUltraSonicSample { +public class GroveUltraSonic_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/GroveVDivSample.java b/examples/java/GroveVDiv_Example.java similarity index 98% rename from examples/java/GroveVDivSample.java rename to examples/java/GroveVDiv_Example.java index 579f2c3b..a18ef706 100644 --- a/examples/java/GroveVDivSample.java +++ b/examples/java/GroveVDiv_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class GroveVDivSample { +public class GroveVDiv_Example { private static final short gain3 = 3; private static final short gain10 = 10; diff --git a/examples/java/GroveWFSSample.java b/examples/java/GroveWFS_Example.java similarity index 98% rename from examples/java/GroveWFSSample.java rename to examples/java/GroveWFS_Example.java index 5ab4997e..fd630182 100644 --- a/examples/java/GroveWFSSample.java +++ b/examples/java/GroveWFS_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class GroveWFSSample { +public class GroveWFS_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/GroveWaterSample.java b/examples/java/GroveWater_Example.java similarity index 97% rename from examples/java/GroveWaterSample.java rename to examples/java/GroveWater_Example.java index f275df77..e76446c6 100644 --- a/examples/java/GroveWaterSample.java +++ b/examples/java/GroveWater_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class GroveWaterSample { +public class GroveWater_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/Gsr.java b/examples/java/Gsr_Example.java similarity index 98% rename from examples/java/Gsr.java rename to examples/java/Gsr_Example.java index 13e9e78e..77ac7e43 100644 --- a/examples/java/Gsr.java +++ b/examples/java/Gsr_Example.java @@ -24,7 +24,7 @@ import upm_gsr.GSR; -public class Gsr { +public class Gsr_Example { public static void main(String[] args) { // TODO Auto-generated method stub diff --git a/examples/java/H3LIS331DLSample.java b/examples/java/H3LIS331DL_Example.java similarity index 98% rename from examples/java/H3LIS331DLSample.java rename to examples/java/H3LIS331DL_Example.java index 499ba870..50089d8b 100644 --- a/examples/java/H3LIS331DLSample.java +++ b/examples/java/H3LIS331DL_Example.java @@ -27,7 +27,7 @@ import java.util.AbstractList; import java.lang.Float; -public class H3LIS331DLSample { +public class H3LIS331DL_Example { public static void main(String[] args) throws InterruptedException { //! [Interesting] diff --git a/examples/java/HCSR04Sample.java b/examples/java/HCSR04_Example.java similarity index 98% rename from examples/java/HCSR04Sample.java rename to examples/java/HCSR04_Example.java index 5b02b677..9798d4e5 100644 --- a/examples/java/HCSR04Sample.java +++ b/examples/java/HCSR04_Example.java @@ -25,7 +25,7 @@ //NOT TESTED!!! import upm_hcsr04.*; -public class HCSR04Sample { +public class HCSR04_Example { // ! [Interesting] public static void main(String[] args) throws InterruptedException { diff --git a/examples/java/HM11Sample.java b/examples/java/HM11_Example.java similarity index 97% rename from examples/java/HM11Sample.java rename to examples/java/HM11_Example.java index b37ae216..f7ec8b03 100644 --- a/examples/java/HM11Sample.java +++ b/examples/java/HM11_Example.java @@ -23,12 +23,12 @@ */ //NOT TESTED!!! -public class HM11Sample { +public class HM11_Example { private static final int BUFSIZ = 1024; private static void printUsage() { - System.out.println("Usage: java HM11Sample [AT command]"); + System.out.println("Usage: java HM11_Example [AT command]"); System.out.println("If an argument is supplied on the command line, that argument is"); System.out.println("sent to the module and the response is printed out."); diff --git a/examples/java/HMTRPSample.java b/examples/java/HMTRP_Example.java similarity index 99% rename from examples/java/HMTRPSample.java rename to examples/java/HMTRP_Example.java index e6decce8..0a6ea918 100644 --- a/examples/java/HMTRPSample.java +++ b/examples/java/HMTRP_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class HMTRPSample { +public class HMTRP_Example { static private final int bufferLength = 255; diff --git a/examples/java/HP20xExample.java b/examples/java/HP20x_Example.java similarity index 98% rename from examples/java/HP20xExample.java rename to examples/java/HP20x_Example.java index 17e94411..9371908a 100644 --- a/examples/java/HP20xExample.java +++ b/examples/java/HP20x_Example.java @@ -24,7 +24,7 @@ import upm_hp20x.HP20X; -public class HP20xExample { +public class HP20x_Example { public static void main(String[] args) { // TODO Auto-generated method stub diff --git a/examples/java/HTU21DSample.java b/examples/java/HTU21D_Example.java similarity index 98% rename from examples/java/HTU21DSample.java rename to examples/java/HTU21D_Example.java index 092e1e98..85719bd7 100644 --- a/examples/java/HTU21DSample.java +++ b/examples/java/HTU21D_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class HTU21DSample { +public class HTU21D_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/Hmc5883lSample.java b/examples/java/Hmc5883l_Example.java similarity index 98% rename from examples/java/Hmc5883lSample.java rename to examples/java/Hmc5883l_Example.java index c16439c0..bdb52bda 100644 --- a/examples/java/Hmc5883lSample.java +++ b/examples/java/Hmc5883l_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class Hmc5883lSample { +public class Hmc5883l_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/Itg3200Sample.java b/examples/java/Itg3200_Example.java similarity index 98% rename from examples/java/Itg3200Sample.java rename to examples/java/Itg3200_Example.java index 9edaa923..41967fb5 100644 --- a/examples/java/Itg3200Sample.java +++ b/examples/java/Itg3200_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class Itg3200Sample { +public class Itg3200_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/Jhd1313m1Sample.java b/examples/java/Jhd1313m1_Example.java similarity index 98% rename from examples/java/Jhd1313m1Sample.java rename to examples/java/Jhd1313m1_Example.java index a4b02a08..7e5269da 100644 --- a/examples/java/Jhd1313m1Sample.java +++ b/examples/java/Jhd1313m1_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class Jhd1313m1Sample { +public class Jhd1313m1_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/Jhd1313m1_lcdSample.java b/examples/java/Jhd1313m1_lcd_Example.java similarity index 97% rename from examples/java/Jhd1313m1_lcdSample.java rename to examples/java/Jhd1313m1_lcd_Example.java index 803b50f3..781cb8f0 100644 --- a/examples/java/Jhd1313m1_lcdSample.java +++ b/examples/java/Jhd1313m1_lcd_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class Jhd1313m1_lcdSample{ +public class Jhd1313m1_lcd_Example{ public static void main(String[] args) throws InterruptedException { //! [Interesting] diff --git a/examples/java/Joystick12Sample.java b/examples/java/Joystick12_Example.java similarity index 97% rename from examples/java/Joystick12Sample.java rename to examples/java/Joystick12_Example.java index 31660bc3..cc2486b1 100644 --- a/examples/java/Joystick12Sample.java +++ b/examples/java/Joystick12_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class Joystick12Sample { +public class Joystick12_Example { public static void main(String[] args) throws InterruptedException { //! [Interesting] diff --git a/examples/java/Joystick12_exampleSample.java b/examples/java/Joystick12_example_Example.java similarity index 97% rename from examples/java/Joystick12_exampleSample.java rename to examples/java/Joystick12_example_Example.java index 442d59c3..8a76f05b 100644 --- a/examples/java/Joystick12_exampleSample.java +++ b/examples/java/Joystick12_example_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class Joystick12_exampleSample { +public class Joystick12_example_Example { public static void main(String[] args) throws InterruptedException { //! [Interesting] diff --git a/examples/java/KX122Example.java b/examples/java/KX122_Example.java similarity index 98% rename from examples/java/KX122Example.java rename to examples/java/KX122_Example.java index a4f1c98a..c3b04d7f 100644 --- a/examples/java/KX122Example.java +++ b/examples/java/KX122_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class KX122Example { +public class KX122_Example { public static void main(String[] args) throws InterruptedException { //! [Interesting] // Instantiate a KX122 diff --git a/examples/java/LCD_EBOLEDSample.java b/examples/java/LCD_EBOLED_Example.java similarity index 97% rename from examples/java/LCD_EBOLEDSample.java rename to examples/java/LCD_EBOLED_Example.java index e7eef910..f313da34 100644 --- a/examples/java/LCD_EBOLEDSample.java +++ b/examples/java/LCD_EBOLED_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class LCD_EBOLEDSample { +public class LCD_EBOLED_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/LCD_SSD1306Sample.java b/examples/java/LCD_SSD1306_Example.java similarity index 99% rename from examples/java/LCD_SSD1306Sample.java rename to examples/java/LCD_SSD1306_Example.java index cc330661..677b6b3d 100644 --- a/examples/java/LCD_SSD1306Sample.java +++ b/examples/java/LCD_SSD1306_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class LCD_SSD1306Sample { +public class LCD_SSD1306_Example { static private final int[] intel_logo = new int[]{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, diff --git a/examples/java/LDT0028Sample.java b/examples/java/LDT0028_Example.java similarity index 98% rename from examples/java/LDT0028Sample.java rename to examples/java/LDT0028_Example.java index 0d3970e2..5c0452b2 100644 --- a/examples/java/LDT0028Sample.java +++ b/examples/java/LDT0028_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class LDT0028Sample { +public class LDT0028_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/LEDSample.java b/examples/java/LED_Example.java similarity index 98% rename from examples/java/LEDSample.java rename to examples/java/LED_Example.java index 48e7b2e0..70180ecd 100644 --- a/examples/java/LEDSample.java +++ b/examples/java/LED_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class LEDSample { +public class LED_Example { public static void main (String args[]) throws InterruptedException { //! [Interesting] upm_led.Led led = new upm_led.Led(2); diff --git a/examples/java/LM35Sample.java b/examples/java/LM35_Example.java similarity index 95% rename from examples/java/LM35Sample.java rename to examples/java/LM35_Example.java index ab268f66..b3032118 100644 --- a/examples/java/LM35Sample.java +++ b/examples/java/LM35_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class LM35Sample { +public class LM35_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/LSM303DLHSample.java b/examples/java/LSM303DLH_Example.java similarity index 98% rename from examples/java/LSM303DLHSample.java rename to examples/java/LSM303DLH_Example.java index 1a6be86a..8c3a25dc 100644 --- a/examples/java/LSM303DLHSample.java +++ b/examples/java/LSM303DLH_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class LSM303DLHSample { +public class LSM303DLH_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/LSM9DS0Sample.java b/examples/java/LSM9DS0_Example.java similarity index 95% rename from examples/java/LSM9DS0Sample.java rename to examples/java/LSM9DS0_Example.java index bd75cc18..a84dc52c 100644 --- a/examples/java/LSM9DS0Sample.java +++ b/examples/java/LSM9DS0_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class LSM9DS0Sample { +public class LSM9DS0_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting diff --git a/examples/java/Lcm1602_i2cSample.java b/examples/java/Lcm1602_i2c_Example.java similarity index 97% rename from examples/java/Lcm1602_i2cSample.java rename to examples/java/Lcm1602_i2c_Example.java index a38619a0..b13e9cb5 100644 --- a/examples/java/Lcm1602_i2cSample.java +++ b/examples/java/Lcm1602_i2c_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class Lcm1602_i2cSample { +public class Lcm1602_i2c_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/Lcm1602_parallelSample.java b/examples/java/Lcm1602_parallel_Example.java similarity index 98% rename from examples/java/Lcm1602_parallelSample.java rename to examples/java/Lcm1602_parallel_Example.java index 35487753..64995b58 100644 --- a/examples/java/Lcm1602_parallelSample.java +++ b/examples/java/Lcm1602_parallel_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class Lcm1602_parallelSample { +public class Lcm1602_parallel_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/LightSample.java b/examples/java/Light_Example.java similarity index 98% rename from examples/java/LightSample.java rename to examples/java/Light_Example.java index 3ed87174..508a237c 100644 --- a/examples/java/LightSample.java +++ b/examples/java/Light_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class LightSample { +public class Light_Example { public static void main(String args[]) throws InterruptedException { // ! [Interesting] upm_light.Light gl = new upm_light.Light(0); diff --git a/examples/java/LineFinderSample.java b/examples/java/LineFinder_Example.java similarity index 98% rename from examples/java/LineFinderSample.java rename to examples/java/LineFinder_Example.java index 392c005e..a9257f4b 100644 --- a/examples/java/LineFinderSample.java +++ b/examples/java/LineFinder_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class LineFinderSample { +public class LineFinder_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/LoLSample.java b/examples/java/LoL_Example.java similarity index 98% rename from examples/java/LoLSample.java rename to examples/java/LoL_Example.java index c37a6cae..efa017d4 100644 --- a/examples/java/LoLSample.java +++ b/examples/java/LoL_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class LoLSample { +public class LoL_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/LoL_exampleSample.java b/examples/java/LoL_example_Example.java similarity index 97% rename from examples/java/LoL_exampleSample.java rename to examples/java/LoL_example_Example.java index b6d2bf38..e5b4794b 100644 --- a/examples/java/LoL_exampleSample.java +++ b/examples/java/LoL_example_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class LoL_exampleSample { +public class LoL_example_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/LoudnessSample.java b/examples/java/Loudness_Example.java similarity index 95% rename from examples/java/LoudnessSample.java rename to examples/java/Loudness_Example.java index 1a183b52..1d3fee93 100644 --- a/examples/java/LoudnessSample.java +++ b/examples/java/Loudness_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class LoudnessSample { +public class Loudness_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/M24LR64ESample.java b/examples/java/M24LR64E_Example.java similarity index 98% rename from examples/java/M24LR64ESample.java rename to examples/java/M24LR64E_Example.java index a0152a15..cdb2196c 100644 --- a/examples/java/M24LR64ESample.java +++ b/examples/java/M24LR64E_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class M24LR64ESample { +public class M24LR64E_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/MAX31855Example.java b/examples/java/MAX31855_Example.java similarity index 98% rename from examples/java/MAX31855Example.java rename to examples/java/MAX31855_Example.java index 078bee8e..124e6683 100644 --- a/examples/java/MAX31855Example.java +++ b/examples/java/MAX31855_Example.java @@ -23,7 +23,7 @@ */ import upm_max31855.MAX31855; -public class MAX31855Example { +public class MAX31855_Example { static { try { diff --git a/examples/java/MAX44000Sample.java b/examples/java/MAX44000_Example.java similarity index 97% rename from examples/java/MAX44000Sample.java rename to examples/java/MAX44000_Example.java index 67e7e03e..08242667 100644 --- a/examples/java/MAX44000Sample.java +++ b/examples/java/MAX44000_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class MAX44000Sample { +public class MAX44000_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/MAX5487Example.java b/examples/java/MAX5487_Example.java similarity index 98% rename from examples/java/MAX5487Example.java rename to examples/java/MAX5487_Example.java index 00846f49..cf06aa00 100644 --- a/examples/java/MAX5487Example.java +++ b/examples/java/MAX5487_Example.java @@ -23,7 +23,7 @@ */ import upm_max5487.MAX5487; -public class MAX5487Example { +public class MAX5487_Example { static { try { diff --git a/examples/java/MAXds3231mExample.java b/examples/java/MAXds3231m_Example.java similarity index 98% rename from examples/java/MAXds3231mExample.java rename to examples/java/MAXds3231m_Example.java index e844ccfa..9be92a51 100644 --- a/examples/java/MAXds3231mExample.java +++ b/examples/java/MAXds3231m_Example.java @@ -24,7 +24,7 @@ import upm_maxds3231m.MAXDS3231M; import upm_maxds3231m.Time3231; -public class MAXds3231mExample { +public class MAXds3231m_Example { static { try { diff --git a/examples/java/MCP9808Sample.java b/examples/java/MCP9808_Example.java similarity index 99% rename from examples/java/MCP9808Sample.java rename to examples/java/MCP9808_Example.java index 68bbe58a..2d8b8c31 100644 --- a/examples/java/MCP9808Sample.java +++ b/examples/java/MCP9808_Example.java @@ -24,7 +24,7 @@ import java.io.*; import upm_mcp9808.MCP9808; -public class MCP9808Sample { +public class MCP9808_Example { public static void main(String[] args) throws InterruptedException, IOException { // ! [Interesting] diff --git a/examples/java/MDSample.java b/examples/java/MD_Example.java similarity index 98% rename from examples/java/MDSample.java rename to examples/java/MD_Example.java index f635c270..d9e7d75b 100644 --- a/examples/java/MDSample.java +++ b/examples/java/MD_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class MDSample { +public class MD_Example { private static final short speed50 = 127; private static final short speed0 = 0; diff --git a/examples/java/MG811Sample.java b/examples/java/MG811_Example.java similarity index 95% rename from examples/java/MG811Sample.java rename to examples/java/MG811_Example.java index 01ddf87f..97cdec43 100644 --- a/examples/java/MG811Sample.java +++ b/examples/java/MG811_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class MG811Sample { +public class MG811_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/MHZ16Sample.java b/examples/java/MHZ16_Example.java similarity index 98% rename from examples/java/MHZ16Sample.java rename to examples/java/MHZ16_Example.java index 9059a23e..48da542b 100644 --- a/examples/java/MHZ16Sample.java +++ b/examples/java/MHZ16_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class MHZ16Sample { +public class MHZ16_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/MMA7455Sample.java b/examples/java/MMA7455_Example.java similarity index 98% rename from examples/java/MMA7455Sample.java rename to examples/java/MMA7455_Example.java index ebdc453d..b2e9234f 100644 --- a/examples/java/MMA7455Sample.java +++ b/examples/java/MMA7455_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class MMA7455Sample { +public class MMA7455_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/MMA7660Sample.java b/examples/java/MMA7660_Example.java similarity index 98% rename from examples/java/MMA7660Sample.java rename to examples/java/MMA7660_Example.java index 97c8c356..54844129 100644 --- a/examples/java/MMA7660Sample.java +++ b/examples/java/MMA7660_Example.java @@ -25,7 +25,7 @@ import upm_mma7660.MMA7660; -public class MMA7660Sample +public class MMA7660_Example { public static void main(String[] args) throws InterruptedException { diff --git a/examples/java/MPL3115A2Sample.java b/examples/java/MPL3115A2_Example.java similarity index 98% rename from examples/java/MPL3115A2Sample.java rename to examples/java/MPL3115A2_Example.java index 8f5b877b..f64298a3 100644 --- a/examples/java/MPL3115A2Sample.java +++ b/examples/java/MPL3115A2_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class MPL3115A2Sample { +public class MPL3115A2_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/MPR121Sample.java b/examples/java/MPR121_Example.java similarity index 95% rename from examples/java/MPR121Sample.java rename to examples/java/MPR121_Example.java index 37128b1b..d3329708 100644 --- a/examples/java/MPR121Sample.java +++ b/examples/java/MPR121_Example.java @@ -1,4 +1,4 @@ -public class MPR121Sample { +public class MPR121_Example { private static void printButtons(upm_mpr121.MPR121 touch) { boolean buttonPresed = false; diff --git a/examples/java/MPU9150Sample.java b/examples/java/MPU9150_Example.java similarity index 98% rename from examples/java/MPU9150Sample.java rename to examples/java/MPU9150_Example.java index 51de7151..4e5aa7cc 100644 --- a/examples/java/MPU9150Sample.java +++ b/examples/java/MPU9150_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class MPU9150Sample { +public class MPU9150_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/MQ2Sample.java b/examples/java/MQ2_Example.java similarity index 98% rename from examples/java/MQ2Sample.java rename to examples/java/MQ2_Example.java index fbad70a2..d84c6897 100644 --- a/examples/java/MQ2Sample.java +++ b/examples/java/MQ2_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class MQ2Sample { +public class MQ2_Example { private static final short resolution = 5; public static void main(String[] args) throws InterruptedException { diff --git a/examples/java/MQ303ASample.java b/examples/java/MQ303A_Example.java similarity index 98% rename from examples/java/MQ303ASample.java rename to examples/java/MQ303A_Example.java index bc1ca41f..9801e203 100644 --- a/examples/java/MQ303ASample.java +++ b/examples/java/MQ303A_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class MQ303ASample { +public class MQ303A_Example { public static void main(String[] args) throws InterruptedException { // Instantiate an mq303a sensor on analog pin A0 diff --git a/examples/java/MQ4Sample.java b/examples/java/MQ4_Example.java similarity index 98% rename from examples/java/MQ4Sample.java rename to examples/java/MQ4_Example.java index 75f1ee4a..8d3c39dd 100644 --- a/examples/java/MQ4Sample.java +++ b/examples/java/MQ4_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class MQ4Sample { +public class MQ4_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/MQ5Sample.java b/examples/java/MQ5_Example.java similarity index 98% rename from examples/java/MQ5Sample.java rename to examples/java/MQ5_Example.java index c2ae23d3..d7669e32 100644 --- a/examples/java/MQ5Sample.java +++ b/examples/java/MQ5_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class MQ5Sample { +public class MQ5_Example { private static final short resolution = 7; public static void main(String[] args) throws InterruptedException { diff --git a/examples/java/MQ6Sample.java b/examples/java/MQ6_Example.java similarity index 98% rename from examples/java/MQ6Sample.java rename to examples/java/MQ6_Example.java index 6d9f609d..9c99fa2a 100644 --- a/examples/java/MQ6Sample.java +++ b/examples/java/MQ6_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class MQ6Sample { +public class MQ6_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/MQ7Sample.java b/examples/java/MQ7_Example.java similarity index 95% rename from examples/java/MQ7Sample.java rename to examples/java/MQ7_Example.java index 2042950f..30bdd325 100644 --- a/examples/java/MQ7Sample.java +++ b/examples/java/MQ7_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class MQ7Sample { +public class MQ7_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/MQ8Sample.java b/examples/java/MQ8_Example.java similarity index 98% rename from examples/java/MQ8Sample.java rename to examples/java/MQ8_Example.java index 4774abb2..b24d5333 100644 --- a/examples/java/MQ8Sample.java +++ b/examples/java/MQ8_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class MQ8Sample { +public class MQ8_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/MicrophoneSample.java b/examples/java/Microphone_Example.java similarity index 98% rename from examples/java/MicrophoneSample.java rename to examples/java/Microphone_Example.java index d59fc323..47a1c0f2 100644 --- a/examples/java/MicrophoneSample.java +++ b/examples/java/Microphone_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class MicrophoneSample { +public class Microphone_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/MoistureSample.java b/examples/java/Moisture_Example.java similarity index 98% rename from examples/java/MoistureSample.java rename to examples/java/Moisture_Example.java index 5695ed70..0437ab3c 100644 --- a/examples/java/MoistureSample.java +++ b/examples/java/Moisture_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class MoistureSample { +public class Moisture_Example { public static void main(String args[]) throws InterruptedException { // ! [Interesting] upm_moisture.Moisture gm = new upm_moisture.Moisture(1); diff --git a/examples/java/NLGPIO16Sample.java b/examples/java/NLGPIO16_Example.java similarity index 98% rename from examples/java/NLGPIO16Sample.java rename to examples/java/NLGPIO16_Example.java index 99d12aa9..83b2fde1 100644 --- a/examples/java/NLGPIO16Sample.java +++ b/examples/java/NLGPIO16_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class NLGPIO16Sample { +public class NLGPIO16_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/NRF24L01_receiverSample.java b/examples/java/NRF24L01_receiver_Example.java similarity index 98% rename from examples/java/NRF24L01_receiverSample.java rename to examples/java/NRF24L01_receiver_Example.java index c5dc4819..9882d966 100644 --- a/examples/java/NRF24L01_receiverSample.java +++ b/examples/java/NRF24L01_receiver_Example.java @@ -25,7 +25,7 @@ import upm_nrf24l01.Callback; //NOT TESTED!!! -public class NRF24L01_receiverSample { +public class NRF24L01_receiver_Example { static private final byte[] local_address = {0x01, 0x01, 0x01, 0x01, 0x01}; static private final byte[] broadcast_address = {(byte) 0xFF, (byte) 0xFF, (byte) 0xFF, diff --git a/examples/java/NRF24L01_transmitterSample.java b/examples/java/NRF24L01_transmitter_Example.java similarity index 98% rename from examples/java/NRF24L01_transmitterSample.java rename to examples/java/NRF24L01_transmitter_Example.java index f2918f0b..ecd4c119 100644 --- a/examples/java/NRF24L01_transmitterSample.java +++ b/examples/java/NRF24L01_transmitter_Example.java @@ -25,7 +25,7 @@ import upm_nrf24l01.Callback; //NOT TESTED!!! -public class NRF24L01_transmitterSample { +public class NRF24L01_transmitter_Example { static private final byte[] destAddress = {0x01, 0x01, 0x01, 0x01, 0x01}; static private final byte[] srcAddress = {0x01, 0x01, 0x01, 0x01, 0x01}; diff --git a/examples/java/NUNCHUCKSample.java b/examples/java/NUNCHUCK_Example.java similarity index 98% rename from examples/java/NUNCHUCKSample.java rename to examples/java/NUNCHUCK_Example.java index c9bfb418..b65fc3b2 100644 --- a/examples/java/NUNCHUCKSample.java +++ b/examples/java/NUNCHUCK_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class NUNCHUCKSample { +public class NUNCHUCK_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/O2Example.java b/examples/java/O2_Example.java similarity index 98% rename from examples/java/O2Example.java rename to examples/java/O2_Example.java index e366815d..6572b686 100644 --- a/examples/java/O2Example.java +++ b/examples/java/O2_Example.java @@ -24,7 +24,7 @@ import upm_o2.O2; -public class O2Example { +public class O2_Example { public static void main(String[] args) { // TODO Auto-generated method stub diff --git a/examples/java/OTP538USample.java b/examples/java/OTP538U_Example.java similarity index 98% rename from examples/java/OTP538USample.java rename to examples/java/OTP538U_Example.java index 07b3ba9b..bd06bc82 100644 --- a/examples/java/OTP538USample.java +++ b/examples/java/OTP538U_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class OTP538USample { +public class OTP538U_Example { private static final float OTP538U_AREF = 5; public static void main(String[] args) throws InterruptedException { diff --git a/examples/java/P9813Sample.java b/examples/java/P9813_Example.java similarity index 98% rename from examples/java/P9813Sample.java rename to examples/java/P9813_Example.java index ce25384b..e9589606 100644 --- a/examples/java/P9813Sample.java +++ b/examples/java/P9813_Example.java @@ -23,7 +23,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class P9813Sample { +public class P9813_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/PN532Sample.java b/examples/java/PN532_Example.java similarity index 96% rename from examples/java/PN532Sample.java rename to examples/java/PN532_Example.java index 1e53767c..6d4dd4fc 100644 --- a/examples/java/PN532Sample.java +++ b/examples/java/PN532_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class PN532Sample { +public class PN532_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/PN532_writeurlSample.java b/examples/java/PN532_writeurl_Example.java similarity index 98% rename from examples/java/PN532_writeurlSample.java rename to examples/java/PN532_writeurl_Example.java index c88267aa..a63f16be 100644 --- a/examples/java/PN532_writeurlSample.java +++ b/examples/java/PN532_writeurl_Example.java @@ -23,7 +23,7 @@ */ // NOT TESTED!!! -public class PN532_writeurlSample { +public class PN532_writeurl_Example { static private final String url = "iotdk.intel.com"; diff --git a/examples/java/PPD42NSSample.java b/examples/java/PPD42NS_Example.java similarity index 98% rename from examples/java/PPD42NSSample.java rename to examples/java/PPD42NS_Example.java index 4d5178b9..39dde8a1 100644 --- a/examples/java/PPD42NSSample.java +++ b/examples/java/PPD42NS_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class PPD42NSSample { +public class PPD42NS_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/PulsensorSample.java b/examples/java/Pulsensor_Example.java similarity index 98% rename from examples/java/PulsensorSample.java rename to examples/java/Pulsensor_Example.java index fb1e85b1..dce1ba3f 100644 --- a/examples/java/PulsensorSample.java +++ b/examples/java/Pulsensor_Example.java @@ -24,7 +24,7 @@ import upm_pulsensor.*; -public class PulsensorSample { +public class Pulsensor_Example { static class PulsensorCallback extends Callback { public PulsensorCallback() { super(); diff --git a/examples/java/RFR359FSample.java b/examples/java/RFR359F_Example.java similarity index 98% rename from examples/java/RFR359FSample.java rename to examples/java/RFR359F_Example.java index 0c286de2..ecc39840 100644 --- a/examples/java/RFR359FSample.java +++ b/examples/java/RFR359F_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class RFR359FSample { +public class RFR359F_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/RHUSBSample.java b/examples/java/RHUSB_Example.java similarity index 98% rename from examples/java/RHUSBSample.java rename to examples/java/RHUSB_Example.java index 466590fe..2d7add07 100644 --- a/examples/java/RHUSBSample.java +++ b/examples/java/RHUSB_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class RHUSBSample { +public class RHUSB_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/RPR220Sample.java b/examples/java/RPR220_Example.java similarity index 98% rename from examples/java/RPR220Sample.java rename to examples/java/RPR220_Example.java index ae76be6d..5eaf67a1 100644 --- a/examples/java/RPR220Sample.java +++ b/examples/java/RPR220_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class RPR220Sample { +public class RPR220_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/RPR220_intrSample.java b/examples/java/RPR220_intr_Example.java similarity index 96% rename from examples/java/RPR220_intrSample.java rename to examples/java/RPR220_intr_Example.java index 1ea80b4f..be9e0abc 100644 --- a/examples/java/RPR220_intrSample.java +++ b/examples/java/RPR220_intr_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class RPR220_intrSample { +public class RPR220_intr_Example { public static int counter = 0; @@ -49,6 +49,6 @@ class RPRISR implements Runnable { super(); } public void run() { - RPR220_intrSample.counter++; + RPR220_intr_Example.counter++; } } \ No newline at end of file diff --git a/examples/java/RelaySample.java b/examples/java/Relay_Example.java similarity index 98% rename from examples/java/RelaySample.java rename to examples/java/Relay_Example.java index 678a64ab..9413d1c7 100644 --- a/examples/java/RelaySample.java +++ b/examples/java/Relay_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class RelaySample { +public class Relay_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] // Create the button object using UART diff --git a/examples/java/RotaryEncoderSample.java b/examples/java/RotaryEncoder_Example.java similarity index 97% rename from examples/java/RotaryEncoderSample.java rename to examples/java/RotaryEncoder_Example.java index 8272f573..1b56c005 100644 --- a/examples/java/RotaryEncoderSample.java +++ b/examples/java/RotaryEncoder_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class RotaryEncoderSample { +public class RotaryEncoder_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/RotarySample.java b/examples/java/Rotary_Example.java similarity index 98% rename from examples/java/RotarySample.java rename to examples/java/Rotary_Example.java index b5cf288d..848d2fa1 100644 --- a/examples/java/RotarySample.java +++ b/examples/java/Rotary_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class RotarySample { +public class Rotary_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/SCAMSample.java b/examples/java/SCAM_Example.java similarity index 98% rename from examples/java/SCAMSample.java rename to examples/java/SCAM_Example.java index 55078770..8b31f022 100644 --- a/examples/java/SCAMSample.java +++ b/examples/java/SCAM_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class SCAMSample { +public class SCAM_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/SM130Example.java b/examples/java/SM130_Example.java similarity index 98% rename from examples/java/SM130Example.java rename to examples/java/SM130_Example.java index 16f056d7..7baffe70 100644 --- a/examples/java/SM130Example.java +++ b/examples/java/SM130_Example.java @@ -23,7 +23,7 @@ */ import upm_sm130.SM130; -public class SM130Example { +public class SM130_Example { static { try { diff --git a/examples/java/SSD1308_oledSample.java b/examples/java/SSD1308_oled_Example.java similarity index 99% rename from examples/java/SSD1308_oledSample.java rename to examples/java/SSD1308_oled_Example.java index 4a5b2d51..c84e8574 100644 --- a/examples/java/SSD1308_oledSample.java +++ b/examples/java/SSD1308_oled_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class SSD1308_oledSample { +public class SSD1308_oled_Example { static private final int[] IntelLogo = new int[]{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 128, 128, 128, 192, diff --git a/examples/java/SSD1327_oledSample.java b/examples/java/SSD1327_oled_Example.java similarity index 99% rename from examples/java/SSD1327_oledSample.java rename to examples/java/SSD1327_oled_Example.java index ed5128a8..e6c0e749 100644 --- a/examples/java/SSD1327_oledSample.java +++ b/examples/java/SSD1327_oled_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class SSD1327_oledSample { +public class SSD1327_oled_Example { static private final int[] SeeedLogo = new int[]{0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x04, 0x00, 0x00, diff --git a/examples/java/ST7735Sample.java b/examples/java/ST7735_Example.java similarity index 98% rename from examples/java/ST7735Sample.java rename to examples/java/ST7735_Example.java index a866e987..930aa4c6 100644 --- a/examples/java/ST7735Sample.java +++ b/examples/java/ST7735_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class ST7735Sample { +public class ST7735_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/SensorTemplateSample.java b/examples/java/SensorTemplate_Example.java similarity index 97% rename from examples/java/SensorTemplateSample.java rename to examples/java/SensorTemplate_Example.java index 82590318..17529ccb 100644 --- a/examples/java/SensorTemplateSample.java +++ b/examples/java/SensorTemplate_Example.java @@ -23,7 +23,7 @@ */ -public class SensorTemplateSample { +public class SensorTemplate_Example { public static void main (String args[]) throws InterruptedException { //! [Interesting] // Instantiate new sensor instance diff --git a/examples/java/SlideSample.java b/examples/java/Slide_Example.java similarity index 98% rename from examples/java/SlideSample.java rename to examples/java/Slide_Example.java index 32314519..245e8fa5 100644 --- a/examples/java/SlideSample.java +++ b/examples/java/Slide_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class SlideSample { +public class Slide_Example { public static void main (String args[]) throws InterruptedException { //! [Interesting] // Instantiate new grove slide potentiometer on analog pin A0 diff --git a/examples/java/SpeakerPWMSample.java b/examples/java/SpeakerPWM_Example.java similarity index 98% rename from examples/java/SpeakerPWMSample.java rename to examples/java/SpeakerPWM_Example.java index 9f256aa9..b32212f5 100644 --- a/examples/java/SpeakerPWMSample.java +++ b/examples/java/SpeakerPWM_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class SpeakerPWMSample { +public class SpeakerPWM_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/SpeakerSample.java b/examples/java/Speaker_Example.java similarity index 98% rename from examples/java/SpeakerSample.java rename to examples/java/Speaker_Example.java index 941ddb42..0c03d9cb 100644 --- a/examples/java/SpeakerSample.java +++ b/examples/java/Speaker_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class SpeakerSample { +public class Speaker_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/StepMotorSample.java b/examples/java/StepMotor_Example.java similarity index 98% rename from examples/java/StepMotorSample.java rename to examples/java/StepMotor_Example.java index 88cbe5a0..b90946b8 100644 --- a/examples/java/StepMotorSample.java +++ b/examples/java/StepMotor_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class StepMotorSample { +public class StepMotor_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/TM1637Sample.java b/examples/java/TM1637_Example.java similarity index 98% rename from examples/java/TM1637Sample.java rename to examples/java/TM1637_Example.java index 840b9690..6fc7bc18 100644 --- a/examples/java/TM1637Sample.java +++ b/examples/java/TM1637_Example.java @@ -25,7 +25,7 @@ import java.time.LocalDateTime; //NOT TESTED!!! -public class TM1637Sample { +public class TM1637_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/TP401Sample.java b/examples/java/TP401_Example.java similarity index 98% rename from examples/java/TP401Sample.java rename to examples/java/TP401_Example.java index 89ac2b13..c3b62875 100644 --- a/examples/java/TP401Sample.java +++ b/examples/java/TP401_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class TP401Sample { +public class TP401_Example { private static String airQuality(int value) { if (value < 50) return "Fresh Air"; diff --git a/examples/java/TSL2561Sample.java b/examples/java/TSL2561_Example.java similarity index 97% rename from examples/java/TSL2561Sample.java rename to examples/java/TSL2561_Example.java index d3664465..0f49c87d 100644 --- a/examples/java/TSL2561Sample.java +++ b/examples/java/TSL2561_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class TSL2561Sample { +public class TSL2561_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/TTP223Sample.java b/examples/java/TTP223_Example.java similarity index 98% rename from examples/java/TTP223Sample.java rename to examples/java/TTP223_Example.java index 394efb53..5aa00164 100644 --- a/examples/java/TTP223Sample.java +++ b/examples/java/TTP223_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class TTP223Sample { +public class TTP223_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/TemperatureSample.java b/examples/java/Temperature_Example.java similarity index 97% rename from examples/java/TemperatureSample.java rename to examples/java/Temperature_Example.java index 8cfe059f..9354f2a3 100644 --- a/examples/java/TemperatureSample.java +++ b/examples/java/Temperature_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class TemperatureSample { +public class Temperature_Example { public static void main (String args[]) throws InterruptedException { //! [Interesting] upm_temperature.Temperature temp = new upm_temperature.Temperature(3); diff --git a/examples/java/Th02Example.java b/examples/java/Th02_Example.java similarity index 98% rename from examples/java/Th02Example.java rename to examples/java/Th02_Example.java index 206f89ec..0b039de4 100644 --- a/examples/java/Th02Example.java +++ b/examples/java/Th02_Example.java @@ -23,7 +23,7 @@ */ import upm_th02.TH02; -public class Th02Example { +public class Th02_Example { public static void main(String[] args) { // TODO Auto-generated method stub diff --git a/examples/java/Tsl2561.java b/examples/java/Tsl2561_Example.java similarity index 98% rename from examples/java/Tsl2561.java rename to examples/java/Tsl2561_Example.java index 895b2e5d..4033c4ec 100644 --- a/examples/java/Tsl2561.java +++ b/examples/java/Tsl2561_Example.java @@ -23,7 +23,7 @@ */ import upm_tsl2561.TSL2561; -public class Tsl2561 { +public class Tsl2561_Example { static { try { diff --git a/examples/java/ULN200XASample.java b/examples/java/ULN200XA_Example.java similarity index 98% rename from examples/java/ULN200XASample.java rename to examples/java/ULN200XA_Example.java index c7b5ac44..0c5472cf 100644 --- a/examples/java/ULN200XASample.java +++ b/examples/java/ULN200XA_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class ULN200XASample { +public class ULN200XA_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/VDivSample.java b/examples/java/VDiv_Example.java similarity index 98% rename from examples/java/VDivSample.java rename to examples/java/VDiv_Example.java index cb5b2cd5..732b1f52 100644 --- a/examples/java/VDivSample.java +++ b/examples/java/VDiv_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class VDivSample { +public class VDiv_Example { private static final short gain3 = 3; private static final short gain10 = 10; diff --git a/examples/java/VEML6070Sample.java b/examples/java/VEML6070_Example.java similarity index 98% rename from examples/java/VEML6070Sample.java rename to examples/java/VEML6070_Example.java index d0b07460..19bfdb7d 100644 --- a/examples/java/VEML6070Sample.java +++ b/examples/java/VEML6070_Example.java @@ -24,7 +24,7 @@ import upm_veml6070.VEML6070; -public class VEML6070Sample { +public class VEML6070_Example { public static void main(String[] args) { // TODO Auto-generated method stub diff --git a/examples/java/WFSSample.java b/examples/java/WFS_Example.java similarity index 98% rename from examples/java/WFSSample.java rename to examples/java/WFS_Example.java index 5ba9303f..826e3cef 100644 --- a/examples/java/WFSSample.java +++ b/examples/java/WFS_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class WFSSample { +public class WFS_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/WT5001Sample.java b/examples/java/WT5001_Example.java similarity index 97% rename from examples/java/WT5001Sample.java rename to examples/java/WT5001_Example.java index 2266b3dd..89689031 100644 --- a/examples/java/WT5001Sample.java +++ b/examples/java/WT5001_Example.java @@ -25,10 +25,10 @@ import java.io.IOException; */ //NOT TESTED!!! -public class WT5001Sample { +public class WT5001_Example { static private void printUsage() { - System.out.println("Usage: java WT5001Sample "); + System.out.println("Usage: java WT5001_Example "); System.out.println("Commands:"); System.out.println("0 - stop playing"); System.out.println("1 - start playing track 1"); diff --git a/examples/java/WaterLevelSensor.java b/examples/java/WaterLevelSensor_Example.java similarity index 97% rename from examples/java/WaterLevelSensor.java rename to examples/java/WaterLevelSensor_Example.java index c13ec5b7..537d85ba 100644 --- a/examples/java/WaterLevelSensor.java +++ b/examples/java/WaterLevelSensor_Example.java @@ -24,7 +24,7 @@ import upm_waterlevel.WaterLevel; -public class WaterLevelSensor { +public class WaterLevelSensor_Example { public static void main(String[] args) { // TODO Auto-generated method stub diff --git a/examples/java/WaterSample.java b/examples/java/Water_Example.java similarity index 98% rename from examples/java/WaterSample.java rename to examples/java/Water_Example.java index b4ae2427..b807c031 100644 --- a/examples/java/WaterSample.java +++ b/examples/java/Water_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class WaterSample { +public class Water_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/WheelEncoderSample.java b/examples/java/WheelEncoder_Example.java similarity index 95% rename from examples/java/WheelEncoderSample.java rename to examples/java/WheelEncoder_Example.java index 1f7a64e4..6ff46a35 100644 --- a/examples/java/WheelEncoderSample.java +++ b/examples/java/WheelEncoder_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class WheelEncoderSample { +public class WheelEncoder_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/YG1006Sample.java b/examples/java/YG1006_Example.java similarity index 98% rename from examples/java/YG1006Sample.java rename to examples/java/YG1006_Example.java index b9948296..e5dce833 100644 --- a/examples/java/YG1006Sample.java +++ b/examples/java/YG1006_Example.java @@ -22,7 +22,7 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -public class YG1006Sample { +public class YG1006_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/examples/java/ZFM20Sample.java b/examples/java/ZFM20_Example.java similarity index 99% rename from examples/java/ZFM20Sample.java rename to examples/java/ZFM20_Example.java index 3a36b846..cbfa4f26 100644 --- a/examples/java/ZFM20Sample.java +++ b/examples/java/ZFM20_Example.java @@ -23,7 +23,7 @@ */ //NOT TESTED!!! -public class ZFM20Sample { +public class ZFM20_Example { public static void main(String[] args) throws InterruptedException { // ! [Interesting] diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b592b92f..bdb79664 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -53,8 +53,8 @@ function (_get_dependency_targets target return_variable) # Get the LINK_LIBRARIES property of the target get_target_property(_dep_libs ${target} LINK_LIBRARIES) - # Remove this libname from the _dep_libs (if it exists) - list(REMOVE_ITEM _dep_libs ${libname}) + # Remove this target from the _dep_libs (if it exists) + list(REMOVE_ITEM _dep_libs ${target}) # Check if any of the LINK_LIBRARIES are targets in this project, # if so, add them to ${return_variable} @@ -576,6 +576,10 @@ function(upm_swig_java) COMMAND ${JAR} cf upm_${libname}.jar upm_${libname} ) + # Save the absolute path of the jar file as a property of this java target + set_target_properties (javaupm_${libname} PROPERTIES + JAR_FILE_ABSOLUTE ${CMAKE_CURRENT_BINARY_DIR}/upm_${libname}.jar) + # Keep track of all JAVA targets set(UPM_TARGETS_JAVA ${UPM_TARGETS_JAVA} javaupm_${libname} CACHE INTERNAL "List of JAVA target names") endif (NOT ";${JAVASWIG_BLACKLIST};" MATCHES ";${libname};") diff --git a/src/a110x/a110x.json b/src/a110x/a110x.json index f01a72c7..48d8649e 100644 --- a/src/a110x/a110x.json +++ b/src/a110x/a110x.json @@ -1,72 +1,72 @@ -{ - "Library": "a110x", - "Description": "A110X Hall Effect Library", - "Sensor Class": - { - "A110X": - { - "Name": "API for the A110X Hall Effect Sensors", - "Description": "UPM module for the A110X (A1101, A1102, A1103, A1104, and A1106) Hall Effect sensors. It outputs a digital signal indicating whether it is detecting a magnetic field with south polarity perpendicular to the sensor element.", - "Aliases": ["a1101", "a1102", "a1103", "a1104", "a1106"], - "Categories": ["halleffect"], - "Connections": ["gpio"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["seeed"], - "Kits": ["robok"], - "Image": "a110x.jpg", - "Examples": - { - "Java": ["A110XSample.java", "A110X_intrSample.java"], - "Python": ["a110x.py"], - "Node.js": ["a110x.js"], - "C++": ["a110x-intr.cxx", "a110x.cxx"], - "C": ["a110x.c"] - }, - "Specifications": - { - "Vcc": {"unit": "V", "low" : 3.8, "high": 24}, - "Ioutoff" : {"unit": "uA", "low" : 0.0, "high": 10}, - "Supply Current": {"unit": "mA", "low": 3.8, "high": 7.5}, - "a1101" : { - "Operate Point": {"unit": "G", "low": 50, "high": 160}, - "Release Point": {"unit": "G", "low": 10, "high": 130}, - "Hysteresis": {"unit": "G", "low": 20, "high": 80} - }, - "a1102" : { - "Operate Point": {"unit": "G", "low": 130, "high": 230}, - "Release Point": {"unit": "G", "low": 75, "high": 175}, - "Hysteresis": {"unit": "G", "low": 30, "high": 80} - }, - "a1103" : { - "Operate Point": {"unit": "G", "low": 220, "high": 340}, - "Release Point": {"unit": "G", "low": 165, "high": 285}, - "Hysteresis": {"unit": "G", "low": 30, "high": 80} - }, - "a1104" : { - "Operate Point": {"unit": "G", "low": 70, "high": 350}, - "Release Point": {"unit": "G", "low": 50, "high": 330}, - "Hysteresis": {"unit": "G", "low": 20} - }, - "a1106" : { - "Operate Point": {"unit": "G", "low": 280, "high": 400}, - "Release Point": {"unit": "G", "low": 180, "high": 300}, - "Hysteresis": {"unit": "G", "low": 70, "high": 140} - } - }, - "Platforms": - { - "Intel Joule Module": - { - "Notes": ["Requires pull-up resistors with carrier board"], - "Images": [""] - } - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/grove-hall-sensor-p-965.html"], - "Datasheets": ["http://www.allegromicro.com/en/Products/Part_Numbers/1101/1101.pdf"], - "Schematics": ["https://learn.adafruit.com/assets/26693"] - } - } - } -} +{ + "Library": "a110x", + "Description": "A110X Hall Effect Library", + "Sensor Class": + { + "A110X": + { + "Name": "API for the A110X Hall Effect Sensors", + "Description": "UPM module for the A110X (A1101, A1102, A1103, A1104, and A1106) Hall Effect sensors. It outputs a digital signal indicating whether it is detecting a magnetic field with south polarity perpendicular to the sensor element.", + "Aliases": ["a1101", "a1102", "a1103", "a1104", "a1106"], + "Categories": ["halleffect"], + "Connections": ["gpio"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["seeed"], + "Kits": ["robok"], + "Image": "a110x.jpg", + "Examples": + { + "Java": ["A110X_Example.java", "A110X_intr_Example.java"], + "Python": ["a110x.py"], + "Node.js": ["a110x.js"], + "C++": ["a110x-intr.cxx", "a110x.cxx"], + "C": ["a110x.c"] + }, + "Specifications": + { + "Vcc": {"unit": "V", "low" : 3.8, "high": 24}, + "Ioutoff" : {"unit": "uA", "low" : 0.0, "high": 10}, + "Supply Current": {"unit": "mA", "low": 3.8, "high": 7.5}, + "a1101" : { + "Operate Point": {"unit": "G", "low": 50, "high": 160}, + "Release Point": {"unit": "G", "low": 10, "high": 130}, + "Hysteresis": {"unit": "G", "low": 20, "high": 80} + }, + "a1102" : { + "Operate Point": {"unit": "G", "low": 130, "high": 230}, + "Release Point": {"unit": "G", "low": 75, "high": 175}, + "Hysteresis": {"unit": "G", "low": 30, "high": 80} + }, + "a1103" : { + "Operate Point": {"unit": "G", "low": 220, "high": 340}, + "Release Point": {"unit": "G", "low": 165, "high": 285}, + "Hysteresis": {"unit": "G", "low": 30, "high": 80} + }, + "a1104" : { + "Operate Point": {"unit": "G", "low": 70, "high": 350}, + "Release Point": {"unit": "G", "low": 50, "high": 330}, + "Hysteresis": {"unit": "G", "low": 20} + }, + "a1106" : { + "Operate Point": {"unit": "G", "low": 280, "high": 400}, + "Release Point": {"unit": "G", "low": 180, "high": 300}, + "Hysteresis": {"unit": "G", "low": 70, "high": 140} + } + }, + "Platforms": + { + "Intel Joule Module": + { + "Notes": ["Requires pull-up resistors with carrier board"], + "Images": [""] + } + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/grove-hall-sensor-p-965.html"], + "Datasheets": ["http://www.allegromicro.com/en/Products/Part_Numbers/1101/1101.pdf"], + "Schematics": ["https://learn.adafruit.com/assets/26693"] + } + } + } +} diff --git a/src/ad8232/ad8232.json b/src/ad8232/ad8232.json index 99d59023..4ccc2b44 100644 --- a/src/ad8232/ad8232.json +++ b/src/ad8232/ad8232.json @@ -16,7 +16,7 @@ "Image": "ad8232.jpg", "Examples": { - "Java": ["Ad8232Example.java"], + "Java": ["Ad8232_Example.java"], "Python": ["ad8232.py"], "Node.js": ["ad8232.js"], "C++": ["ad8232.cxx"] diff --git a/src/adafruitms1438/adafruitms1438.json b/src/adafruitms1438/adafruitms1438.json index 2a1bcd81..ce2837ba 100644 --- a/src/adafruitms1438/adafruitms1438.json +++ b/src/adafruitms1438/adafruitms1438.json @@ -1,48 +1,48 @@ -{ - "Library": "adafruitms1438", - "Description": "Module for the Adafruit Motor Shield 1438", - "Sensor Class": - { - "AdafruitMS1438": - { - "Name": "API for the AdafruitMS1438 Motor Shield", - "Description": "This class implements support for the stepper and DC motors that can be connected to this Motor Shield.", - "Aliases": ["adafruitms1438"], - "Categories": ["motor"], - "Connections": ["i2c"], - "Project Type": ["motor"], - "Manufacturers": ["adafruit"], - "Kits": [], - "Image": "adafruitms1438.jpg", - "Examples": - { - "Java": [], - "Python": ["adafruitms1438-stepper.py", "adafruitms1438.py"], - "Node.js": ["adafruitms1438-stepper.js", "adafruitms1438.js"], - "C++": ["adafruitms1438-stepper.cxx", "adafruitms1438.cxx"], - "C": [] - }, - "Specifications": - { - "Vmotor": {"unit": "V", "low": 4.5, "high": 13.5}, - "Amotor": {"unit": "A", "high": 1.2}, - "Apeak": {"unit": "A", "high": 3}, - "Vlogic": {"unit": "V", "low": 3.3, "high": 5} - }, - "Platforms": - { - "Intel Joule Module": - { - "Notes": ["The two servo connections are not controlled by the PCA9685 controller (or this class). They are connected directly to digital PWM pins 9 and 10 on the Arduino* breakout board."], - "Images": [""] - } - }, - "Urls" : - { - "Product Pages": ["https://www.adafruit.com/products/1438"], - "Datasheets": ["https://cdn-shop.adafruit.com/datasheets/TB6612FNG_datasheet_en_20121101.pdf"], - "Schematics": ["https://learn.adafruit.com/adafruit-motor-shield-v2-for-arduino"] - } - } - } -} +{ + "Library": "adafruitms1438", + "Description": "Module for the Adafruit Motor Shield 1438", + "Sensor Class": + { + "AdafruitMS1438": + { + "Name": "API for the AdafruitMS1438 Motor Shield", + "Description": "This class implements support for the stepper and DC motors that can be connected to this Motor Shield.", + "Aliases": ["adafruitms1438"], + "Categories": ["motor"], + "Connections": ["i2c"], + "Project Type": ["motor"], + "Manufacturers": ["adafruit"], + "Kits": [], + "Image": "adafruitms1438.jpg", + "Examples": + { + "Java": [], + "Python": ["adafruitms1438-stepper.py", "adafruitms1438.py"], + "Node.js": ["adafruitms1438-stepper.js", "adafruitms1438.js"], + "C++": ["adafruitms1438-stepper.cxx", "adafruitms1438.cxx"], + "C": [] + }, + "Specifications": + { + "Vmotor": {"unit": "V", "low": 4.5, "high": 13.5}, + "Amotor": {"unit": "A", "high": 1.2}, + "Apeak": {"unit": "A", "high": 3}, + "Vlogic": {"unit": "V", "low": 3.3, "high": 5} + }, + "Platforms": + { + "Intel Joule Module": + { + "Notes": ["The two servo connections are not controlled by the PCA9685 controller (or this class). They are connected directly to digital PWM pins 9 and 10 on the Arduino* breakout board."], + "Images": [""] + } + }, + "Urls" : + { + "Product Pages": ["https://www.adafruit.com/products/1438"], + "Datasheets": ["https://cdn-shop.adafruit.com/datasheets/TB6612FNG_datasheet_en_20121101.pdf"], + "Schematics": ["https://learn.adafruit.com/adafruit-motor-shield-v2-for-arduino"] + } + } + } +} diff --git a/src/adafruitss/adafruitss.json b/src/adafruitss/adafruitss.json index 7900ce9e..af4c5941 100644 --- a/src/adafruitss/adafruitss.json +++ b/src/adafruitss/adafruitss.json @@ -1,47 +1,47 @@ -{ - "Library": "adafruitss", - "Description": "Adafruit Servo Shield", - "Sensor Class": - { - "adafruitss": - { - "Name": "Adafruit PCA9685-based Servo Shield library", - "Description": "UPM library for the PCA9685-based Adafruit 16-channel servo shield.", - "Aliases": ["adafruitss"], - "Categories": ["servos"], - "Connections": ["i2c"], - "Project Type": ["servos"], - "Manufacturers": ["adafruit"], - "Kits": [], - "Image": "adafruitss.jpg", - "Examples": - { - "Java": [], - "Python": [], - "Node.js": [], - "C++": ["adafruitss.cxx"], - "C": [] - }, - "Specifications": - { - "Vmotor": {"unit": "v", "low": 0, "high": 6}, - "Vlogic": {"unit": "V", "low": 3.3, "high": 5}, - "PWM Frequency": {"unit": "KHz", "high": 1.6} - }, - "Platforms": - { - "Intel Joule Module": - { - "Notes": ["If 3 or more GWS servos are attached, results could be unpredictable. Adafruit Industries recommend installing a capacitor on the board, which should alleviate the issue. Sizing depends on servos and their number."], - "Images": [""] - } - }, - "Urls" : - { - "Product Pages": ["http://www.adafruit.com/product/1411"], - "Datasheets": ["https://cdn-shop.adafruit.com/datasheets/PCA9685.pdf"], - "Schematics": ["https://learn.adafruit.com/assets/36081"] - } - } - } -} +{ + "Library": "adafruitss", + "Description": "Adafruit Servo Shield", + "Sensor Class": + { + "adafruitss": + { + "Name": "Adafruit PCA9685-based Servo Shield library", + "Description": "UPM library for the PCA9685-based Adafruit 16-channel servo shield.", + "Aliases": ["adafruitss"], + "Categories": ["servos"], + "Connections": ["i2c"], + "Project Type": ["servos"], + "Manufacturers": ["adafruit"], + "Kits": [], + "Image": "adafruitss.jpg", + "Examples": + { + "Java": [], + "Python": [], + "Node.js": [], + "C++": ["adafruitss.cxx"], + "C": [] + }, + "Specifications": + { + "Vmotor": {"unit": "v", "low": 0, "high": 6}, + "Vlogic": {"unit": "V", "low": 3.3, "high": 5}, + "PWM Frequency": {"unit": "KHz", "high": 1.6} + }, + "Platforms": + { + "Intel Joule Module": + { + "Notes": ["If 3 or more GWS servos are attached, results could be unpredictable. Adafruit Industries recommend installing a capacitor on the board, which should alleviate the issue. Sizing depends on servos and their number."], + "Images": [""] + } + }, + "Urls" : + { + "Product Pages": ["http://www.adafruit.com/product/1411"], + "Datasheets": ["https://cdn-shop.adafruit.com/datasheets/PCA9685.pdf"], + "Schematics": ["https://learn.adafruit.com/assets/36081"] + } + } + } +} diff --git a/src/adc121c021/adc121c021.json b/src/adc121c021/adc121c021.json index 85418520..84fb1a03 100644 --- a/src/adc121c021/adc121c021.json +++ b/src/adc121c021/adc121c021.json @@ -1,47 +1,47 @@ -{ - "Library": "adc121c021", - "Description": "I2C 12-bit Analog to Digital Converter with Alert Pin", - "Sensor Class": - { - "ADC121C021": - { - "Name": "API for the ADC121C021 I2C Analog-to-Digital Converter", - "Description": "UPM module for the ADC121C021 12-bit analog-to-digital converter (ADC). By constantly providing a reference voltage, this sensor helps increase the accuracy of a value collected from an analog sensor.", - "Aliases": ["adc121c021"], - "Categories": ["aio"], - "Connections": ["i2c"], - "Project Type": ["prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "adc121c021.jpg", - "Examples": - { - "Java": ["ADC121C021Sample.java"], - "Python": ["adc121c021.py"], - "Node.js": ["adc121c021.js"], - "C++": ["adc121c021.cxx"], - "C": [] - }, - "Specifications": - { - "Working Voltage": {"unit": "v", "low" : 5.0, "high": 5.0}, - "Resolution" : {"unit": "Bit", "low" : 12, "high": 12}, - "Sample Rate": {"unit": "ksps", "low" : 188.9, "high": 188.9} - }, - "Platforms": - { - "Intel Joule Module": - { - "Notes": ["Requires pull-up resistors with carrier board"], - "Images": [""] - } - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-I2C-ADC-p-1580.html"], - "Datasheets": ["https://raw.githubusercontent.com/SeeedDocument/Grove-I2C_ADC/master/res/ADC121C021_Datasheet.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "adc121c021", + "Description": "I2C 12-bit Analog to Digital Converter with Alert Pin", + "Sensor Class": + { + "ADC121C021": + { + "Name": "API for the ADC121C021 I2C Analog-to-Digital Converter", + "Description": "UPM module for the ADC121C021 12-bit analog-to-digital converter (ADC). By constantly providing a reference voltage, this sensor helps increase the accuracy of a value collected from an analog sensor.", + "Aliases": ["adc121c021"], + "Categories": ["aio"], + "Connections": ["i2c"], + "Project Type": ["prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "adc121c021.jpg", + "Examples": + { + "Java": ["ADC121C021_Example.java"], + "Python": ["adc121c021.py"], + "Node.js": ["adc121c021.js"], + "C++": ["adc121c021.cxx"], + "C": [] + }, + "Specifications": + { + "Working Voltage": {"unit": "v", "low" : 5.0, "high": 5.0}, + "Resolution" : {"unit": "Bit", "low" : 12, "high": 12}, + "Sample Rate": {"unit": "ksps", "low" : 188.9, "high": 188.9} + }, + "Platforms": + { + "Intel Joule Module": + { + "Notes": ["Requires pull-up resistors with carrier board"], + "Images": [""] + } + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-I2C-ADC-p-1580.html"], + "Datasheets": ["https://raw.githubusercontent.com/SeeedDocument/Grove-I2C_ADC/master/res/ADC121C021_Datasheet.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/adis16448/adis16448.json b/src/adis16448/adis16448.json index 715870a2..914e3974 100644 --- a/src/adis16448/adis16448.json +++ b/src/adis16448/adis16448.json @@ -1,45 +1,45 @@ -{ - "Library": "adis16448", - "Description": "Industrial Grade Ten Degrees of Freedom Inertial Sensor", - "Sensor Class": - { - "ADIS16448": - { - "Name": "API for the Analog Devices ADIS16448 Accelerometer", - "Description": "This is an industrial-grade accelerometer by Analog Devices.", - "Aliases": ["adis16448"], - "Categories": ["imu"], - "Connections": ["spi"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["generic"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": [], - "Node.js": ["adis16448.js"], - "C++": ["adis16448.cxx"], - "C": [] - }, - "Specifications": - { - "Working Voltage": {"unit": "v", "low": 3.15, "high": 3.45}, - "Working Current": {"unit": "mA", "low": 76, "high": 104} - }, - "Platforms": - { - "Intel Joule Module": - { - "Notes": ["Requires pull-up resistors with carrier board"], - "Images": [""] - } - }, - "Urls" : - { - "Product Pages": ["http://www.analog.com/en/products/sensors/inertial-measurement-units/adis16448.html"], - "Datasheets": ["http://www.analog.com/media/en/technical-documentation/data-sheets/ADIS16448.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "adis16448", + "Description": "Industrial Grade Ten Degrees of Freedom Inertial Sensor", + "Sensor Class": + { + "ADIS16448": + { + "Name": "API for the Analog Devices ADIS16448 Accelerometer", + "Description": "This is an industrial-grade accelerometer by Analog Devices.", + "Aliases": ["adis16448"], + "Categories": ["imu"], + "Connections": ["spi"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["generic"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": [], + "Node.js": ["adis16448.js"], + "C++": ["adis16448.cxx"], + "C": [] + }, + "Specifications": + { + "Working Voltage": {"unit": "v", "low": 3.15, "high": 3.45}, + "Working Current": {"unit": "mA", "low": 76, "high": 104} + }, + "Platforms": + { + "Intel Joule Module": + { + "Notes": ["Requires pull-up resistors with carrier board"], + "Images": [""] + } + }, + "Urls" : + { + "Product Pages": ["http://www.analog.com/en/products/sensors/inertial-measurement-units/adis16448.html"], + "Datasheets": ["http://www.analog.com/media/en/technical-documentation/data-sheets/ADIS16448.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/ads1x15/ads1x15.json b/src/ads1x15/ads1x15.json index f4f45be6..e33b88bf 100644 --- a/src/ads1x15/ads1x15.json +++ b/src/ads1x15/ads1x15.json @@ -1,87 +1,87 @@ -{ - "Library": "ADS1x15", - "Description": "TI ADC Library", - "Sensor Class": - { - "ADS1015": - { - "Name": "12-bit ADC with Integrated MUX, PGA, Comparator, Oscillator, and Reference", - "Description": "The ADS1013, ADS1014, and ADS1015 are precision analog-to-digital converters (ADCs) with 12 bits of resolution offered in an ultra-small, leadless QFN-10 package or an MSOP-10 package. The ADS1013/4/5 are designed with precision, power, and ease of implementation in mind. The ADS1013/4/5 feature an onboard reference and oscillator. Data is transferred via an I2C-compatible serial interface; four I2C slave addresses can be selected. The ADS1013/4/5 operate from a single power supply ranging from 2.0V to 5.5V. The ADS1013/4/5 can perform conversions at rates up to 3300 samples per second (SPS). An onboard PGA is available on the ADS1014 and ADS1015 that offers input ranges from the supply to as low as +/- 256mV, allowing both large and small signals to be measured with high resolution. The ADS1015 also features an input multiplexer (MUX) that provides two differential or four single-ended inputs. The ADS1013/4/5 operate either in continuous conversion mode or a single-shot mode that automatically powers down after a conversion and greatly reduces current consumption during idle periods. The ADS1013/4/5 are specified from -40 deg C to +125 deg C. Tested with Adafriut ADS1015 board.", - "Aliases": ["ads1015"], - "Categories": ["electric"], - "Connections": ["i2c"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["ti", "adafruit", "seeed", "sparkfun"], - "Image": "ads1015.jpg", - "Examples": - { - "Java": ["Ads1015Sample.java"], - "Python": ["ads1015.py"], - "Node.js": ["ads1115.js", "ads1x15.js"], - "C++": ["ads1x15-adc-sensor.cxx", "ads1x15-ads1015.cxx", "ads1x15.cxx"] - }, - "Specifications": - { - "Vdd": {"unit": "v", "low" : 2.0, "high": 5.5}, - "Data Rate":{"unit": "sps", "low": 128, "high": 3300}, - "I (continuous mode)" : {"unit": "uA", "typical": 150}, - "I2C Addresses": {"unit": "address", "low": "0x48", "high": "0x4B"} - }, - "Platforms": - { - "Intel Joule Module": - { - "Notes": ["On SeeedStudio Grove Shield for Intel Joule"] - }, - "Intel Edison Module": - { - "Notes": ["On SparkFun Block for Intel Edison - ADC"] - } - }, - "Urls" : - { - "Product Pages": ["https://www.adafruit.com/product/1083", "http://wiki.seeed.cc/Grove_Shield_for_Intel_Joule/", "https://www.sparkfun.com/products/13770"], - "Datasheets": ["http://www.ti.com/lit/ds/symlink/ads1015.pdf"], - "Schematics": ["https://learn.adafruit.com/adafruit-4-channel-adc-breakouts/signal-connections"] - } - }, - "ADS1115": - { - "Name": "16-bit ADC with Integrated MUX, PGA, Comparator, Oscillator, and Reference", - "Description": "The ADS1113, ADS1114, and ADS1115 are precision analog-to-digital converters (ADCs) with 16 bits of resolution offered in an ultra-small, leadless QFN-10 package or an MSOP-10 package. The ADS1113/4/5 are designed with precision, power, and ease of implementation in mind. The ADS1113/4/5 feature an onboard reference and oscillator. Data is transferred via an I2C-compatible serial interface; four I2C slave addresses can be selected. The ADS1113/4/5 operate from a single power supply ranging from 2.0V to 5.5V. The ADS1113/4/5 can perform conversions at rates up to 860 samples per second (SPS). An onboard PGA is available on the ADS1114 and ADS1115 that offers input ranges from the supply to as low as +/- 256mV, allowing both large and small signals to be measured with high resolution. The ADS1115 also features an input multiplexer (MUX) that provides two differential or four single-ended inputs. The ADS1113/4/5 operate either in continuous conversion mode or a single-shot mode that automatically powers down after a conversion and greatly reduces current consumption during idle periods. The ADS1113/4/5 are specified from -40 deg C to +125 deg C. Tested with DIYMall ADS1115 board.", - "Aliases": ["ads1115"], - "Categories": ["electric"], - "Connections": ["i2c"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["ti", "adafruit", "dfrobot"], - "Image": "ads1115.jpg", - "Examples": - { - "Java": ["Ads1115Sample.java"], - "Python": ["ads1115.py"], - "Node.js": ["ads1115.js", "ads1x15.js"], - "C++": ["ads1x15-adc-sensor.cxx", "ads1x15-ads1115.cxx", "ads1x15.cxx"] - }, - "Specifications": - { - "Vdd": {"unit": "v", "low" : 2.0, "high": 5.5}, - "Data Rate":{"unit": "sps", "low": 8, "high": 860}, - "I (continuous mode)" : {"unit": "uA", "typical": 150}, - "I2C Addresses": {"unit": "address", "low": "0x48", "high": "0x4B"} - }, - "Platforms": - { - "Intel Joule Module": - { - "Notes": ["On DFRobot Gravity Expansion Shield for Intel Joule"] - } - }, - "Urls" : - { - "Product Pages": ["https://www.adafruit.com/product/1085", "https://www.dfrobot.com/product-1560.html"], - "Datasheets": ["http://www.ti.com/lit/ds/symlink/ads1115.pdf"], - "Schematics": ["https://learn.adafruit.com/adafruit-4-channel-adc-breakouts/signal-connections"] - } - } - } -} +{ + "Library": "ADS1x15", + "Description": "TI ADC Library", + "Sensor Class": + { + "ADS1015": + { + "Name": "12-bit ADC with Integrated MUX, PGA, Comparator, Oscillator, and Reference", + "Description": "The ADS1013, ADS1014, and ADS1015 are precision analog-to-digital converters (ADCs) with 12 bits of resolution offered in an ultra-small, leadless QFN-10 package or an MSOP-10 package. The ADS1013/4/5 are designed with precision, power, and ease of implementation in mind. The ADS1013/4/5 feature an onboard reference and oscillator. Data is transferred via an I2C-compatible serial interface; four I2C slave addresses can be selected. The ADS1013/4/5 operate from a single power supply ranging from 2.0V to 5.5V. The ADS1013/4/5 can perform conversions at rates up to 3300 samples per second (SPS). An onboard PGA is available on the ADS1014 and ADS1015 that offers input ranges from the supply to as low as +/- 256mV, allowing both large and small signals to be measured with high resolution. The ADS1015 also features an input multiplexer (MUX) that provides two differential or four single-ended inputs. The ADS1013/4/5 operate either in continuous conversion mode or a single-shot mode that automatically powers down after a conversion and greatly reduces current consumption during idle periods. The ADS1013/4/5 are specified from -40 deg C to +125 deg C. Tested with Adafriut ADS1015 board.", + "Aliases": ["ads1015"], + "Categories": ["electric"], + "Connections": ["i2c"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["ti", "adafruit", "seeed", "sparkfun"], + "Image": "ads1015.jpg", + "Examples": + { + "Java": ["Ads1015_Example.java"], + "Python": ["ads1015.py"], + "Node.js": ["ads1115.js", "ads1x15.js"], + "C++": ["ads1x15-adc-sensor.cxx", "ads1x15-ads1015.cxx", "ads1x15.cxx"] + }, + "Specifications": + { + "Vdd": {"unit": "v", "low" : 2.0, "high": 5.5}, + "Data Rate":{"unit": "sps", "low": 128, "high": 3300}, + "I (continuous mode)" : {"unit": "uA", "typical": 150}, + "I2C Addresses": {"unit": "address", "low": "0x48", "high": "0x4B"} + }, + "Platforms": + { + "Intel Joule Module": + { + "Notes": ["On SeeedStudio Grove Shield for Intel Joule"] + }, + "Intel Edison Module": + { + "Notes": ["On SparkFun Block for Intel Edison - ADC"] + } + }, + "Urls" : + { + "Product Pages": ["https://www.adafruit.com/product/1083", "http://wiki.seeed.cc/Grove_Shield_for_Intel_Joule/", "https://www.sparkfun.com/products/13770"], + "Datasheets": ["http://www.ti.com/lit/ds/symlink/ads1015.pdf"], + "Schematics": ["https://learn.adafruit.com/adafruit-4-channel-adc-breakouts/signal-connections"] + } + }, + "ADS1115": + { + "Name": "16-bit ADC with Integrated MUX, PGA, Comparator, Oscillator, and Reference", + "Description": "The ADS1113, ADS1114, and ADS1115 are precision analog-to-digital converters (ADCs) with 16 bits of resolution offered in an ultra-small, leadless QFN-10 package or an MSOP-10 package. The ADS1113/4/5 are designed with precision, power, and ease of implementation in mind. The ADS1113/4/5 feature an onboard reference and oscillator. Data is transferred via an I2C-compatible serial interface; four I2C slave addresses can be selected. The ADS1113/4/5 operate from a single power supply ranging from 2.0V to 5.5V. The ADS1113/4/5 can perform conversions at rates up to 860 samples per second (SPS). An onboard PGA is available on the ADS1114 and ADS1115 that offers input ranges from the supply to as low as +/- 256mV, allowing both large and small signals to be measured with high resolution. The ADS1115 also features an input multiplexer (MUX) that provides two differential or four single-ended inputs. The ADS1113/4/5 operate either in continuous conversion mode or a single-shot mode that automatically powers down after a conversion and greatly reduces current consumption during idle periods. The ADS1113/4/5 are specified from -40 deg C to +125 deg C. Tested with DIYMall ADS1115 board.", + "Aliases": ["ads1115"], + "Categories": ["electric"], + "Connections": ["i2c"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["ti", "adafruit", "dfrobot"], + "Image": "ads1115.jpg", + "Examples": + { + "Java": ["Ads1115_Example.java"], + "Python": ["ads1115.py"], + "Node.js": ["ads1115.js", "ads1x15.js"], + "C++": ["ads1x15-adc-sensor.cxx", "ads1x15-ads1115.cxx", "ads1x15.cxx"] + }, + "Specifications": + { + "Vdd": {"unit": "v", "low" : 2.0, "high": 5.5}, + "Data Rate":{"unit": "sps", "low": 8, "high": 860}, + "I (continuous mode)" : {"unit": "uA", "typical": 150}, + "I2C Addresses": {"unit": "address", "low": "0x48", "high": "0x4B"} + }, + "Platforms": + { + "Intel Joule Module": + { + "Notes": ["On DFRobot Gravity Expansion Shield for Intel Joule"] + } + }, + "Urls" : + { + "Product Pages": ["https://www.adafruit.com/product/1085", "https://www.dfrobot.com/product-1560.html"], + "Datasheets": ["http://www.ti.com/lit/ds/symlink/ads1115.pdf"], + "Schematics": ["https://learn.adafruit.com/adafruit-4-channel-adc-breakouts/signal-connections"] + } + } + } +} diff --git a/src/adxl335/adxl335.json b/src/adxl335/adxl335.json index f30ca718..7538d39a 100644 --- a/src/adxl335/adxl335.json +++ b/src/adxl335/adxl335.json @@ -1,46 +1,46 @@ -{ - "Library": "adxl335", - "Description": "Low-power, 3-axis +/- 3 g Accelerometer", - "Sensor Class": - { - "ADXL335": - { - "Name": "API for the Analog Devices ADIS16448 Accelerometer", - "Description": "UPM module for the ADXL335 3-axis analog accelerometer. This was tested on a Grove 3-axis Analog Accelerometer. It uses 3 analog pins, one for each axis: X, Y, and Z.", - "Aliases": ["adxl335"], - "Categories": ["imu", "accelerometers"], - "Connections": ["analog"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "adxl335.jpg", - "Examples": - { - "Java": [], - "Python": ["adxl335.py"], - "Node.js": ["adxl335.js"], - "C++": ["adxl335.cxx"], - "C": [] - }, - "Specifications": - { - "Working Voltage": {"unit": "v", "low": 1.8, "high": 3.6}, - "Working Current": {"unit": "uA", "low": 350, "high": 350} - }, - "Platforms": - { - "Intel Joule Module": - { - "Notes": ["Requires pull-up resistors with carrier board"], - "Images": [""] - } - }, - "Urls" : - { - "Product Pages": ["http://www.analog.com/en/products/mems/accelerometers/adxl335.html"], - "Datasheets": ["http://www.analog.com/media/en/technical-documentation/data-sheets/ADXL335.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "adxl335", + "Description": "Low-power, 3-axis +/- 3 g Accelerometer", + "Sensor Class": + { + "ADXL335": + { + "Name": "API for the Analog Devices ADIS16448 Accelerometer", + "Description": "UPM module for the ADXL335 3-axis analog accelerometer. This was tested on a Grove 3-axis Analog Accelerometer. It uses 3 analog pins, one for each axis: X, Y, and Z.", + "Aliases": ["adxl335"], + "Categories": ["imu", "accelerometers"], + "Connections": ["analog"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "adxl335.jpg", + "Examples": + { + "Java": [], + "Python": ["adxl335.py"], + "Node.js": ["adxl335.js"], + "C++": ["adxl335.cxx"], + "C": [] + }, + "Specifications": + { + "Working Voltage": {"unit": "v", "low": 1.8, "high": 3.6}, + "Working Current": {"unit": "uA", "low": 350, "high": 350} + }, + "Platforms": + { + "Intel Joule Module": + { + "Notes": ["Requires pull-up resistors with carrier board"], + "Images": [""] + } + }, + "Urls" : + { + "Product Pages": ["http://www.analog.com/en/products/mems/accelerometers/adxl335.html"], + "Datasheets": ["http://www.analog.com/media/en/technical-documentation/data-sheets/ADXL335.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/adxl345/adxl345.json b/src/adxl345/adxl345.json index 6bf30fa1..2e40c3e8 100644 --- a/src/adxl345/adxl345.json +++ b/src/adxl345/adxl345.json @@ -1,46 +1,46 @@ -{ - "Library": "adxl345", - "Description": "3-axis, +/- 2/4/8/16 g Digital Accelerometer", - "Sensor Class": - { - "Adxl345": - { - "Name": "API for the ADXL345 3-Axis Digital Accelerometer", - "Description": "ADXL345 is a 3-axis digital accelerometer. The sensor has configurable resolutions to measure +/- 2g, +/- 4g, +/- 8g, or +/- 16g.", - "Aliases": ["adxl335"], - "Categories": ["imu", "accelerometers"], - "Connections": ["i2c"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "adxl335.jpg", - "Examples": - { - "Java": [], - "Python": ["adxl345.py"], - "Node.js": ["adxl345.js"], - "C++": ["adxl345.cxx"], - "C": [] - }, - "Specifications": - { - "Working Voltage": {"unit": "v", "low": 2, "high": 3.6}, - "Working Current": {"unit": "uA", "low": 30, "high": 140} - }, - "Platforms": - { - "Intel Edison": - { - "Notes": ["The Grove* version of the sensor is incompatible with and not detected on the I2C bus by the Intel(R) Edison using an Arduino* breakout board at 5V (3V works fine)."], - "Images": [""] - } - }, - "Urls" : - { - "Product Pages": ["http://www.analog.com/en/products/mems/accelerometers/adxl345.html"], - "Datasheets": ["http://www.seeedstudio.com/wiki/images/2/2c/ADXL345_datasheet.pdf", "http://www.analog.com/media/en/technical-documentation/data-sheets/ADXL345.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "adxl345", + "Description": "3-axis, +/- 2/4/8/16 g Digital Accelerometer", + "Sensor Class": + { + "Adxl345": + { + "Name": "API for the ADXL345 3-Axis Digital Accelerometer", + "Description": "ADXL345 is a 3-axis digital accelerometer. The sensor has configurable resolutions to measure +/- 2g, +/- 4g, +/- 8g, or +/- 16g.", + "Aliases": ["adxl335"], + "Categories": ["imu", "accelerometers"], + "Connections": ["i2c"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "adxl335.jpg", + "Examples": + { + "Java": [], + "Python": ["adxl345.py"], + "Node.js": ["adxl345.js"], + "C++": ["adxl345.cxx"], + "C": [] + }, + "Specifications": + { + "Working Voltage": {"unit": "v", "low": 2, "high": 3.6}, + "Working Current": {"unit": "uA", "low": 30, "high": 140} + }, + "Platforms": + { + "Intel Edison": + { + "Notes": ["The Grove* version of the sensor is incompatible with and not detected on the I2C bus by the Intel(R) Edison using an Arduino* breakout board at 5V (3V works fine)."], + "Images": [""] + } + }, + "Urls" : + { + "Product Pages": ["http://www.analog.com/en/products/mems/accelerometers/adxl345.html"], + "Datasheets": ["http://www.seeedstudio.com/wiki/images/2/2c/ADXL345_datasheet.pdf", "http://www.analog.com/media/en/technical-documentation/data-sheets/ADXL345.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/adxrs610/adxrs610.json b/src/adxrs610/adxrs610.json index 94abe61a..fb936dab 100644 --- a/src/adxrs610/adxrs610.json +++ b/src/adxrs610/adxrs610.json @@ -1,46 +1,46 @@ -{ - "Library": "adxrs610", - "Description": "Gyro Breakout Board (300 Degrees/second)", - "Sensor Class": - { - "ADXRS610": - { - "Name": "DFRobot ADXRS610 Gyro Breakout Board", - "Description": "The ADXRS610 is a MEMS based single axis gyroscope with a range of +/- 300 degrees/sec. It also incorporates a temperature sensing unit that can be used for advanced calibration. This sensor returns an analog voltage proportional to the rotation about the Z-axis in degrees/sec. The temperature component returns a proportional analog values in degrees C. This driver was developed using the DFRobot ADXRS610 Gyro Beakout board.", - "Aliases": ["adxrs610"], - "Categories": ["imu", "gyroscope"], - "Connections": ["analog"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["dfrobot"], - "Kits": [], - "Image": "adxrs610.jpg", - "Examples": - { - "Java": [], - "Python": ["adxrs610.py"], - "Node.js": ["adxrs610.js"], - "C++": ["adxrs610.cxx"], - "C": [] - }, - "Specifications": - { - "Vdd": {"unit": "v", "low" : 5.0, "high": 5.0}, - "Quiescent Current": {"unit": "mA", "low": 3.5, "high": 4.5} - }, - "Platforms": - { - "Intel Joule Module": - { - "Notes": ["Requires pull-up resistors with carrier board"], - "Images": [""] - } - }, - "Urls" : - { - "Product Pages": ["https://www.dfrobot.com/product-642.html"], - "Datasheets": ["http://image.dfrobot.com/image/data/SEN0070/ADXRS610%20datasheet_EN.pdf"], - "Schematics": ["http://image.dfrobot.com/image/data/SEN0070/ADXRS610_Gyro_Breakout.pdf"] - } - } - } -} +{ + "Library": "adxrs610", + "Description": "Gyro Breakout Board (300 Degrees/second)", + "Sensor Class": + { + "ADXRS610": + { + "Name": "DFRobot ADXRS610 Gyro Breakout Board", + "Description": "The ADXRS610 is a MEMS based single axis gyroscope with a range of +/- 300 degrees/sec. It also incorporates a temperature sensing unit that can be used for advanced calibration. This sensor returns an analog voltage proportional to the rotation about the Z-axis in degrees/sec. The temperature component returns a proportional analog values in degrees C. This driver was developed using the DFRobot ADXRS610 Gyro Beakout board.", + "Aliases": ["adxrs610"], + "Categories": ["imu", "gyroscope"], + "Connections": ["analog"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["dfrobot"], + "Kits": [], + "Image": "adxrs610.jpg", + "Examples": + { + "Java": [], + "Python": ["adxrs610.py"], + "Node.js": ["adxrs610.js"], + "C++": ["adxrs610.cxx"], + "C": [] + }, + "Specifications": + { + "Vdd": {"unit": "v", "low" : 5.0, "high": 5.0}, + "Quiescent Current": {"unit": "mA", "low": 3.5, "high": 4.5} + }, + "Platforms": + { + "Intel Joule Module": + { + "Notes": ["Requires pull-up resistors with carrier board"], + "Images": [""] + } + }, + "Urls" : + { + "Product Pages": ["https://www.dfrobot.com/product-642.html"], + "Datasheets": ["http://image.dfrobot.com/image/data/SEN0070/ADXRS610%20datasheet_EN.pdf"], + "Schematics": ["http://image.dfrobot.com/image/data/SEN0070/ADXRS610_Gyro_Breakout.pdf"] + } + } + } +} diff --git a/src/am2315/am2315.json b/src/am2315/am2315.json index 1547c224..03089d18 100644 --- a/src/am2315/am2315.json +++ b/src/am2315/am2315.json @@ -1,47 +1,47 @@ -{ - "Library": "am2315", - "Description": "Digital Temperature and Humidity Sensor", - "Sensor Class": - { - "AM2315": - { - "Name": "API for the AM2315 Temperature & Humidity Sensor", - "Description": "The AM2315 is a digital humidity sensor with temperature output. RH reports between 0 and 100%, and the temperature range is -40 to +125 degC. The sampling period of this sensor is 2 seconds. Reads occurring more often than that return cached data.", - "Aliases": ["am2315"], - "Categories": ["humidity", "temperature"], - "Connections": ["i2c"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["adafruit"], - "Kits": [], - "Examples": - { - "Java": ["AM2315Example.java"], - "Python": [], - "Node.js": [], - "C++": ["am2315.cxx"], - "C": [] - }, - "Specifications": - { - "Vcc": {"unit": "v", "low" : 3.5, "high": 5.5}, - "Current Draw": {"unit": "mA", "low": 0.0, "high": 10}, - "Temperature Sensor Range": {"unit": "degC", "low": -20, "high": 80}, - "Humidity Sensor Range": {"unit": "%", "low": 0, "high": 100} - }, - "Platforms": - { - "Intel Joule Module": - { - "Notes": ["Requires pull-up resistors with carrier board"], - "Images": [""] - } - }, - "Urls" : - { - "Product Pages": ["http://www.adafruit.com/products/1293"], - "Datasheets": ["https://cdn-shop.adafruit.com/datasheets/AM2315.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "am2315", + "Description": "Digital Temperature and Humidity Sensor", + "Sensor Class": + { + "AM2315": + { + "Name": "API for the AM2315 Temperature & Humidity Sensor", + "Description": "The AM2315 is a digital humidity sensor with temperature output. RH reports between 0 and 100%, and the temperature range is -40 to +125 degC. The sampling period of this sensor is 2 seconds. Reads occurring more often than that return cached data.", + "Aliases": ["am2315"], + "Categories": ["humidity", "temperature"], + "Connections": ["i2c"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["adafruit"], + "Kits": [], + "Examples": + { + "Java": ["AM2315_Example.java"], + "Python": [], + "Node.js": [], + "C++": ["am2315.cxx"], + "C": [] + }, + "Specifications": + { + "Vcc": {"unit": "v", "low" : 3.5, "high": 5.5}, + "Current Draw": {"unit": "mA", "low": 0.0, "high": 10}, + "Temperature Sensor Range": {"unit": "degC", "low": -20, "high": 80}, + "Humidity Sensor Range": {"unit": "%", "low": 0, "high": 100} + }, + "Platforms": + { + "Intel Joule Module": + { + "Notes": ["Requires pull-up resistors with carrier board"], + "Images": [""] + } + }, + "Urls" : + { + "Product Pages": ["http://www.adafruit.com/products/1293"], + "Datasheets": ["https://cdn-shop.adafruit.com/datasheets/AM2315.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/apa102/apa102.json b/src/apa102/apa102.json index e776eb77..a77eb49f 100644 --- a/src/apa102/apa102.json +++ b/src/apa102/apa102.json @@ -12,7 +12,7 @@ "Manufacturers": ["Shiji Lighting", "Adafruit"], "Image": "apa102.jpg", "Examples": { - "Java": ["APA102Sample.java"], + "Java": ["APA102_Example.java"], "Python": ["apa102.py"], "Node.js": ["apa102.js"], "C++": ["apa102.cxx"] diff --git a/src/apds9002/apds9002.json b/src/apds9002/apds9002.json index 659fa135..33459e36 100644 --- a/src/apds9002/apds9002.json +++ b/src/apds9002/apds9002.json @@ -12,7 +12,7 @@ "Manufacturers": ["Avago", "Seeed"], "Image": "apds9002.jpg", "Examples": { - "Java": ["Apds9002.java"], + "Java": ["Apds9002_Example.java"], "Python": ["apds9002.py"], "Node.js": ["apds9002.js"], "C++": ["apds9002.cxx"] diff --git a/src/biss0001/biss0001.json b/src/biss0001/biss0001.json index 9d5d2ea1..efd9c665 100644 --- a/src/biss0001/biss0001.json +++ b/src/biss0001/biss0001.json @@ -13,7 +13,7 @@ "Kits": ["tsk"], "Image": "biss0001.jpg", "Examples": { - "Java": ["BISS0001Sample.java"], + "Java": ["BISS0001_Example.java"], "Python": ["biss0001.py"], "Node.js": ["biss0001.js"], "C++": ["biss0001.cxx"], diff --git a/src/bmm150/bmm150.json b/src/bmm150/bmm150.json index 718a69b3..c715c88f 100644 --- a/src/bmm150/bmm150.json +++ b/src/bmm150/bmm150.json @@ -1,46 +1,46 @@ -{ - "Library": "bmx050", - "Description": "Bosch 3-axis Magnetometer", - "Sensor Class": - { - "BMM150": - { - "Name": "3-axis Geomagnetic Sensor", - "Description": "The BMM150 is a standalone geomagnetic sensor for consumer market applications. It allows measurements of the magnetic field in three perpendicular axes. Based on Bosch's proprietary FlipCore technology, performance and features of BMM150 are carefully tuned and perfectly match the demanding requirements of all 3-axis mobile applications such as electronic compass, navigation or augmented reality. An evaluation circuitry (ASIC) converts the output of the geomagnetic sensor to digital results which can be read out over the industry standard digital interfaces (SPI and I2C). Not all functionality of this chip has been implemented in this driver, however all the pieces are present to add any desired functionality. This driver supports both I2C (default) and SPI operation.", - "Aliases": ["bme280"], - "Categories": ["pressure", "humidity", "temperature"], - "Connections": ["gpio", "i2c", "spi"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["bosch"], - "Kits": [], - "Examples": - { - "Java": ["BMM150_Example.java"], - "Python": ["bmm150.py"], - "Node.js": ["bmm150.js"], - "C++": ["bmm150.cxx"], - "C": ["bmm150.c"] - }, - "Specifications": - { - "Vdd": {"unit": "v", "low" : 1.62, "high": 3.6}, - "Temperature Range": {"unit": "degC", "low" : -40, "high": 85}, - "Sensing Range": {"unit": "uT (±)", "low": 1300, "high": 2500} - }, - "Platforms": - { - "Intel Joule Module": - { - "Notes": ["Requires pull-up resistors with carrier board"], - "Images": [""] - } - }, - "Urls" : - { - "Product Pages": ["https://www.bosch-sensortec.com/bst/products/all_products/bmm150"], - "Datasheets": ["https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMM150-DS001-01.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "bmx050", + "Description": "Bosch 3-axis Magnetometer", + "Sensor Class": + { + "BMM150": + { + "Name": "3-axis Geomagnetic Sensor", + "Description": "The BMM150 is a standalone geomagnetic sensor for consumer market applications. It allows measurements of the magnetic field in three perpendicular axes. Based on Bosch's proprietary FlipCore technology, performance and features of BMM150 are carefully tuned and perfectly match the demanding requirements of all 3-axis mobile applications such as electronic compass, navigation or augmented reality. An evaluation circuitry (ASIC) converts the output of the geomagnetic sensor to digital results which can be read out over the industry standard digital interfaces (SPI and I2C). Not all functionality of this chip has been implemented in this driver, however all the pieces are present to add any desired functionality. This driver supports both I2C (default) and SPI operation.", + "Aliases": ["bme280"], + "Categories": ["pressure", "humidity", "temperature"], + "Connections": ["gpio", "i2c", "spi"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["bosch"], + "Kits": [], + "Examples": + { + "Java": ["BMM150_Example.java"], + "Python": ["bmm150.py"], + "Node.js": ["bmm150.js"], + "C++": ["bmm150.cxx"], + "C": ["bmm150.c"] + }, + "Specifications": + { + "Vdd": {"unit": "v", "low" : 1.62, "high": 3.6}, + "Temperature Range": {"unit": "degC", "low" : -40, "high": 85}, + "Sensing Range": {"unit": "uT (±)", "low": 1300, "high": 2500} + }, + "Platforms": + { + "Intel Joule Module": + { + "Notes": ["Requires pull-up resistors with carrier board"], + "Images": [""] + } + }, + "Urls" : + { + "Product Pages": ["https://www.bosch-sensortec.com/bst/products/all_products/bmm150"], + "Datasheets": ["https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMM150-DS001-01.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/bmpx8x/bmpx8x.json b/src/bmpx8x/bmpx8x.json index 3c7ae0d8..492d6118 100644 --- a/src/bmpx8x/bmpx8x.json +++ b/src/bmpx8x/bmpx8x.json @@ -1,49 +1,49 @@ -{ - "Library": "bmpx8x", - "Description": "BMP Atmospheric Pressure Sensor", - "Sensor Class": - { - "BMPX8X": - { - "Name": "BMP Atmospheric Pressure Sensor", - "Description": "The BME280 is as combined digital humidity, pressure and temperature sensor based on proven sensing principles. The sensor module is housed in an extremely compact metal-lid LGA package with a footprint of only 2.5 * 2.5 mm2 with a height of 0.93 mm. Its small dimensions and its low power consumption allow the implementation in battery driven devices such as handsets, GPS modules or watches. The BME280 is register and performance compatible to the Bosch Sensortec BMP280 digital pressure sensor", - "Aliases": ["bmpx8x"], - "Categories": ["pressure"], - "Connections": ["i2c"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["seeed", "adafruit", "sparkfun"], - "Kits": [], - "Examples": - { - "Java": ["BMPX8XSample.java"], - "Python": ["bmpx8x.py"], - "Node.js": ["bmpx8x.js"], - "C++": ["bmpx8x.cxx"], - "C": ["bmpx8x.c"] - }, - "Specifications": - { - "Vdd": {"unit": "v", "low" : 1.8, "high": 3.6}, - "Supply Current": {"unit": "uA", "low": 3, "high": 32}, - "Peak Current": {"unit": "uA", "low": 650, "high": 1000}, - "Standby Current": {"unit": "uA", "low": 0.1, "high": 0.1}, - "Pressure Range": {"unit": "hPa", "low" : 300, "high": 1100}, - "Temperature Range": {"unit": "C", "low" : -40, "high": 85} - }, - "Platforms": - { - "Intel Joule Module": - { - "Notes": ["Requires pull-up resistors with carrier board"], - "Images": [""] - } - }, - "Urls" : - { - "Product Pages": ["https://www.adafruit.com/product/1900"], - "Datasheets": ["https://cdn-shop.adafruit.com/datasheets/1900_BMP183.pdf", "https://www.sparkfun.com/datasheets/Components/General/BST-BMP085-DS000-05.pdf"], - "Schematics": ["https://learn.adafruit.com/adafruit-bmp183-spi-barometric-pressure-and-altitude-sensor/downloads#schematic"] - } - } - } -} +{ + "Library": "bmpx8x", + "Description": "BMP Atmospheric Pressure Sensor", + "Sensor Class": + { + "BMPX8X": + { + "Name": "BMP Atmospheric Pressure Sensor", + "Description": "The BME280 is as combined digital humidity, pressure and temperature sensor based on proven sensing principles. The sensor module is housed in an extremely compact metal-lid LGA package with a footprint of only 2.5 * 2.5 mm2 with a height of 0.93 mm. Its small dimensions and its low power consumption allow the implementation in battery driven devices such as handsets, GPS modules or watches. The BME280 is register and performance compatible to the Bosch Sensortec BMP280 digital pressure sensor", + "Aliases": ["bmpx8x"], + "Categories": ["pressure"], + "Connections": ["i2c"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["seeed", "adafruit", "sparkfun"], + "Kits": [], + "Examples": + { + "Java": ["BMPX8X_Example.java"], + "Python": ["bmpx8x.py"], + "Node.js": ["bmpx8x.js"], + "C++": ["bmpx8x.cxx"], + "C": ["bmpx8x.c"] + }, + "Specifications": + { + "Vdd": {"unit": "v", "low" : 1.8, "high": 3.6}, + "Supply Current": {"unit": "uA", "low": 3, "high": 32}, + "Peak Current": {"unit": "uA", "low": 650, "high": 1000}, + "Standby Current": {"unit": "uA", "low": 0.1, "high": 0.1}, + "Pressure Range": {"unit": "hPa", "low" : 300, "high": 1100}, + "Temperature Range": {"unit": "C", "low" : -40, "high": 85} + }, + "Platforms": + { + "Intel Joule Module": + { + "Notes": ["Requires pull-up resistors with carrier board"], + "Images": [""] + } + }, + "Urls" : + { + "Product Pages": ["https://www.adafruit.com/product/1900"], + "Datasheets": ["https://cdn-shop.adafruit.com/datasheets/1900_BMP183.pdf", "https://www.sparkfun.com/datasheets/Components/General/BST-BMP085-DS000-05.pdf"], + "Schematics": ["https://learn.adafruit.com/adafruit-bmp183-spi-barometric-pressure-and-altitude-sensor/downloads#schematic"] + } + } + } +} diff --git a/src/bmx055/bmx055.json b/src/bmx055/bmx055.json index a80b5a2a..6f96f400 100644 --- a/src/bmx055/bmx055.json +++ b/src/bmx055/bmx055.json @@ -1,49 +1,49 @@ -{ - "Library": "bmx055", - "Description": "BMX055 9-axis Sensor Module", - "Sensor Class": - { - "BMX055": - { - "Name": "BMX055 9-axis Sensor Module", - "Description": "The BMX055 is an integrated 9-axis sensor for the detection of movements and rotations and magnetic heading. It comprises the full functionality of a triaxial, low-g acceleration sensor, a triaxial angular rate sensor and a triaxial geomagnetic sensor. The BMX055 senses orientation, tilt, motion, acceleration, rotation, shock, vibration and heading in cell phones, handhelds, computer peripherals, man-machine interfaces, virtual reality features and game controllers. The BMX055 is essentially 3 separate devices in one: the BMA250E Accelerometer, the BMG160 Gyroscope, and the BMM150 Magnetometer. They are completely independant of each other. This driver provides a very simple interface to these 3 devices. If finer control is desired, you should just use the separate BMA25E, BMG160, and BMM150 device classes directly. This driver simply initializes all three devices, and provides a mechanism to read accelerometer, gyroscope and magnetometer data from them.", - "Aliases": ["bmx055"], - "Categories": ["imu", "accelerometer", "gyroscope", "magnetometer"], - "Connections": ["gpio", "i2c", "spi"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["bosch"], - "Kits": [], - "Examples": - { - "Java": ["BMX055_Example.java"], - "Python": ["bmx055.py"], - "Node.js": ["bmx055.js"], - "C++": ["bmx055.cxx"], - "C": [] - }, - "Specifications": - { - "Vdd": {"unit": "v", "low" : 2.4, "high": 3.6}, - "Measurement Range (Accelerometer)": {"unit": "g", "low": 2, "high": 16}, - "Measurement Range (Gyroscope)": {"unit": "deg/s", "low": 125, "high": 2000}, - "Measurement Range (Magnetometer)": {"unit": "LSB/uT", "typ": 3.3}, - "Iavg": {"unit": "uA", "low" : 130, "high": 5000}, - "Temperature Range": {"unit": "C", "low" : -40, "high": 85} - }, - "Platforms": - { - "Intel Joule Module": - { - "Notes": ["Requires pull-up resistors with carrier board"], - "Images": [""] - } - }, - "Urls" : - { - "Product Pages": ["https://www.bosch-sensortec.com/bst/products/all_products/bmx055"], - "Datasheets": ["https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMX055-DS000-02.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "bmx055", + "Description": "BMX055 9-axis Sensor Module", + "Sensor Class": + { + "BMX055": + { + "Name": "BMX055 9-axis Sensor Module", + "Description": "The BMX055 is an integrated 9-axis sensor for the detection of movements and rotations and magnetic heading. It comprises the full functionality of a triaxial, low-g acceleration sensor, a triaxial angular rate sensor and a triaxial geomagnetic sensor. The BMX055 senses orientation, tilt, motion, acceleration, rotation, shock, vibration and heading in cell phones, handhelds, computer peripherals, man-machine interfaces, virtual reality features and game controllers. The BMX055 is essentially 3 separate devices in one: the BMA250E Accelerometer, the BMG160 Gyroscope, and the BMM150 Magnetometer. They are completely independant of each other. This driver provides a very simple interface to these 3 devices. If finer control is desired, you should just use the separate BMA25E, BMG160, and BMM150 device classes directly. This driver simply initializes all three devices, and provides a mechanism to read accelerometer, gyroscope and magnetometer data from them.", + "Aliases": ["bmx055"], + "Categories": ["imu", "accelerometer", "gyroscope", "magnetometer"], + "Connections": ["gpio", "i2c", "spi"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["bosch"], + "Kits": [], + "Examples": + { + "Java": ["BMX055_Example.java"], + "Python": ["bmx055.py"], + "Node.js": ["bmx055.js"], + "C++": ["bmx055.cxx"], + "C": [] + }, + "Specifications": + { + "Vdd": {"unit": "v", "low" : 2.4, "high": 3.6}, + "Measurement Range (Accelerometer)": {"unit": "g", "low": 2, "high": 16}, + "Measurement Range (Gyroscope)": {"unit": "deg/s", "low": 125, "high": 2000}, + "Measurement Range (Magnetometer)": {"unit": "LSB/uT", "typ": 3.3}, + "Iavg": {"unit": "uA", "low" : 130, "high": 5000}, + "Temperature Range": {"unit": "C", "low" : -40, "high": 85} + }, + "Platforms": + { + "Intel Joule Module": + { + "Notes": ["Requires pull-up resistors with carrier board"], + "Images": [""] + } + }, + "Urls" : + { + "Product Pages": ["https://www.bosch-sensortec.com/bst/products/all_products/bmx055"], + "Datasheets": ["https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMX055-DS000-02.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/bno055/bno055.json b/src/bno055/bno055.json index 124bea1f..d31d4ac3 100644 --- a/src/bno055/bno055.json +++ b/src/bno055/bno055.json @@ -1,48 +1,48 @@ -{ - "Library": "bno055", - "Description": "API for the BNO055 Absolute Orientation 9DOF Fusion Hub", - "Sensor Class": - { - "BNO055": - { - "Name": "Intelligent 9-axis Absolute Orientation Sensor", - "Description": "The BNO055 is a System in Package (SiP), integrating a triaxial 14-bit accelerometer, a triaxial 16-bit gyroscope with a range of +/- 2000 degrees per second, a triaxial geomagnetic sensor and a 32-bit cortex M0+ microcontroller running Bosch Sensortec sensor fusion software, in a single package. This sensor handles the hard problem of combining various sensor information into a reliable measurement of sensor orientation (refered to as 'sensor fusion'). The onboard MCU runs this software and can provide fusion output in the form of Euler Angles, Quaternions, Linear Acceleration, and Gravity Vectors in 3 axes. The focus on this driver has been on supporting the fusion components. Less support is available for use of this device as a generic accelerometer, gyroscope and magnetometer, however enough infrastructure is available to add any missing functionality. This device requires calibration in order to operate accurately. Methods are provided to retrieve calibration data (once calibrated) to be stored somewhere else, like in a file. A method is provided to load this data as well. Calibration data is lost on a power cycle. See one of the examples for a description of how to calibrate the device, but in essence: There is a calibration status register available (getCalibrationStatus()) that returns the calibration status of the accelerometer (ACC), magnetometer (MAG), gyroscope (GYR), and overall system (SYS). Each of these values range from 0 (uncalibrated) to 3 (fully calibrated). Calibration involves certain motions to get all 4 values at 3. The motions are as follows (though see the datasheet for more information): GYR: Simply let the sensor sit flat for a few seconds. ACC: Move the sensor in various positions. Start flat, then rotate slowly by 45 degrees, hold for a few seconds, then continue rotating another 45 degrees and hold, etc. 6 or more movements of this type may be required. You can move through any axis you desire, but make sure that the device is lying at least once perpendicular to the x, y, and z axis. MAG: Move slowly in a figure 8 pattern in the air, until the calibration values reaches 3. SYS: This will usually reach 3 when the other items have also reached 3. If not, continue slowly moving the device though various axes until it does.", - "Aliases": ["bno055"], - "Categories": ["accelerometer", "compass"], - "Connections": ["gpio", "i2c"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["adafruit"], - "Kits": [], - "Examples": - { - "Java": ["BNO055_Example.java"], - "Python": ["bno055.py"], - "Node.js": ["bno055.js"], - "C++": ["bno055.cxx"], - "C": ["bno055.c"] - }, - "Specifications": - { - "Vsource": {"unit": "v", "low" : 2.4, "high": 3.6}, - "Supply Current": {"unit": "mA", "low": 0.33, "high": 12.3}, - "Supply Current (Suspended)": {"unit": "uA", "typ": 40}, - "Gyroscope Ranges": {"unit": "deg/s", "low": 125, "high": 2000}, - "Magnetometer Ranges": {} - }, - "Platforms": - { - "Intel Joule Module": - { - "Notes": ["Requires pull-up resistors with carrier board"], - "Images": [""] - } - }, - "Urls" : - { - "Product Pages": ["https://www.adafruit.com/products/2472"], - "Datasheets": ["https://cdn-learn.adafruit.com/assets/assets/000/036/832/original/BST_BNO055_DS000_14.pdf"], - "Schematics": ["https://cdn-learn.adafruit.com/assets/assets/000/024/546/medium800/sensors_BNO055_REV-C.png?1429569060"] - } - } - } -} +{ + "Library": "bno055", + "Description": "API for the BNO055 Absolute Orientation 9DOF Fusion Hub", + "Sensor Class": + { + "BNO055": + { + "Name": "Intelligent 9-axis Absolute Orientation Sensor", + "Description": "The BNO055 is a System in Package (SiP), integrating a triaxial 14-bit accelerometer, a triaxial 16-bit gyroscope with a range of +/- 2000 degrees per second, a triaxial geomagnetic sensor and a 32-bit cortex M0+ microcontroller running Bosch Sensortec sensor fusion software, in a single package. This sensor handles the hard problem of combining various sensor information into a reliable measurement of sensor orientation (refered to as 'sensor fusion'). The onboard MCU runs this software and can provide fusion output in the form of Euler Angles, Quaternions, Linear Acceleration, and Gravity Vectors in 3 axes. The focus on this driver has been on supporting the fusion components. Less support is available for use of this device as a generic accelerometer, gyroscope and magnetometer, however enough infrastructure is available to add any missing functionality. This device requires calibration in order to operate accurately. Methods are provided to retrieve calibration data (once calibrated) to be stored somewhere else, like in a file. A method is provided to load this data as well. Calibration data is lost on a power cycle. See one of the examples for a description of how to calibrate the device, but in essence: There is a calibration status register available (getCalibrationStatus()) that returns the calibration status of the accelerometer (ACC), magnetometer (MAG), gyroscope (GYR), and overall system (SYS). Each of these values range from 0 (uncalibrated) to 3 (fully calibrated). Calibration involves certain motions to get all 4 values at 3. The motions are as follows (though see the datasheet for more information): GYR: Simply let the sensor sit flat for a few seconds. ACC: Move the sensor in various positions. Start flat, then rotate slowly by 45 degrees, hold for a few seconds, then continue rotating another 45 degrees and hold, etc. 6 or more movements of this type may be required. You can move through any axis you desire, but make sure that the device is lying at least once perpendicular to the x, y, and z axis. MAG: Move slowly in a figure 8 pattern in the air, until the calibration values reaches 3. SYS: This will usually reach 3 when the other items have also reached 3. If not, continue slowly moving the device though various axes until it does.", + "Aliases": ["bno055"], + "Categories": ["accelerometer", "compass"], + "Connections": ["gpio", "i2c"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["adafruit"], + "Kits": [], + "Examples": + { + "Java": ["BNO055_Example.java"], + "Python": ["bno055.py"], + "Node.js": ["bno055.js"], + "C++": ["bno055.cxx"], + "C": ["bno055.c"] + }, + "Specifications": + { + "Vsource": {"unit": "v", "low" : 2.4, "high": 3.6}, + "Supply Current": {"unit": "mA", "low": 0.33, "high": 12.3}, + "Supply Current (Suspended)": {"unit": "uA", "typ": 40}, + "Gyroscope Ranges": {"unit": "deg/s", "low": 125, "high": 2000}, + "Magnetometer Ranges": {} + }, + "Platforms": + { + "Intel Joule Module": + { + "Notes": ["Requires pull-up resistors with carrier board"], + "Images": [""] + } + }, + "Urls" : + { + "Product Pages": ["https://www.adafruit.com/products/2472"], + "Datasheets": ["https://cdn-learn.adafruit.com/assets/assets/000/036/832/original/BST_BNO055_DS000_14.pdf"], + "Schematics": ["https://cdn-learn.adafruit.com/assets/assets/000/024/546/medium800/sensors_BNO055_REV-C.png?1429569060"] + } + } + } +} diff --git a/src/button/button.json b/src/button/button.json index befffa54..e3fac42a 100644 --- a/src/button/button.json +++ b/src/button/button.json @@ -16,7 +16,7 @@ "Image": "button.jpg", "Examples": { - "Java": ["ButtonSample.java", "Button_intrSample.java"], + "Java": ["Button_Example.java", "Button_intr_Example.java"], "Python": ["button.py"], "Node.js": ["button.js"], "C++": ["button.cxx"], diff --git a/src/buzzer/buzzer.json b/src/buzzer/buzzer.json index 1a8ee241..b61d985f 100644 --- a/src/buzzer/buzzer.json +++ b/src/buzzer/buzzer.json @@ -16,7 +16,7 @@ "Image": "buzzer.jpg", "Examples": { - "Java": ["BuzzerSample.java"], + "Java": ["Buzzer_Example.java"], "Python": ["buzzer.py"], "Node.js": ["buzzer.js"], "C++": ["buzzer.cxx"], diff --git a/src/cjq4435/cjq4435.json b/src/cjq4435/cjq4435.json index 5b00683d..95ed2f30 100644 --- a/src/cjq4435/cjq4435.json +++ b/src/cjq4435/cjq4435.json @@ -1,46 +1,46 @@ -{ - "Library": "cjq4435", - "Description": "API for the CJQ4435 MOSFET", - "Sensor Class": - { - "CJQ4435": - { - "Name": "CJQ4435 MOSFET", - "Description": "UPM module for the CJQ4435 MOSFET. It was developed using the Grove MOSFET module, but could be used with any MOSFET. A MOSFET is like a switch, but it can switch much faster than a mechanical relay. Here, we implement support via MRAA pulse width modulation (PWM) functions. Note: available periods vary depending on the capabilities of your platform.", - "Aliases": ["cjq4435"], - "Categories": ["electric"], - "Connections": ["gpio", "pwm"], - "Project Type": ["prototyping", "robotics"], - "Manufacturers": ["seeed"], - "Kits": ["robok"], - "Image": "cjq4435.jpg", - "Examples": - { - "Java": ["CJQ4435Sample.java"], - "Python": ["cjq4435.py"], - "Node.js": ["cjq4435.js"], - "C++": ["cjq4435.cxx"], - "C": ["cjq4435.c"] - }, - "Specifications": - { - "Trigger Voltage": {"unit": "V", "typ" : 5}, - "Working Voltage" : {"unit": "V", "low" : 5, "high": 15} - }, - "Platforms": - { - "Intel Joule Module": - { - "Notes": ["Requires pull-up resistors with carrier board"], - "Images": [""] - } - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-MOSFET-p-1594.html", "http://wiki.seeed.cc/Grove-MOSFET/"], - "Datasheets": ["https://raw.githubusercontent.com/SeeedDocument/Grove-MOSFET/master/res/CJQ4435.pdf"], - "Schematics": ["https://github.com/SeeedDocument/Grove-MOSFET/raw/master/res/Grove%20-%20MOSFET%20.pdf"] - } - } - } -} +{ + "Library": "cjq4435", + "Description": "API for the CJQ4435 MOSFET", + "Sensor Class": + { + "CJQ4435": + { + "Name": "CJQ4435 MOSFET", + "Description": "UPM module for the CJQ4435 MOSFET. It was developed using the Grove MOSFET module, but could be used with any MOSFET. A MOSFET is like a switch, but it can switch much faster than a mechanical relay. Here, we implement support via MRAA pulse width modulation (PWM) functions. Note: available periods vary depending on the capabilities of your platform.", + "Aliases": ["cjq4435"], + "Categories": ["electric"], + "Connections": ["gpio", "pwm"], + "Project Type": ["prototyping", "robotics"], + "Manufacturers": ["seeed"], + "Kits": ["robok"], + "Image": "cjq4435.jpg", + "Examples": + { + "Java": ["CJQ4435_Example.java"], + "Python": ["cjq4435.py"], + "Node.js": ["cjq4435.js"], + "C++": ["cjq4435.cxx"], + "C": ["cjq4435.c"] + }, + "Specifications": + { + "Trigger Voltage": {"unit": "V", "typ" : 5}, + "Working Voltage" : {"unit": "V", "low" : 5, "high": 15} + }, + "Platforms": + { + "Intel Joule Module": + { + "Notes": ["Requires pull-up resistors with carrier board"], + "Images": [""] + } + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-MOSFET-p-1594.html", "http://wiki.seeed.cc/Grove-MOSFET/"], + "Datasheets": ["https://raw.githubusercontent.com/SeeedDocument/Grove-MOSFET/master/res/CJQ4435.pdf"], + "Schematics": ["https://github.com/SeeedDocument/Grove-MOSFET/raw/master/res/Grove%20-%20MOSFET%20.pdf"] + } + } + } +} diff --git a/src/collision/collision.json b/src/collision/collision.json index 66cb7baf..b29c3169 100644 --- a/src/collision/collision.json +++ b/src/collision/collision.json @@ -1,45 +1,45 @@ -{ - "Library": "collision", - "Description": "API for the Collision Sensor", - "Sensor Class": - { - "Collision": - { - "Name": "Grove Collision Sensor", - "Description": "The Collision Sensor can detect whether any collision movement or vibration happens. It outputs a low pulse signal when vibration is detected.", - "Aliases": ["collision"], - "Categories": ["collision", "accelerometer"], - "Connections": ["gpio"], - "Project Type": ["prototyping", "robotics"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "collision.jpg", - "Examples": - { - "Java": ["Collision.java"], - "Python": ["collision.py"], - "Node.js": ["collision.js"], - "C++": ["collision.cxx"], - "C": ["collision.c"] - }, - "Specifications": - { - "Vsource": {"unit": "V", "low" : 3.3, "high": 5} - }, - "Platforms": - { - "Intel Joule Module": - { - "Notes": ["Requires pull-up resistors with carrier board"], - "Images": [""] - } - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Collision-Sensor-p-1132.html", "http://wiki.seeed.cc/Grove-Collision_Sensor/"], - "Datasheets": ["https://raw.githubusercontent.com/SeeedDocument/Grove-Collision_Sensor/master/res/DataSheet-MVS0608_02-v2_1.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "collision", + "Description": "API for the Collision Sensor", + "Sensor Class": + { + "Collision": + { + "Name": "Grove Collision Sensor", + "Description": "The Collision Sensor can detect whether any collision movement or vibration happens. It outputs a low pulse signal when vibration is detected.", + "Aliases": ["collision"], + "Categories": ["collision", "accelerometer"], + "Connections": ["gpio"], + "Project Type": ["prototyping", "robotics"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "collision.jpg", + "Examples": + { + "Java": ["Collision_Example.java"], + "Python": ["collision.py"], + "Node.js": ["collision.js"], + "C++": ["collision.cxx"], + "C": ["collision.c"] + }, + "Specifications": + { + "Vsource": {"unit": "V", "low" : 3.3, "high": 5} + }, + "Platforms": + { + "Intel Joule Module": + { + "Notes": ["Requires pull-up resistors with carrier board"], + "Images": [""] + } + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Collision-Sensor-p-1132.html", "http://wiki.seeed.cc/Grove-Collision_Sensor/"], + "Datasheets": ["https://raw.githubusercontent.com/SeeedDocument/Grove-Collision_Sensor/master/res/DataSheet-MVS0608_02-v2_1.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/curieimu/curieimu.json b/src/curieimu/curieimu.json index 2b2b355c..40d96d45 100644 --- a/src/curieimu/curieimu.json +++ b/src/curieimu/curieimu.json @@ -1,38 +1,38 @@ -{ - "Library": "curieimu", - "Description": "Bosch Atmospheric Sensor Library", - "Sensor Class": - { - "CurieImu": - { - "Name": "Digital Humidity, Pressure, and Temperature Sensor", - "Description": "Curie IMU is a 6-axis accelerometer.", - "Aliases": ["curieimu"], - "Categories": ["IMU", "accelerometer", "compass"], - "Connections": ["firmata"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["bosch"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": ["curieimu.py"], - "Node.js": ["curieimu.js"], - "C++": ["curieimu.cxx"], - "C": [] - }, - "Specifications": - { - - }, - "Platforms": - {}, - "Urls" : - { - "Product Pages": [], - "Datasheets": [], - "Schematics": [] - } - } - } -} +{ + "Library": "curieimu", + "Description": "Bosch Atmospheric Sensor Library", + "Sensor Class": + { + "CurieImu": + { + "Name": "Digital Humidity, Pressure, and Temperature Sensor", + "Description": "Curie IMU is a 6-axis accelerometer.", + "Aliases": ["curieimu"], + "Categories": ["IMU", "accelerometer", "compass"], + "Connections": ["firmata"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["bosch"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": ["curieimu.py"], + "Node.js": ["curieimu.js"], + "C++": ["curieimu.cxx"], + "C": [] + }, + "Specifications": + { + + }, + "Platforms": + {}, + "Urls" : + { + "Product Pages": [], + "Datasheets": [], + "Schematics": [] + } + } + } +} diff --git a/src/cwlsxxa/cwlsxxa.json b/src/cwlsxxa/cwlsxxa.json index a928c541..9784ccf7 100644 --- a/src/cwlsxxa/cwlsxxa.json +++ b/src/cwlsxxa/cwlsxxa.json @@ -1,59 +1,59 @@ -{ - "Library": "cwlsxxa", - "Description": "API for the Veris CWLSXXA CO2 Sensor Family", - "Sensor Class": - { - "CWLXSSA": - { - "Name": "Veris CWLSXXA CO2 Sensor", - "Description": "The driver was developed using the CWLSHTA CO2 Gas sensor. The 'T' variant supports a temperature transmitter, and the 'H' variant supports a humidity sensor. All 3 signals are provided by the device as analog 0-5Vdc, 0-10Vdc, or 4-20ma loop current outputs. For devices supporting temperature, the valid temperature range is 10C to 50C. The humidity ranges from 0% to 100% (non-condensing). The CO2 sensor ranges from 0 to 2000 ppm. This driver was developed using the 5Vdc outputs and the 4-20ma outputs. For voltage outputs, your MCU must be configured for 5V operation. In addition, you must configure the sensor (via it's configuration switches) to output 0-5VDC only. Using any other analog reference voltage will require the appropriate external circuitry (such as a voltage divider) in order to interface safely with your MCU. In addition, the sensor can be configured for 4-20ma usage, by specifying the correct receiver resistance (in ohms) in the constructor. This sensor was tested with a Cooking Hacks (Libelium) 4-channel 4-20ma Arduino interface shield. For this interface, the receiver resistance was specified as 165.0 ohms. For devices which do not support temperature, use '-1' as the temperature pin number in the object constructor. If temperature measurement is disabled, getTemperature() will always return 0C/32F. For devices which do not support humidity, use '-1' as the temperature pin number in the object constructor. If humidity measurement is disabled, getHumidity() will always return 0.", - "Aliases": ["cwlsxxa"], - "Categories": ["temp", "gaseous"], - "Connections": ["analog"], - "Project Type": ["industrial"], - "Manufacturers": ["veris"], - "Kits": [], - "Examples": - { - "Java": ["CWLSXXA_Example.java"], - "Python": ["cwlsxxa.py"], - "Node.js": ["cwlsxxa.js"], - "C++": ["cwlsxxa.cxx"], - "C": [] - }, - "Specifications": - { - "Vsource (DC)": {"unit": "VDC", "low": 20, "high": 30}, - "Vsource (AC)": {"unit": "VAC", "typ": 24}, - - "CO2 Measurement Range": {"unit": "ppm", "low": 0, "high": 5000}, - "CO2 Accuracy": {"unit": "ppm ±", "typ": 30}, - "CO2 Repeatability": {"unit": "ppm ±", "typ": 20}, - "CO2 Response Time": {"unit": "s", "max": 60}, - - "RH Measurement Range": {"unit": "%", "low": 0, "high": 100}, - "RH Operating Temperature Range": {"unit": "degC", "low": 10, "high": 35}, - "RH Accuracy": {"unit": "%", "typ": 2}, - "RH Stability": {"unit": "%", "typ": 1}, - - "Temperature Accuracy": {"unit": "degC", "typ": 0.5}, - "Temperature Resolution": {"unit": "degC", "typ": 0.1}, - "Temperature Range": {"unit": "degC", "low": 10, "high": 35} - }, - "Platforms": - { - "Intel Joule Module": - { - "Notes": ["Requires pull-up resistors with carrier board"], - "Images": [""] - } - }, - "Urls" : - { - "Product Pages": ["http://www.veris.com/Item/CWLSHTA.aspx"], - "Datasheets": ["http://www.veris.com/docs/Datasheets/CDL_CDW_d0117.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "cwlsxxa", + "Description": "API for the Veris CWLSXXA CO2 Sensor Family", + "Sensor Class": + { + "CWLXSSA": + { + "Name": "Veris CWLSXXA CO2 Sensor", + "Description": "The driver was developed using the CWLSHTA CO2 Gas sensor. The 'T' variant supports a temperature transmitter, and the 'H' variant supports a humidity sensor. All 3 signals are provided by the device as analog 0-5Vdc, 0-10Vdc, or 4-20ma loop current outputs. For devices supporting temperature, the valid temperature range is 10C to 50C. The humidity ranges from 0% to 100% (non-condensing). The CO2 sensor ranges from 0 to 2000 ppm. This driver was developed using the 5Vdc outputs and the 4-20ma outputs. For voltage outputs, your MCU must be configured for 5V operation. In addition, you must configure the sensor (via it's configuration switches) to output 0-5VDC only. Using any other analog reference voltage will require the appropriate external circuitry (such as a voltage divider) in order to interface safely with your MCU. In addition, the sensor can be configured for 4-20ma usage, by specifying the correct receiver resistance (in ohms) in the constructor. This sensor was tested with a Cooking Hacks (Libelium) 4-channel 4-20ma Arduino interface shield. For this interface, the receiver resistance was specified as 165.0 ohms. For devices which do not support temperature, use '-1' as the temperature pin number in the object constructor. If temperature measurement is disabled, getTemperature() will always return 0C/32F. For devices which do not support humidity, use '-1' as the temperature pin number in the object constructor. If humidity measurement is disabled, getHumidity() will always return 0.", + "Aliases": ["cwlsxxa"], + "Categories": ["temp", "gaseous"], + "Connections": ["analog"], + "Project Type": ["industrial"], + "Manufacturers": ["veris"], + "Kits": [], + "Examples": + { + "Java": ["CWLSXXA_Example.java"], + "Python": ["cwlsxxa.py"], + "Node.js": ["cwlsxxa.js"], + "C++": ["cwlsxxa.cxx"], + "C": [] + }, + "Specifications": + { + "Vsource (DC)": {"unit": "VDC", "low": 20, "high": 30}, + "Vsource (AC)": {"unit": "VAC", "typ": 24}, + + "CO2 Measurement Range": {"unit": "ppm", "low": 0, "high": 5000}, + "CO2 Accuracy": {"unit": "ppm ±", "typ": 30}, + "CO2 Repeatability": {"unit": "ppm ±", "typ": 20}, + "CO2 Response Time": {"unit": "s", "max": 60}, + + "RH Measurement Range": {"unit": "%", "low": 0, "high": 100}, + "RH Operating Temperature Range": {"unit": "degC", "low": 10, "high": 35}, + "RH Accuracy": {"unit": "%", "typ": 2}, + "RH Stability": {"unit": "%", "typ": 1}, + + "Temperature Accuracy": {"unit": "degC", "typ": 0.5}, + "Temperature Resolution": {"unit": "degC", "typ": 0.1}, + "Temperature Range": {"unit": "degC", "low": 10, "high": 35} + }, + "Platforms": + { + "Intel Joule Module": + { + "Notes": ["Requires pull-up resistors with carrier board"], + "Images": [""] + } + }, + "Urls" : + { + "Product Pages": ["http://www.veris.com/Item/CWLSHTA.aspx"], + "Datasheets": ["http://www.veris.com/docs/Datasheets/CDL_CDW_d0117.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/dfrec/dfrec.json b/src/dfrec/dfrec.json index 3d01285d..78e86e17 100644 --- a/src/dfrec/dfrec.json +++ b/src/dfrec/dfrec.json @@ -1,39 +1,39 @@ -{ - "Library": "dfrec", - "Description": "DFRobot EC Meter Library", - "Sensor Class": - { - "DFREC": - { - "Name": "Analog Electrical Conductivity (EC) Sensor", - "Description": "The driver was tested with the DFRobot EC Analog Sensor. This device measure the electrical conductivity of an aqueous solution. The included probe is a K=1 model. Calibration is somewhat complicated - see the DFRobot wiki for instructions on calibration. Functions are provided to supply the appropriate values. By default, the values used in the DFRobot arduino example are used.", - "Aliases": ["dfrec"], - "Categories": ["ec", "conductivity"], - "Connections": ["analog", "uart"], - "Project Type": ["industrial"], - "Manufacturers": ["dfrobot"], - "Kits": [], - "Examples": - { - "Java": ["DFREC_Example.java"], - "Python": ["dfrec.py"], - "Node.js": ["dfrec.js"], - "C++": ["dfrec.cxx"], - "C": ["dfrec.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "Typ": 5}, - "Measurement Range": {"unit": "mS/cm", "low": 1, "high": 20}, - "Operating Temperature": {"unit": "degC", "low": 5, "high": 40} - - }, - "Urls" : - { - "Product Pages": ["https://www.dfrobot.com/product-1123.html"], - "Datasheets": [""], - "Schematics": ["http://image.dfrobot.com/image/data/DFR0300/DFR0300_v1.0_schematic.pdf"] - } - } - } -} +{ + "Library": "dfrec", + "Description": "DFRobot EC Meter Library", + "Sensor Class": + { + "DFREC": + { + "Name": "Analog Electrical Conductivity (EC) Sensor", + "Description": "The driver was tested with the DFRobot EC Analog Sensor. This device measure the electrical conductivity of an aqueous solution. The included probe is a K=1 model. Calibration is somewhat complicated - see the DFRobot wiki for instructions on calibration. Functions are provided to supply the appropriate values. By default, the values used in the DFRobot arduino example are used.", + "Aliases": ["dfrec"], + "Categories": ["ec", "conductivity"], + "Connections": ["analog", "uart"], + "Project Type": ["industrial"], + "Manufacturers": ["dfrobot"], + "Kits": [], + "Examples": + { + "Java": ["DFREC_Example.java"], + "Python": ["dfrec.py"], + "Node.js": ["dfrec.js"], + "C++": ["dfrec.cxx"], + "C": ["dfrec.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "Typ": 5}, + "Measurement Range": {"unit": "mS/cm", "low": 1, "high": 20}, + "Operating Temperature": {"unit": "degC", "low": 5, "high": 40} + + }, + "Urls" : + { + "Product Pages": ["https://www.dfrobot.com/product-1123.html"], + "Datasheets": [""], + "Schematics": ["http://image.dfrobot.com/image/data/DFR0300/DFR0300_v1.0_schematic.pdf"] + } + } + } +} diff --git a/src/dfrorp/dfrorp.json b/src/dfrorp/dfrorp.json index 04c46dcb..7166feb2 100644 --- a/src/dfrorp/dfrorp.json +++ b/src/dfrorp/dfrorp.json @@ -1,39 +1,39 @@ -{ - "Library": "dfrorp", - "Description": "UPM C++ API for the DFRobot ORP (Oxidation/Reduction Potential)", - "Sensor Class": - { - "DFRORP": - { - "Name": "Analog Oxidation Reduction Potential (ORP) Sensor", - "Description": "This library was tested with the DFRobot ORP (Oxidation/Reduction Potential) Sensor. To calibrate: Disconnect the sensor probe (but leave the sensor interface board connected). Then run one of the examples while holding down the 'calibrate' button on the device. Read the ORP value reported (it should be fairly small). This value is what you should supply to setCalibrationOffset(). Then reconnect the probe to the interface board and you should be ready to go. DO NOT press the calibrate button on the interface board while the probe is attached or you can permanently damage the probe.", - "Aliases": ["dfrorp"], - "Categories": ["orp", "liquid"], - "Connections": ["analog"], - "Project Type": ["industrial"], - "Manufacturers": ["dfrobot"], - "Kits": [], - "Examples": - { - "Java": ["DFRORP_Example.java"], - "Python": ["dfrorp.py"], - "Node.js": ["dfrorp.js"], - "C++": ["dfrorp.cxx"], - "C": ["dfrorp.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "Typ": 5}, - "Measurement Range": {"unit": "V", "low": -2, "high": 2}, - "Operating Temperature": {"unit": "degC", "low": 5, "high": 70} - - }, - "Urls" : - { - "Product Pages": ["https://www.dfrobot.com/product-1071.html"], - "Datasheets": ["https://www.dfrobot.com/wiki/index.php/Analog_ORP_Meter(SKU:SEN0165)"], - "Schematics": ["http://image.dfrobot.com/image/data/SEN0165/OPR%20meter%20V1.0%20Schematic.pdf"] - } - } - } -} +{ + "Library": "dfrorp", + "Description": "UPM C++ API for the DFRobot ORP (Oxidation/Reduction Potential)", + "Sensor Class": + { + "DFRORP": + { + "Name": "Analog Oxidation Reduction Potential (ORP) Sensor", + "Description": "This library was tested with the DFRobot ORP (Oxidation/Reduction Potential) Sensor. To calibrate: Disconnect the sensor probe (but leave the sensor interface board connected). Then run one of the examples while holding down the 'calibrate' button on the device. Read the ORP value reported (it should be fairly small). This value is what you should supply to setCalibrationOffset(). Then reconnect the probe to the interface board and you should be ready to go. DO NOT press the calibrate button on the interface board while the probe is attached or you can permanently damage the probe.", + "Aliases": ["dfrorp"], + "Categories": ["orp", "liquid"], + "Connections": ["analog"], + "Project Type": ["industrial"], + "Manufacturers": ["dfrobot"], + "Kits": [], + "Examples": + { + "Java": ["DFRORP_Example.java"], + "Python": ["dfrorp.py"], + "Node.js": ["dfrorp.js"], + "C++": ["dfrorp.cxx"], + "C": ["dfrorp.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "Typ": 5}, + "Measurement Range": {"unit": "V", "low": -2, "high": 2}, + "Operating Temperature": {"unit": "degC", "low": 5, "high": 70} + + }, + "Urls" : + { + "Product Pages": ["https://www.dfrobot.com/product-1071.html"], + "Datasheets": ["https://www.dfrobot.com/wiki/index.php/Analog_ORP_Meter(SKU:SEN0165)"], + "Schematics": ["http://image.dfrobot.com/image/data/SEN0165/OPR%20meter%20V1.0%20Schematic.pdf"] + } + } + } +} diff --git a/src/dfrph/dfrph.json b/src/dfrph/dfrph.json index 04b746f2..c3edf9eb 100644 --- a/src/dfrph/dfrph.json +++ b/src/dfrph/dfrph.json @@ -1,40 +1,40 @@ -{ - "Library": "dfrph", - "Description": "API for the DFRobot pH Sensors", - "Sensor Class": - { - "DFRPH": - { - "Name": "Analog pH Sensor", - "Description": "TThis sensor family returns an analog voltage proportional to the acidity or alkalinity of a liquid -- it's pH value. This driver was developed using the DFRobot Analog pH meter and the DFRobot Analog pH Meter Pro. Calibration instructions, taken and slightly reworded from the DFRobot wiki at: http://dfrobot.com/wiki/index.php/PH_meter%28SKU:_SEN0161%29 1) Connect equipment: the pH electrode is connected to the BNC connector on the pH meter board, and then the pH meter board is connected to the analog port 0 of the controller. When the controller gets power, you will see the blue LED on board is on. 2) Put the pH electrode into the standard solution whose pH value is 7.00. Run the dfrph example and note the pH output value. Compare the value with 7.00, and calculate the difference. This is the value you should supply to the setOffset() method. 3) Put the pH electrode into the pH standard solution whose value is 4.00. Then wait about one minute, and adjust the potentiometer on the interface board. Let the value stabilise at around 4.00. At this time,the acidic calibration has been completed and you can measure the pH value of an acidic solution. 4) According to the linear characteristics of pH electrode itself, after the above calibration,you can directly measure the pH value of the alkaline solution. If you want to get better accuracy, you can recalibrate it. Alkaline calibration use the standard solution whose pH value is 9.18. Also adjust the potentiometer and let the value stabilise at around 9.18. After this calibration, you can measure the pH value of an alkaline solution.", - "Aliases": ["dfrph"], - "Categories": ["pH", "liquid"], - "Connections": ["analog"], - "Project Type": ["industrial"], - "Manufacturers": ["dfrobot"], - "Kits": [], - "Image": "dfrph.jpg", - "Examples": - { - "Java": [], - "Python": ["dfrph.py"], - "Node.js": ["dfrph.js"], - "C++": ["dfrph.cxx"], - "C": ["dfrph.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "Typ": 5}, - "Measurement Range": {"unit": "pH", "low": 0, "high": 14}, - "Operating Temperature": {"unit": "degC", "low": 0, "high": 60} - - }, - "Urls" : - { - "Product Pages": ["https://www.dfrobot.com/product-1110.html"], - "Datasheets": ["https://www.dfrobot.com/wiki/index.php/PH_meter(SKU:_SEN0161)"], - "Schematics": ["http://image.dfrobot.com/image/data/SEN0161/pH%20meter%20V1.0%20SCH.pdf"] - } - } - } -} +{ + "Library": "dfrph", + "Description": "API for the DFRobot pH Sensors", + "Sensor Class": + { + "DFRPH": + { + "Name": "Analog pH Sensor", + "Description": "TThis sensor family returns an analog voltage proportional to the acidity or alkalinity of a liquid -- it's pH value. This driver was developed using the DFRobot Analog pH meter and the DFRobot Analog pH Meter Pro. Calibration instructions, taken and slightly reworded from the DFRobot wiki at: http://dfrobot.com/wiki/index.php/PH_meter%28SKU:_SEN0161%29 1) Connect equipment: the pH electrode is connected to the BNC connector on the pH meter board, and then the pH meter board is connected to the analog port 0 of the controller. When the controller gets power, you will see the blue LED on board is on. 2) Put the pH electrode into the standard solution whose pH value is 7.00. Run the dfrph example and note the pH output value. Compare the value with 7.00, and calculate the difference. This is the value you should supply to the setOffset() method. 3) Put the pH electrode into the pH standard solution whose value is 4.00. Then wait about one minute, and adjust the potentiometer on the interface board. Let the value stabilise at around 4.00. At this time,the acidic calibration has been completed and you can measure the pH value of an acidic solution. 4) According to the linear characteristics of pH electrode itself, after the above calibration,you can directly measure the pH value of the alkaline solution. If you want to get better accuracy, you can recalibrate it. Alkaline calibration use the standard solution whose pH value is 9.18. Also adjust the potentiometer and let the value stabilise at around 9.18. After this calibration, you can measure the pH value of an alkaline solution.", + "Aliases": ["dfrph"], + "Categories": ["pH", "liquid"], + "Connections": ["analog"], + "Project Type": ["industrial"], + "Manufacturers": ["dfrobot"], + "Kits": [], + "Image": "dfrph.jpg", + "Examples": + { + "Java": [], + "Python": ["dfrph.py"], + "Node.js": ["dfrph.js"], + "C++": ["dfrph.cxx"], + "C": ["dfrph.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "Typ": 5}, + "Measurement Range": {"unit": "pH", "low": 0, "high": 14}, + "Operating Temperature": {"unit": "degC", "low": 0, "high": 60} + + }, + "Urls" : + { + "Product Pages": ["https://www.dfrobot.com/product-1110.html"], + "Datasheets": ["https://www.dfrobot.com/wiki/index.php/PH_meter(SKU:_SEN0161)"], + "Schematics": ["http://image.dfrobot.com/image/data/SEN0161/pH%20meter%20V1.0%20SCH.pdf"] + } + } + } +} diff --git a/src/ds1307/ds1307.json b/src/ds1307/ds1307.json index 8b54ef4a..01fce031 100644 --- a/src/ds1307/ds1307.json +++ b/src/ds1307/ds1307.json @@ -1,41 +1,41 @@ -{ - "Library": "ds1307", - "Description": "DS1307 Real-Time Clock library", - "Sensor Class": - { - "DS1307": - { - "Name": "DS1307 Real Time Clock (RTC) Module", - "Description": "UPM module for the DS1307-based real-time clock. The clock can provide information about seconds, minutes, hours, day of the week, day of the month, month, and year. It can operate in either a 24-hour or a 12-hour format. This device can also output a square wave at 1Khz, 4Khz, 8Khz, and 32Khz. However, this capability is not implemented in this module.", - "Aliases": ["ds1307"], - "Categories": ["RTC", "timekeeping"], - "Connections": ["i2c"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["seeed", "maxim"], - "Kits": [], - "Image": "ds1307.jpg", - "Examples": - { - "Java": ["DS1307Sample.java"], - "Python": ["ds1307.py"], - "Node.js": ["ds1307.js"], - "C++": ["ds1307.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 4.5, "high": 5.5}, - "Active Current": {"unit": "mA", "Typ": 1.5}, - "Standby Current (Oscillator On)": {"unit": "nA", "low": 480, "high": 800}, - "Operating Temperature": {"unit": "degC", "low": 0, "high": 70} - - }, - "Urls" : - { - "Product Pages": ["https://www.maximintegrated.com/en/products/digital/real-time-clocks/DS1307.html/tb_tab0"], - "Datasheets": ["https://datasheets.maximintegrated.com/en/ds/DS1307.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "ds1307", + "Description": "DS1307 Real-Time Clock library", + "Sensor Class": + { + "DS1307": + { + "Name": "DS1307 Real Time Clock (RTC) Module", + "Description": "UPM module for the DS1307-based real-time clock. The clock can provide information about seconds, minutes, hours, day of the week, day of the month, month, and year. It can operate in either a 24-hour or a 12-hour format. This device can also output a square wave at 1Khz, 4Khz, 8Khz, and 32Khz. However, this capability is not implemented in this module.", + "Aliases": ["ds1307"], + "Categories": ["RTC", "timekeeping"], + "Connections": ["i2c"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["seeed", "maxim"], + "Kits": [], + "Image": "ds1307.jpg", + "Examples": + { + "Java": ["DS1307_Example.java"], + "Python": ["ds1307.py"], + "Node.js": ["ds1307.js"], + "C++": ["ds1307.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 4.5, "high": 5.5}, + "Active Current": {"unit": "mA", "Typ": 1.5}, + "Standby Current (Oscillator On)": {"unit": "nA", "low": 480, "high": 800}, + "Operating Temperature": {"unit": "degC", "low": 0, "high": 70} + + }, + "Urls" : + { + "Product Pages": ["https://www.maximintegrated.com/en/products/digital/real-time-clocks/DS1307.html/tb_tab0"], + "Datasheets": ["https://datasheets.maximintegrated.com/en/ds/DS1307.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/ds1808lc/ds1808lc.json b/src/ds1808lc/ds1808lc.json index d7d0ea4a..5c4d74b1 100644 --- a/src/ds1808lc/ds1808lc.json +++ b/src/ds1808lc/ds1808lc.json @@ -1,39 +1,39 @@ -{ - "Library": "ds1808lc", - "Description": "API for DS1808 Dual Log Digital Potentiometer as a Light Controller", - "Sensor Class": - { - "DS1808LC": - { - "Name": "DS1808LC Lighting Controller", - "Description": "The Maxim Integrated [DS1808](http://www.maximintegrated.com/en/products/analog/data-converters/digital-potentiometers/DS1808.html) Dual Log Digital Potentiometer", - "Aliases": ["ds1808lc"], - "Categories": ["lighting"], - "Connections": ["i2c"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["maxim"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": [], - "Node.js": [], - "C++": ["ds1808lc.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "+-V", "Typ": 12}, - "Voltage Range": {"unit": "+-%", "Typ": 10}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} - - }, - "Urls" : - { - "Product Pages": ["https://www.maximintegrated.com/en/products/analog/data-converters/digital-potentiometers/DS1808.html"], - "Datasheets": ["https://datasheets.maximintegrated.com/en/ds/DS1808.pdf"], - "Schematics": [""] - } - } - } -} +{ + "Library": "ds1808lc", + "Description": "API for DS1808 Dual Log Digital Potentiometer as a Light Controller", + "Sensor Class": + { + "DS1808LC": + { + "Name": "DS1808LC Lighting Controller", + "Description": "The Maxim Integrated [DS1808](http://www.maximintegrated.com/en/products/analog/data-converters/digital-potentiometers/DS1808.html) Dual Log Digital Potentiometer", + "Aliases": ["ds1808lc"], + "Categories": ["lighting"], + "Connections": ["i2c"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["maxim"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": [], + "Node.js": [], + "C++": ["ds1808lc.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "+-V", "Typ": 12}, + "Voltage Range": {"unit": "+-%", "Typ": 10}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} + + }, + "Urls" : + { + "Product Pages": ["https://www.maximintegrated.com/en/products/analog/data-converters/digital-potentiometers/DS1808.html"], + "Datasheets": ["https://datasheets.maximintegrated.com/en/ds/DS1808.pdf"], + "Schematics": [""] + } + } + } +} diff --git a/src/ds18b20/ds18b20.json b/src/ds18b20/ds18b20.json index 5dde2271..09a5d065 100644 --- a/src/ds18b20/ds18b20.json +++ b/src/ds18b20/ds18b20.json @@ -1,39 +1,39 @@ -{ - "Library": "ds18b20", - "Description": "API for the DS18B20 1-Wire Temperature Sensor", - "Sensor Class": - { - "DS18B20": - { - "Name": "DS18B20 1-Wire Temperature Sensor", - "Description": "The driver was tested with the DFRobot EC Analog Sensor. This device measure the electrical conductivity of an aqueous solution. The included probe is a K=1 model. Calibration is somewhat complicated - see the DFRobot wiki for instructions on calibration. Functions are provided to supply the appropriate values. By default, the values used in the DFRobot arduino example are used.", - "Aliases": ["ds18b20"], - "Categories": ["ec", "conductivity"], - "Connections": ["uart"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["dallas"], - "Kits": [], - "Examples": - { - "Java": [""], - "Python": ["ds18b20.py"], - "Node.js": ["ds18b20.js"], - "C++": ["ds18b20.cxx"], - "C": ["ds18b20.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.0, "high": 5.5}, - "Measurement Range": {"unit": "degC", "low": -55, "high": 125}, - "+-.5degC Accuracy Range": {"unit": "degC", "low": -10, "high": 85} - - }, - "Urls" : - { - "Product Pages": ["https://www.sparkfun.com/products/11050"], - "Datasheets": ["http://cdn.sparkfun.com/datasheets/Sensors/Temp/DS18B20.pdf"], - "Schematics": [""] - } - } - } -} +{ + "Library": "ds18b20", + "Description": "API for the DS18B20 1-Wire Temperature Sensor", + "Sensor Class": + { + "DS18B20": + { + "Name": "DS18B20 1-Wire Temperature Sensor", + "Description": "The driver was tested with the DFRobot EC Analog Sensor. This device measure the electrical conductivity of an aqueous solution. The included probe is a K=1 model. Calibration is somewhat complicated - see the DFRobot wiki for instructions on calibration. Functions are provided to supply the appropriate values. By default, the values used in the DFRobot arduino example are used.", + "Aliases": ["ds18b20"], + "Categories": ["ec", "conductivity"], + "Connections": ["uart"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["dallas"], + "Kits": [], + "Examples": + { + "Java": [""], + "Python": ["ds18b20.py"], + "Node.js": ["ds18b20.js"], + "C++": ["ds18b20.cxx"], + "C": ["ds18b20.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.0, "high": 5.5}, + "Measurement Range": {"unit": "degC", "low": -55, "high": 125}, + "+-.5degC Accuracy Range": {"unit": "degC", "low": -10, "high": 85} + + }, + "Urls" : + { + "Product Pages": ["https://www.sparkfun.com/products/11050"], + "Datasheets": ["http://cdn.sparkfun.com/datasheets/Sensors/Temp/DS18B20.pdf"], + "Schematics": [""] + } + } + } +} diff --git a/src/ds2413/ds2413.json b/src/ds2413/ds2413.json index 7a7da53d..21dd5941 100644 --- a/src/ds2413/ds2413.json +++ b/src/ds2413/ds2413.json @@ -1,39 +1,39 @@ -{ - "Library": "ds2413", - "Description": "1-Wire Dual Channel Addressable Switch Library", - "Sensor Class": - { - "DS2413": - { - "Name": "1-Wire Dual Channel Addressable Switch", - "Description": "The DS2413 is a dual-channel programmable I/O 1-Wire(r) chip. The PIO outputs are configured as open-drain and provide up to 20mA continuous sink capability and off-state operating voltage up to 28V. Control and sensing of the PIO pins is performed with a dedicated device-level command protocol. This device requires the use of a UART to provide access to a Dallas 1-wire bus, via a new facility supported by MRAA (once the relevant PR is accepted), using the UartOW access class. It is important to realize that the UART is only being used to access and control a Dallas 1-wire compliant bus, it is not actually a UART device. Multiple DS2413 devices can be connected to this bus. This module will identify all such devices connected, and allow you to access them using an index starting at 0.", - "Aliases": ["ds2413"], - "Categories": ["switch"], - "Connections": ["uart"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["maxim", "adafruit"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": ["ds2413.py"], - "Node.js": ["ds2413.js"], - "C++": ["ds2413.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 2.8, "high": 5.5}, - "Input Load Current": {"unit": "uA", "low": 3.5, "high": 950}, - "Operating Temperature": {"unit": "degC", "low": 0, "high": 70} - - }, - "Urls" : - { - "Product Pages": ["http://www.maximintegrated.com/datasheet/index.mvp/id/4588", "https://learn.adafruit.com/adafruit-1-wire-gpio-breakout-ds2413/overview"], - "Datasheets": ["http://www.adafruit.com/datasheets/DS2413.pdf"], - "Schematics": ["https://learn.adafruit.com/assets/15639"] - } - } - } -} +{ + "Library": "ds2413", + "Description": "1-Wire Dual Channel Addressable Switch Library", + "Sensor Class": + { + "DS2413": + { + "Name": "1-Wire Dual Channel Addressable Switch", + "Description": "The DS2413 is a dual-channel programmable I/O 1-Wire(r) chip. The PIO outputs are configured as open-drain and provide up to 20mA continuous sink capability and off-state operating voltage up to 28V. Control and sensing of the PIO pins is performed with a dedicated device-level command protocol. This device requires the use of a UART to provide access to a Dallas 1-wire bus, via a new facility supported by MRAA (once the relevant PR is accepted), using the UartOW access class. It is important to realize that the UART is only being used to access and control a Dallas 1-wire compliant bus, it is not actually a UART device. Multiple DS2413 devices can be connected to this bus. This module will identify all such devices connected, and allow you to access them using an index starting at 0.", + "Aliases": ["ds2413"], + "Categories": ["switch"], + "Connections": ["uart"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["maxim", "adafruit"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": ["ds2413.py"], + "Node.js": ["ds2413.js"], + "C++": ["ds2413.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 2.8, "high": 5.5}, + "Input Load Current": {"unit": "uA", "low": 3.5, "high": 950}, + "Operating Temperature": {"unit": "degC", "low": 0, "high": 70} + + }, + "Urls" : + { + "Product Pages": ["http://www.maximintegrated.com/datasheet/index.mvp/id/4588", "https://learn.adafruit.com/adafruit-1-wire-gpio-breakout-ds2413/overview"], + "Datasheets": ["http://www.adafruit.com/datasheets/DS2413.pdf"], + "Schematics": ["https://learn.adafruit.com/assets/15639"] + } + } + } +} diff --git a/src/e50hx/e50hx.json b/src/e50hx/e50hx.json index e0271608..ebdbc39d 100644 --- a/src/e50hx/e50hx.json +++ b/src/e50hx/e50hx.json @@ -1,41 +1,41 @@ -{ - "Library": "e50hx", - "Description": "UPM API for the Veris E50HX Energy Meter", - "Sensor Class": - { - "E50HX": - { - "Name": "Veris E50HX (E50H2/E50H5) Energy Meter Module", - "Description": "This module implements support for the Veris E50H2 and E50H5 BACnet Energy Meters. From the datasheet: The E50H5 BACnet MS/TP DIN Rail Meter with Data Logging combines exceptional performance and easy installation to deliver a cost-effective solution for power monitoring applications. Native serial communication via BACnet MS/TP provides complete accessibility of all measurements to your Building Automation System The data logging capability protects data in the event of a power failure. The E50H5 can be easily installed on standard DIN rail, surface mounted or contained in an optional NEMA 4 enclosure, as needed. The front-panel LCD display makes device installation and setup easy and provides local access to the full set of detailed measurements. This module was developed using the upm::BACNETMSTP module, based on libbacnet-stack 0.8.3. Both libbacnet 0.8.3 and the upm::BACNETMSTP libraries must be present in order to build this module. This driver was developed on the E50H5. The Trend Log functionality is not currently supported. The Binary Input Objects are also not supported as these are only used for the Alarm bits which are already available from Analog Input Object 52 as an alarm bitfield incorporating all of the supported alarm indicators. It was connected using an RS232->RS485 interface. You cannot use the built in MCU TTL UART pins for accessing this device -- you must use a full Serial RS232->RS485 or USB-RS485 interface connected via USB.", - "Aliases": ["e50hx"], - "Categories": ["energy"], - "Connections": ["rs485"], - "Project Type": ["industrial"], - "Manufacturers": ["veris"], - "Kits": [], - "Examples": - { - "Java": ["E50HX_Example.java"], - "Python": ["e50hx.py"], - "Node.js": ["e50hx.js"], - "C++": ["e50hx.cxx"], - "C": [] - }, - "Specifications": - { - "AC Operating Voltage": {"unit": "VAC", "low": 90, "high": 600}, - "AC Power Usage": {"unit": "VA", "Max": 5}, - "DC Operating Voltage": {"unit": "VDC", "low": 125, "high": 300}, - "DC Power Usage": {"unit": "W", "Max": 3}, - "Operating Temperature": {"unit": "degC", "low": -30, "high": 70} - - }, - "Urls" : - { - "Product Pages": ["http://www.veris.com/Item/E50H5.aspx"], - "Datasheets": ["http://www.veris.com/docs/Datasheets/E5x_d0117.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "e50hx", + "Description": "UPM API for the Veris E50HX Energy Meter", + "Sensor Class": + { + "E50HX": + { + "Name": "Veris E50HX (E50H2/E50H5) Energy Meter Module", + "Description": "This module implements support for the Veris E50H2 and E50H5 BACnet Energy Meters. From the datasheet: The E50H5 BACnet MS/TP DIN Rail Meter with Data Logging combines exceptional performance and easy installation to deliver a cost-effective solution for power monitoring applications. Native serial communication via BACnet MS/TP provides complete accessibility of all measurements to your Building Automation System The data logging capability protects data in the event of a power failure. The E50H5 can be easily installed on standard DIN rail, surface mounted or contained in an optional NEMA 4 enclosure, as needed. The front-panel LCD display makes device installation and setup easy and provides local access to the full set of detailed measurements. This module was developed using the upm::BACNETMSTP module, based on libbacnet-stack 0.8.3. Both libbacnet 0.8.3 and the upm::BACNETMSTP libraries must be present in order to build this module. This driver was developed on the E50H5. The Trend Log functionality is not currently supported. The Binary Input Objects are also not supported as these are only used for the Alarm bits which are already available from Analog Input Object 52 as an alarm bitfield incorporating all of the supported alarm indicators. It was connected using an RS232->RS485 interface. You cannot use the built in MCU TTL UART pins for accessing this device -- you must use a full Serial RS232->RS485 or USB-RS485 interface connected via USB.", + "Aliases": ["e50hx"], + "Categories": ["energy"], + "Connections": ["rs485"], + "Project Type": ["industrial"], + "Manufacturers": ["veris"], + "Kits": [], + "Examples": + { + "Java": ["E50HX_Example.java"], + "Python": ["e50hx.py"], + "Node.js": ["e50hx.js"], + "C++": ["e50hx.cxx"], + "C": [] + }, + "Specifications": + { + "AC Operating Voltage": {"unit": "VAC", "low": 90, "high": 600}, + "AC Power Usage": {"unit": "VA", "Max": 5}, + "DC Operating Voltage": {"unit": "VDC", "low": 125, "high": 300}, + "DC Power Usage": {"unit": "W", "Max": 3}, + "Operating Temperature": {"unit": "degC", "low": -30, "high": 70} + + }, + "Urls" : + { + "Product Pages": ["http://www.veris.com/Item/E50H5.aspx"], + "Datasheets": ["http://www.veris.com/docs/Datasheets/E5x_d0117.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/ecezo/ecezo.json b/src/ecezo/ecezo.json index 5f5e67c4..e484614b 100644 --- a/src/ecezo/ecezo.json +++ b/src/ecezo/ecezo.json @@ -1,43 +1,43 @@ -{ - "Library": "ecezo", - "Description": "API for the EC-EZO EC Sensor", - "Sensor Class": - { - "ECEZO": - { - "Name": "Electrical Conductivity (EC) Circuit", - "Description": "This driver was tested with the Atlas Scientific Electrical Conductivity kit. This device can operate in either UART or I2C modes.", - "Aliases": ["ecezo"], - "Categories": ["ec", "conductivity", "liquid"], - "Connections": ["i2c", "uart"], - "Project Type": ["industrial"], - "Manufacturers": ["atlas", "sparkfun"], - "Kits": [], - "Examples": - { - "Java": ["ECEZO_Example.java"], - "Python": ["ecezo.py"], - "Node.js": ["ecezo.js"], - "C++": ["ecezo.cxx"], - "C": ["ecezo.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, - "Operating Current": {"unit": "mA", "low": 19, "high": 50}, - "Conductivity Probe Range": {"unit": "K", "low": 0.1, "high": 10}, - "Accurate Reading Range (K=0.1)": {"unit": "uS", "low": 0.5, "high": 50000}, - "Accurate Reading Range (K=1.0)": {"unit": "uS", "low": 5, "high": 200000}, - "Accurate Reading Range (K=10.0)": {"unit": "uS", "low": 10, "high": 1000000}, - "Operating Temperature": {"unit": "degC", "low": 1, "high": 35} - - }, - "Urls" : - { - "Product Pages": ["https://www.atlas-scientific.com/product_pages/kits/ec_k1_0_kit.html", "https://www.sparkfun.com/products/12908"], - "Datasheets": ["https://cdn.sparkfun.com/datasheets/Sensors/Biometric/EC_EZO_Datasheet.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "ecezo", + "Description": "API for the EC-EZO EC Sensor", + "Sensor Class": + { + "ECEZO": + { + "Name": "Electrical Conductivity (EC) Circuit", + "Description": "This driver was tested with the Atlas Scientific Electrical Conductivity kit. This device can operate in either UART or I2C modes.", + "Aliases": ["ecezo"], + "Categories": ["ec", "conductivity", "liquid"], + "Connections": ["i2c", "uart"], + "Project Type": ["industrial"], + "Manufacturers": ["atlas", "sparkfun"], + "Kits": [], + "Examples": + { + "Java": ["ECEZO_Example.java"], + "Python": ["ecezo.py"], + "Node.js": ["ecezo.js"], + "C++": ["ecezo.cxx"], + "C": ["ecezo.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, + "Operating Current": {"unit": "mA", "low": 19, "high": 50}, + "Conductivity Probe Range": {"unit": "K", "low": 0.1, "high": 10}, + "Accurate Reading Range (K=0.1)": {"unit": "uS", "low": 0.5, "high": 50000}, + "Accurate Reading Range (K=1.0)": {"unit": "uS", "low": 5, "high": 200000}, + "Accurate Reading Range (K=10.0)": {"unit": "uS", "low": 10, "high": 1000000}, + "Operating Temperature": {"unit": "degC", "low": 1, "high": 35} + + }, + "Urls" : + { + "Product Pages": ["https://www.atlas-scientific.com/product_pages/kits/ec_k1_0_kit.html", "https://www.sparkfun.com/products/12908"], + "Datasheets": ["https://cdn.sparkfun.com/datasheets/Sensors/Biometric/EC_EZO_Datasheet.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/ecs1030/ecs1030.json b/src/ecs1030/ecs1030.json index 508a35f1..e659cd97 100644 --- a/src/ecs1030/ecs1030.json +++ b/src/ecs1030/ecs1030.json @@ -1,39 +1,39 @@ -{ - "Library": "ecs1030", - "Description": "ECS1030 Electricity Sensor Library", - "Sensor Class": - { - "ECS1030": - { - "Name": "Non-Invasive Current Sensor", - "Description": "This non-invasive current sensor can be clamped around the supply line of an electrical load to tell you how much current is passing through it. It does this by acting as an inductor and responding to the magnetic field around a current-carrying conductor. This particular current sensor measures a load up to 30 A, which makes it great for building your own energy monitors.", - "Aliases": ["ecs1030"], - "Categories": ["meter", "electric"], - "Connections": ["analog"], - "Project Type": ["industrial"], - "Manufacturers": ["sparkfun"], - "Kits": [], - "Image": "ecs1030.jpg", - "Examples": - { - "Java": [], - "Python": [], - "Node.js": [], - "C++": ["ecs1030.cxx"], - "C": [] - }, - "Specifications": - { - "Measurable Current": {"unit": "V", "low": 1, "nominal": 30, "maximum": 60}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 65} - - }, - "Urls" : - { - "Product Pages": ["https://www.sparkfun.com/products/11005"], - "Datasheets": ["https://cdn.sparkfun.com/datasheets/Sensors/Current/ECS1030-L72-SPEC.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "ecs1030", + "Description": "ECS1030 Electricity Sensor Library", + "Sensor Class": + { + "ECS1030": + { + "Name": "Non-Invasive Current Sensor", + "Description": "This non-invasive current sensor can be clamped around the supply line of an electrical load to tell you how much current is passing through it. It does this by acting as an inductor and responding to the magnetic field around a current-carrying conductor. This particular current sensor measures a load up to 30 A, which makes it great for building your own energy monitors.", + "Aliases": ["ecs1030"], + "Categories": ["meter", "electric"], + "Connections": ["analog"], + "Project Type": ["industrial"], + "Manufacturers": ["sparkfun"], + "Kits": [], + "Image": "ecs1030.jpg", + "Examples": + { + "Java": [], + "Python": [], + "Node.js": [], + "C++": ["ecs1030.cxx"], + "C": [] + }, + "Specifications": + { + "Measurable Current": {"unit": "V", "low": 1, "nominal": 30, "maximum": 60}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 65} + + }, + "Urls" : + { + "Product Pages": ["https://www.sparkfun.com/products/11005"], + "Datasheets": ["https://cdn.sparkfun.com/datasheets/Sensors/Current/ECS1030-L72-SPEC.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/ehr/ehr.json b/src/ehr/ehr.json index 8ba57537..adaf5e88 100644 --- a/src/ehr/ehr.json +++ b/src/ehr/ehr.json @@ -1,40 +1,40 @@ -{ - "Library": "ehr", - "Description": "API for the Ear-clip Heart Rate Sensor", - "Sensor Class": - { - "EHR": - { - "Name": "Ear-clip Heart Rate Sensor", - "Description": "UPM module for the ear-clip heart rate sensor. It is used to measure your heart rate.", - "Aliases": ["ehr"], - "Categories": ["heartrate"], - "Connections": ["gpio"], - "Project Type": ["medical", "wearables", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "ehr.jpg", - "Examples": - { - "Java": ["EHRSample.java"], - "Python": ["ehr.py"], - "Node.js": ["ehr.js"], - "C++": ["ehr.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3, "high": 5}, - "Operating Current": {"unit": "mA", "typ": 6.5}, - "Measurement Range": {"unit": "bpm", "min": 30} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Ear-clip-Heart-Rate-Sensor-p-1116.html"], - "Datasheets": ["http://wiki.seeedstudio.com/wiki/Grove_-_Heart_rate_ear_clip_kit"], - "Schematics": [] - } - } - } -} +{ + "Library": "ehr", + "Description": "API for the Ear-clip Heart Rate Sensor", + "Sensor Class": + { + "EHR": + { + "Name": "Ear-clip Heart Rate Sensor", + "Description": "UPM module for the ear-clip heart rate sensor. It is used to measure your heart rate.", + "Aliases": ["ehr"], + "Categories": ["heartrate"], + "Connections": ["gpio"], + "Project Type": ["medical", "wearables", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "ehr.jpg", + "Examples": + { + "Java": ["EHR_Example.java"], + "Python": ["ehr.py"], + "Node.js": ["ehr.js"], + "C++": ["ehr.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3, "high": 5}, + "Operating Current": {"unit": "mA", "typ": 6.5}, + "Measurement Range": {"unit": "bpm", "min": 30} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Ear-clip-Heart-Rate-Sensor-p-1116.html"], + "Datasheets": ["http://wiki.seeedstudio.com/wiki/Grove_-_Heart_rate_ear_clip_kit"], + "Schematics": [] + } + } + } +} diff --git a/src/eldriver/eldriver.json b/src/eldriver/eldriver.json index c7bd4dfe..9376e75b 100644 --- a/src/eldriver/eldriver.json +++ b/src/eldriver/eldriver.json @@ -1,40 +1,40 @@ -{ - "Library": "eldriver", - "Description": "API for the EL Driver Module", - "Sensor Class": - { - "ElDriver": - { - "Name": "Electroluminescent Wire (EL) Driver", - "Description": "The EL Driver allows you to easily light up an EL wire with just one single cable.", - "Aliases": ["eldriver"], - "Categories": ["lighting"], - "Connections": ["gpio"], - "Project Type": ["prototyping", "commercial", "wearables"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "eldriver.jpg", - "Examples": - { - "Java": [], - "Python": ["eldriver.py"], - "Node.js": ["eldriver.js"], - "C++": ["eldriver.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, - "Operating Current": {"unit": "mA", "max": 300}, - "Supported EL Capacitance": {"unit": "nF", "max": 15} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-EL-Driver-p-2269.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-EL_Driver/"], - "Schematics": ["https://raw.githubusercontent.com/SeeedDocument/Grove-EL_Driver/master/res/Grove-EL_Driver_v1.0.pdf"] - } - } - } -} +{ + "Library": "eldriver", + "Description": "API for the EL Driver Module", + "Sensor Class": + { + "ElDriver": + { + "Name": "Electroluminescent Wire (EL) Driver", + "Description": "The EL Driver allows you to easily light up an EL wire with just one single cable.", + "Aliases": ["eldriver"], + "Categories": ["lighting"], + "Connections": ["gpio"], + "Project Type": ["prototyping", "commercial", "wearables"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "eldriver.jpg", + "Examples": + { + "Java": [], + "Python": ["eldriver.py"], + "Node.js": ["eldriver.js"], + "C++": ["eldriver.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, + "Operating Current": {"unit": "mA", "max": 300}, + "Supported EL Capacitance": {"unit": "nF", "max": 15} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-EL-Driver-p-2269.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-EL_Driver/"], + "Schematics": ["https://raw.githubusercontent.com/SeeedDocument/Grove-EL_Driver/master/res/Grove-EL_Driver_v1.0.pdf"] + } + } + } +} diff --git a/src/electromagnet/electromagnet.json b/src/electromagnet/electromagnet.json index d6cc1e8e..6ef4a9f4 100644 --- a/src/electromagnet/electromagnet.json +++ b/src/electromagnet/electromagnet.json @@ -1,41 +1,41 @@ -{ - "Library": "electromagnet", - "Description": "Electromagnet Library", - "Sensor Class": - { - "Electromagnet": - { - "Name": "API for the Electromagnet", - "Description": "The Electromagnet can hold up to 1 kg (approximately 2.2 lbs)", - "Aliases": ["electromagnet"], - "Categories": ["electric", "magnetic"], - "Connections": ["gpio"], - "Project Type": ["prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "electromagnet.jpg", - "Examples": - { - "Java": [], - "Python": ["electromagnet.py"], - "Node.js": ["electromagnet.js"], - "C++": ["electromagnet.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 5}, - "Operating Current": {"unit": "mA", "typ": 400}, - "Standby Current": {"unit": "uA", "typ": 200}, - "Max Load Weight": {"unit": "kgs", "typ": 1} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Electromagnet-p-1820.html"], - "Datasheets": ["https://raw.githubusercontent.com/SeeedDocument/Grove-Electromagnet/master/res/ZYE1-P20-15.pdf", "http://wiki.seeed.cc/Grove-Electromagnet/"], - "Schematics": [] - } - } - } -} +{ + "Library": "electromagnet", + "Description": "Electromagnet Library", + "Sensor Class": + { + "Electromagnet": + { + "Name": "API for the Electromagnet", + "Description": "The Electromagnet can hold up to 1 kg (approximately 2.2 lbs)", + "Aliases": ["electromagnet"], + "Categories": ["electric", "magnetic"], + "Connections": ["gpio"], + "Project Type": ["prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "electromagnet.jpg", + "Examples": + { + "Java": [], + "Python": ["electromagnet.py"], + "Node.js": ["electromagnet.js"], + "C++": ["electromagnet.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 5}, + "Operating Current": {"unit": "mA", "typ": 400}, + "Standby Current": {"unit": "uA", "typ": 200}, + "Max Load Weight": {"unit": "kgs", "typ": 1} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Electromagnet-p-1820.html"], + "Datasheets": ["https://raw.githubusercontent.com/SeeedDocument/Grove-Electromagnet/master/res/ZYE1-P20-15.pdf", "http://wiki.seeed.cc/Grove-Electromagnet/"], + "Schematics": [] + } + } + } +} diff --git a/src/emg/emg.json b/src/emg/emg.json index d32454d6..7bab83f7 100644 --- a/src/emg/emg.json +++ b/src/emg/emg.json @@ -1,38 +1,38 @@ -{ - "Library": "emg", - "Description": "Grove EMG Muscle Signal Reader Library", - "Sensor Class": - { - "EMG": - { - "Name": "Electromyography (EMG) Sensor", - "Description": "Grove EMG muscle signal reader gathers small muscle signals, then processes them, and returns the result.", - "Aliases": ["emg"], - "Categories": ["electromyography", "medical"], - "Connections": ["analog"], - "Project Type": ["wearables", "computer interfacing", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "emg.jpg", - "Examples": - { - "Java": ["Emg.java"], - "Python": ["emg.py"], - "Node.js": ["emg.js"], - "C++": ["emg.cxx"], - "C": ["emg.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-EMG-Detector-p-1737.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-EMG_Detector/"], - "Schematics": ["https://raw.githubusercontent.com/SeeedDocument/Grove-EMG_Detector/master/res/Grove-EMG_Sensor_v1.1_SCH.pdf"] - } - } - } -} +{ + "Library": "emg", + "Description": "Grove EMG Muscle Signal Reader Library", + "Sensor Class": + { + "EMG": + { + "Name": "Electromyography (EMG) Sensor", + "Description": "Grove EMG muscle signal reader gathers small muscle signals, then processes them, and returns the result.", + "Aliases": ["emg"], + "Categories": ["electromyography", "medical"], + "Connections": ["analog"], + "Project Type": ["wearables", "computer interfacing", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "emg.jpg", + "Examples": + { + "Java": ["Emg_Example.java"], + "Python": ["emg.py"], + "Node.js": ["emg.js"], + "C++": ["emg.cxx"], + "C": ["emg.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-EMG-Detector-p-1737.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-EMG_Detector/"], + "Schematics": ["https://raw.githubusercontent.com/SeeedDocument/Grove-EMG_Detector/master/res/Grove-EMG_Sensor_v1.1_SCH.pdf"] + } + } + } +} diff --git a/src/enc03r/enc03r.json b/src/enc03r/enc03r.json index d06c3b80..47adb340 100644 --- a/src/enc03r/enc03r.json +++ b/src/enc03r/enc03r.json @@ -1,40 +1,40 @@ -{ - "Library": "enc03r", - "Description": "ENC03R Single Axis Gyro Library", - "Sensor Class": - { - "ENC03R": - { - "Name": "Single-axis Analog Gyro Module", - "Description": "UPM module for the ENC03R single axis analog gyro. This gyroscope measures x-axis angular velocity, that is how fast the sensor is rotating around the x-axis. Calibration of the sensor is necessary for accurate readings.", - "Aliases": ["enc03r"], - "Categories": ["gyroscope", "IMU", "Discontinued"], - "Connections": ["analog"], - "Project Type": ["prototyping"], - "Manufacturers": ["murata", "seeed"], - "Kits": ["robok"], - "Image": "enc03r.jpg", - "Examples": - { - "Java": ["ENC03RSample.java"], - "Python": ["enc03r.py"], - "Node.js": ["enc03r.js"], - "C++": ["enc03r.cxx"], - "C": ["enc03r.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 2.7, "high": 5.25}, - "Response Time": {"unit": "Hz", "typ": 50}, - "Operating Temperature": {"unit": "decC", "low": -5, "high": 75} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Single-Axis-Analog-Gyro-p-1451.html"], - "Datasheets": ["http://www.seeedstudio.com/wiki/File:Analog_Gyro_datasheet.pdf", "http://wiki.seeedstudio.com/wiki/Grove_-_Single_Axis_Analog_Gyro"], - "Schematics": [] - } - } - } -} +{ + "Library": "enc03r", + "Description": "ENC03R Single Axis Gyro Library", + "Sensor Class": + { + "ENC03R": + { + "Name": "Single-axis Analog Gyro Module", + "Description": "UPM module for the ENC03R single axis analog gyro. This gyroscope measures x-axis angular velocity, that is how fast the sensor is rotating around the x-axis. Calibration of the sensor is necessary for accurate readings.", + "Aliases": ["enc03r"], + "Categories": ["gyroscope", "IMU", "Discontinued"], + "Connections": ["analog"], + "Project Type": ["prototyping"], + "Manufacturers": ["murata", "seeed"], + "Kits": ["robok"], + "Image": "enc03r.jpg", + "Examples": + { + "Java": ["ENC03R_Example.java"], + "Python": ["enc03r.py"], + "Node.js": ["enc03r.js"], + "C++": ["enc03r.cxx"], + "C": ["enc03r.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 2.7, "high": 5.25}, + "Response Time": {"unit": "Hz", "typ": 50}, + "Operating Temperature": {"unit": "decC", "low": -5, "high": 75} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Single-Axis-Analog-Gyro-p-1451.html"], + "Datasheets": ["http://www.seeedstudio.com/wiki/File:Analog_Gyro_datasheet.pdf", "http://wiki.seeedstudio.com/wiki/Grove_-_Single_Axis_Analog_Gyro"], + "Schematics": [] + } + } + } +} diff --git a/src/flex/flex.json b/src/flex/flex.json index 34e6d30b..851ca1cd 100644 --- a/src/flex/flex.json +++ b/src/flex/flex.json @@ -1,39 +1,39 @@ -{ - "Library": "flex", - "Description": "API for the Spectra Symbol Flex Sensor", - "Sensor Class": - { - "Flex": - { - "Name": "Resistive Flex Sensor", - "Description": "A simple flex sensor. The resistance across the sensor increases when flexed. Patented technology by Spectra Symbol, these sensors were used in the original Nintendo* Power Glove.", - "Aliases": ["flex"], - "Categories": ["flex sensors"], - "Connections": ["analog"], - "Project Type": ["prototyping", "industrial"], - "Manufacturers": ["sparkfun"], - "Kits": [], - "Image": "flex.jpg", - "Examples": - { - "Java": ["FlexSensorExample.java"], - "Python": [], - "Node.js": ["flex.js"], - "C++": ["flex.cxx"], - "C": [] - }, - "Specifications": - { - "Flat Resistance": {"unit": "KOhms", "typ": 10}, - "Bend Resistance": {"unit": "KOhms", "low": 60, "high": 110}, - "Temperature Range": {"unit": "degC", "low": -35, "high": 80} - }, - "Urls" : - { - "Product Pages": ["https://www.sparkfun.com/products/8606"], - "Datasheets": ["https://cdn.sparkfun.com/datasheets/Sensors/ForceFlex/FLEXSENSORREVA1.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "flex", + "Description": "API for the Spectra Symbol Flex Sensor", + "Sensor Class": + { + "Flex": + { + "Name": "Resistive Flex Sensor", + "Description": "A simple flex sensor. The resistance across the sensor increases when flexed. Patented technology by Spectra Symbol, these sensors were used in the original Nintendo* Power Glove.", + "Aliases": ["flex"], + "Categories": ["flex sensors"], + "Connections": ["analog"], + "Project Type": ["prototyping", "industrial"], + "Manufacturers": ["sparkfun"], + "Kits": [], + "Image": "flex.jpg", + "Examples": + { + "Java": ["FlexSensor_Example.java"], + "Python": [], + "Node.js": ["flex.js"], + "C++": ["flex.cxx"], + "C": [] + }, + "Specifications": + { + "Flat Resistance": {"unit": "KOhms", "typ": 10}, + "Bend Resistance": {"unit": "KOhms", "low": 60, "high": 110}, + "Temperature Range": {"unit": "degC", "low": -35, "high": 80} + }, + "Urls" : + { + "Product Pages": ["https://www.sparkfun.com/products/8606"], + "Datasheets": ["https://cdn.sparkfun.com/datasheets/Sensors/ForceFlex/FLEXSENSORREVA1.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/gas/gas.json b/src/gas/gas.json index badb8faf..aedacfcb 100644 --- a/src/gas/gas.json +++ b/src/gas/gas.json @@ -1,275 +1,275 @@ -{ - "Library": "gas", - "Description": "Gas Sensor Library", - "Sensor Class": - { - "MQ2": - { - "Name": "MQ2 Methane, Butane, Liquefied Petroleum Gas (LPG), and Smoke Sensor", - "Description": "The MQ2 Gas Sensor module is useful for gas leakage detection (in home and industry). It can detect LPG, i-butane, methane, alcohol, hydrogen, smoke, and other combustible gases. It's a medium-sensitivity sensor with a detection range of 300-10,000 ppm.", - "Aliases": ["mq2"], - "Categories": ["gas"], - "Connections": ["analog"], - "Project Type": ["prototyping", "safety", "industrial"], - "Manufacturers": ["seeed"], - "Kits": ["hak"], - "Examples": - { - "Java": [], - "Python": [], - "Node.js": [], - "C++": ["gas-mq2.cxx"], - "C": ["gas-mqx.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 5}, - "Operating Current": {"unit": "mA", "low": 0.1, "high": 160}, - "Heater Resistance": {"unit": "Ohms", "typ": 33}, - "Sensor Resistance": {"unit": "KOhms", "low": 3, "high": 30} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Gas-Sensor(MQ2)-p-937.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-Gas_Sensor-MQ2/"], - "Schematics": [] - } - }, - - "MQ3": - { - "Name": "MQ3 Alcohol, Ethanol, Smoke Sensor", - "Description": "The MQ3 Gas Sensor module is useful for gas leakage detection (in home and industry). It can detect alcohol vapors and benzine. It's highly sensitive but has a long warm-up time of about 1 minute. It's detection range is 0.04-4 mg/L Alcohol.", - "Aliases": ["mq3"], - "Categories": ["gas"], - "Connections": ["analog"], - "Project Type": ["prototyping", "safety", "industrial"], - "Manufacturers": ["seeed"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": [], - "Node.js": [], - "C++": ["gas-mq3.cxx"], - "C": ["gas-mqx.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 5}, - "Operating Current": {"unit": "mA", "low": 0.1, "high": 150}, - "Heater Resistance": {"unit": "Ohms", "typ": 33}, - "Sensor Resistance": {"unit": "MOhms", "low": 1, "high": 8}, - "Detectable Concentration": {"unit": "mg/L", "low": 0.05, "high": 10} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Gas-Sensor%28MQ3%29-p-1418.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-Gas_Sensor-MQ3/"], - "Schematics": [] - } - }, - - "MQ4": - { - "Name": "MQ4 Methane and Connecticut Natural Gas (CNG) Sensor", - "Description": "The MQ4 Gas Sensor module is useful for detecting CH4 (Methane), and natural gas concentrations in the air. It has a detection range of 100-10000 ppm. For optimum use, it requires calibration after a pre-heat time of at least 24 hours. See the datasheet for details.", - "Aliases": ["mq4"], - "Categories": ["gas"], - "Connections": ["analog"], - "Project Type": ["prototyping", "safety", "industrial"], - "Manufacturers": ["dfrobot"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": [], - "Node.js": [], - "C++": ["gas-mq4.cxx"], - "C": ["gas-mqx.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 5}, - "Operating Current": {"unit": "mA", "low": 0.1, "high": 150}, - "Heater Resistance": {"unit": "Ohms", "typ": 33}, - "Sensor Resistance": {"unit": "KOhms", "low": 10, "high": 60} - }, - "Urls" : - { - "Product Pages": ["https://www.dfrobot.com/product-683.html"], - "Datasheets": ["http://image.dfrobot.com/image/data/SEN0129/MQ-4.pdf", "https://www.dfrobot.com/wiki/index.php/Analog_Gas_Sensor(MQ4)_(SKU:SEN0129)"], - "Schematics": [] - } - }, - - "MQ5": - { - "Name": "MQ5 Natural Gas and Liquefied Petroleum Gas (LPG) Sensor", - "Description": "The MQ5 Gas Sensor module is useful for gas leakage detection (in home and industry). It can detect LPG, natural gas, town gas, and so on. It is highly sensitive and has a detection range of 300-10,000 ppm.", - "Aliases": ["mq5"], - "Categories": ["gas"], - "Connections": ["analog"], - "Project Type": ["prototyping", "safety", "industrial"], - "Manufacturers": ["seeed"], - "Kits": ["eak"], - "Examples": - { - "Java": [], - "Python": [], - "Node.js": [], - "C++": ["gas-mq5.cxx"], - "C": ["gas-mqx.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 5}, - "Operating Current": {"unit": "mA", "low": 0.1, "high": 160}, - "Heater Resistance": {"unit": "Ohms", "typ": 31}, - "Sensor Resistance": {"unit": "KOhms", "low": 10, "high": 60}, - "Detectable Concentration": {"unit": "ppm", "low": 200, "high": 10000} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Gas-Sensor%28MQ5%29-p-938.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-Gas_Sensor-MQ5/", "https://raw.githubusercontent.com/SeeedDocument/Grove-Gas_Sensor-MQ5/master/res/MQ-5.pdf"], - "Schematics": [] - } - }, - - "MQ6": - { - "Name": "MQ6 Liquefied Petroleum Gas (LPG) and Butane Sensor", - "Description": "The MQ6 Gas Sensor module is useful for detecting LPG, iso-butane, propane, and LNG concentrations in the air. It has a detection range of 200-10000 ppm. For optimum use, it requires calibration after a pre-heat time of at least 24 hours. See the datasheet for details.", - "Aliases": ["mq6"], - "Categories": ["gas"], - "Connections": ["analog"], - "Project Type": ["prototyping", "safety", "industrial"], - "Manufacturers": ["dfrobot"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": [], - "Node.js": [], - "C++": ["gas-mq6.cxx"], - "C": ["gas-mqx.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 5}, - "Operating Current": {"unit": "mA", "low": 0.1, "high": 150}, - "Heater Resistance": {"unit": "Ohms", "typ": 33}, - "Sensor Resistance": {"unit": "KOhms", "low": 10, "high": 60}, - "Detectable Concentration": {"unit": "ppm", "low": 200, "high": 10000} - }, - "Urls" : - { - "Product Pages": ["https://www.dfrobot.com/product-685.html"], - "Datasheets": ["https://www.dfrobot.com/wiki/index.php/LPG_Gas_Sensor(MQ6)_(SKU:SEN0131)", "http://image.dfrobot.com/image/data/SEN0131/MQ-6.pdf"], - "Schematics": ["http://image.dfrobot.com/image/data/SEN0131/MQ-X%20Schematic.pdf"] - } - }, - - "MQ7": - { - "Name": "MQ7 Carbon Monoxide Sensor", - "Description": "The Grove MQ7 Gas Sensor module is useful for detecting Carbon Monoxide (CO) concentrations in the air. It has a detection range of 20-2000 ppm. For optimum use, it requires calibration after a pre-heat time of 48 hours. See the datasheet for details.", - "Aliases": ["mq7"], - "Categories": ["gas"], - "Connections": ["analog"], - "Project Type": ["prototyping", "safety", "industrial"], - "Manufacturers": ["dfrobot"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": [], - "Node.js": [], - "C++": ["gas-mq7.cxx"], - "C": ["gas-mqx.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 5}, - "Operating Current": {"unit": "mA", "typ": 70}, - "Heater Resistance": {"unit": "Ohms", "typ": 33}, - "Detectable Concentration": {"unit": "ppm", "low": 20, "high": 2000} - }, - "Urls" : - { - "Product Pages": ["https://www.dfrobot.com/product-686.html"], - "Datasheets": ["https://www.dfrobot.com/wiki/index.php/Carbon_Monoxide_Gas_Sensor(MQ7)_(SKU:SEN0132)", "http://image.dfrobot.com/image/data/SEN0132/MQ-7.pdf"], - "Schematics": ["http://image.dfrobot.com/image/data/SEN0132/MQ-X%20Schematic.pdf"] - } - }, - - "MQ8": - { - "Name": "MQ8 Flammable (Hydrogen) Gas Sensor", - "Description": "The MQ8 Gas Sensor module is useful for detecting Hydrogen gas concentrations in the air. It has a detection range of 100-10000 ppm. For optimum use, it requires calibration after a pre-heat time of at least 24 hours. See the datasheet for details.", - "Aliases": ["mq8"], - "Categories": ["gas"], - "Connections": ["analog"], - "Project Type": ["prototyping", "safety", "industrial"], - "Manufacturers": ["dfrobot"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": [], - "Node.js": [], - "C++": ["gas-mq8.cxx"], - "C": ["gas-mqx.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 5}, - "Operating Current": {"unit": "mA", "max": 160}, - "Heater Resistance": {"unit": "Ohms", "typ": 31}, - "Sensor Resistance": {"unit": "KOhms", "low": 10, "high": 60}, - "Detectable Concentration": {"unit": "ppm", "low": 100, "high": 10000} - }, - "Urls" : - { - "Product Pages": ["https://www.dfrobot.com/product-687.html"], - "Datasheets": ["https://www.dfrobot.com/wiki/index.php/Hydrogen_Gas_Sensor(MQ8)_(SKU:SEN0133)", "http://image.dfrobot.com/image/data/SEN0133/MQ-8.pdf"], - "Schematics": ["http://image.dfrobot.com/image/data/SEN0133/MQ-X%20Schematic.pdf"] - } - }, - - "MQ9": - { - "Name": "MQ9 Carbon Monoxide (CO) and Flammable Gas Sensor", - "Description": "The Grove MQ9 Gas Sensor module is useful for gas leakage detection (in home and industry). It can detect carbon monoxide, coal gas, and liquefied gas. Its sensitivity is 10-1,000 ppm CO, and 100-10,000 ppm Gas.", - "Aliases": ["mq9"], - "Categories": ["gas"], - "Connections": ["analog"], - "Project Type": ["prototyping", "safety", "industrial"], - "Manufacturers": ["seeed"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": [], - "Node.js": [], - "C++": ["gas-mq9.cxx"], - "C": ["gas-mqx.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 5}, - "Operating Current": {"unit": "mA", "low": 0.1, "high": 68}, - "Heater Resistance": {"unit": "Ohms", "typ": 33}, - "Sensor Resistance": {"unit": "Ohms", "low": 2, "high": 20000}, - "Detectable Concentration": {"unit": "ppm", "low": 200, "high": 10000} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Gas-Sensor%28MQ9%29-p-1419.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-Gas_Sensor-MQ9/", "https://raw.githubusercontent.com/SeeedDocument/Grove-Gas_Sensor-MQ9/master/res/MQ-9.pdf"], - "Schematics": ["https://raw.githubusercontent.com/SeeedDocument/Grove-Gas_Sensor-MQ9/master/res/Gas_Sensor_Schematic.pdf"] - } - } - } -} +{ + "Library": "gas", + "Description": "Gas Sensor Library", + "Sensor Class": + { + "MQ2": + { + "Name": "MQ2 Methane, Butane, Liquefied Petroleum Gas (LPG), and Smoke Sensor", + "Description": "The MQ2 Gas Sensor module is useful for gas leakage detection (in home and industry). It can detect LPG, i-butane, methane, alcohol, hydrogen, smoke, and other combustible gases. It's a medium-sensitivity sensor with a detection range of 300-10,000 ppm.", + "Aliases": ["mq2"], + "Categories": ["gas"], + "Connections": ["analog"], + "Project Type": ["prototyping", "safety", "industrial"], + "Manufacturers": ["seeed"], + "Kits": ["hak"], + "Examples": + { + "Java": [], + "Python": [], + "Node.js": [], + "C++": ["gas-mq2.cxx"], + "C": ["gas-mqx.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 5}, + "Operating Current": {"unit": "mA", "low": 0.1, "high": 160}, + "Heater Resistance": {"unit": "Ohms", "typ": 33}, + "Sensor Resistance": {"unit": "KOhms", "low": 3, "high": 30} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Gas-Sensor(MQ2)-p-937.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-Gas_Sensor-MQ2/"], + "Schematics": [] + } + }, + + "MQ3": + { + "Name": "MQ3 Alcohol, Ethanol, Smoke Sensor", + "Description": "The MQ3 Gas Sensor module is useful for gas leakage detection (in home and industry). It can detect alcohol vapors and benzine. It's highly sensitive but has a long warm-up time of about 1 minute. It's detection range is 0.04-4 mg/L Alcohol.", + "Aliases": ["mq3"], + "Categories": ["gas"], + "Connections": ["analog"], + "Project Type": ["prototyping", "safety", "industrial"], + "Manufacturers": ["seeed"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": [], + "Node.js": [], + "C++": ["gas-mq3.cxx"], + "C": ["gas-mqx.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 5}, + "Operating Current": {"unit": "mA", "low": 0.1, "high": 150}, + "Heater Resistance": {"unit": "Ohms", "typ": 33}, + "Sensor Resistance": {"unit": "MOhms", "low": 1, "high": 8}, + "Detectable Concentration": {"unit": "mg/L", "low": 0.05, "high": 10} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Gas-Sensor%28MQ3%29-p-1418.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-Gas_Sensor-MQ3/"], + "Schematics": [] + } + }, + + "MQ4": + { + "Name": "MQ4 Methane and Connecticut Natural Gas (CNG) Sensor", + "Description": "The MQ4 Gas Sensor module is useful for detecting CH4 (Methane), and natural gas concentrations in the air. It has a detection range of 100-10000 ppm. For optimum use, it requires calibration after a pre-heat time of at least 24 hours. See the datasheet for details.", + "Aliases": ["mq4"], + "Categories": ["gas"], + "Connections": ["analog"], + "Project Type": ["prototyping", "safety", "industrial"], + "Manufacturers": ["dfrobot"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": [], + "Node.js": [], + "C++": ["gas-mq4.cxx"], + "C": ["gas-mqx.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 5}, + "Operating Current": {"unit": "mA", "low": 0.1, "high": 150}, + "Heater Resistance": {"unit": "Ohms", "typ": 33}, + "Sensor Resistance": {"unit": "KOhms", "low": 10, "high": 60} + }, + "Urls" : + { + "Product Pages": ["https://www.dfrobot.com/product-683.html"], + "Datasheets": ["http://image.dfrobot.com/image/data/SEN0129/MQ-4.pdf", "https://www.dfrobot.com/wiki/index.php/Analog_Gas_Sensor(MQ4)_(SKU:SEN0129)"], + "Schematics": [] + } + }, + + "MQ5": + { + "Name": "MQ5 Natural Gas and Liquefied Petroleum Gas (LPG) Sensor", + "Description": "The MQ5 Gas Sensor module is useful for gas leakage detection (in home and industry). It can detect LPG, natural gas, town gas, and so on. It is highly sensitive and has a detection range of 300-10,000 ppm.", + "Aliases": ["mq5"], + "Categories": ["gas"], + "Connections": ["analog"], + "Project Type": ["prototyping", "safety", "industrial"], + "Manufacturers": ["seeed"], + "Kits": ["eak"], + "Examples": + { + "Java": [], + "Python": [], + "Node.js": [], + "C++": ["gas-mq5.cxx"], + "C": ["gas-mqx.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 5}, + "Operating Current": {"unit": "mA", "low": 0.1, "high": 160}, + "Heater Resistance": {"unit": "Ohms", "typ": 31}, + "Sensor Resistance": {"unit": "KOhms", "low": 10, "high": 60}, + "Detectable Concentration": {"unit": "ppm", "low": 200, "high": 10000} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Gas-Sensor%28MQ5%29-p-938.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-Gas_Sensor-MQ5/", "https://raw.githubusercontent.com/SeeedDocument/Grove-Gas_Sensor-MQ5/master/res/MQ-5.pdf"], + "Schematics": [] + } + }, + + "MQ6": + { + "Name": "MQ6 Liquefied Petroleum Gas (LPG) and Butane Sensor", + "Description": "The MQ6 Gas Sensor module is useful for detecting LPG, iso-butane, propane, and LNG concentrations in the air. It has a detection range of 200-10000 ppm. For optimum use, it requires calibration after a pre-heat time of at least 24 hours. See the datasheet for details.", + "Aliases": ["mq6"], + "Categories": ["gas"], + "Connections": ["analog"], + "Project Type": ["prototyping", "safety", "industrial"], + "Manufacturers": ["dfrobot"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": [], + "Node.js": [], + "C++": ["gas-mq6.cxx"], + "C": ["gas-mqx.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 5}, + "Operating Current": {"unit": "mA", "low": 0.1, "high": 150}, + "Heater Resistance": {"unit": "Ohms", "typ": 33}, + "Sensor Resistance": {"unit": "KOhms", "low": 10, "high": 60}, + "Detectable Concentration": {"unit": "ppm", "low": 200, "high": 10000} + }, + "Urls" : + { + "Product Pages": ["https://www.dfrobot.com/product-685.html"], + "Datasheets": ["https://www.dfrobot.com/wiki/index.php/LPG_Gas_Sensor(MQ6)_(SKU:SEN0131)", "http://image.dfrobot.com/image/data/SEN0131/MQ-6.pdf"], + "Schematics": ["http://image.dfrobot.com/image/data/SEN0131/MQ-X%20Schematic.pdf"] + } + }, + + "MQ7": + { + "Name": "MQ7 Carbon Monoxide Sensor", + "Description": "The Grove MQ7 Gas Sensor module is useful for detecting Carbon Monoxide (CO) concentrations in the air. It has a detection range of 20-2000 ppm. For optimum use, it requires calibration after a pre-heat time of 48 hours. See the datasheet for details.", + "Aliases": ["mq7"], + "Categories": ["gas"], + "Connections": ["analog"], + "Project Type": ["prototyping", "safety", "industrial"], + "Manufacturers": ["dfrobot"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": [], + "Node.js": [], + "C++": ["gas-mq7.cxx"], + "C": ["gas-mqx.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 5}, + "Operating Current": {"unit": "mA", "typ": 70}, + "Heater Resistance": {"unit": "Ohms", "typ": 33}, + "Detectable Concentration": {"unit": "ppm", "low": 20, "high": 2000} + }, + "Urls" : + { + "Product Pages": ["https://www.dfrobot.com/product-686.html"], + "Datasheets": ["https://www.dfrobot.com/wiki/index.php/Carbon_Monoxide_Gas_Sensor(MQ7)_(SKU:SEN0132)", "http://image.dfrobot.com/image/data/SEN0132/MQ-7.pdf"], + "Schematics": ["http://image.dfrobot.com/image/data/SEN0132/MQ-X%20Schematic.pdf"] + } + }, + + "MQ8": + { + "Name": "MQ8 Flammable (Hydrogen) Gas Sensor", + "Description": "The MQ8 Gas Sensor module is useful for detecting Hydrogen gas concentrations in the air. It has a detection range of 100-10000 ppm. For optimum use, it requires calibration after a pre-heat time of at least 24 hours. See the datasheet for details.", + "Aliases": ["mq8"], + "Categories": ["gas"], + "Connections": ["analog"], + "Project Type": ["prototyping", "safety", "industrial"], + "Manufacturers": ["dfrobot"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": [], + "Node.js": [], + "C++": ["gas-mq8.cxx"], + "C": ["gas-mqx.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 5}, + "Operating Current": {"unit": "mA", "max": 160}, + "Heater Resistance": {"unit": "Ohms", "typ": 31}, + "Sensor Resistance": {"unit": "KOhms", "low": 10, "high": 60}, + "Detectable Concentration": {"unit": "ppm", "low": 100, "high": 10000} + }, + "Urls" : + { + "Product Pages": ["https://www.dfrobot.com/product-687.html"], + "Datasheets": ["https://www.dfrobot.com/wiki/index.php/Hydrogen_Gas_Sensor(MQ8)_(SKU:SEN0133)", "http://image.dfrobot.com/image/data/SEN0133/MQ-8.pdf"], + "Schematics": ["http://image.dfrobot.com/image/data/SEN0133/MQ-X%20Schematic.pdf"] + } + }, + + "MQ9": + { + "Name": "MQ9 Carbon Monoxide (CO) and Flammable Gas Sensor", + "Description": "The Grove MQ9 Gas Sensor module is useful for gas leakage detection (in home and industry). It can detect carbon monoxide, coal gas, and liquefied gas. Its sensitivity is 10-1,000 ppm CO, and 100-10,000 ppm Gas.", + "Aliases": ["mq9"], + "Categories": ["gas"], + "Connections": ["analog"], + "Project Type": ["prototyping", "safety", "industrial"], + "Manufacturers": ["seeed"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": [], + "Node.js": [], + "C++": ["gas-mq9.cxx"], + "C": ["gas-mqx.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 5}, + "Operating Current": {"unit": "mA", "low": 0.1, "high": 68}, + "Heater Resistance": {"unit": "Ohms", "typ": 33}, + "Sensor Resistance": {"unit": "Ohms", "low": 2, "high": 20000}, + "Detectable Concentration": {"unit": "ppm", "low": 200, "high": 10000} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Gas-Sensor%28MQ9%29-p-1419.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-Gas_Sensor-MQ9/", "https://raw.githubusercontent.com/SeeedDocument/Grove-Gas_Sensor-MQ9/master/res/MQ-9.pdf"], + "Schematics": ["https://raw.githubusercontent.com/SeeedDocument/Grove-Gas_Sensor-MQ9/master/res/Gas_Sensor_Schematic.pdf"] + } + } + } +} diff --git a/src/gp2y0a/gp2y0a.json b/src/gp2y0a/gp2y0a.json index ad72e3ca..7a35a95d 100644 --- a/src/gp2y0a/gp2y0a.json +++ b/src/gp2y0a/gp2y0a.json @@ -1,39 +1,39 @@ -{ - "Library": "gp2y0a", - "Description": "API for the GP2Y0A family of IR Proximity Sensors", - "Sensor Class": - { - "GP2Y0A": - { - "Name": "Analog Infrared (IR) Based Distance Sensor", - "Description": "Sensors of this family return an analog voltage corresponding to the distance of an object from the sensor. The voltage is lower when objects are far away; the voltage increases as objects get closer to the sensor.", - "Aliases": ["gp2y0a"], - "Categories": ["proximity", "light"], - "Connections": ["analog"], - "Project Type": ["prototyping", "robotics"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "gp2y0a.jpg", - "Examples": - { - "Java": ["Gp2y0aExample.java"], - "Python": ["gp2y0a.py"], - "Node.js": ["gp2y0a.js"], - "C++": ["gp2y0a.cxx"], - "C": ["gp2y0a.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 2.5, "typ": 5, "high": 7}, - "Operating Current": {"unit": "mA", "typ": 33, "max": 50}, - "Measurement Range": {"unit": "cm", "low": 10, "high": 80} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-80cm-Infrared-Proximity-Sensor-p-788.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-80cm_Infrared_Proximity_Sensor/"], - "Schematics": [] - } - } - } -} +{ + "Library": "gp2y0a", + "Description": "API for the GP2Y0A family of IR Proximity Sensors", + "Sensor Class": + { + "GP2Y0A": + { + "Name": "Analog Infrared (IR) Based Distance Sensor", + "Description": "Sensors of this family return an analog voltage corresponding to the distance of an object from the sensor. The voltage is lower when objects are far away; the voltage increases as objects get closer to the sensor.", + "Aliases": ["gp2y0a"], + "Categories": ["proximity", "light"], + "Connections": ["analog"], + "Project Type": ["prototyping", "robotics"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "gp2y0a.jpg", + "Examples": + { + "Java": ["Gp2y0a_Example.java"], + "Python": ["gp2y0a.py"], + "Node.js": ["gp2y0a.js"], + "C++": ["gp2y0a.cxx"], + "C": ["gp2y0a.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 2.5, "typ": 5, "high": 7}, + "Operating Current": {"unit": "mA", "typ": 33, "max": 50}, + "Measurement Range": {"unit": "cm", "low": 10, "high": 80} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-80cm-Infrared-Proximity-Sensor-p-788.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-80cm_Infrared_Proximity_Sensor/"], + "Schematics": [] + } + } + } +} diff --git a/src/gprs/gprs.json b/src/gprs/gprs.json index af25b2bd..5b603408 100644 --- a/src/gprs/gprs.json +++ b/src/gprs/gprs.json @@ -1,40 +1,40 @@ -{ - "Library": "gprs", - "Description": "API for the GPRS Module", - "Sensor Class": - { - "GPRS": - { - "Name": "General Packet Radio Service (GPRS) Module", - "Description": "The driver was tested with the GPRS Module, V2. It's a GSM GPRS module based on the SIM900. This module uses a standard 'AT' command set. See the datasheet for a full list of available commands and their possible responses.", - "Aliases": ["gprs"], - "Categories": ["wireless"], - "Connections": ["uart"], - "Project Type": ["prototyping", "wireless"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "gprs.jpg", - "Examples": - { - "Java": [], - "Python": ["gprs.py"], - "Node.js": ["gprs.js"], - "C++": ["gprs.cxx"], - "C": [] - }, - "Specifications": - { - "Input Voltage (5v Pin)": {"unit": "V", "Typ": 5}, - "Input Voltage (Vin Pin)": {"unit": "V", "low": 6.5, "high": 12}, - "Power Consumption": {"unit": "mA", "low": 1.5}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/GPRS-Shield-V3.0-p-2333.html"], - "Datasheets": ["http://www.seeedstudio.com/document/SIM900datasheeet.zip", "http://wiki.seeedstudio.com/wiki/GPRS_Shield_V3.0", "http://www.seeedstudio.com/wiki/images/7/72/AT_Commands_v1.11.pdf", "http://garden.seeedstudio.com/images/a/a8/SIM900_AT_Command_Manual_V1.03.pdf", "http://garden.seeedstudio.com/images/a/a0/SIM900_ATC_V1_00.pdf"], - "Schematics": ["http://www.seeedstudio.com/wiki/File:GPRS_Shield_v3.0.pdf"] - } - } - } -} +{ + "Library": "gprs", + "Description": "API for the GPRS Module", + "Sensor Class": + { + "GPRS": + { + "Name": "General Packet Radio Service (GPRS) Module", + "Description": "The driver was tested with the GPRS Module, V2. It's a GSM GPRS module based on the SIM900. This module uses a standard 'AT' command set. See the datasheet for a full list of available commands and their possible responses.", + "Aliases": ["gprs"], + "Categories": ["wireless"], + "Connections": ["uart"], + "Project Type": ["prototyping", "wireless"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "gprs.jpg", + "Examples": + { + "Java": [], + "Python": ["gprs.py"], + "Node.js": ["gprs.js"], + "C++": ["gprs.cxx"], + "C": [] + }, + "Specifications": + { + "Input Voltage (5v Pin)": {"unit": "V", "Typ": 5}, + "Input Voltage (Vin Pin)": {"unit": "V", "low": 6.5, "high": 12}, + "Power Consumption": {"unit": "mA", "low": 1.5}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/GPRS-Shield-V3.0-p-2333.html"], + "Datasheets": ["http://www.seeedstudio.com/document/SIM900datasheeet.zip", "http://wiki.seeedstudio.com/wiki/GPRS_Shield_V3.0", "http://www.seeedstudio.com/wiki/images/7/72/AT_Commands_v1.11.pdf", "http://garden.seeedstudio.com/images/a/a8/SIM900_AT_Command_Manual_V1.03.pdf", "http://garden.seeedstudio.com/images/a/a0/SIM900_ATC_V1_00.pdf"], + "Schematics": ["http://www.seeedstudio.com/wiki/File:GPRS_Shield_v3.0.pdf"] + } + } + } +} diff --git a/src/grove/grove.json b/src/grove/grove.json index a1af0a6c..cd5f68ea 100644 --- a/src/grove/grove.json +++ b/src/grove/grove.json @@ -29,7 +29,7 @@ "Kits": ["gsk"], "Image": "grovebutton.jpg", "Examples": { - "Java": ["GroveButtonSample.java", "GroveButton_intrSample.java"], + "Java": ["GroveButton_Example.java", "GroveButton_intr_Example.java"], "Python": ["grovebutton.py"], "Node.js": ["grovebutton.js"], "C++": ["grove-grovebutton.cxx"] @@ -75,7 +75,7 @@ "Kits": ["gsk"], "Image": "groveled.jpg", "Examples": { - "Java": ["GroveLEDSample.java", "GroveLed_multiSample.java"], + "Java": ["GroveLED_Example.java", "GroveLed_multi_Example.java"], "Python": ["groveled.py"], "Node.js": ["groveled.js"], "C++": ["grove-groveled.cxx", "grove-groveled-multi.cxx"] @@ -122,7 +122,7 @@ "Kits": ["gsk"], "Image": "grovelight.jpg", "Examples": { - "Java": ["GroveLightSample.java"], + "Java": ["GroveLight_Example.java"], "Python": ["grovelight.py"], "Node.js": ["grovelight.js"], "C++": ["grove-grovelight.cxx"] @@ -174,7 +174,7 @@ "Kits": ["gsk", "eak", "hak"], "Image": "groverelay.jpg", "Examples": { - "Java": ["GroveRelaySample.java"], + "Java": ["GroveRelay_Example.java"], "Python": ["groverelay.py"], "Node.js": ["groverelay.js"], "C++": ["grove-groverelay.cxx"] @@ -238,7 +238,7 @@ "Kits": ["gsk"], "Image": "groverotary.jpg", "Examples": { - "Java": ["GroveRotarySample.java"], + "Java": ["GroveRotary_Example.java"], "Python": ["groverotary.py"], "Node.js": ["groverotary.js"], "C++": ["grove-groverotary.cxx"] @@ -287,7 +287,7 @@ "Manufacturers": ["Seeed"], "Images": "slide.jpg", "Examples": { - "Java": ["GroveSlideSample.java"], + "Java": ["GroveSlide_Example.java"], "Python": ["groveslide.py"], "Node.js": ["groveslide.js"], "C++": ["grove-groveslide.cxx"] @@ -338,7 +338,7 @@ "Kits": ["gsk"], "Image": "grovetemp.jpg", "Examples": { - "Java": ["GroveTempSample.java"], + "Java": ["GroveTemp_Example.java"], "Python": ["grovetemp.py"], "Node.js": ["grovetemp.js"], "C++": ["grove-grovetemp.cxx"] diff --git a/src/grovecollision/grovecollision.json b/src/grovecollision/grovecollision.json index 88c63df1..591d5d9b 100644 --- a/src/grovecollision/grovecollision.json +++ b/src/grovecollision/grovecollision.json @@ -1,41 +1,41 @@ -{ - "Library": "grovecollision", - "Description": "API for the Grove Collision Sensor", - "Sensor Class": - { - "GroveCollision": - { - "Name": "Grove Collision Sensor", - "Description": "The Grove Collision Sensor can detect whether any collision movement or vibration happens. It outputs a low pulse signal when vibration is detected.", - "Aliases": ["grovecollision"], - "Categories": ["collision", "deprecated"], - "Connections": ["gpio"], - "Project Type": ["prototyping", "robotics"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "grovecollision.jpg", - "Examples": - { - "Java": ["GroveCollision.java"], - "Python": ["grovecollision.py"], - "Node.js": ["grovecollision.js"], - "C++": ["grovecollision.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, - "Operating Current": {"unit": "mA", "max": 2}, - "Reaction Point": {"unit": "mg", "typ": 50}, - "Off Resistance": {"unit": "MOhms", "min": 30}, - "On Resistance": {"unit": "Ohms", "max": 100} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Collision-Sensor-p-1132.html"], - "Datasheets": ["https://raw.githubusercontent.com/SeeedDocument/Grove-Collision_Sensor/master/res/DataSheet-MVS0608_02-v2_1.pdf", "http://wiki.seeed.cc/Grove-Collision_Sensor/"], - "Schematics": [] - } - } - } -} +{ + "Library": "grovecollision", + "Description": "API for the Grove Collision Sensor", + "Sensor Class": + { + "GroveCollision": + { + "Name": "Grove Collision Sensor", + "Description": "The Grove Collision Sensor can detect whether any collision movement or vibration happens. It outputs a low pulse signal when vibration is detected.", + "Aliases": ["grovecollision"], + "Categories": ["collision", "deprecated"], + "Connections": ["gpio"], + "Project Type": ["prototyping", "robotics"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "grovecollision.jpg", + "Examples": + { + "Java": ["GroveCollision_Example.java"], + "Python": ["grovecollision.py"], + "Node.js": ["grovecollision.js"], + "C++": ["grovecollision.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, + "Operating Current": {"unit": "mA", "max": 2}, + "Reaction Point": {"unit": "mg", "typ": 50}, + "Off Resistance": {"unit": "MOhms", "min": 30}, + "On Resistance": {"unit": "Ohms", "max": 100} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Collision-Sensor-p-1132.html"], + "Datasheets": ["https://raw.githubusercontent.com/SeeedDocument/Grove-Collision_Sensor/master/res/DataSheet-MVS0608_02-v2_1.pdf", "http://wiki.seeed.cc/Grove-Collision_Sensor/"], + "Schematics": [] + } + } + } +} diff --git a/src/groveehr/groveehr.json b/src/groveehr/groveehr.json index 0ded708e..0aa4e6fc 100644 --- a/src/groveehr/groveehr.json +++ b/src/groveehr/groveehr.json @@ -1,40 +1,40 @@ -{ - "Library": "groveehr", - "Description": "API for the Ear-clip Heart Rate Sensor", - "Sensor Class": - { - "GroveEHR": - { - "Name": "Ear-clip Heart Rate Sensor", - "Description": "UPM module for the ear-clip heart rate sensor. It is used to measure your heart rate.", - "Aliases": ["groveehr"], - "Categories": ["heartrate", "deprecated"], - "Connections": ["gpio"], - "Project Type": ["medical", "wearables", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "groveehr.jpg", - "Examples": - { - "Java": ["GroveEHRSample.java"], - "Python": ["groveehr.py"], - "Node.js": ["groveehr.js"], - "C++": ["groveehr.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3, "high": 5}, - "Operating Current": {"unit": "mA", "typ": 6.5}, - "Measurement Range": {"unit": "bpm", "min": 30} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Ear-clip-Heart-Rate-Sensor-p-1116.html"], - "Datasheets": ["http://wiki.seeedstudio.com/wiki/Grove_-_Heart_rate_ear_clip_kit"], - "Schematics": [] - } - } - } -} +{ + "Library": "groveehr", + "Description": "API for the Ear-clip Heart Rate Sensor", + "Sensor Class": + { + "GroveEHR": + { + "Name": "Ear-clip Heart Rate Sensor", + "Description": "UPM module for the ear-clip heart rate sensor. It is used to measure your heart rate.", + "Aliases": ["groveehr"], + "Categories": ["heartrate", "deprecated"], + "Connections": ["gpio"], + "Project Type": ["medical", "wearables", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "groveehr.jpg", + "Examples": + { + "Java": ["GroveEHR_Example.java"], + "Python": ["groveehr.py"], + "Node.js": ["groveehr.js"], + "C++": ["groveehr.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3, "high": 5}, + "Operating Current": {"unit": "mA", "typ": 6.5}, + "Measurement Range": {"unit": "bpm", "min": 30} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Ear-clip-Heart-Rate-Sensor-p-1116.html"], + "Datasheets": ["http://wiki.seeedstudio.com/wiki/Grove_-_Heart_rate_ear_clip_kit"], + "Schematics": [] + } + } + } +} diff --git a/src/groveeldriver/groveeldriver.json b/src/groveeldriver/groveeldriver.json index 782f5b6c..c993aa94 100644 --- a/src/groveeldriver/groveeldriver.json +++ b/src/groveeldriver/groveeldriver.json @@ -1,40 +1,40 @@ -{ - "Library": "groveeldriver", - "Description": "API for the Grove EL Driver Module", - "Sensor Class": - { - "GroveElDriver": - { - "Name": "Grove Electroluminescent Wire (EL) Driver", - "Description": "The Grove EL Driver allows you to easily light up an EL wire with just one single cable.", - "Aliases": ["groveeldriver"], - "Categories": ["lighting", "deprecated"], - "Connections": ["gpio"], - "Project Type": ["prototyping", "commercial", "wearables"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "groveeldriver.jpg", - "Examples": - { - "Java": [], - "Python": ["groveeldriver.py"], - "Node.js": ["groveeldriver.js"], - "C++": ["groveeldriver.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, - "Operating Current": {"unit": "mA", "max": 300}, - "Supported EL Capacitance": {"unit": "nF", "max": 15} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-EL-Driver-p-2269.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-EL_Driver/"], - "Schematics": ["https://raw.githubusercontent.com/SeeedDocument/Grove-EL_Driver/master/res/Grove-EL_Driver_v1.0.pdf"] - } - } - } -} +{ + "Library": "groveeldriver", + "Description": "API for the Grove EL Driver Module", + "Sensor Class": + { + "GroveElDriver": + { + "Name": "Grove Electroluminescent Wire (EL) Driver", + "Description": "The Grove EL Driver allows you to easily light up an EL wire with just one single cable.", + "Aliases": ["groveeldriver"], + "Categories": ["lighting", "deprecated"], + "Connections": ["gpio"], + "Project Type": ["prototyping", "commercial", "wearables"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "groveeldriver.jpg", + "Examples": + { + "Java": [], + "Python": ["groveeldriver.py"], + "Node.js": ["groveeldriver.js"], + "C++": ["groveeldriver.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, + "Operating Current": {"unit": "mA", "max": 300}, + "Supported EL Capacitance": {"unit": "nF", "max": 15} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-EL-Driver-p-2269.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-EL_Driver/"], + "Schematics": ["https://raw.githubusercontent.com/SeeedDocument/Grove-EL_Driver/master/res/Grove-EL_Driver_v1.0.pdf"] + } + } + } +} diff --git a/src/groveelectromagnet/groveelectromagnet.json b/src/groveelectromagnet/groveelectromagnet.json index e4568458..49794ac0 100644 --- a/src/groveelectromagnet/groveelectromagnet.json +++ b/src/groveelectromagnet/groveelectromagnet.json @@ -1,41 +1,41 @@ -{ - "Library": "groveelectromagnet", - "Description": "Grove Electromagnet Library", - "Sensor Class": - { - "GroveElectromagnet": - { - "Name": "API for the Grove Electromagnet", - "Description": "The Grove Electromagnet can hold up to 1 kg (approximately 2.2 lbs)", - "Aliases": ["groveelectromagnet"], - "Categories": ["electric", "magnetic", "deprecated"], - "Connections": ["gpio"], - "Project Type": ["prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "groveelectromagnet.jpg", - "Examples": - { - "Java": [], - "Python": ["groveelectromagnet.py"], - "Node.js": ["groveelectromagnet.js"], - "C++": ["groveelectromagnet.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 5}, - "Operating Current": {"unit": "mA", "typ": 400}, - "Standby Current": {"unit": "uA", "typ": 200}, - "Max Load Weight": {"unit": "kgs", "typ": 1} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Electromagnet-p-1820.html"], - "Datasheets": ["https://raw.githubusercontent.com/SeeedDocument/Grove-Electromagnet/master/res/ZYE1-P20-15.pdf", "http://wiki.seeed.cc/Grove-Electromagnet/"], - "Schematics": [] - } - } - } -} +{ + "Library": "groveelectromagnet", + "Description": "Grove Electromagnet Library", + "Sensor Class": + { + "GroveElectromagnet": + { + "Name": "API for the Grove Electromagnet", + "Description": "The Grove Electromagnet can hold up to 1 kg (approximately 2.2 lbs)", + "Aliases": ["groveelectromagnet"], + "Categories": ["electric", "magnetic", "deprecated"], + "Connections": ["gpio"], + "Project Type": ["prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "groveelectromagnet.jpg", + "Examples": + { + "Java": [], + "Python": ["groveelectromagnet.py"], + "Node.js": ["groveelectromagnet.js"], + "C++": ["groveelectromagnet.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 5}, + "Operating Current": {"unit": "mA", "typ": 400}, + "Standby Current": {"unit": "uA", "typ": 200}, + "Max Load Weight": {"unit": "kgs", "typ": 1} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Electromagnet-p-1820.html"], + "Datasheets": ["https://raw.githubusercontent.com/SeeedDocument/Grove-Electromagnet/master/res/ZYE1-P20-15.pdf", "http://wiki.seeed.cc/Grove-Electromagnet/"], + "Schematics": [] + } + } + } +} diff --git a/src/groveemg/groveemg.json b/src/groveemg/groveemg.json index 857240e4..3b7dc808 100644 --- a/src/groveemg/groveemg.json +++ b/src/groveemg/groveemg.json @@ -1,37 +1,37 @@ -{ - "Library": "groveemg", - "Description": "Grove EMG Muscle Signal Reader Library", - "Sensor Class": - { - "GroveEMG": - { - "Name": "Grove Electromyography (EMG) Sensor", - "Description": "Grove EMG muscle signal reader gathers small muscle signals, then processes them, and returns the result.", - "Aliases": ["groveemg"], - "Categories": ["electromyography", "medical", "deprecated"], - "Connections": ["analog"], - "Project Type": ["wearables", "computer interfacing", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Examples": - { - "Java": ["GroveEmg.java"], - "Python": ["groveemg.py"], - "Node.js": ["groveemg.js"], - "C++": ["groveemg.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-EMG-Detector-p-1737.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-EMG_Detector/"], - "Schematics": ["https://raw.githubusercontent.com/SeeedDocument/Grove-EMG_Detector/master/res/Grove-EMG_Sensor_v1.1_SCH.pdf"] - } - } - } -} +{ + "Library": "groveemg", + "Description": "Grove EMG Muscle Signal Reader Library", + "Sensor Class": + { + "GroveEMG": + { + "Name": "Grove Electromyography (EMG) Sensor", + "Description": "Grove EMG muscle signal reader gathers small muscle signals, then processes them, and returns the result.", + "Aliases": ["groveemg"], + "Categories": ["electromyography", "medical", "deprecated"], + "Connections": ["analog"], + "Project Type": ["wearables", "computer interfacing", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Examples": + { + "Java": ["GroveEmg_Example.java"], + "Python": ["groveemg.py"], + "Node.js": ["groveemg.js"], + "C++": ["groveemg.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-EMG-Detector-p-1737.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-EMG_Detector/"], + "Schematics": ["https://raw.githubusercontent.com/SeeedDocument/Grove-EMG_Detector/master/res/Grove-EMG_Sensor_v1.1_SCH.pdf"] + } + } + } +} diff --git a/src/grovegprs/grovegprs.json b/src/grovegprs/grovegprs.json index bbeb671c..462e380a 100644 --- a/src/grovegprs/grovegprs.json +++ b/src/grovegprs/grovegprs.json @@ -1,40 +1,40 @@ -{ - "Library": "grovegprs", - "Description": "API for the Grove GPRS Module", - "Sensor Class": - { - "GroveGPRS": - { - "Name": "Grove General Packet Radio Service (GPRS) Module", - "Description": "The driver was tested with the Grove GPRS Module, V2. It's a GSM GPRS module based on the SIM900. This module uses a standard 'AT' command set. See the datasheet for a full list of available commands and their possible responses.", - "Aliases": ["grovegprs"], - "Categories": ["wireless"], - "Connections": ["uart"], - "Project Type": ["prototyping", "wireless"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "grovegprs.jpg", - "Examples": - { - "Java": [], - "Python": ["grovegprs.py"], - "Node.js": ["grovegprs.js"], - "C++": ["grovegprs.cxx"], - "C": [] - }, - "Specifications": - { - "Input Voltage (5v Pin)": {"unit": "V", "Typ": 5}, - "Input Voltage (Vin Pin)": {"unit": "V", "low": 6.5, "high": 12}, - "Power Consumption": {"unit": "mA", "low": 1.5}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/GPRS-Shield-V3.0-p-2333.html"], - "Datasheets": ["http://www.seeedstudio.com/document/SIM900datasheeet.zip", "http://wiki.seeedstudio.com/wiki/GPRS_Shield_V3.0", "http://www.seeedstudio.com/wiki/images/7/72/AT_Commands_v1.11.pdf", "http://garden.seeedstudio.com/images/a/a8/SIM900_AT_Command_Manual_V1.03.pdf", "http://garden.seeedstudio.com/images/a/a0/SIM900_ATC_V1_00.pdf"], - "Schematics": ["http://www.seeedstudio.com/wiki/File:GPRS_Shield_v3.0.pdf"] - } - } - } -} +{ + "Library": "grovegprs", + "Description": "API for the Grove GPRS Module", + "Sensor Class": + { + "GroveGPRS": + { + "Name": "Grove General Packet Radio Service (GPRS) Module", + "Description": "The driver was tested with the Grove GPRS Module, V2. It's a GSM GPRS module based on the SIM900. This module uses a standard 'AT' command set. See the datasheet for a full list of available commands and their possible responses.", + "Aliases": ["grovegprs"], + "Categories": ["wireless"], + "Connections": ["uart"], + "Project Type": ["prototyping", "wireless"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "grovegprs.jpg", + "Examples": + { + "Java": [], + "Python": ["grovegprs.py"], + "Node.js": ["grovegprs.js"], + "C++": ["grovegprs.cxx"], + "C": [] + }, + "Specifications": + { + "Input Voltage (5v Pin)": {"unit": "V", "Typ": 5}, + "Input Voltage (Vin Pin)": {"unit": "V", "low": 6.5, "high": 12}, + "Power Consumption": {"unit": "mA", "low": 1.5}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/GPRS-Shield-V3.0-p-2333.html"], + "Datasheets": ["http://www.seeedstudio.com/document/SIM900datasheeet.zip", "http://wiki.seeedstudio.com/wiki/GPRS_Shield_V3.0", "http://www.seeedstudio.com/wiki/images/7/72/AT_Commands_v1.11.pdf", "http://garden.seeedstudio.com/images/a/a8/SIM900_AT_Command_Manual_V1.03.pdf", "http://garden.seeedstudio.com/images/a/a0/SIM900_ATC_V1_00.pdf"], + "Schematics": ["http://www.seeedstudio.com/wiki/File:GPRS_Shield_v3.0.pdf"] + } + } + } +} diff --git a/src/grovegsr/grovegsr.json b/src/grovegsr/grovegsr.json index 24e4e298..a1e1ddcf 100644 --- a/src/grovegsr/grovegsr.json +++ b/src/grovegsr/grovegsr.json @@ -1,38 +1,38 @@ -{ - "Library": "grovegsr", - "Description": "API for the Grove GSR Galvanic Skin Response Sensor", - "Sensor Class": - { - "GroveGSR": - { - "Name": "Galvanic Skin Response (GSR) Sensor", - "Description": "Measures the electrical conductance of skin to measure strong emotional reactions. In other words, it measures sweat on your fingers as an indicator of strong emotional reactions.", - "Aliases": ["grovegsr"], - "Categories": ["skinresponse"], - "Connections": ["analog"], - "Project Type": ["medical", "interface", "wearables", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Examples": - { - "Java": ["GroveGsr.java"], - "Python": ["grovegsr.py"], - "Node.js": ["grovegsr.js"], - "C++": ["grovegsr.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, - "Operating Current": {"unit": "mA", "low": 0.7, "high": 3}, - "Operating Temperature": {"unit": "degC", "min": 0, "max": 70} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-GSR-sensor-p-1614.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-GSR_Sensor/", "file:///C:/Users/Malachai/Downloads/Lm324.pdf"], - "Schematics": ["https://github.com/SeeedDocument/Grove-GSR_Sensor/raw/master/res/Grove%20-%20GSR_v1.2_SCH.pdf", "https://github.com/SeeedDocument/Grove-GSR_Sensor/raw/master/res/Grove%20-%20GSR%20v1.0%20SCH.pdf"] - } - } - } -} +{ + "Library": "grovegsr", + "Description": "API for the Grove GSR Galvanic Skin Response Sensor", + "Sensor Class": + { + "GroveGSR": + { + "Name": "Galvanic Skin Response (GSR) Sensor", + "Description": "Measures the electrical conductance of skin to measure strong emotional reactions. In other words, it measures sweat on your fingers as an indicator of strong emotional reactions.", + "Aliases": ["grovegsr"], + "Categories": ["skinresponse"], + "Connections": ["analog"], + "Project Type": ["medical", "interface", "wearables", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Examples": + { + "Java": ["GroveGsr_Example.java"], + "Python": ["grovegsr.py"], + "Node.js": ["grovegsr.js"], + "C++": ["grovegsr.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, + "Operating Current": {"unit": "mA", "low": 0.7, "high": 3}, + "Operating Temperature": {"unit": "degC", "min": 0, "max": 70} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-GSR-sensor-p-1614.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-GSR_Sensor/", "file:///C:/Users/Malachai/Downloads/Lm324.pdf"], + "Schematics": ["https://github.com/SeeedDocument/Grove-GSR_Sensor/raw/master/res/Grove%20-%20GSR_v1.2_SCH.pdf", "https://github.com/SeeedDocument/Grove-GSR_Sensor/raw/master/res/Grove%20-%20GSR%20v1.0%20SCH.pdf"] + } + } + } +} diff --git a/src/grovelinefinder/grovelinefinder.json b/src/grovelinefinder/grovelinefinder.json index 0c09d257..8976b8ed 100644 --- a/src/grovelinefinder/grovelinefinder.json +++ b/src/grovelinefinder/grovelinefinder.json @@ -1,40 +1,40 @@ -{ - "Library": "grovelinefinder", - "Description": "Grove Line Finder Sensor Library", - "Sensor Class": - { - "GroveLineFinder": - { - "Name": "Infrared (IR) Based Line Finder", - "Description": "UPM module for the Line Finder sensor. It outputs a digital signal indicating whether it is detecting black on a white background, or white on a black background.", - "Aliases": ["grovelinefinder"], - "Categories": ["grovelinefinder"], - "Connections": ["gpio"], - "Project Type": ["robotics", "prototyping"], - "Manufacturers": ["seeed", "dfrobot"], - "Kits": ["robok"], - "Image": "grovelinefinder.jpg", - "Examples": - { - "Java": ["GroveLineFinderSample.java"], - "Python": ["grovelinefinder.py"], - "Node.js": ["grovelinefinder.js"], - "C++": ["grovelinefinder.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 2.7, "high": 5.5}, - "Operating Current": {"unit": "uA", "typ": 210}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 125} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Line-Finder-v1.1-p-2712.html"], - "Datasheets": ["file:///C:/Users/Malachai/Downloads/Lmv358.pdf", "http://wiki.seeed.cc/Grove-Line_Finder/"], - "Schematics": ["https://easyeda.com/Seeed/Grove_Line_Finder_v1_1-dfc99c72325e41ff93a451882fd2e143"] - } - } - } -} +{ + "Library": "grovelinefinder", + "Description": "Grove Line Finder Sensor Library", + "Sensor Class": + { + "GroveLineFinder": + { + "Name": "Infrared (IR) Based Line Finder", + "Description": "UPM module for the Line Finder sensor. It outputs a digital signal indicating whether it is detecting black on a white background, or white on a black background.", + "Aliases": ["grovelinefinder"], + "Categories": ["grovelinefinder"], + "Connections": ["gpio"], + "Project Type": ["robotics", "prototyping"], + "Manufacturers": ["seeed", "dfrobot"], + "Kits": ["robok"], + "Image": "grovelinefinder.jpg", + "Examples": + { + "Java": ["GroveLineFinder_Example.java"], + "Python": ["grovelinefinder.py"], + "Node.js": ["grovelinefinder.js"], + "C++": ["grovelinefinder.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 2.7, "high": 5.5}, + "Operating Current": {"unit": "uA", "typ": 210}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 125} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Line-Finder-v1.1-p-2712.html"], + "Datasheets": ["file:///C:/Users/Malachai/Downloads/Lmv358.pdf", "http://wiki.seeed.cc/Grove-Line_Finder/"], + "Schematics": ["https://easyeda.com/Seeed/Grove_Line_Finder_v1_1-dfc99c72325e41ff93a451882fd2e143"] + } + } + } +} diff --git a/src/grovemoisture/grovemoisture.json b/src/grovemoisture/grovemoisture.json index c251444f..97ed506e 100644 --- a/src/grovemoisture/grovemoisture.json +++ b/src/grovemoisture/grovemoisture.json @@ -1,38 +1,38 @@ -{ - "Library": "grovemoisture", - "Description": "API for the Grove Moisture Sensor", - "Sensor Class": - { - "GroveMoisture": - { - "Name": "Grove Moisture Sensor", - "Description": "UPM module for the Grove Moisture Sensor. This sensor can be used to detect the moisture content of soil or whether there is water around the sensor. As the moisture content increases, so does the value that is read. Note: this sensor is not designed to be left in soil nor to be used outdoors.", - "Aliases": ["grovemoisture"], - "Categories": ["moisture"], - "Connections": ["analog"], - "Project Type": ["liquid", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": ["eak", "hak"], - "Image": "grovemoisture.jpg", - "Examples": - { - "Java": ["GroveMoistureSample.java"], - "Python": ["grovemoisture.py"], - "Node.js": ["grovemoisture.js"], - "C++": ["grovemoisture.cxx"], - "C": [] - }, - "Specifications": { - "Vsource": {"unit": "V", "min": 3.3, "max": 5 }, - "Operating Temperature": {"unit": "°C", "min": -40, "max": 85 }, - "Supply Current": {"unit": "mA", "min" : 0, "max" : 35 } - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Moisture-Sensor-p-955.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-Moisture_Sensor/"], - "Schematics": [] - } - } - } -} +{ + "Library": "grovemoisture", + "Description": "API for the Grove Moisture Sensor", + "Sensor Class": + { + "GroveMoisture": + { + "Name": "Grove Moisture Sensor", + "Description": "UPM module for the Grove Moisture Sensor. This sensor can be used to detect the moisture content of soil or whether there is water around the sensor. As the moisture content increases, so does the value that is read. Note: this sensor is not designed to be left in soil nor to be used outdoors.", + "Aliases": ["grovemoisture"], + "Categories": ["moisture"], + "Connections": ["analog"], + "Project Type": ["liquid", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": ["eak", "hak"], + "Image": "grovemoisture.jpg", + "Examples": + { + "Java": ["GroveMoisture_Example.java"], + "Python": ["grovemoisture.py"], + "Node.js": ["grovemoisture.js"], + "C++": ["grovemoisture.cxx"], + "C": [] + }, + "Specifications": { + "Vsource": {"unit": "V", "min": 3.3, "max": 5 }, + "Operating Temperature": {"unit": "°C", "min": -40, "max": 85 }, + "Supply Current": {"unit": "mA", "min" : 0, "max" : 35 } + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Moisture-Sensor-p-955.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-Moisture_Sensor/"], + "Schematics": [] + } + } + } +} diff --git a/src/groveo2/groveo2.json b/src/groveo2/groveo2.json index 1adc9af6..de970619 100644 --- a/src/groveo2/groveo2.json +++ b/src/groveo2/groveo2.json @@ -1,39 +1,39 @@ -{ - "Library": "groveo2", - "Description": "Grove O2 Oxygen Gas Sensor Library", - "Sensor Class": - { - "GroveO2": - { - "Name": "Grove Oxygen (O2) Concentration Sensor", - "Description": "The Grove O2 Oxygen Gas sensor measures the oxygen concentration in the air.", - "Aliases": ["groveo2"], - "Categories": ["gas", "oxygen", "deprecated"], - "Connections": ["analog"], - "Project Type": ["environmental", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "groveo2.jpg", - "Examples": - { - "Java": ["GroveO2Example.java"], - "Python": ["groveo2.py"], - "Node.js": ["groveo2.js"], - "C++": ["groveo2.cxx"], - "C": [] - }, - "Specifications": - { - "Measurement Range": {"unit": "% Vol", "low": 0, "high": 25}, - "Sensitivity": {"unit": "mA (in air)", "low": 0.1, "high": 0.3}, - "Operating Temperature": {"unit": "degC", "low": -20, "high": 50} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/grove-gas-sensoro2-p-1541.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-Gas_Sensor-O2/"], - "Schematics": ["https://github.com/SeeedDocument/Grove_Gas_Sensor_O2/raw/master/resources/Schematics_O2.zip"] - } - } - } -} +{ + "Library": "groveo2", + "Description": "Grove O2 Oxygen Gas Sensor Library", + "Sensor Class": + { + "GroveO2": + { + "Name": "Grove Oxygen (O2) Concentration Sensor", + "Description": "The Grove O2 Oxygen Gas sensor measures the oxygen concentration in the air.", + "Aliases": ["groveo2"], + "Categories": ["gas", "oxygen", "deprecated"], + "Connections": ["analog"], + "Project Type": ["environmental", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "groveo2.jpg", + "Examples": + { + "Java": ["GroveO2_Example.java"], + "Python": ["groveo2.py"], + "Node.js": ["groveo2.js"], + "C++": ["groveo2.cxx"], + "C": [] + }, + "Specifications": + { + "Measurement Range": {"unit": "% Vol", "low": 0, "high": 25}, + "Sensitivity": {"unit": "mA (in air)", "low": 0.1, "high": 0.3}, + "Operating Temperature": {"unit": "degC", "low": -20, "high": 50} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/grove-gas-sensoro2-p-1541.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-Gas_Sensor-O2/"], + "Schematics": ["https://github.com/SeeedDocument/Grove_Gas_Sensor_O2/raw/master/resources/Schematics_O2.zip"] + } + } + } +} diff --git a/src/grovescam/grovescam.json b/src/grovescam/grovescam.json index b4ac6099..82f3771a 100644 --- a/src/grovescam/grovescam.json +++ b/src/grovescam/grovescam.json @@ -1,39 +1,39 @@ -{ - "Library": "grovescam", - "Description": "Grove Serial Camera Library", - "Sensor Class": - { - "GROVESCAM": - { - "Name": "Serial Camera Module", - "Description": "UPM module for the ear-clip heart rate sensor. It is used to measure your heart rate.", - "Aliases": ["grovescam"], - "Categories": ["imaging", "deprecated"], - "Connections": ["uart"], - "Project Type": ["prototyping", "access control", "security"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "grovescam.jpg", - "Examples": - { - "Java": ["GROVESCAMSample.java"], - "Python": ["grovescam.py"], - "Node.js": ["grovescam.js"], - "C++": ["grovescam.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 5}, - "Resolution": {"unit": "", "max": "640x480"} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Serial-Camera-Kit-p-1608.html"], - "Datasheets": ["http://www.seeedstudio.com/wiki/Grove_-_Serial_Camera_Kit"], - "Schematics": [] - } - } - } -} +{ + "Library": "grovescam", + "Description": "Grove Serial Camera Library", + "Sensor Class": + { + "GROVESCAM": + { + "Name": "Serial Camera Module", + "Description": "UPM module for the ear-clip heart rate sensor. It is used to measure your heart rate.", + "Aliases": ["grovescam"], + "Categories": ["imaging", "deprecated"], + "Connections": ["uart"], + "Project Type": ["prototyping", "access control", "security"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "grovescam.jpg", + "Examples": + { + "Java": ["GROVESCAM_Example.java"], + "Python": ["grovescam.py"], + "Node.js": ["grovescam.js"], + "C++": ["grovescam.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 5}, + "Resolution": {"unit": "", "max": "640x480"} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Serial-Camera-Kit-p-1608.html"], + "Datasheets": ["http://www.seeedstudio.com/wiki/Grove_-_Serial_Camera_Kit"], + "Schematics": [] + } + } + } +} diff --git a/src/grovespeaker/grovespeaker.json b/src/grovespeaker/grovespeaker.json index 1b186e03..d4573eb4 100644 --- a/src/grovespeaker/grovespeaker.json +++ b/src/grovespeaker/grovespeaker.json @@ -1,40 +1,40 @@ -{ - "Library": "grovespeaker", - "Description": "API for the Grove Speaker", - "Sensor Class": - { - "GroveSpeaker": - { - "Name": "Grove Speaker Module", - "Description": "UPM module for the Grove Speaker. This sensor can generate different tones and sounds depending on the frequency of the input signal.", - "Aliases": ["grovespeaker"], - "Categories": ["sound", "deprecated"], - "Connections": ["gpio"], - "Project Type": ["sound", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": ["hak"], - "Image": "grovespeaker.jpg", - "Examples": - { - "Java": ["GroveSpeakerSample.java"], - "Python": ["grovespeaker.py"], - "Node.js": ["grovespeaker.js"], - "C++": ["grovespeaker.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 4, "high": 5.5}, - "Voltage Gain": {"unit": "dB", "typ": 46}, - "Bandwidth": {"unit": "KHz", "min": 20} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Speaker-p-1445.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-Speaker/", "https://raw.githubusercontent.com/SeeedDocument/Grove-Speaker/master/res/LM386_Low_Voltage_Audio_Power_Amplifier_Datasheet.pdf"], - "Schematics": ["https://raw.githubusercontent.com/SeeedDocument/Grove-Speaker/master/res/Grove-Speaker_v1.0_sch.pdf"] - } - } - } -} +{ + "Library": "grovespeaker", + "Description": "API for the Grove Speaker", + "Sensor Class": + { + "GroveSpeaker": + { + "Name": "Grove Speaker Module", + "Description": "UPM module for the Grove Speaker. This sensor can generate different tones and sounds depending on the frequency of the input signal.", + "Aliases": ["grovespeaker"], + "Categories": ["sound", "deprecated"], + "Connections": ["gpio"], + "Project Type": ["sound", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": ["hak"], + "Image": "grovespeaker.jpg", + "Examples": + { + "Java": ["GroveSpeaker_Example.java"], + "Python": ["grovespeaker.py"], + "Node.js": ["grovespeaker.js"], + "C++": ["grovespeaker.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 4, "high": 5.5}, + "Voltage Gain": {"unit": "dB", "typ": 46}, + "Bandwidth": {"unit": "KHz", "min": 20} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Speaker-p-1445.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-Speaker/", "https://raw.githubusercontent.com/SeeedDocument/Grove-Speaker/master/res/LM386_Low_Voltage_Audio_Power_Amplifier_Datasheet.pdf"], + "Schematics": ["https://raw.githubusercontent.com/SeeedDocument/Grove-Speaker/master/res/Grove-Speaker_v1.0_sch.pdf"] + } + } + } +} diff --git a/src/groveultrasonic/groveultrasonic.json b/src/groveultrasonic/groveultrasonic.json index 45b1573d..6bee48f8 100644 --- a/src/groveultrasonic/groveultrasonic.json +++ b/src/groveultrasonic/groveultrasonic.json @@ -1,40 +1,40 @@ -{ - "Library": "groveultrasonic", - "Description": "Grove Ultrasonic Sensor Library", - "Sensor Class": - { - "GroveUltraSonic": - { - "Name": "Ultrasonic Proximity Sensor", - "Description": "This Grove Ultrasonic sensor is a non-contact distance measurement module which is compatible with the Grove system. It is designed for easy modular project usage with industrial performance. Detection ranges from 3 cm (1.2\") to 4 m (13'1.5\") and works best when the object is within a 30 degree angle relative to the sensor.", - "Aliases": ["groveultrasonic"], - "Categories": ["proximity", "deprecated"], - "Connections": ["gpio"], - "Project Type": ["robotics", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "groveultrasonic.jpg", - "Examples": - { - "Java": [], - "Python": [], - "Node.js": ["groveultrasonic.js"], - "C++": ["groveultrasonic.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.2, "high": 5.2}, - "Operating Current": {"unit": "mA", "typ": 8}, - "Measurement Range": {"unit": "cm", "low": 2, "high": 350} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Ultrasonic-Ranger-p-960.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-Ultrasonic_Ranger/"], - "Schematics": [] - } - } - } -} +{ + "Library": "groveultrasonic", + "Description": "Grove Ultrasonic Sensor Library", + "Sensor Class": + { + "GroveUltraSonic": + { + "Name": "Ultrasonic Proximity Sensor", + "Description": "This Grove Ultrasonic sensor is a non-contact distance measurement module which is compatible with the Grove system. It is designed for easy modular project usage with industrial performance. Detection ranges from 3 cm (1.2\") to 4 m (13'1.5\") and works best when the object is within a 30 degree angle relative to the sensor.", + "Aliases": ["groveultrasonic"], + "Categories": ["proximity", "deprecated"], + "Connections": ["gpio"], + "Project Type": ["robotics", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "groveultrasonic.jpg", + "Examples": + { + "Java": [], + "Python": [], + "Node.js": ["groveultrasonic.js"], + "C++": ["groveultrasonic.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.2, "high": 5.2}, + "Operating Current": {"unit": "mA", "typ": 8}, + "Measurement Range": {"unit": "cm", "low": 2, "high": 350} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Ultrasonic-Ranger-p-960.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-Ultrasonic_Ranger/"], + "Schematics": [] + } + } + } +} diff --git a/src/grovevdiv/grovevdiv.json b/src/grovevdiv/grovevdiv.json index 77fb665d..da8928a2 100644 --- a/src/grovevdiv/grovevdiv.json +++ b/src/grovevdiv/grovevdiv.json @@ -1,37 +1,37 @@ -{ - "Library": "grovevdiv", - "Description": "API for the Grove Voltage Divider Sensor", - "Sensor Class": - { - "GroveVDiv": - { - "Name": "Grove Voltage Divider Sensor", - "Description": "UPM module for the Grove Voltage Divider sensor.", - "Aliases": ["grovevdiv"], - "Categories": ["electric", "deprecated"], - "Connections": ["gpio"], - "Project Type": ["robotics", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": ["robok"], - "Image": "grovevdiv.jpg", - "Examples": - { - "Java": ["GroveVDivSample.java"], - "Python": ["grovevdiv.py"], - "Node.js": ["grovevdiv.js"], - "C++": ["grovevdiv.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 5} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Voltage-Divider-p-1472.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-Voltage_Divider/"], - "Schematics": ["https://github.com/SeeedDocument/Grove-Voltage_Divider/raw/master/res/LMV358ID_Datasheet.pdf"] - } - } - } -} +{ + "Library": "grovevdiv", + "Description": "API for the Grove Voltage Divider Sensor", + "Sensor Class": + { + "GroveVDiv": + { + "Name": "Grove Voltage Divider Sensor", + "Description": "UPM module for the Grove Voltage Divider sensor.", + "Aliases": ["grovevdiv"], + "Categories": ["electric", "deprecated"], + "Connections": ["gpio"], + "Project Type": ["robotics", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": ["robok"], + "Image": "grovevdiv.jpg", + "Examples": + { + "Java": ["GroveVDiv_Example.java"], + "Python": ["grovevdiv.py"], + "Node.js": ["grovevdiv.js"], + "C++": ["grovevdiv.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 5} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Voltage-Divider-p-1472.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-Voltage_Divider/"], + "Schematics": ["https://github.com/SeeedDocument/Grove-Voltage_Divider/raw/master/res/LMV358ID_Datasheet.pdf"] + } + } + } +} diff --git a/src/grovewater/grovewater.json b/src/grovewater/grovewater.json index 794a976e..d41c72a5 100644 --- a/src/grovewater/grovewater.json +++ b/src/grovewater/grovewater.json @@ -1,39 +1,39 @@ -{ - "Library": "grovewater", - "Description": "Grove Water Sensor Library", - "Sensor Class": - { - "GroveWater": - { - "Name": "Grove Water Sensor", - "Description": "UPM module for the Grove Water sensor.", - "Aliases": ["grovewater"], - "Categories": ["liquid", "deprecated"], - "Connections": ["gpio"], - "Project Type": ["agriculture", "environmental", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": ["eak"], - "Examples": - { - "Java": ["GroveWaterSample.java"], - "Python": ["grovewater.py"], - "Node.js": ["grovewater.js"], - "C++": ["grovewater.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 4.7, "high": 5.25}, - "Operating Current": {"unit": "mA", "max": 20}, - "Working Temperature": {"unit": "degC", "low": 10, "high": 30} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Water-Sensor-p-748.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-Water_Sensor/"], - "Schematics": [] - } - } - } -} +{ + "Library": "grovewater", + "Description": "Grove Water Sensor Library", + "Sensor Class": + { + "GroveWater": + { + "Name": "Grove Water Sensor", + "Description": "UPM module for the Grove Water sensor.", + "Aliases": ["grovewater"], + "Categories": ["liquid", "deprecated"], + "Connections": ["gpio"], + "Project Type": ["agriculture", "environmental", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": ["eak"], + "Examples": + { + "Java": ["GroveWater_Example.java"], + "Python": ["grovewater.py"], + "Node.js": ["grovewater.js"], + "C++": ["grovewater.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 4.7, "high": 5.25}, + "Operating Current": {"unit": "mA", "max": 20}, + "Working Temperature": {"unit": "degC", "low": 10, "high": 30} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Water-Sensor-p-748.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-Water_Sensor/"], + "Schematics": [] + } + } + } +} diff --git a/src/grovewfs/grovewfs.json b/src/grovewfs/grovewfs.json index 68f1294f..7d6e7235 100644 --- a/src/grovewfs/grovewfs.json +++ b/src/grovewfs/grovewfs.json @@ -1,40 +1,40 @@ -{ - "Library": "grovewfs", - "Description": "API for the Grove Water Flow Sensor", - "Sensor Class": - { - "GroveWFS": - { - "Name": "Water Flow Sensor", - "Description": "This sensor is used to measure water flow in liters per minute (LPM). It incorporates a Hall Effect sensor. The UPM module defines an interrupt routine to be triggered on each low pulse, keeping count. This device requires a 10K pull-up resistor for the signal line (yellow wire). There is a schematic diagram on the SeeedStudio site (3/2015): http://www.seeedstudio.com/wiki/index.php?title=G1/2_Water_Flow_sensor However, be careful when wiring this up - the schematic appears to have a bug in it: the lower left connection of the signal line (yellow) to Vcc (red) should not be there. The sensor can work with this connection, but probably not for very long.", - "Aliases": ["grovewfs"], - "Categories": ["liquid", "deprecated"], - "Connections": ["gpio"], - "Project Type": ["agriculture", "monitoring", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": ["eak"], - "Image": "grovewfs.jpg", - "Examples": - { - "Java": ["GroveWFSSample.java"], - "Python": ["grovewfs.py"], - "Node.js": ["grovewfs.js"], - "C++": ["grovewfs.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 5, "high": 24}, - "Operating Current": {"unit": "mA", "typ": 15}, - "Water Pressure": {"unit": "MPa", "max": 2}, - "Water Temperature": {"unit": "degC", "max": 120} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/G1%26amp%3B2%26quot%3B-Water-Flow-Sensor-p-635.html"], - "Datasheets": ["http://wiki.seeedstudio.com/wiki/G1/2_Water_Flow_sensor", "http://www.seeedstudio.com/wiki/images/b/b7/Water_flow_sensor_datasheet.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "grovewfs", + "Description": "API for the Grove Water Flow Sensor", + "Sensor Class": + { + "GroveWFS": + { + "Name": "Water Flow Sensor", + "Description": "This sensor is used to measure water flow in liters per minute (LPM). It incorporates a Hall Effect sensor. The UPM module defines an interrupt routine to be triggered on each low pulse, keeping count. This device requires a 10K pull-up resistor for the signal line (yellow wire). There is a schematic diagram on the SeeedStudio site (3/2015): http://www.seeedstudio.com/wiki/index.php?title=G1/2_Water_Flow_sensor However, be careful when wiring this up - the schematic appears to have a bug in it: the lower left connection of the signal line (yellow) to Vcc (red) should not be there. The sensor can work with this connection, but probably not for very long.", + "Aliases": ["grovewfs"], + "Categories": ["liquid", "deprecated"], + "Connections": ["gpio"], + "Project Type": ["agriculture", "monitoring", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": ["eak"], + "Image": "grovewfs.jpg", + "Examples": + { + "Java": ["GroveWFS_Example.java"], + "Python": ["grovewfs.py"], + "Node.js": ["grovewfs.js"], + "C++": ["grovewfs.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 5, "high": 24}, + "Operating Current": {"unit": "mA", "typ": 15}, + "Water Pressure": {"unit": "MPa", "max": 2}, + "Water Temperature": {"unit": "degC", "max": 120} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/G1%26amp%3B2%26quot%3B-Water-Flow-Sensor-p-635.html"], + "Datasheets": ["http://wiki.seeedstudio.com/wiki/G1/2_Water_Flow_sensor", "http://www.seeedstudio.com/wiki/images/b/b7/Water_flow_sensor_datasheet.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/gsr/gsr.json b/src/gsr/gsr.json index ae3a3a9e..cfda9d90 100644 --- a/src/gsr/gsr.json +++ b/src/gsr/gsr.json @@ -1,39 +1,39 @@ -{ - "Library": "gsr", - "Description": "API for the Grove GSR Galvanic Skin Response Sensor", - "Sensor Class": - { - "GSR": - { - "Name": "Galvanic Skin Response (GSR) Sensor", - "Description": "Measures the electrical conductance of skin to measure strong emotional reactions. In other words, it measures sweat on your fingers as an indicator of strong emotional reactions.", - "Aliases": ["gsr"], - "Categories": ["skinresponse"], - "Connections": ["analog"], - "Project Type": ["medical", "interface", "wearables", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "gsr.jpg", - "Examples": - { - "Java": ["Gsr.java"], - "Python": ["gsr.py"], - "Node.js": ["gsr.js"], - "C++": ["gsr.cxx"], - "C": ["gsr.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, - "Operating Current": {"unit": "mA", "low": 0.7, "high": 3}, - "Operating Temperature": {"unit": "degC", "min": 0, "max": 70} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-GSR-sensor-p-1614.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-GSR_Sensor/", "file:///C:/Users/Malachai/Downloads/Lm324.pdf"], - "Schematics": ["https://github.com/SeeedDocument/Grove-GSR_Sensor/raw/master/res/Grove%20-%20GSR_v1.2_SCH.pdf", "https://github.com/SeeedDocument/Grove-GSR_Sensor/raw/master/res/Grove%20-%20GSR%20v1.0%20SCH.pdf"] - } - } - } -} +{ + "Library": "gsr", + "Description": "API for the Grove GSR Galvanic Skin Response Sensor", + "Sensor Class": + { + "GSR": + { + "Name": "Galvanic Skin Response (GSR) Sensor", + "Description": "Measures the electrical conductance of skin to measure strong emotional reactions. In other words, it measures sweat on your fingers as an indicator of strong emotional reactions.", + "Aliases": ["gsr"], + "Categories": ["skinresponse"], + "Connections": ["analog"], + "Project Type": ["medical", "interface", "wearables", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "gsr.jpg", + "Examples": + { + "Java": ["Gsr_Example.java"], + "Python": ["gsr.py"], + "Node.js": ["gsr.js"], + "C++": ["gsr.cxx"], + "C": ["gsr.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, + "Operating Current": {"unit": "mA", "low": 0.7, "high": 3}, + "Operating Temperature": {"unit": "degC", "min": 0, "max": 70} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-GSR-sensor-p-1614.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-GSR_Sensor/", "file:///C:/Users/Malachai/Downloads/Lm324.pdf"], + "Schematics": ["https://github.com/SeeedDocument/Grove-GSR_Sensor/raw/master/res/Grove%20-%20GSR_v1.2_SCH.pdf", "https://github.com/SeeedDocument/Grove-GSR_Sensor/raw/master/res/Grove%20-%20GSR%20v1.0%20SCH.pdf"] + } + } + } +} diff --git a/src/guvas12d/guvas12d.json b/src/guvas12d/guvas12d.json index 1e343ef6..7da9c03c 100644 --- a/src/guvas12d/guvas12d.json +++ b/src/guvas12d/guvas12d.json @@ -1,40 +1,40 @@ -{ - "Library": "guvas12d", - "Description": "API for the GUVA-S12D UV Sensor", - "Sensor Class": - { - "GUVAS12D": - { - "Name": "Grove Analog UV Sensor", - "Description": "UPM module for the GUVA-S12D UV sensor", - "Aliases": ["guvas12d"], - "Categories": ["ultraviolet"], - "Connections": ["gpio"], - "Project Type": ["environmental", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": ["eak"], - "Image": "guvas12d.jpg", - "Examples": - { - "Java": ["GUVAS12DSample.java"], - "Python": ["guvas12d.py"], - "Node.js": ["guvas12d.js"], - "C++": ["guvas12d.cxx"], - "C": ["guvas12d.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3, "high": 5.1}, - "Operating Current": {"unit": "mA", "typ": 0.31}, - "Response Wavelength": {"unit": "nm", "low": 240, "high": 370}, - "Working Temperature": {"unit": "degC", "low": -30, "high": 85} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-UV-Sensor-p-1540.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-UV_Sensor/", "https://raw.githubusercontent.com/SeeedDocument/Grove-UV_Sensor/master/res/Grove-UV_Sensor_v1.1_Datasheets.zip"], - "Schematics": ["https://github.com/SeeedDocument/Grove-UV_Sensor/raw/master/res/Grove%20-%20UV%20Sensor%20v1.1sch.pdf"] - } - } - } -} +{ + "Library": "guvas12d", + "Description": "API for the GUVA-S12D UV Sensor", + "Sensor Class": + { + "GUVAS12D": + { + "Name": "Grove Analog UV Sensor", + "Description": "UPM module for the GUVA-S12D UV sensor", + "Aliases": ["guvas12d"], + "Categories": ["ultraviolet"], + "Connections": ["gpio"], + "Project Type": ["environmental", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": ["eak"], + "Image": "guvas12d.jpg", + "Examples": + { + "Java": ["GUVAS12D_Example.java"], + "Python": ["guvas12d.py"], + "Node.js": ["guvas12d.js"], + "C++": ["guvas12d.cxx"], + "C": ["guvas12d.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3, "high": 5.1}, + "Operating Current": {"unit": "mA", "typ": 0.31}, + "Response Wavelength": {"unit": "nm", "low": 240, "high": 370}, + "Working Temperature": {"unit": "degC", "low": -30, "high": 85} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-UV-Sensor-p-1540.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-UV_Sensor/", "https://raw.githubusercontent.com/SeeedDocument/Grove-UV_Sensor/master/res/Grove-UV_Sensor_v1.1_Datasheets.zip"], + "Schematics": ["https://github.com/SeeedDocument/Grove-UV_Sensor/raw/master/res/Grove%20-%20UV%20Sensor%20v1.1sch.pdf"] + } + } + } +} diff --git a/src/h3lis331dl/h3lis331dl.json b/src/h3lis331dl/h3lis331dl.json index 2019f36d..102d92d0 100644 --- a/src/h3lis331dl/h3lis331dl.json +++ b/src/h3lis331dl/h3lis331dl.json @@ -1,39 +1,39 @@ -{ - "Library": "h3lis331dl", - "Description": "H3LIS331DL I2C Accelerometer (400g) Library", - "Sensor Class": - { - "H3LIS331DL": - { - "Name": "I2C 3-axis Digital Accelerometer (400g)", - "Description": "This is a high-performance, high-range accelerometer for extreme applications.", - "Aliases": ["h3lis331dl"], - "Categories": ["accelerometer"], - "Connections": ["i2c"], - "Project Type": ["IMU", "prototyping"], - "Manufacturers": ["seeed", "stmicro"], - "Kits": [], - "Image": "h3lis331dl.jpg", - "Examples": - { - "Java": ["H3LIS331DLSample.java"], - "Python": ["h3lis331dl.py"], - "Node.js": ["h3lis331dl.js"], - "C++": ["h3lis331dl.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, - "Operating Current": {"unit": "uA", "typ": 300}, - "Measurement Range": {"unit": "+-g", "low": 100, "high": 400} - }, - "Urls" : - { - "Product Pages": ["httpshttps://www.seeedstudio.com/Grove-3Axis-Digital-Accelerometer400g-p-1897.html"], - "Datasheets": ["http://www.st.com/web/en/resource/technical/document/datasheet/DM00053090.pdf", "http://wiki.seeed.cc/Grove-3-Axis_Digital_Accelerometer-400g/"], - "Schematics": [] - } - } - } -} +{ + "Library": "h3lis331dl", + "Description": "H3LIS331DL I2C Accelerometer (400g) Library", + "Sensor Class": + { + "H3LIS331DL": + { + "Name": "I2C 3-axis Digital Accelerometer (400g)", + "Description": "This is a high-performance, high-range accelerometer for extreme applications.", + "Aliases": ["h3lis331dl"], + "Categories": ["accelerometer"], + "Connections": ["i2c"], + "Project Type": ["IMU", "prototyping"], + "Manufacturers": ["seeed", "stmicro"], + "Kits": [], + "Image": "h3lis331dl.jpg", + "Examples": + { + "Java": ["H3LIS331DL_Example.java"], + "Python": ["h3lis331dl.py"], + "Node.js": ["h3lis331dl.js"], + "C++": ["h3lis331dl.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, + "Operating Current": {"unit": "uA", "typ": 300}, + "Measurement Range": {"unit": "+-g", "low": 100, "high": 400} + }, + "Urls" : + { + "Product Pages": ["httpshttps://www.seeedstudio.com/Grove-3Axis-Digital-Accelerometer400g-p-1897.html"], + "Datasheets": ["http://www.st.com/web/en/resource/technical/document/datasheet/DM00053090.pdf", "http://wiki.seeed.cc/Grove-3-Axis_Digital_Accelerometer-400g/"], + "Schematics": [] + } + } + } +} diff --git a/src/h803x/h803x.json b/src/h803x/h803x.json index 3758c658..29cbfe8d 100644 --- a/src/h803x/h803x.json +++ b/src/h803x/h803x.json @@ -1,38 +1,38 @@ -{ - "Library": "h803x", - "Description": "UPM API for the Veris H803X Energy Meter", - "Sensor Class": - { - "H803X": - { - "Name": "Veris H803X Energy Meter Module", - "Description": "The H8036 is similar to the H8035, but provides much more data. The Enercept H8035/H8036 is an innovative three-phase networked (Modbus RTU) power transducer that combines electronics and high accuracy industrial grade CTs in a single package. The need for external electrical enclosures is eliminated, greatly reducing installation time and cost. Color-coordination between voltage leads and CTs makes phase matching easy. Additionally, these transducers automatically detect and compensate for phase reversal, eliminating the concern of CT load orientation. Up to 63 Transducers can be daisy-chained on a single RS-485 network. This module was developed using libmodbus 3.1.2, and the H8035. The H8036 has not been tested. libmodbus 3.1.2 must be present for this module to build. It was developed using an RS232->RS485 interface. You cannot use the built in MCU TTL UART pins for accessing this device -- you must use a full Serial RS232->RS485 or USB-RS485 interface connected via USB.", - "Aliases": ["h803x"], - "Categories": ["energy", "electric"], - "Connections": ["uart"], - "Project Type": ["prototyping"], - "Manufacturers": ["veris"], - "Kits": [], - "Examples": - { - "Java": ["H803X_Example.java"], - "Python": ["h803x.py"], - "Node.js": ["h803x.js"], - "C++": ["h803x.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "VAC", "low": 208, "high": 480}, - "Operating Current": {"unit": "A", "max": 2400}, - "Operating Temperature": {"unit": "degC", "low": 0, "high": 60} - }, - "Urls" : - { - "Product Pages": ["http://www.veris.com/Item/H8035-0100-2.aspx"], - "Datasheets": ["http://www.veris.com/docs/Datasheets/H803x_d0117.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "h803x", + "Description": "UPM API for the Veris H803X Energy Meter", + "Sensor Class": + { + "H803X": + { + "Name": "Veris H803X Energy Meter Module", + "Description": "The H8036 is similar to the H8035, but provides much more data. The Enercept H8035/H8036 is an innovative three-phase networked (Modbus RTU) power transducer that combines electronics and high accuracy industrial grade CTs in a single package. The need for external electrical enclosures is eliminated, greatly reducing installation time and cost. Color-coordination between voltage leads and CTs makes phase matching easy. Additionally, these transducers automatically detect and compensate for phase reversal, eliminating the concern of CT load orientation. Up to 63 Transducers can be daisy-chained on a single RS-485 network. This module was developed using libmodbus 3.1.2, and the H8035. The H8036 has not been tested. libmodbus 3.1.2 must be present for this module to build. It was developed using an RS232->RS485 interface. You cannot use the built in MCU TTL UART pins for accessing this device -- you must use a full Serial RS232->RS485 or USB-RS485 interface connected via USB.", + "Aliases": ["h803x"], + "Categories": ["energy", "electric"], + "Connections": ["uart"], + "Project Type": ["prototyping"], + "Manufacturers": ["veris"], + "Kits": [], + "Examples": + { + "Java": ["H803X_Example.java"], + "Python": ["h803x.py"], + "Node.js": ["h803x.js"], + "C++": ["h803x.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "VAC", "low": 208, "high": 480}, + "Operating Current": {"unit": "A", "max": 2400}, + "Operating Temperature": {"unit": "degC", "low": 0, "high": 60} + }, + "Urls" : + { + "Product Pages": ["http://www.veris.com/Item/H8035-0100-2.aspx"], + "Datasheets": ["http://www.veris.com/docs/Datasheets/H803x_d0117.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/hcsr04/hcsr04.json b/src/hcsr04/hcsr04.json index 905a9562..9792206c 100644 --- a/src/hcsr04/hcsr04.json +++ b/src/hcsr04/hcsr04.json @@ -1,38 +1,38 @@ -{ - "Library": "hcsr04", - "Description": "HC-SR04 Ultrasonic Sensor Library", - "Sensor Class": - { - "HCSR04": - { - "Name": "HC-SR04 Ultrasonic Distance Measuring Sensor", - "Description": "This module defines the HC-SR04 interface for libhcsr04.", - "Aliases": ["hcsr04"], - "Categories": ["ultrasonic", "distance"], - "Connections": ["gpio"], - "Project Type": ["robotics", "safety", "prototyping"], - "Manufacturers": ["sparkfun"], - "Kits": [], - "Examples": - { - "Java": ["HCSR04Sample.java"], - "Python": ["hcsr04.py"], - "Node.js": ["hcsr04.js"], - "C++": ["hcsr04.cxx"], - "C": ["hcsr04.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 5}, - "Operating Current": {"unit": "mA", "typ": 15}, - "Measurement Range": {"unit": "cm", "low": 2, "high": 400} - }, - "Urls" : - { - "Product Pages": ["https://www.sparkfun.com/products/13959"], - "Datasheets": ["https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "hcsr04", + "Description": "HC-SR04 Ultrasonic Sensor Library", + "Sensor Class": + { + "HCSR04": + { + "Name": "HC-SR04 Ultrasonic Distance Measuring Sensor", + "Description": "This module defines the HC-SR04 interface for libhcsr04.", + "Aliases": ["hcsr04"], + "Categories": ["ultrasonic", "distance"], + "Connections": ["gpio"], + "Project Type": ["robotics", "safety", "prototyping"], + "Manufacturers": ["sparkfun"], + "Kits": [], + "Examples": + { + "Java": ["HCSR04_Example.java"], + "Python": ["hcsr04.py"], + "Node.js": ["hcsr04.js"], + "C++": ["hcsr04.cxx"], + "C": ["hcsr04.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 5}, + "Operating Current": {"unit": "mA", "typ": 15}, + "Measurement Range": {"unit": "cm", "low": 2, "high": 400} + }, + "Urls" : + { + "Product Pages": ["https://www.sparkfun.com/products/13959"], + "Datasheets": ["https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/hdc1000/hdc1000.json b/src/hdc1000/hdc1000.json index 832c3e07..537238c8 100644 --- a/src/hdc1000/hdc1000.json +++ b/src/hdc1000/hdc1000.json @@ -1,38 +1,38 @@ -{ - "Library": "hdc1000", - "Description": "API for the HDC1000 Temperature & Humidity Sensor", - "Sensor Class": - { - "HDC1000": - { - "Name": "HDC1000 Temperature and Humidity Sensor", - "Description": "The HDC1000 is a digital humidity sensor with integrated temperature sensor that provides excellent measurement accuracy at very low power. The device measures humidity based on a novel capacitive sensor. The humidity and temperature sensors are factory calibrated. The innovative WLCSP (Wafer Level Chip Scale Package) simplifies board design with the use of an ultra-compact package. The sensing element of the HDC1000 is placed on the bottom part of the device, which makes the HDC1000 more robust against dirt, dust, and other environmental contaminants. The HDC1000 is functional within the full -40 to +125 [degC] temperature range.", - "Aliases": ["hdc1000"], - "Categories": ["temperature", "humidity"], - "Connections": ["i2c"], - "Project Type": ["environmental", "", "prototyping"], - "Manufacturers": ["ti"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": ["hdc1000.py"], - "Node.js": [], - "C++": ["hdc1000.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3, "high": 5}, - "Operating Current": {"unit": "uA", "low": 0.82, "high": 1.2}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 125} - }, - "Urls" : - { - "Product Pages": ["http://www.ti.com/product/HDC1000/description"], - "Datasheets": ["http://www.ti.com/lit/ds/symlink/hdc1000.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "hdc1000", + "Description": "API for the HDC1000 Temperature & Humidity Sensor", + "Sensor Class": + { + "HDC1000": + { + "Name": "HDC1000 Temperature and Humidity Sensor", + "Description": "The HDC1000 is a digital humidity sensor with integrated temperature sensor that provides excellent measurement accuracy at very low power. The device measures humidity based on a novel capacitive sensor. The humidity and temperature sensors are factory calibrated. The innovative WLCSP (Wafer Level Chip Scale Package) simplifies board design with the use of an ultra-compact package. The sensing element of the HDC1000 is placed on the bottom part of the device, which makes the HDC1000 more robust against dirt, dust, and other environmental contaminants. The HDC1000 is functional within the full -40 to +125 [degC] temperature range.", + "Aliases": ["hdc1000"], + "Categories": ["temperature", "humidity"], + "Connections": ["i2c"], + "Project Type": ["environmental", "", "prototyping"], + "Manufacturers": ["ti"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": ["hdc1000.py"], + "Node.js": [], + "C++": ["hdc1000.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3, "high": 5}, + "Operating Current": {"unit": "uA", "low": 0.82, "high": 1.2}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 125} + }, + "Urls" : + { + "Product Pages": ["http://www.ti.com/product/HDC1000/description"], + "Datasheets": ["http://www.ti.com/lit/ds/symlink/hdc1000.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/hdxxvxta/hdxxvxta.json b/src/hdxxvxta/hdxxvxta.json index 9abe6df4..7404b2c2 100644 --- a/src/hdxxvxta/hdxxvxta.json +++ b/src/hdxxvxta/hdxxvxta.json @@ -1,35 +1,35 @@ -{ - "Library": "hdxxvxta", - "Description": "API for the Veris HDXXVXTA Humidity Transmitter", - "Sensor Class": - { - "HDXXVXTA": - { - "Name": "Veris HDXXVXTA Humidity Transmitter", - "Description": "The driver was developed using the HD2NVSTA1 humidity transmitter. The 'T' variant supports a temperature transmitter as well. Both signals are provided by the device as analog 0-5Vdc or 0-10Vdc outputs. The A1 variant supports a temperature range of -40C-50C, while the A2 variant supports a range of 0C-50C. Humidity ranges for all devices in this device family range from 0% to 100% (non-condensing). This driver used the 5Vdc outputs for obvious reasons. Your MCU must be configured for 5V operation. Using any other analog reference voltage will require the appropriate external circuitry (such as a voltage divider) in order to interface safely with your MCU. For devices which do not support temperature, use '-1' as the temperature pin number in the object constructor. If temperature measurement is disabled, getTemperature() will always return 0C/32F.", - "Aliases": ["hdxxvxta"], - "Categories": ["humidity"], - "Connections": ["analog"], - "Project Type": ["environmental", "prototyping"], - "Manufacturers": ["veris"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": ["hdxxvxta.py"], - "Node.js": ["hdxxvxta.js"], - "C++": ["hdxxvxta.cxx"], - "C": [] - }, - "Specifications": - { - }, - "Urls" : - { - "Product Pages": [], - "Datasheets": [], - "Schematics": [] - } - } - } -} +{ + "Library": "hdxxvxta", + "Description": "API for the Veris HDXXVXTA Humidity Transmitter", + "Sensor Class": + { + "HDXXVXTA": + { + "Name": "Veris HDXXVXTA Humidity Transmitter", + "Description": "The driver was developed using the HD2NVSTA1 humidity transmitter. The 'T' variant supports a temperature transmitter as well. Both signals are provided by the device as analog 0-5Vdc or 0-10Vdc outputs. The A1 variant supports a temperature range of -40C-50C, while the A2 variant supports a range of 0C-50C. Humidity ranges for all devices in this device family range from 0% to 100% (non-condensing). This driver used the 5Vdc outputs for obvious reasons. Your MCU must be configured for 5V operation. Using any other analog reference voltage will require the appropriate external circuitry (such as a voltage divider) in order to interface safely with your MCU. For devices which do not support temperature, use '-1' as the temperature pin number in the object constructor. If temperature measurement is disabled, getTemperature() will always return 0C/32F.", + "Aliases": ["hdxxvxta"], + "Categories": ["humidity"], + "Connections": ["analog"], + "Project Type": ["environmental", "prototyping"], + "Manufacturers": ["veris"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": ["hdxxvxta.py"], + "Node.js": ["hdxxvxta.js"], + "C++": ["hdxxvxta.cxx"], + "C": [] + }, + "Specifications": + { + }, + "Urls" : + { + "Product Pages": [], + "Datasheets": [], + "Schematics": [] + } + } + } +} diff --git a/src/hka5/hka5.json b/src/hka5/hka5.json index 3f4438ff..73d065c1 100644 --- a/src/hka5/hka5.json +++ b/src/hka5/hka5.json @@ -1,37 +1,37 @@ -{ - "Library": "hka5", - "Description": "API for the DFRobot Laser Particulate Matter (PM) Sensor", - "Sensor Class": - { - "HKA5": - { - "Name": "DFRobot Laser Particulate Matter (PM) Sensor", - "Description": "This driver was tested with a DFRobot Laser PM2.5 Sensor. It connects to a UART at 9600 baud. This is the only baud rate supported. It optionally supports Reset and Set/Sleep gpios as well.", - "Aliases": ["hka5"], - "Categories": ["gaseous"], - "Connections": ["gpio", "uart"], - "Project Type": ["environmental", "prototyping"], - "Manufacturers": ["dfrobot"], - "Kits": [], - "Examples": - { - "Java": ["HKA5_Example.java"], - "Python": ["hka5.py"], - "Node.js": ["hka5.js"], - "C++": ["hka5.cxx"], - "C": ["hka5.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, - "Operating Current": {"unit": "mA", "typ": 10} - }, - "Urls" : - { - "Product Pages": ["https://www.dfrobot.com/wiki/index.php/DFRobot_LM35_Linear_Temperature_Sensor_(SKU:DFR0023)"], - "Datasheets": ["http://image.dfrobot.com/image/data/DFR0023/DFR0023_Datasheet.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "hka5", + "Description": "API for the DFRobot Laser Particulate Matter (PM) Sensor", + "Sensor Class": + { + "HKA5": + { + "Name": "DFRobot Laser Particulate Matter (PM) Sensor", + "Description": "This driver was tested with a DFRobot Laser PM2.5 Sensor. It connects to a UART at 9600 baud. This is the only baud rate supported. It optionally supports Reset and Set/Sleep gpios as well.", + "Aliases": ["hka5"], + "Categories": ["gaseous"], + "Connections": ["gpio", "uart"], + "Project Type": ["environmental", "prototyping"], + "Manufacturers": ["dfrobot"], + "Kits": [], + "Examples": + { + "Java": ["HKA5_Example.java"], + "Python": ["hka5.py"], + "Node.js": ["hka5.js"], + "C++": ["hka5.cxx"], + "C": ["hka5.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, + "Operating Current": {"unit": "mA", "typ": 10} + }, + "Urls" : + { + "Product Pages": ["https://www.dfrobot.com/wiki/index.php/DFRobot_LM35_Linear_Temperature_Sensor_(SKU:DFR0023)"], + "Datasheets": ["http://image.dfrobot.com/image/data/DFR0023/DFR0023_Datasheet.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/hm11/hm11.json b/src/hm11/hm11.json index be42f660..991c5bb9 100644 --- a/src/hm11/hm11.json +++ b/src/hm11/hm11.json @@ -1,39 +1,39 @@ -{ - "Library": "hm11", - "Description": "HM-11 Bluetooth 4.0 Low Energy Module Library", - "Sensor Class": - { - "HM11": - { - "Name": "Bluetooth Low Energy Module", - "Description": "The driver was tested with the Grove BLE module. It's an HM-11 BLE 4.0 module based on a TI CC2541 chip. It operates using a standard 'AT' command set. See the datasheet for a full list of available commands and their possible responses: http://www.seeedstudio.com/wiki/images/c/cd/Bluetooth4_en.pdf It is connected via a UART at 9,600 baud.", - "Aliases": ["hm11"], - "Categories": ["bluetooth"], - "Connections": ["uart"], - "Project Type": ["wireless", "wearables", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "hm11.jpg", - "Examples": - { - "Java": ["HM11Sample.java"], - "Python": ["hm11.py"], - "Node.js": ["hm11.js"], - "C++": ["hm11.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 2.0, "typ": 3.3, "high": 3.6}, - "Peak Operating Current": {"unit": "mA", "typ": 15}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 65} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Bluetooth-V4.0-HM-11-BLE-Module-p-1803.html"], - "Datasheets": ["http://wiki.seeed.cc/Bluetooth_V4.0_HM_11_BLE_Module/"], - "Schematics": [] - } - } - } -} +{ + "Library": "hm11", + "Description": "HM-11 Bluetooth 4.0 Low Energy Module Library", + "Sensor Class": + { + "HM11": + { + "Name": "Bluetooth Low Energy Module", + "Description": "The driver was tested with the Grove BLE module. It's an HM-11 BLE 4.0 module based on a TI CC2541 chip. It operates using a standard 'AT' command set. See the datasheet for a full list of available commands and their possible responses: http://www.seeedstudio.com/wiki/images/c/cd/Bluetooth4_en.pdf It is connected via a UART at 9,600 baud.", + "Aliases": ["hm11"], + "Categories": ["bluetooth"], + "Connections": ["uart"], + "Project Type": ["wireless", "wearables", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "hm11.jpg", + "Examples": + { + "Java": ["HM11_Example.java"], + "Python": ["hm11.py"], + "Node.js": ["hm11.js"], + "C++": ["hm11.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 2.0, "typ": 3.3, "high": 3.6}, + "Peak Operating Current": {"unit": "mA", "typ": 15}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 65} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Bluetooth-V4.0-HM-11-BLE-Module-p-1803.html"], + "Datasheets": ["http://wiki.seeed.cc/Bluetooth_V4.0_HM_11_BLE_Module/"], + "Schematics": [] + } + } + } +} diff --git a/src/hmc5883l/hmc5883l.json b/src/hmc5883l/hmc5883l.json index 6f9c4f2e..0d06b113 100644 --- a/src/hmc5883l/hmc5883l.json +++ b/src/hmc5883l/hmc5883l.json @@ -1,39 +1,39 @@ -{ - "Library": "hmc5883l", - "Description": "HMC5883L Magnetometer Library", - "Sensor Class": - { - "Hmc5883l": - { - "Name": "Grove 3-Axis Digital Compass", - "Description": "Honeywell [HMC5883L] (http://www.adafruit.com/datasheets/HMC5883L_3-Axis_Digital_Compass_IC.pdf) is a 3-axis digital compass. Communication with HMC5883L is simple and all done through an I2C interface. Different breakout boards are available. Typically, a 3V supply is all that is needed to power the sensor.", - "Aliases": ["hmc5883l"], - "Categories": ["compass", "magnetometer"], - "Connections": ["i2c"], - "Project Type": ["IMU", "prototyping"], - "Manufacturers": ["seeed", "honeywell"], - "Kits": ["robok"], - "Examples": - { - "Java": ["Hmc5883lSample.java"], - "Python": ["hmc5883l.py"], - "Node.js": ["hmc5883l.js"], - "C++": ["hmc5883l.cxx"], - "C": ["hmc5883l.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, - "Operating Current": {"unit": "uA", "low": 2.5, "high": 640}, - "Output Rate": {"unit": "Hz", "max": 116} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-3-Axis-Digital-Compass-p-759.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-3-Axis_Compass_V1.0/", "https://raw.githubusercontent.com/SeeedDocument/Grove-3-Axis_Compass_V1.0/master/res/HMC5883.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "hmc5883l", + "Description": "HMC5883L Magnetometer Library", + "Sensor Class": + { + "Hmc5883l": + { + "Name": "Grove 3-Axis Digital Compass", + "Description": "Honeywell [HMC5883L] (http://www.adafruit.com/datasheets/HMC5883L_3-Axis_Digital_Compass_IC.pdf) is a 3-axis digital compass. Communication with HMC5883L is simple and all done through an I2C interface. Different breakout boards are available. Typically, a 3V supply is all that is needed to power the sensor.", + "Aliases": ["hmc5883l"], + "Categories": ["compass", "magnetometer"], + "Connections": ["i2c"], + "Project Type": ["IMU", "prototyping"], + "Manufacturers": ["seeed", "honeywell"], + "Kits": ["robok"], + "Examples": + { + "Java": ["Hmc5883l_Example.java"], + "Python": ["hmc5883l.py"], + "Node.js": ["hmc5883l.js"], + "C++": ["hmc5883l.cxx"], + "C": ["hmc5883l.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, + "Operating Current": {"unit": "uA", "low": 2.5, "high": 640}, + "Output Rate": {"unit": "Hz", "max": 116} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-3-Axis-Digital-Compass-p-759.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-3-Axis_Compass_V1.0/", "https://raw.githubusercontent.com/SeeedDocument/Grove-3-Axis_Compass_V1.0/master/res/HMC5883.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/hmtrp/hmtrp.json b/src/hmtrp/hmtrp.json index 7c1e6e31..5813b44d 100644 --- a/src/hmtrp/hmtrp.json +++ b/src/hmtrp/hmtrp.json @@ -1,40 +1,40 @@ -{ - "Library": "hmtrp", - "Description": "API for the HM-TRP Serial RF Pro Transceiver", - "Sensor Class": - { - "HMTRP": - { - "Name": "Serial RF Pro Module", - "Description": "UPM support for the HM-TRP Serial RF Pro transceiver. This was tested specifically with the Grove Serial RF Pro transceiver. In theory, this class should work with the following devices: HM-TRP-433: 414000000-454000000Hz HM-TRP-470: 450000000-490000000Hz HM-TRP-868: 849000000-889000000Hz HM-TRP-915: 895000000-935000000Hz The only difference is the transmit and receive frequencies supported. By default, the device simply sends and receives any data presented on its UART interface. It can be put into a configuration mode by grounding the CONFIG pin on the transceiver.", - "Aliases": ["hmtrp"], - "Categories": ["wireless"], - "Connections": ["uart"], - "Project Type": ["wireless", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "hmtrp.jpg", - "Examples": - { - "Java": ["HMTRPSample.java"], - "Python": ["hmtrp.py"], - "Node.js": ["hmtrp.js"], - "C++": ["hmtrp.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 4.75, "typ": 5.0, "high": 5.25}, - "Sleep Current": {"unit": "uA", "typ": 1}, - "Transmission Distance": {"unit": "Km", "max": 1}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Serial-RF-Pro-p-794.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-Serial_RF_Pro/", "https://github.com/SeeedDocument/Grove-Serial_RF_Pro/raw/master/res/HM-TRP-RS232_enV1.0_20120604.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "hmtrp", + "Description": "API for the HM-TRP Serial RF Pro Transceiver", + "Sensor Class": + { + "HMTRP": + { + "Name": "Serial RF Pro Module", + "Description": "UPM support for the HM-TRP Serial RF Pro transceiver. This was tested specifically with the Grove Serial RF Pro transceiver. In theory, this class should work with the following devices: HM-TRP-433: 414000000-454000000Hz HM-TRP-470: 450000000-490000000Hz HM-TRP-868: 849000000-889000000Hz HM-TRP-915: 895000000-935000000Hz The only difference is the transmit and receive frequencies supported. By default, the device simply sends and receives any data presented on its UART interface. It can be put into a configuration mode by grounding the CONFIG pin on the transceiver.", + "Aliases": ["hmtrp"], + "Categories": ["wireless"], + "Connections": ["uart"], + "Project Type": ["wireless", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "hmtrp.jpg", + "Examples": + { + "Java": ["HMTRP_Example.java"], + "Python": ["hmtrp.py"], + "Node.js": ["hmtrp.js"], + "C++": ["hmtrp.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 4.75, "typ": 5.0, "high": 5.25}, + "Sleep Current": {"unit": "uA", "typ": 1}, + "Transmission Distance": {"unit": "Km", "max": 1}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Serial-RF-Pro-p-794.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-Serial_RF_Pro/", "https://github.com/SeeedDocument/Grove-Serial_RF_Pro/raw/master/res/HM-TRP-RS232_enV1.0_20120604.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/hp20x/hp20x.json b/src/hp20x/hp20x.json index 4cb6048e..eb490b42 100644 --- a/src/hp20x/hp20x.json +++ b/src/hp20x/hp20x.json @@ -1,40 +1,40 @@ -{ - "Library": "hp20x", - "Description": "API for the HP20X-based Grove Barometer (High-Accuracy)", - "Sensor Class": - { - "HP20X": - { - "Name": "HP20X Barometer (High-Accuracy)", - "Description": "This is a high-accuracy barometer providing pressure, altitude, and temperature data. It can be calibrated for a given altitude offset, and a wide range of interrupt generating capabilities are supported. As usual, see the HP20X datasheet for more details. This module was developed using a Grove Barometer (High-Accuracy) based on an HP206C chip.", - "Aliases": ["hp20x"], - "Categories": ["pressure"], - "Connections": ["i2c"], - "Project Type": ["environmental", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "hp20x.jpg", - "Examples": - { - "Java": ["HP20xExample.java"], - "Python": ["hp20x.py"], - "Node.js": ["hp20x.js"], - "C++": ["hp20x.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5.5}, - "Operating Current": {"unit": "mA", "low": 0.635, "high": 1.1}, - "Measurement Range": {"unit": "hPa", "low": 300, "high": 1200} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Barometer-HighAccuracy-p-1865.html"], - "Datasheets": ["http://www.seeedstudio.com/wiki/File:HP206C_Datasheet.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "hp20x", + "Description": "API for the HP20X-based Grove Barometer (High-Accuracy)", + "Sensor Class": + { + "HP20X": + { + "Name": "HP20X Barometer (High-Accuracy)", + "Description": "This is a high-accuracy barometer providing pressure, altitude, and temperature data. It can be calibrated for a given altitude offset, and a wide range of interrupt generating capabilities are supported. As usual, see the HP20X datasheet for more details. This module was developed using a Grove Barometer (High-Accuracy) based on an HP206C chip.", + "Aliases": ["hp20x"], + "Categories": ["pressure"], + "Connections": ["i2c"], + "Project Type": ["environmental", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "hp20x.jpg", + "Examples": + { + "Java": ["HP20x_Example.java"], + "Python": ["hp20x.py"], + "Node.js": ["hp20x.js"], + "C++": ["hp20x.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5.5}, + "Operating Current": {"unit": "mA", "low": 0.635, "high": 1.1}, + "Measurement Range": {"unit": "hPa", "low": 300, "high": 1200} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Barometer-HighAccuracy-p-1865.html"], + "Datasheets": ["http://www.seeedstudio.com/wiki/File:HP206C_Datasheet.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/ht9170/ht9170.json b/src/ht9170/ht9170.json index 7b800037..5d6e9786 100644 --- a/src/ht9170/ht9170.json +++ b/src/ht9170/ht9170.json @@ -1,39 +1,39 @@ -{ - "Library": "ht9170", - "Description": "API for the HT9170 DTMF Decoder", - "Sensor Class": - { - "HT9170": - { - "Name": "Dual Tone Multi Frequency (DTMF) Decoder", - "Description": "This driver was developed using the DTMF (Dual-Tone Multi-Frequency) Shield by Seeed Studio*. It can decode DTMF signals presented at its audio input. It does not generate DTMF signals.", - "Aliases": ["ht9170"], - "Categories": ["telephony"], - "Connections": ["gpio"], - "Project Type": ["telephone", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "ht9170.jpg", - "Examples": - { - "Java": [], - "Python": ["ht9170.py"], - "Node.js": ["ht9170.js"], - "C++": ["ht9170.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 5}, - "Operating Current": {"unit": "mA", "typ": 3} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/DTMFDual-Tone-Multi-Frequency-Shield-p-1839.html"], - "Datasheets": ["http://www.holtek.com/pdf/comm/9170v111.pdf"], - "Schematics": ["http://www.dossant.com/projects/wp-content/uploads/2013/01/dtmf_mod3_schematic.pdf"] - } - } - } -} +{ + "Library": "ht9170", + "Description": "API for the HT9170 DTMF Decoder", + "Sensor Class": + { + "HT9170": + { + "Name": "Dual Tone Multi Frequency (DTMF) Decoder", + "Description": "This driver was developed using the DTMF (Dual-Tone Multi-Frequency) Shield by Seeed Studio*. It can decode DTMF signals presented at its audio input. It does not generate DTMF signals.", + "Aliases": ["ht9170"], + "Categories": ["telephony"], + "Connections": ["gpio"], + "Project Type": ["telephone", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "ht9170.jpg", + "Examples": + { + "Java": [], + "Python": ["ht9170.py"], + "Node.js": ["ht9170.js"], + "C++": ["ht9170.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 5}, + "Operating Current": {"unit": "mA", "typ": 3} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/DTMFDual-Tone-Multi-Frequency-Shield-p-1839.html"], + "Datasheets": ["http://www.holtek.com/pdf/comm/9170v111.pdf"], + "Schematics": ["http://www.dossant.com/projects/wp-content/uploads/2013/01/dtmf_mod3_schematic.pdf"] + } + } + } +} diff --git a/src/htu21d/htu21d.json b/src/htu21d/htu21d.json index 3467e8de..4ad92c1b 100644 --- a/src/htu21d/htu21d.json +++ b/src/htu21d/htu21d.json @@ -1,32 +1,32 @@ -{ - "Library": "htu21d", - "Description": "API for the HTU21D Temperature & Humidity Sensor", - "Sensor Class": - { - "HTU21D": - { - "Name": "Digital Relative Humidity Sensor with Temperature", - "Description": "HTU21D by Measurement Specialties is a digital humidity sensor with temperature output. RH reports between 0 and 100%, and the temperature range is -40 to +125 degC. Note: getCompRH is the preferred function below (passing true to cause a measurement cycle). If actual values used for the compensated ready are necessary, use the getHumidity(false) and getTemperature(false) functions following the getCompRH call. Also note the sensor should not perform more than a couple of measurements per second to limit the heating of the sensor.", - "Aliases": ["htu21d"], - "Categories": ["temperature", "humidity"], - "Connections": ["i2c"], - "Project Type": ["environmental", "prototyping"], - "Manufacturers": ["seeed", "adafruit", "sparkfun"], - "Kits": [], - "Examples": - { - "Java": ["HTU21DSample.java"], - "Python": ["htu21d.py"], - "Node.js": ["htu21d.js"], - "C++": ["htu21d.cxx"], - "C": [] - }, - "Urls" : - { - "Product Pages": [], - "Datasheets": [], - "Schematics": [] - } - } - } -} +{ + "Library": "htu21d", + "Description": "API for the HTU21D Temperature & Humidity Sensor", + "Sensor Class": + { + "HTU21D": + { + "Name": "Digital Relative Humidity Sensor with Temperature", + "Description": "HTU21D by Measurement Specialties is a digital humidity sensor with temperature output. RH reports between 0 and 100%, and the temperature range is -40 to +125 degC. Note: getCompRH is the preferred function below (passing true to cause a measurement cycle). If actual values used for the compensated ready are necessary, use the getHumidity(false) and getTemperature(false) functions following the getCompRH call. Also note the sensor should not perform more than a couple of measurements per second to limit the heating of the sensor.", + "Aliases": ["htu21d"], + "Categories": ["temperature", "humidity"], + "Connections": ["i2c"], + "Project Type": ["environmental", "prototyping"], + "Manufacturers": ["seeed", "adafruit", "sparkfun"], + "Kits": [], + "Examples": + { + "Java": ["HTU21D_Example.java"], + "Python": ["htu21d.py"], + "Node.js": ["htu21d.js"], + "C++": ["htu21d.cxx"], + "C": [] + }, + "Urls" : + { + "Product Pages": [], + "Datasheets": [], + "Schematics": [] + } + } + } +} diff --git a/src/hwxpxx/hwxpxx.json b/src/hwxpxx/hwxpxx.json index 717ace33..26b3d929 100644 --- a/src/hwxpxx/hwxpxx.json +++ b/src/hwxpxx/hwxpxx.json @@ -1,40 +1,40 @@ -{ - "Library": "hwxpxx", - "Description": "UPM API for the Veris HWXPXX Hardware Protocol Humidity and Temperature Sensor", - "Sensor Class": - { - "HWXPXX": - { - "Name": "Veris HWXPXX Hardware Protocol Humidity and Temperature Sensor", - "Description": "This module implements support for the Veris HWXPHTX Hardware Protocol Humidity and Temperature Sensor family. It uses MODBUS over an RS485 interface. You must have libmodbus v3.1.2 (or greater) installed to compile and use this driver. This module was developed using libmodbus 3.1.2, and the HWXPHTX. This sensor supports humidity, and optionally, temperature, slider switch, and override switch reporting. The HWXPHTX used to develop this driver did not include the optional slider or override switches, however support for them is provided. It was developed using an RS232->RS485 inteface. You cannot use the built in MCU TTL UART pins for accessing this device -- you must use a full serial RS232->RS485 interface connected via USB.", - "Aliases": ["hwxpxx"], - "Categories": ["temperature"], - "Connections": ["uart"], - "Project Type": ["environmental", "prototyping"], - "Manufacturers": ["veris"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": ["hwxpxx.py"], - "Node.js": ["hwxpxx.js"], - "C++": ["hwxpxx.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage (DC)": {"unit": "V", "low": 12, "high": 30}, - "Operating Voltage (AC)": {"unit": "VAC", "typ": 24}, - "Operating Current": {"unit": "mA", "max": 100}, - "Operating Range (RH)": {"unit": "%RH", "low": 0, "high": 100}, - "Operating Range (Temp)": {"unit": "degC", "low": 10, "high": 35} - }, - "Urls" : - { - "Product Pages": ["http://www.veris.com/Item/HWXPHTX.aspx"], - "Datasheets": ["http://www.veris.com/docs/Datasheets/HWProtocol_d0117.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "hwxpxx", + "Description": "UPM API for the Veris HWXPXX Hardware Protocol Humidity and Temperature Sensor", + "Sensor Class": + { + "HWXPXX": + { + "Name": "Veris HWXPXX Hardware Protocol Humidity and Temperature Sensor", + "Description": "This module implements support for the Veris HWXPHTX Hardware Protocol Humidity and Temperature Sensor family. It uses MODBUS over an RS485 interface. You must have libmodbus v3.1.2 (or greater) installed to compile and use this driver. This module was developed using libmodbus 3.1.2, and the HWXPHTX. This sensor supports humidity, and optionally, temperature, slider switch, and override switch reporting. The HWXPHTX used to develop this driver did not include the optional slider or override switches, however support for them is provided. It was developed using an RS232->RS485 inteface. You cannot use the built in MCU TTL UART pins for accessing this device -- you must use a full serial RS232->RS485 interface connected via USB.", + "Aliases": ["hwxpxx"], + "Categories": ["temperature"], + "Connections": ["uart"], + "Project Type": ["environmental", "prototyping"], + "Manufacturers": ["veris"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": ["hwxpxx.py"], + "Node.js": ["hwxpxx.js"], + "C++": ["hwxpxx.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage (DC)": {"unit": "V", "low": 12, "high": 30}, + "Operating Voltage (AC)": {"unit": "VAC", "typ": 24}, + "Operating Current": {"unit": "mA", "max": 100}, + "Operating Range (RH)": {"unit": "%RH", "low": 0, "high": 100}, + "Operating Range (Temp)": {"unit": "degC", "low": 10, "high": 35} + }, + "Urls" : + { + "Product Pages": ["http://www.veris.com/Item/HWXPHTX.aspx"], + "Datasheets": ["http://www.veris.com/docs/Datasheets/HWProtocol_d0117.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/hx711/hx711.json b/src/hx711/hx711.json index 9330aed1..f13b29ed 100644 --- a/src/hx711/hx711.json +++ b/src/hx711/hx711.json @@ -1,37 +1,37 @@ -{ - "Library": "hx711", - "Description": "API for the HX711 Analog-to-Digital Converter", - "Sensor Class": - { - "HX711": - { - "Name": "24-bit Analog-to-digital Converter", - "Description": "HX711 is a precision 24-bit analog-to-digital converter (ADC) designed for weight scales and industrial control applications to interface directly with a bridge sensor. This module was tested on the Intel(R) Galileo Gen 2 board.", - "Aliases": ["hx711"], - "Categories": ["adc"], - "Connections": ["gpio"], - "Project Type": ["prototyping"], - "Manufacturers": ["generic"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": [], - "Node.js": ["hx711.js"], - "C++": ["hx711.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 2.7, "high": 5.5}, - "Operating Current": {"unit": "mA", "max": 1.4} - }, - "Urls" : - { - "Product Pages": [], - "Datasheets": ["http://image.dfrobot.com/image/data/SEN0160/hx711_english.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "hx711", + "Description": "API for the HX711 Analog-to-Digital Converter", + "Sensor Class": + { + "HX711": + { + "Name": "24-bit Analog-to-digital Converter", + "Description": "HX711 is a precision 24-bit analog-to-digital converter (ADC) designed for weight scales and industrial control applications to interface directly with a bridge sensor. This module was tested on the Intel(R) Galileo Gen 2 board.", + "Aliases": ["hx711"], + "Categories": ["adc"], + "Connections": ["gpio"], + "Project Type": ["prototyping"], + "Manufacturers": ["generic"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": [], + "Node.js": ["hx711.js"], + "C++": ["hx711.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 2.7, "high": 5.5}, + "Operating Current": {"unit": "mA", "max": 1.4} + }, + "Urls" : + { + "Product Pages": [], + "Datasheets": ["http://image.dfrobot.com/image/data/SEN0160/hx711_english.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/ili9341/ili9341.json b/src/ili9341/ili9341.json index f846d459..d0e25d55 100644 --- a/src/ili9341/ili9341.json +++ b/src/ili9341/ili9341.json @@ -1,38 +1,38 @@ -{ - "Library": "ili9341", - "Description": "API for the ILI9342 LCD", - "Sensor Class": - { - "ILI9341": - { - "Name": "SPI Based LCD", - "Description": "This module defines the interface for the ILI9341 display library.", - "Aliases": ["ili9341"], - "Categories": ["display"], - "Connections": ["spi"], - "Project Type": ["graphics", "prototyping"], - "Manufacturers": ["adafruit"], - "Kits": [], - "Image": "ili9341.jpg", - "Examples": - { - "Java": [], - "Python": ["ili9341.py"], - "Node.js": ["ili9341.js"], - "C++": ["ili9341.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3, "high": 5} - - }, - "Urls" : - { - "Product Pages": ["https://www.adafruit.com/product/2090"], - "Datasheets": ["http://www.adafruit.com/datasheets/ILI9341.pdf"], - "Schematics": ["https://cdn-learn.adafruit.com/assets/assets/000/015/463/medium800/adafruit_products_schem.png?1395173896"] - } - } - } -} +{ + "Library": "ili9341", + "Description": "API for the ILI9342 LCD", + "Sensor Class": + { + "ILI9341": + { + "Name": "SPI Based LCD", + "Description": "This module defines the interface for the ILI9341 display library.", + "Aliases": ["ili9341"], + "Categories": ["display"], + "Connections": ["spi"], + "Project Type": ["graphics", "prototyping"], + "Manufacturers": ["adafruit"], + "Kits": [], + "Image": "ili9341.jpg", + "Examples": + { + "Java": [], + "Python": ["ili9341.py"], + "Node.js": ["ili9341.js"], + "C++": ["ili9341.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3, "high": 5} + + }, + "Urls" : + { + "Product Pages": ["https://www.adafruit.com/product/2090"], + "Datasheets": ["http://www.adafruit.com/datasheets/ILI9341.pdf"], + "Schematics": ["https://cdn-learn.adafruit.com/assets/assets/000/015/463/medium800/adafruit_products_schem.png?1395173896"] + } + } + } +} diff --git a/src/ims/ims.json b/src/ims/ims.json index cfc174fa..68fc04e2 100644 --- a/src/ims/ims.json +++ b/src/ims/ims.json @@ -1,39 +1,39 @@ -{ - "Library": "ims", - "Description": "API for the Catnip Electronics I2C Moisture Sensor", - "Sensor Class": - { - "IMS": - { - "Name": "I2C Moisture Sensor", - "Description": "I2C Sensor which can be used to read moisture, light, and temperature which must run at 100kHz.", - "Aliases": ["ims"], - "Categories": ["moisture"], - "Connections": ["i2c"], - "Project Type": ["environmental", "prototyping"], - "Manufacturers": ["catnip"], - "Kits": [], - "Examples": - { - "Java": ["IMS_Example.java"], - "Python": ["ims.py"], - "Node.js": ["ims.js"], - "C++": ["ims.cxx"], - "C": ["ims.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, - "Operating Current": {"unit": "mA", "low": 0.7, "high": 14}, - "Operating Temperature": {"unit": "degC", "low": 0, "high": 85} - - }, - "Urls" : - { - "Product Pages": ["https://www.tindie.com/products/miceuz/i2c-soil-moisture-sensor/"], - "Datasheets": [], - "Schematics": [] - } - } - } -} +{ + "Library": "ims", + "Description": "API for the Catnip Electronics I2C Moisture Sensor", + "Sensor Class": + { + "IMS": + { + "Name": "I2C Moisture Sensor", + "Description": "I2C Sensor which can be used to read moisture, light, and temperature which must run at 100kHz.", + "Aliases": ["ims"], + "Categories": ["moisture"], + "Connections": ["i2c"], + "Project Type": ["environmental", "prototyping"], + "Manufacturers": ["catnip"], + "Kits": [], + "Examples": + { + "Java": ["IMS_Example.java"], + "Python": ["ims.py"], + "Node.js": ["ims.js"], + "C++": ["ims.cxx"], + "C": ["ims.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, + "Operating Current": {"unit": "mA", "low": 0.7, "high": 14}, + "Operating Temperature": {"unit": "degC", "low": 0, "high": 85} + + }, + "Urls" : + { + "Product Pages": ["https://www.tindie.com/products/miceuz/i2c-soil-moisture-sensor/"], + "Datasheets": [], + "Schematics": [] + } + } + } +} diff --git a/src/ina132/ina132.json b/src/ina132/ina132.json index 35c6b1d9..4d18dc24 100644 --- a/src/ina132/ina132.json +++ b/src/ina132/ina132.json @@ -1,38 +1,38 @@ -{ - "Library": "ina132", - "Description": "API for the INA132 Differential Amplifier Sensor", - "Sensor Class": - { - "INA132": - { - "Name": "Grove Differential Amplifier", - "Description": "The INA132 Differential Amplifier Sensor is designed for precise differential-input amplification. This sensor was tested amplifying the signal from a Weight Sensor (Load Cell) 0-500g", - "Aliases": ["ina132"], - "Categories": ["electric"], - "Connections": ["analog"], - "Project Type": ["prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "ina132.jpg", - "Examples": - { - "Java": [], - "Python": ["ina132.py"], - "Node.js": ["ina132.js"], - "C++": ["ina132.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 2.7, "high": 5.5} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Differential-Amplifier-p-1284.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-Differential_Amplifier_v1.2", "https://raw.githubusercontent.com/SeeedDocument/Grove-Differential_Amplifier_v1.2/master/res/Ina132.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "ina132", + "Description": "API for the INA132 Differential Amplifier Sensor", + "Sensor Class": + { + "INA132": + { + "Name": "Grove Differential Amplifier", + "Description": "The INA132 Differential Amplifier Sensor is designed for precise differential-input amplification. This sensor was tested amplifying the signal from a Weight Sensor (Load Cell) 0-500g", + "Aliases": ["ina132"], + "Categories": ["electric"], + "Connections": ["analog"], + "Project Type": ["prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "ina132.jpg", + "Examples": + { + "Java": [], + "Python": ["ina132.py"], + "Node.js": ["ina132.js"], + "C++": ["ina132.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 2.7, "high": 5.5} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Differential-Amplifier-p-1284.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-Differential_Amplifier_v1.2", "https://raw.githubusercontent.com/SeeedDocument/Grove-Differential_Amplifier_v1.2/master/res/Ina132.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/isd1820/isd1820.json b/src/isd1820/isd1820.json index 9f6e88ff..1d4c4cce 100644 --- a/src/isd1820/isd1820.json +++ b/src/isd1820/isd1820.json @@ -1,33 +1,33 @@ -{ - "Library": "isd1820", - "Description": "API support for the ISD1820-based Grove Voice Recorder", - "Sensor Class": - { - "ISD1820": - { - "Name": "Grove Voice Recording and Playback Module", - "Description": "This class implements support for the Grove Voice Recorder. There are two digital pins: one that enables recording, and the other that plays back what was previously recorded.", - "Aliases": ["isd1820"], - "Categories": ["audio"], - "Connections": ["gpio"], - "Project Type": ["audio", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "isd1820.jpg", - "Examples": - { - "Java": [], - "Python": ["isd1820.py"], - "Node.js": ["isd1820.js"], - "C++": ["isd1820.cxx"], - "C": [] - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Recorder-p-1825.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove_Recorder/", "https://github.com/SeeedDocument/Grove_Recorder/raw/master/res/ISD1820P.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "isd1820", + "Description": "API support for the ISD1820-based Grove Voice Recorder", + "Sensor Class": + { + "ISD1820": + { + "Name": "Grove Voice Recording and Playback Module", + "Description": "This class implements support for the Grove Voice Recorder. There are two digital pins: one that enables recording, and the other that plays back what was previously recorded.", + "Aliases": ["isd1820"], + "Categories": ["audio"], + "Connections": ["gpio"], + "Project Type": ["audio", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "isd1820.jpg", + "Examples": + { + "Java": [], + "Python": ["isd1820.py"], + "Node.js": ["isd1820.js"], + "C++": ["isd1820.cxx"], + "C": [] + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Recorder-p-1825.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove_Recorder/", "https://github.com/SeeedDocument/Grove_Recorder/raw/master/res/ISD1820P.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/itg3200/itg3200.json b/src/itg3200/itg3200.json index 5e8a66ac..803b31f1 100644 --- a/src/itg3200/itg3200.json +++ b/src/itg3200/itg3200.json @@ -1,39 +1,39 @@ -{ - "Library": "itg3200", - "Description": "API for the ITG-3200 3-Axis Digital Gyroscope", - "Sensor Class": - { - "Itg3200": - { - "Name": "Grove 3-Axis Digital Gyroscope", - "Description": "InvenSense* ITG-3200 is a 3-axis digital gyroscope. (https://www.sparkfun.com/datasheets/Sensors/Gyro/PS-ITG-3200-00-01.4.pdf) This sensor has been tested and can run at either 3.3V or 5V on Intel(R) Galileo.
However, it is incompatible with and not detected on the I2C bus by Intel(R) Edison using the Arduino* breakout board.", - "Aliases": ["itg3200"], - "Categories": ["gyroscope"], - "Connections": ["i2c"], - "Project Type": ["IMU", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Examples": - { - "Java": ["Itg3200Sample.java"], - "Python": ["itg3200.py"], - "Node.js": ["itg3200.js"], - "C++": ["itg3200.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, - "Operating Current": {"unit": "mA", "typ": 6.5}, - "Standby Current": {"unit": "uA", "typ": 5} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-3-Axis-Digital-Gyro-p-750.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-3-Axis_Digital_Gyro/", "https://raw.githubusercontent.com/SeeedDocument/Grove-3-Axis_Digital_Gyro/master/res/ITG-3200.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "itg3200", + "Description": "API for the ITG-3200 3-Axis Digital Gyroscope", + "Sensor Class": + { + "Itg3200": + { + "Name": "Grove 3-Axis Digital Gyroscope", + "Description": "InvenSense* ITG-3200 is a 3-axis digital gyroscope. (https://www.sparkfun.com/datasheets/Sensors/Gyro/PS-ITG-3200-00-01.4.pdf) This sensor has been tested and can run at either 3.3V or 5V on Intel(R) Galileo.
However, it is incompatible with and not detected on the I2C bus by Intel(R) Edison using the Arduino* breakout board.", + "Aliases": ["itg3200"], + "Categories": ["gyroscope"], + "Connections": ["i2c"], + "Project Type": ["IMU", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Examples": + { + "Java": ["Itg3200_Example.java"], + "Python": ["itg3200.py"], + "Node.js": ["itg3200.js"], + "C++": ["itg3200.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, + "Operating Current": {"unit": "mA", "typ": 6.5}, + "Standby Current": {"unit": "uA", "typ": 5} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-3-Axis-Digital-Gyro-p-750.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-3-Axis_Digital_Gyro/", "https://raw.githubusercontent.com/SeeedDocument/Grove-3-Axis_Digital_Gyro/master/res/ITG-3200.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/jhd1313m1/jhd1313m1.json b/src/jhd1313m1/jhd1313m1.json index 339faf7d..0c14ccb7 100644 --- a/src/jhd1313m1/jhd1313m1.json +++ b/src/jhd1313m1/jhd1313m1.json @@ -1,37 +1,37 @@ -{ - "Library": "jhd1313m1", - "Description": "API for the JHD1313M1 I2C LCD Controller", - "Sensor Class": - { - "Jhd1313m1": - { - "Name": "LCD Display Driver for the JHD1313M1 Controller for HD44780-based Displays", - "Description": "JHD1313M1 has two I2C addreses: one belongs to a controller, very similar to the upm::Lcm1602 LCD driver, that controls the HD44780-based display, and the other controls only the backlight. This module was tested with the Seeed Grove LCD RGB Backlight v2.0 display that requires 5V to operate.", - "Aliases": ["jhd1313m1"], - "Categories": ["display"], - "Connections": ["i2c"], - "Project Type": ["display", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": ["gsk"], - "Examples": - { - "Java": ["Jhd1313m1Sample.java", "Jhd1313m1_lcdSample.java"], - "Python": ["jhd1313m1-lcd.py"], - "Node.js": ["jhd1313m1-lcd.js"], - "C++": ["jhd1313m1-lcd.cxx"], - "C": ["jhd1313m1.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 5}, - "Operating Current": {"unit": "mA", "max": 60} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-LCD-RGB-Backlight-p-1643.html?cPath=34_36"], - "Datasheets": ["http://wiki.seeed.cc/Grove-LCD_RGB_Backlight/"], - "Schematics": [] - } - } - } -} +{ + "Library": "jhd1313m1", + "Description": "API for the JHD1313M1 I2C LCD Controller", + "Sensor Class": + { + "Jhd1313m1": + { + "Name": "LCD Display Driver for the JHD1313M1 Controller for HD44780-based Displays", + "Description": "JHD1313M1 has two I2C addreses: one belongs to a controller, very similar to the upm::Lcm1602 LCD driver, that controls the HD44780-based display, and the other controls only the backlight. This module was tested with the Seeed Grove LCD RGB Backlight v2.0 display that requires 5V to operate.", + "Aliases": ["jhd1313m1"], + "Categories": ["display"], + "Connections": ["i2c"], + "Project Type": ["display", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": ["gsk"], + "Examples": + { + "Java": ["Jhd1313m1_Example.java", "Jhd1313m1_lcd_Example.java"], + "Python": ["jhd1313m1-lcd.py"], + "Node.js": ["jhd1313m1-lcd.js"], + "C++": ["jhd1313m1-lcd.cxx"], + "C": ["jhd1313m1.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 5}, + "Operating Current": {"unit": "mA", "max": 60} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-LCD-RGB-Backlight-p-1643.html?cPath=34_36"], + "Datasheets": ["http://wiki.seeed.cc/Grove-LCD_RGB_Backlight/"], + "Schematics": [] + } + } + } +} diff --git a/src/joystick12/joystick12.json b/src/joystick12/joystick12.json index a06d6ae8..3365449b 100644 --- a/src/joystick12/joystick12.json +++ b/src/joystick12/joystick12.json @@ -1,33 +1,33 @@ -{ - "Library": "joystick12", - "Description": "API for the ElecFreaks* Joystick v 1.2-1.4 Breakout", - "Sensor Class": - { - "Joystick12": - { - "Name": "2-axis Analog Joystick", - "Description": "This module defines the Joystick API, and implementation for the X and Y buttons could be treated as normal GPIO - this enables easier interrupt support. This driver should be compatible with any 2-axis analog joystick.", - "Aliases": ["joystick12"], - "Categories": ["input"], - "Connections": ["analog"], - "Project Type": ["prototyping"], - "Manufacturers": ["generic"], - "Kits": ["robok"], - "Image": "joystick12.jpg", - "Examples": - { - "Java": ["Joystick12Sample.java", "Joystick12_exampleSample.java"], - "Python": ["joystick12.py"], - "Node.js": ["joystick12.js"], - "C++": ["joystick12.cxx"], - "C": ["joystick12.c"] - }, - "Urls" : - { - "Product Pages": ["http://www.elecfreaks.com/estore/joystick-breakout-module-bkout-md01.html"], - "Datasheets": ["https://www.elecfreaks.com/wiki/index.php?title=Joystick_breakout_module"], - "Schematics": ["http://elecfreaks.com/store/download/schematic-red.pdf"] - } - } - } -} +{ + "Library": "joystick12", + "Description": "API for the ElecFreaks* Joystick v 1.2-1.4 Breakout", + "Sensor Class": + { + "Joystick12": + { + "Name": "2-axis Analog Joystick", + "Description": "This module defines the Joystick API, and implementation for the X and Y buttons could be treated as normal GPIO - this enables easier interrupt support. This driver should be compatible with any 2-axis analog joystick.", + "Aliases": ["joystick12"], + "Categories": ["input"], + "Connections": ["analog"], + "Project Type": ["prototyping"], + "Manufacturers": ["generic"], + "Kits": ["robok"], + "Image": "joystick12.jpg", + "Examples": + { + "Java": ["Joystick12_Example.java", "Joystick12_example_Example.java"], + "Python": ["joystick12.py"], + "Node.js": ["joystick12.js"], + "C++": ["joystick12.cxx"], + "C": ["joystick12.c"] + }, + "Urls" : + { + "Product Pages": ["http://www.elecfreaks.com/estore/joystick-breakout-module-bkout-md01.html"], + "Datasheets": ["https://www.elecfreaks.com/wiki/index.php?title=Joystick_breakout_module"], + "Schematics": ["http://elecfreaks.com/store/download/schematic-red.pdf"] + } + } + } +} diff --git a/src/kxcjk1013/kxcjk1013.json b/src/kxcjk1013/kxcjk1013.json index 5376db12..39b2c633 100644 --- a/src/kxcjk1013/kxcjk1013.json +++ b/src/kxcjk1013/kxcjk1013.json @@ -1,39 +1,39 @@ -{ - "Library": "kxcjk1013", - "Description": "KXCJK1013 Tri-axis Digital Accelerometer API", - "Sensor Class": - { - "KXCJK1013": - { - "Name": "Tri-axis Digital Accelerometer", - "Description": "he KXCJK is a tri-axis +/-2g, +/-4g or +/-8g silicon micromachined accelerometer.", - "Aliases": ["kxcjk1013"], - "Categories": ["accelerometer"], - "Connections": ["iio", "i2c"], - "Project Type": ["imu", "prototyping"], - "Manufacturers": ["kionix"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": [], - "Node.js": [], - "C++": ["kxcjk1013.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 1.71, "typ": 2.6, "high": 3.6}, - "Operating Current": {"unit": "uA", "low": 0.9, "high": 135}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} - - }, - "Urls" : - { - "Product Pages": [], - "Datasheets": ["http://kionixfs.kionix.com/en/datasheet/KXCJK-1013%20Specifications%20Rev%202.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "kxcjk1013", + "Description": "KXCJK1013 Tri-axis Digital Accelerometer API", + "Sensor Class": + { + "KXCJK1013": + { + "Name": "Tri-axis Digital Accelerometer", + "Description": "he KXCJK is a tri-axis +/-2g, +/-4g or +/-8g silicon micromachined accelerometer.", + "Aliases": ["kxcjk1013"], + "Categories": ["accelerometer"], + "Connections": ["iio", "i2c"], + "Project Type": ["imu", "prototyping"], + "Manufacturers": ["kionix"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": [], + "Node.js": [], + "C++": ["kxcjk1013.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 1.71, "typ": 2.6, "high": 3.6}, + "Operating Current": {"unit": "uA", "low": 0.9, "high": 135}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} + + }, + "Urls" : + { + "Product Pages": [], + "Datasheets": ["http://kionixfs.kionix.com/en/datasheet/KXCJK-1013%20Specifications%20Rev%202.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/l298/l298.json b/src/l298/l298.json index 808046b9..e99e487d 100644 --- a/src/l298/l298.json +++ b/src/l298/l298.json @@ -1,38 +1,38 @@ -{ - "Library": "l298", - "Description": "API for the L298 Dual H-Bridge Motor Driver", - "Sensor Class": - { - "L298": - { - "Name": "Dual H-bridge Motor Driver", - "Description": "It was developed using the RobotBase Dual H-Bridge module. This module can support 2 DC motors, or one 2-phase stepper motor. It requires 3 pins per DC motor (or H-bridge), or 4 pins for the stepper motor (uses both H-bridges).", - "Aliases": ["l298"], - "Categories": ["motors"], - "Connections": ["gpio", "pwm"], - "Project Type": ["robotics", "prototyping"], - "Manufacturers": ["seeed", "sparkfun"], - "Kits": [], - "Image": "l298.jpg", - "Examples": - { - "Java": [], - "Python": ["l298.py", "l298-stepper.py"], - "Node.js": ["l298.js", "l298-stepper.js"], - "C++": ["l298.cxx", "l298-stepper.cxx"], - "C": [] - }, - "Specifications": - { - "Motor Supply Voltage": {"unit": "V", "low": 6, "high": 35}, - "Motor Supply Current": {"unit": "A", "typ": 2} - }, - "Urls" : - { - "Product Pages": ["https://www.sparkfun.com/products/9670"], - "Datasheets": [], - "Schematics": [] - } - } - } -} +{ + "Library": "l298", + "Description": "API for the L298 Dual H-Bridge Motor Driver", + "Sensor Class": + { + "L298": + { + "Name": "Dual H-bridge Motor Driver", + "Description": "It was developed using the RobotBase Dual H-Bridge module. This module can support 2 DC motors, or one 2-phase stepper motor. It requires 3 pins per DC motor (or H-bridge), or 4 pins for the stepper motor (uses both H-bridges).", + "Aliases": ["l298"], + "Categories": ["motors"], + "Connections": ["gpio", "pwm"], + "Project Type": ["robotics", "prototyping"], + "Manufacturers": ["seeed", "sparkfun"], + "Kits": [], + "Image": "l298.jpg", + "Examples": + { + "Java": [], + "Python": ["l298.py", "l298-stepper.py"], + "Node.js": ["l298.js", "l298-stepper.js"], + "C++": ["l298.cxx", "l298-stepper.cxx"], + "C": [] + }, + "Specifications": + { + "Motor Supply Voltage": {"unit": "V", "low": 6, "high": 35}, + "Motor Supply Current": {"unit": "A", "typ": 2} + }, + "Urls" : + { + "Product Pages": ["https://www.sparkfun.com/products/9670"], + "Datasheets": [], + "Schematics": [] + } + } + } +} diff --git a/src/l3gd20/l3gd20.json b/src/l3gd20/l3gd20.json index 6e49560f..baa11156 100644 --- a/src/l3gd20/l3gd20.json +++ b/src/l3gd20/l3gd20.json @@ -1,39 +1,39 @@ -{ - "Library": "l3gd20", - "Description": "L3GD20 Tri-axis Digital Gyroscope API", - "Sensor Class": - { - "L3GD20": - { - "Name": "L3GD20 Tri-axis Digital Gyroscope", - "Description": "The L3GD20 The L3GD20 is a low-power three-axis angular rate sensor. This driver supports IIO and I2C modes. Some methods will only work in one mode or the other. See the documentation on the methods to determine whether a given method is operation in a given mode. Both the I2C and IIO mechanisms make use of the calibration and denoise algorithms. For I2C mode, not all capabilities of the device are supported, but a complete register map and low level read/write methods are provided to add any missing functionality.", - "Aliases": ["l3gd20"], - "Categories": ["gyroscope"], - "Connections": ["iio", "i2c"], - "Project Type": ["IMU", "prototyping"], - "Manufacturers": ["stmicro"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": [], - "Node.js": [], - "C++": ["l3gd20.cxx", "l3gd20-i2c.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 2.4, "high": 3.6}, - "Operating Current": {"unit": "mA", "typ": 6.1}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} - - }, - "Urls" : - { - "Product Pages": ["http://www.st.com/en/mems-and-sensors/l3gd20.html"], - "Datasheets": ["http://www.st.com/resource/en/datasheet/l3gd20.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "l3gd20", + "Description": "L3GD20 Tri-axis Digital Gyroscope API", + "Sensor Class": + { + "L3GD20": + { + "Name": "L3GD20 Tri-axis Digital Gyroscope", + "Description": "The L3GD20 The L3GD20 is a low-power three-axis angular rate sensor. This driver supports IIO and I2C modes. Some methods will only work in one mode or the other. See the documentation on the methods to determine whether a given method is operation in a given mode. Both the I2C and IIO mechanisms make use of the calibration and denoise algorithms. For I2C mode, not all capabilities of the device are supported, but a complete register map and low level read/write methods are provided to add any missing functionality.", + "Aliases": ["l3gd20"], + "Categories": ["gyroscope"], + "Connections": ["iio", "i2c"], + "Project Type": ["IMU", "prototyping"], + "Manufacturers": ["stmicro"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": [], + "Node.js": [], + "C++": ["l3gd20.cxx", "l3gd20-i2c.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 2.4, "high": 3.6}, + "Operating Current": {"unit": "mA", "typ": 6.1}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} + + }, + "Urls" : + { + "Product Pages": ["http://www.st.com/en/mems-and-sensors/l3gd20.html"], + "Datasheets": ["http://www.st.com/resource/en/datasheet/l3gd20.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/lcdks/lcdks.json b/src/lcdks/lcdks.json index a065af98..f480edc8 100644 --- a/src/lcdks/lcdks.json +++ b/src/lcdks/lcdks.json @@ -1,36 +1,36 @@ -{ - "Library": "lcdks", - "Description": "API for the generic LCD Keypad Shield", - "Sensor Class": - { - "LCDKS": - { - "Name": "LCD Keypad Shield", - "Description": "The LCD Keypad Shield uses 7 digital outputs and 1 analog input (for the keypad). The outputs are used to drive an attached LCM1602 LCD controller. This driver should be compatible with the similar LCD keypad shields from Sainsmart, DFRobot and Sparkfun.", - "Aliases": ["lcdks"], - "Categories": ["userinput"], - "Connections": ["gpio", "analog"], - "Project Type": ["control", "prototyping"], - "Manufacturers": ["sainsmart", "dfrobot", "sparkfun"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": ["lcdks.py"], - "Node.js": ["lcdks.js"], - "C++": ["lcdks.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 5} - }, - "Urls" : - { - "Product Pages": ["https://www.sparkfun.com/products/13293", "http://www.sainsmart.com/sainsmart-1602-lcd-keypad-shield-for-arduino-duemilanove-uno-mega2560-mega1280.html", "http://www.dfrobot.com/index.php?route=product/product&product_id=51"], - "Datasheets": ["http://linksprite.com/wiki/index.php5?title=16_X_2_LCD_Keypad_Shield_for_Arduino_V2"], - "Schematics": ["https://cdn.sparkfun.com/datasheets/Dev/Arduino/Shields/16X2_LCD_shield.pdf"] - } - } - } -} +{ + "Library": "lcdks", + "Description": "API for the generic LCD Keypad Shield", + "Sensor Class": + { + "LCDKS": + { + "Name": "LCD Keypad Shield", + "Description": "The LCD Keypad Shield uses 7 digital outputs and 1 analog input (for the keypad). The outputs are used to drive an attached LCM1602 LCD controller. This driver should be compatible with the similar LCD keypad shields from Sainsmart, DFRobot and Sparkfun.", + "Aliases": ["lcdks"], + "Categories": ["userinput"], + "Connections": ["gpio", "analog"], + "Project Type": ["control", "prototyping"], + "Manufacturers": ["sainsmart", "dfrobot", "sparkfun"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": ["lcdks.py"], + "Node.js": ["lcdks.js"], + "C++": ["lcdks.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 5} + }, + "Urls" : + { + "Product Pages": ["https://www.sparkfun.com/products/13293", "http://www.sainsmart.com/sainsmart-1602-lcd-keypad-shield-for-arduino-duemilanove-uno-mega2560-mega1280.html", "http://www.dfrobot.com/index.php?route=product/product&product_id=51"], + "Datasheets": ["http://linksprite.com/wiki/index.php5?title=16_X_2_LCD_Keypad_Shield_for_Arduino_V2"], + "Schematics": ["https://cdn.sparkfun.com/datasheets/Dev/Arduino/Shields/16X2_LCD_shield.pdf"] + } + } + } +} diff --git a/src/lcm1602/lcm1602.json b/src/lcm1602/lcm1602.json index 5a0d05ca..ddb01bb2 100644 --- a/src/lcm1602/lcm1602.json +++ b/src/lcm1602/lcm1602.json @@ -1,37 +1,37 @@ -{ - "Library": "lcm1602", - "Description": "API for the LCM1602 I2C controller for HD44780-based displays", - "Sensor Class": - { - "Lcm1602": - { - "Name": "LCD Display Driver for the LCM1602 Controller for HD44780-based Displays", - "Description": "UPM module for the ear-clip heart rate sensor. It is used to measure your heart rate.", - "Aliases": ["lcm1602"], - "Categories": ["display"], - "Connections": ["gpio"], - "Project Type": ["display", "prototyping"], - "Manufacturers": ["adafruit", "sparkfun", "seeed"], - "Kits": [], - "Examples": - { - "Java": ["Lcm1602_i2cSample.java", "Lcm1602_parallelSample.java"], - "Python": [], - "Node.js": [], - "C++": ["lcm1602-i2c.cxx", "lcm1602-parallel.cxx"], - "C": ["lcm1602-i2c.c", "lcm1602-parallel.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 4.8, "typ": 5, "high": 5.2}, - "Operating Current": {"unit": "mA", "max": 150} - }, - "Urls" : - { - "Product Pages": [], - "Datasheets": ["https://www.adafruit.com/datasheets/TC1602A-01T.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "lcm1602", + "Description": "API for the LCM1602 I2C controller for HD44780-based displays", + "Sensor Class": + { + "Lcm1602": + { + "Name": "LCD Display Driver for the LCM1602 Controller for HD44780-based Displays", + "Description": "UPM module for the ear-clip heart rate sensor. It is used to measure your heart rate.", + "Aliases": ["lcm1602"], + "Categories": ["display"], + "Connections": ["gpio"], + "Project Type": ["display", "prototyping"], + "Manufacturers": ["adafruit", "sparkfun", "seeed"], + "Kits": [], + "Examples": + { + "Java": ["Lcm1602_i2c_Example.java", "Lcm1602_parallel_Example.java"], + "Python": [], + "Node.js": [], + "C++": ["lcm1602-i2c.cxx", "lcm1602-parallel.cxx"], + "C": ["lcm1602-i2c.c", "lcm1602-parallel.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 4.8, "typ": 5, "high": 5.2}, + "Operating Current": {"unit": "mA", "max": 150} + }, + "Urls" : + { + "Product Pages": [], + "Datasheets": ["https://www.adafruit.com/datasheets/TC1602A-01T.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/ldt0028/ldt0028.json b/src/ldt0028/ldt0028.json index d6f74fd0..b70dcccf 100644 --- a/src/ldt0028/ldt0028.json +++ b/src/ldt0028/ldt0028.json @@ -1,37 +1,37 @@ -{ - "Library": "ldt0028", - "Description": "API for LDT0-028 PZT Film-Based Sensors", - "Sensor Class": - { - "LDT0028": - { - "Name": "Piezo Vibration Sensor", - "Description": "This module defines the LDT0-028 interface for libupm-ldt0028", - "Aliases": ["ldt0028"], - "Categories": ["vibration"], - "Connections": ["analog"], - "Project Type": ["industrial", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "ldt0028.jpg", - "Examples": - { - "Java": ["LDT0028Sample.java"], - "Python": ["ldt0028.py"], - "Node.js": ["ldt0028.js"], - "C++": ["ldt0028.cxx"], - "C": ["ldt0028.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Piezo-Vibration-Sensor-p-1411.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-Piezo_Vibration_Sensor/", "https://raw.githubusercontent.com/SeeedDocument/Grove-Piezo_Vibration_Sensor/master/res/Piezo_Vibration_Sensor.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "ldt0028", + "Description": "API for LDT0-028 PZT Film-Based Sensors", + "Sensor Class": + { + "LDT0028": + { + "Name": "Piezo Vibration Sensor", + "Description": "This module defines the LDT0-028 interface for libupm-ldt0028", + "Aliases": ["ldt0028"], + "Categories": ["vibration"], + "Connections": ["analog"], + "Project Type": ["industrial", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "ldt0028.jpg", + "Examples": + { + "Java": ["LDT0028_Example.java"], + "Python": ["ldt0028.py"], + "Node.js": ["ldt0028.js"], + "C++": ["ldt0028.cxx"], + "C": ["ldt0028.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Piezo-Vibration-Sensor-p-1411.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-Piezo_Vibration_Sensor/", "https://raw.githubusercontent.com/SeeedDocument/Grove-Piezo_Vibration_Sensor/master/res/Piezo_Vibration_Sensor.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/led/led.json b/src/led/led.json index 7cce6975..13706ed8 100644 --- a/src/led/led.json +++ b/src/led/led.json @@ -16,7 +16,7 @@ "Image": "led.jpg", "Examples": { - "Java": ["LEDSample.java"], + "Java": ["LED_Example.java"], "Python": ["led.py"], "Node.js": ["led.js"], "C++": ["led.cxx"], diff --git a/src/lidarlitev3/lidarlitev3.json b/src/lidarlitev3/lidarlitev3.json index eaacb57b..63b9aeb0 100644 --- a/src/lidarlitev3/lidarlitev3.json +++ b/src/lidarlitev3/lidarlitev3.json @@ -1,38 +1,38 @@ -{ - "Library": "lidarlitev3", - "Description": "API for the LIDARLITEV3 Optical Distance Measurement Sensor", - "Sensor Class": - { - "LIDARLITEV3": - { - "Name": "Optical Distance Measurement Sensor", - "Description": "It is a compact, high-performance optical distance measurement sensor from Garmin.", - "Aliases": ["lidarlitev3"], - "Categories": ["distance"], - "Connections": ["i2c", "pwm"], - "Project Type": ["robotics", "prototyping"], - "Manufacturers": ["garmin"], - "Kits": [], - "Image": "lidarlitev3.jpg", - "Examples": - { - "Java": [], - "Python": [], - "Node.js": [], - "C++": ["lidarlitev3.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 5}, - "Operating Current": {"unit": "mA", "low": 105, "high": 130} - }, - "Urls" : - { - "Product Pages": ["https://www.sparkfun.com/products/14032"], - "Datasheets": ["http://static.garmin.com/pumac/LIDAR_Lite_v3_Operation_Manual_and_Technical_Specifications.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "lidarlitev3", + "Description": "API for the LIDARLITEV3 Optical Distance Measurement Sensor", + "Sensor Class": + { + "LIDARLITEV3": + { + "Name": "Optical Distance Measurement Sensor", + "Description": "It is a compact, high-performance optical distance measurement sensor from Garmin.", + "Aliases": ["lidarlitev3"], + "Categories": ["distance"], + "Connections": ["i2c", "pwm"], + "Project Type": ["robotics", "prototyping"], + "Manufacturers": ["garmin"], + "Kits": [], + "Image": "lidarlitev3.jpg", + "Examples": + { + "Java": [], + "Python": [], + "Node.js": [], + "C++": ["lidarlitev3.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 5}, + "Operating Current": {"unit": "mA", "low": 105, "high": 130} + }, + "Urls" : + { + "Product Pages": ["https://www.sparkfun.com/products/14032"], + "Datasheets": ["http://static.garmin.com/pumac/LIDAR_Lite_v3_Operation_Manual_and_Technical_Specifications.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/light/light.json b/src/light/light.json index 56db086e..16d93544 100644 --- a/src/light/light.json +++ b/src/light/light.json @@ -1,40 +1,40 @@ -{ - "Library": "light", - "Description": "API for the Light Sensor", - "Sensor Class": - { - "Light": - { - "Name": "Analog Light Sensor", - "Description": "The light sensor detects the intensity of the ambient light. As the light intensity of the environment increases, the resistance of the sensor decreases. This means the raw value from the analog pin is larger in bright light and smaller in the dark. A very approximate lux value can also be returned.", - "Aliases": ["light"], - "Categories": ["light"], - "Connections": ["analog"], - "Project Type": ["environmental", "security", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": ["gsk"], - "Image": "light.jpg", - "Examples": - { - "Java": ["LightSample.java"], - "Python": ["light.py"], - "Node.js": ["light.js"], - "C++": ["light.cxx"], - "C": ["light.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3, "high": 5}, - "Operating Current": {"unit": "mA", "low": 0.5, "high": 3}, - "Response Time": {"unit": "ms", "low": 20, "high": 30} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Light-Sensor-p-746.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-Light_Sensor/", "https://github.com/SeeedDocument/Grove_Light_Sensor/raw/master/res/LS06-M%CE%A65_datasheet.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "light", + "Description": "API for the Light Sensor", + "Sensor Class": + { + "Light": + { + "Name": "Analog Light Sensor", + "Description": "The light sensor detects the intensity of the ambient light. As the light intensity of the environment increases, the resistance of the sensor decreases. This means the raw value from the analog pin is larger in bright light and smaller in the dark. A very approximate lux value can also be returned.", + "Aliases": ["light"], + "Categories": ["light"], + "Connections": ["analog"], + "Project Type": ["environmental", "security", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": ["gsk"], + "Image": "light.jpg", + "Examples": + { + "Java": ["Light_Example.java"], + "Python": ["light.py"], + "Node.js": ["light.js"], + "C++": ["light.cxx"], + "C": ["light.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3, "high": 5}, + "Operating Current": {"unit": "mA", "low": 0.5, "high": 3}, + "Response Time": {"unit": "ms", "low": 20, "high": 30} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Light-Sensor-p-746.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-Light_Sensor/", "https://github.com/SeeedDocument/Grove_Light_Sensor/raw/master/res/LS06-M%CE%A65_datasheet.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/linefinder/linefinder.json b/src/linefinder/linefinder.json index 3c20840e..e113a149 100644 --- a/src/linefinder/linefinder.json +++ b/src/linefinder/linefinder.json @@ -1,40 +1,40 @@ -{ - "Library": "linefinder", - "Description": "Grove Line Finder Sensor Library", - "Sensor Class": - { - "LineFinder": - { - "Name": "Infrared (IR) Based Line Finder", - "Description": "UPM module for the Line Finder sensor. It outputs a digital signal indicating whether it is detecting black on a white background, or white on a black background.", - "Aliases": ["linefinder"], - "Categories": ["linefinder"], - "Connections": ["gpio"], - "Project Type": ["robotics", "prototyping"], - "Manufacturers": ["seeed", "dfrobot"], - "Kits": ["robok"], - "Image": "linefinder.jpg", - "Examples": - { - "Java": ["LineFinderSample.java"], - "Python": ["linefinder.py"], - "Node.js": ["linefinder.js"], - "C++": ["linefinder.cxx"], - "C": ["linefinder.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 2.7, "high": 5.5}, - "Operating Current": {"unit": "uA", "typ": 210}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 125} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Line-Finder-v1.1-p-2712.html"], - "Datasheets": ["file:///C:/Users/Malachai/Downloads/Lmv358.pdf", "http://wiki.seeed.cc/Grove-Line_Finder/"], - "Schematics": ["https://easyeda.com/Seeed/Grove_Line_Finder_v1_1-dfc99c72325e41ff93a451882fd2e143"] - } - } - } -} +{ + "Library": "linefinder", + "Description": "Grove Line Finder Sensor Library", + "Sensor Class": + { + "LineFinder": + { + "Name": "Infrared (IR) Based Line Finder", + "Description": "UPM module for the Line Finder sensor. It outputs a digital signal indicating whether it is detecting black on a white background, or white on a black background.", + "Aliases": ["linefinder"], + "Categories": ["linefinder"], + "Connections": ["gpio"], + "Project Type": ["robotics", "prototyping"], + "Manufacturers": ["seeed", "dfrobot"], + "Kits": ["robok"], + "Image": "linefinder.jpg", + "Examples": + { + "Java": ["LineFinder_Example.java"], + "Python": ["linefinder.py"], + "Node.js": ["linefinder.js"], + "C++": ["linefinder.cxx"], + "C": ["linefinder.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 2.7, "high": 5.5}, + "Operating Current": {"unit": "uA", "typ": 210}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 125} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Line-Finder-v1.1-p-2712.html"], + "Datasheets": ["file:///C:/Users/Malachai/Downloads/Lmv358.pdf", "http://wiki.seeed.cc/Grove-Line_Finder/"], + "Schematics": ["https://easyeda.com/Seeed/Grove_Line_Finder_v1_1-dfc99c72325e41ff93a451882fd2e143"] + } + } + } +} diff --git a/src/lis2ds12/lis2ds12.json b/src/lis2ds12/lis2ds12.json index 38d9f684..9fc4b808 100644 --- a/src/lis2ds12/lis2ds12.json +++ b/src/lis2ds12/lis2ds12.json @@ -1,38 +1,38 @@ -{ - "Library": "lis2ds12", - "Description": "API for the LIS2DS12 3-axis Accelerometer", - "Sensor Class": - { - "LIS2DS12": - { - "Name": "Digital 3-axis Accelerometer", - "Description": "The LIS2DS12 is an ultra-low-power high performance three-axis linear accelerometer belonging to the \"pico\" family which leverages on the robust and mature manufacturing processes already used for the production of micromachined accelerometers. The LIS2DS12 has user-selectable full scales of 2g/4g/8g/16g and is capable of measuring accelerations with output data rates from 1 Hz to 6400 Hz. Not all functionality of this chip has been implemented in this driver, however all the pieces are present to add any desired functionality. This driver supports both I2C (default) and SPI operation.", - "Aliases": ["lis2ds12"], - "Categories": ["accelerometer"], - "Connections": ["i2c", "spi", "gpio"], - "Project Type": ["imu", "prototyping"], - "Manufacturers": ["stmicro"], - "Kits": [], - "Examples": - { - "Java": ["LIS2DS12_Example.java"], - "Python": ["lis2ds12.py"], - "Node.js": ["lis2ds12.js"], - "C++": ["lis2ds12.cxx"], - "C": ["lis2ds12.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 1.62, "high": 1.98}, - "Operating Current": {"unit": "uA", "low": 0.7, "high": 150}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} - }, - "Urls" : - { - "Product Pages": ["http://www.st.com/en/mems-and-sensors/lis2ds12.html"], - "Datasheets": ["http://www.st.com/content/ccc/resource/technical/document/datasheet/ce/32/55/ac/e1/87/46/84/DM00177048.pdf/files/DM00177048.pdf/jcr:content/translations/en.DM00177048.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "lis2ds12", + "Description": "API for the LIS2DS12 3-axis Accelerometer", + "Sensor Class": + { + "LIS2DS12": + { + "Name": "Digital 3-axis Accelerometer", + "Description": "The LIS2DS12 is an ultra-low-power high performance three-axis linear accelerometer belonging to the \"pico\" family which leverages on the robust and mature manufacturing processes already used for the production of micromachined accelerometers. The LIS2DS12 has user-selectable full scales of 2g/4g/8g/16g and is capable of measuring accelerations with output data rates from 1 Hz to 6400 Hz. Not all functionality of this chip has been implemented in this driver, however all the pieces are present to add any desired functionality. This driver supports both I2C (default) and SPI operation.", + "Aliases": ["lis2ds12"], + "Categories": ["accelerometer"], + "Connections": ["i2c", "spi", "gpio"], + "Project Type": ["imu", "prototyping"], + "Manufacturers": ["stmicro"], + "Kits": [], + "Examples": + { + "Java": ["LIS2DS12_Example.java"], + "Python": ["lis2ds12.py"], + "Node.js": ["lis2ds12.js"], + "C++": ["lis2ds12.cxx"], + "C": ["lis2ds12.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 1.62, "high": 1.98}, + "Operating Current": {"unit": "uA", "low": 0.7, "high": 150}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} + }, + "Urls" : + { + "Product Pages": ["http://www.st.com/en/mems-and-sensors/lis2ds12.html"], + "Datasheets": ["http://www.st.com/content/ccc/resource/technical/document/datasheet/ce/32/55/ac/e1/87/46/84/DM00177048.pdf/files/DM00177048.pdf/jcr:content/translations/en.DM00177048.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/lis3dh/lis3dh.json b/src/lis3dh/lis3dh.json index 90af316c..3eec107e 100644 --- a/src/lis3dh/lis3dh.json +++ b/src/lis3dh/lis3dh.json @@ -1,38 +1,38 @@ -{ - "Library": "lis3dh", - "Description": "API for the LIS3DH 3-axis Accelerometer", - "Sensor Class": - { - "lis3dh": - { - "Name": "Digital 3-axis Accelerometer", - "Description": "The LIS3DH is an ultra-low-power high performance three-axis linear accelerometer belonging to the \"nano\" family which leverages the robust and mature manufacturing processes already used for the production of micromachined accelerometers. The LIS3DH has user-selectable full scales of 2g/4g/8g/16g and is capable of measuring accelerations with output data rates from 1 Hz to 5300 Hz. Not all functionality of this chip has been implemented in this driver, however all the pieces are present to add any desired functionality. This driver supports both I2C (default) and SPI operation.", - "Aliases": ["lis3dh"], - "Categories": ["accelerometer"], - "Connections": ["i2c", "spi", "gpio"], - "Project Type": ["imu", "prototyping"], - "Manufacturers": ["stmicro"], - "Kits": [], - "Examples": - { - "Java": ["LIS3DH_Example.java"], - "Python": ["lis3dh.py"], - "Node.js": ["lis3dh.js"], - "C++": ["lis3dh.cxx"], - "C": ["lis3dh.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 1.71, "high": 3.6}, - "Operating Current": {"unit": "uA", "low": 0.5, "high": 11}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} - }, - "Urls" : - { - "Product Pages": ["http://www.st.com/en/mems-and-sensors/lis3dh.html"], - "Datasheets": ["http://www.st.com/resource/en/datasheet/lis3dh.pdf"], - "Schematics": [] - } - } - } +{ + "Library": "lis3dh", + "Description": "API for the LIS3DH 3-axis Accelerometer", + "Sensor Class": + { + "lis3dh": + { + "Name": "Digital 3-axis Accelerometer", + "Description": "The LIS3DH is an ultra-low-power high performance three-axis linear accelerometer belonging to the \"nano\" family which leverages the robust and mature manufacturing processes already used for the production of micromachined accelerometers. The LIS3DH has user-selectable full scales of 2g/4g/8g/16g and is capable of measuring accelerations with output data rates from 1 Hz to 5300 Hz. Not all functionality of this chip has been implemented in this driver, however all the pieces are present to add any desired functionality. This driver supports both I2C (default) and SPI operation.", + "Aliases": ["lis3dh"], + "Categories": ["accelerometer"], + "Connections": ["i2c", "spi", "gpio"], + "Project Type": ["imu", "prototyping"], + "Manufacturers": ["stmicro"], + "Kits": [], + "Examples": + { + "Java": ["LIS3DH_Example.java"], + "Python": ["lis3dh.py"], + "Node.js": ["lis3dh.js"], + "C++": ["lis3dh.cxx"], + "C": ["lis3dh.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 1.71, "high": 3.6}, + "Operating Current": {"unit": "uA", "low": 0.5, "high": 11}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} + }, + "Urls" : + { + "Product Pages": ["http://www.st.com/en/mems-and-sensors/lis3dh.html"], + "Datasheets": ["http://www.st.com/resource/en/datasheet/lis3dh.pdf"], + "Schematics": [] + } + } + } } \ No newline at end of file diff --git a/src/lm35/lm35.json b/src/lm35/lm35.json index a8a60db3..ece5c197 100644 --- a/src/lm35/lm35.json +++ b/src/lm35/lm35.json @@ -1,38 +1,38 @@ -{ - "Library": "lm35", - "Description": "API for the DFRobot LM35 Linear Temperature Sensor", - "Sensor Class": - { - "LM35": - { - "Name": "Analog Temperature Sensor", - "Description": "This sensor returns an analog voltage proportional to the temperature of the ambient environment. This driver was developed using the DFRobot LM35 Linear Temperature Sensor", - "Aliases": ["lm35"], - "Categories": ["temperature"], - "Connections": ["analog"], - "Project Type": ["environmental", "monitoring", "prototyping"], - "Manufacturers": ["dfrobot", "nationalsemiconductor"], - "Kits": [], - "Image": "lm35.jpg", - "Examples": - { - "Java": [], - "Python": ["lm35.py"], - "Node.js": ["lm35.js"], - "C++": ["lm35.cxx"], - "C": ["lm35.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, - "Measurement Range": {"unit": "degC", "low": 0, "high": 100} - }, - "Urls" : - { - "Product Pages": ["https://www.dfrobot.com/product-76.html"], - "Datasheets": ["http://image.dfrobot.com/image/data/DFR0023/DFR0023_Datasheet.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "lm35", + "Description": "API for the DFRobot LM35 Linear Temperature Sensor", + "Sensor Class": + { + "LM35": + { + "Name": "Analog Temperature Sensor", + "Description": "This sensor returns an analog voltage proportional to the temperature of the ambient environment. This driver was developed using the DFRobot LM35 Linear Temperature Sensor", + "Aliases": ["lm35"], + "Categories": ["temperature"], + "Connections": ["analog"], + "Project Type": ["environmental", "monitoring", "prototyping"], + "Manufacturers": ["dfrobot", "nationalsemiconductor"], + "Kits": [], + "Image": "lm35.jpg", + "Examples": + { + "Java": [], + "Python": ["lm35.py"], + "Node.js": ["lm35.js"], + "C++": ["lm35.cxx"], + "C": ["lm35.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}, + "Measurement Range": {"unit": "degC", "low": 0, "high": 100} + }, + "Urls" : + { + "Product Pages": ["https://www.dfrobot.com/product-76.html"], + "Datasheets": ["http://image.dfrobot.com/image/data/DFR0023/DFR0023_Datasheet.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/lol/lol.json b/src/lol/lol.json index ca91aaa5..dd9253a8 100644 --- a/src/lol/lol.json +++ b/src/lol/lol.json @@ -1,32 +1,32 @@ -{ - "Library": "lol", - "Description": "API for the Olimex LoL Array", - "Sensor Class": - { - "LoL": - { - "Name": "Lots of LEDs (LoL) Array Rev A", - "Description": "This module defines the LoL API and implementation for a simple framebuffer.", - "Aliases": ["lol"], - "Categories": ["display"], - "Connections": ["gpio"], - "Project Type": ["prototyping"], - "Manufacturers": ["olimex"], - "Kits": [], - "Examples": - { - "Java": ["LoLSample.java", "LoL_exampleSample.java"], - "Python": [], - "Node.js": [], - "C++": ["lol.cxx"], - "C": [] - }, - "Urls" : - { - "Product Pages": ["https://www.olimex.com/Products/Duino/Shields/SHIELD-LOL/"], - "Datasheets": [], - "Schematics": [] - } - } - } -} +{ + "Library": "lol", + "Description": "API for the Olimex LoL Array", + "Sensor Class": + { + "LoL": + { + "Name": "Lots of LEDs (LoL) Array Rev A", + "Description": "This module defines the LoL API and implementation for a simple framebuffer.", + "Aliases": ["lol"], + "Categories": ["display"], + "Connections": ["gpio"], + "Project Type": ["prototyping"], + "Manufacturers": ["olimex"], + "Kits": [], + "Examples": + { + "Java": ["LoL_Example.java", "LoL_example_Example.java"], + "Python": [], + "Node.js": [], + "C++": ["lol.cxx"], + "C": [] + }, + "Urls" : + { + "Product Pages": ["https://www.olimex.com/Products/Duino/Shields/SHIELD-LOL/"], + "Datasheets": [], + "Schematics": [] + } + } + } +} diff --git a/src/loudness/loudness.json b/src/loudness/loudness.json index bc782ab8..add1d2bd 100644 --- a/src/loudness/loudness.json +++ b/src/loudness/loudness.json @@ -1,39 +1,39 @@ -{ - "Library": "loudness", - "Description": "API for the Loudness Sensor", - "Sensor Class": - { - "Loudness": - { - "Name": "Loudness Sensor", - "Description": "This sensor family returns an analog voltage proportional to the loudness of the ambient environment. It's output does not correspond to a particular sound level in decibels. The higher the output voltage, the louder the ambient noise level. This device uses an electret microphone for sound input. This driver was developed using the DFRobot Loudness Sensor V2 and the Grove Loudness sensor.", - "Aliases": ["loudness"], - "Categories": ["audio"], - "Connections": ["analog"], - "Project Type": ["noise control", "prototyping"], - "Manufacturers": ["seeed", "dfrobot"], - "Kits": [], - "Image": "loudness.jpg", - "Examples": - { - "Java": [], - "Python": ["loudness.py"], - "Node.js": ["loudness.js"], - "C++": ["loudness.cxx"], - "C": ["loudness.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3.5, "high": 10}, - "Measurement Range": {"unit": "Hz", "low": 50, "high": 2000} - - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-Loudness-Sensor-p-1382.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-Loudness_Sensor/", "https://raw.githubusercontent.com/SeeedDocument/Grove-Loudness_Sensor/master/res/LM2904DR.pdf"], - "Schematics": ["https://raw.githubusercontent.com/SeeedDocument/Grove-Loudness_Sensor/master/res/Grove_loudness_sensor.pdf"] - } - } - } -} +{ + "Library": "loudness", + "Description": "API for the Loudness Sensor", + "Sensor Class": + { + "Loudness": + { + "Name": "Loudness Sensor", + "Description": "This sensor family returns an analog voltage proportional to the loudness of the ambient environment. It's output does not correspond to a particular sound level in decibels. The higher the output voltage, the louder the ambient noise level. This device uses an electret microphone for sound input. This driver was developed using the DFRobot Loudness Sensor V2 and the Grove Loudness sensor.", + "Aliases": ["loudness"], + "Categories": ["audio"], + "Connections": ["analog"], + "Project Type": ["noise control", "prototyping"], + "Manufacturers": ["seeed", "dfrobot"], + "Kits": [], + "Image": "loudness.jpg", + "Examples": + { + "Java": [], + "Python": ["loudness.py"], + "Node.js": ["loudness.js"], + "C++": ["loudness.cxx"], + "C": ["loudness.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3.5, "high": 10}, + "Measurement Range": {"unit": "Hz", "low": 50, "high": 2000} + + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-Loudness-Sensor-p-1382.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-Loudness_Sensor/", "https://raw.githubusercontent.com/SeeedDocument/Grove-Loudness_Sensor/master/res/LM2904DR.pdf"], + "Schematics": ["https://raw.githubusercontent.com/SeeedDocument/Grove-Loudness_Sensor/master/res/Grove_loudness_sensor.pdf"] + } + } + } +} diff --git a/src/lpd8806/lpd8806.json b/src/lpd8806/lpd8806.json index f4a45e4a..88cb4422 100644 --- a/src/lpd8806/lpd8806.json +++ b/src/lpd8806/lpd8806.json @@ -1,37 +1,37 @@ -{ - "Library": "lpd8806", - "Description": "API for the LPD8806 RGB LED Strip Controller", - "Sensor Class": - { - "LPD8806": - { - "Name": "Digital RGB LED Strip Controller", - "Description": "FastPixel* LPD8806 is an RGB LED strip controller.", - "Aliases": ["lpd8806"], - "Categories": ["display"], - "Connections": ["spi"], - "Project Type": ["lighting", "rgb", "prototyping"], - "Manufacturers": ["adafruit"], - "Kits": [], - "Image": "lpd8806.jpg", - "Examples": - { - "Java": [], - "Python": [], - "Node.js": [], - "C++": ["lpd8806.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "max": 5} - }, - "Urls" : - { - "Product Pages": ["https://www.adafruit.com/product/306"], - "Datasheets": ["https://cdn-learn.adafruit.com/downloads/pdf/digital-led-strip.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "lpd8806", + "Description": "API for the LPD8806 RGB LED Strip Controller", + "Sensor Class": + { + "LPD8806": + { + "Name": "Digital RGB LED Strip Controller", + "Description": "FastPixel* LPD8806 is an RGB LED strip controller.", + "Aliases": ["lpd8806"], + "Categories": ["display"], + "Connections": ["spi"], + "Project Type": ["lighting", "rgb", "prototyping"], + "Manufacturers": ["adafruit"], + "Kits": [], + "Image": "lpd8806.jpg", + "Examples": + { + "Java": [], + "Python": [], + "Node.js": [], + "C++": ["lpd8806.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "max": 5} + }, + "Urls" : + { + "Product Pages": ["https://www.adafruit.com/product/306"], + "Datasheets": ["https://cdn-learn.adafruit.com/downloads/pdf/digital-led-strip.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/lsm303agr/lsm303agr.json b/src/lsm303agr/lsm303agr.json index 37daa7a8..6557bbd1 100644 --- a/src/lsm303agr/lsm303agr.json +++ b/src/lsm303agr/lsm303agr.json @@ -1,37 +1,37 @@ -{ - "Library": "lsm303agr", - "Description": "API for the LSM303AGR 3-Axis Geomagnetic Sensor", - "Sensor Class": - { - "LSM303AGR": - { - "Name": "Ultra-Compact High-Performance eCompass Module", - "Description": "The LSM303AGR is an ultra-low-power high-performance system-in-package featuring a 3D digital linear acceleration sensor and a 3D digital magnetic sensor. The LSM303AGR has linear acceleration full scales of 2g/4g/8g/16g and a magnetic field dynamic range of 50 Gauss. Not all functionality of this chip has been implemented in this driver, however all the pieces are present to add any desired functionality. This driver supports only I2C operation.", - "Aliases": ["lsm303agr"], - "Categories": ["magnetometer"], - "Connections": ["i2c"], - "Project Type": ["imu", "prototyping"], - "Manufacturers": ["stmicro"], - "Kits": [], - "Examples": - { - "Java": ["LSM303AGR_Example.java"], - "Python": ["lsm303agr.py"], - "Node.js": ["lsm303agr.js"], - "C++": ["lsm303agr.cxx"], - "C": ["lsm303agr.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 1.71, "high": 3.6}, - "Operating Current": {"unit": "uA", "low": 2, "high": 200} - }, - "Urls" : - { - "Product Pages": ["http://www.st.com/en/mems-and-sensors/lsm303agr.html"], - "Datasheets": ["http://www.st.com/content/ccc/resource/technical/document/datasheet/74/c4/19/54/62/c5/46/13/DM00177685.pdf/files/DM00177685.pdf/jcr:content/translations/en.DM00177685.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "lsm303agr", + "Description": "API for the LSM303AGR 3-Axis Geomagnetic Sensor", + "Sensor Class": + { + "LSM303AGR": + { + "Name": "Ultra-Compact High-Performance eCompass Module", + "Description": "The LSM303AGR is an ultra-low-power high-performance system-in-package featuring a 3D digital linear acceleration sensor and a 3D digital magnetic sensor. The LSM303AGR has linear acceleration full scales of 2g/4g/8g/16g and a magnetic field dynamic range of 50 Gauss. Not all functionality of this chip has been implemented in this driver, however all the pieces are present to add any desired functionality. This driver supports only I2C operation.", + "Aliases": ["lsm303agr"], + "Categories": ["magnetometer"], + "Connections": ["i2c"], + "Project Type": ["imu", "prototyping"], + "Manufacturers": ["stmicro"], + "Kits": [], + "Examples": + { + "Java": ["LSM303AGR_Example.java"], + "Python": ["lsm303agr.py"], + "Node.js": ["lsm303agr.js"], + "C++": ["lsm303agr.cxx"], + "C": ["lsm303agr.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 1.71, "high": 3.6}, + "Operating Current": {"unit": "uA", "low": 2, "high": 200} + }, + "Urls" : + { + "Product Pages": ["http://www.st.com/en/mems-and-sensors/lsm303agr.html"], + "Datasheets": ["http://www.st.com/content/ccc/resource/technical/document/datasheet/74/c4/19/54/62/c5/46/13/DM00177685.pdf/files/DM00177685.pdf/jcr:content/translations/en.DM00177685.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/lsm303d/lsm303d.json b/src/lsm303d/lsm303d.json index 989c0a28..b112f147 100644 --- a/src/lsm303d/lsm303d.json +++ b/src/lsm303d/lsm303d.json @@ -1,39 +1,39 @@ -{ - "Library": "lsm303d", - "Description": "API for the LSM303D 3-Axis Geomagnetic Sensor", - "Sensor Class": - { - "LSM303D": - { - "Name": "Ultra-compact high-performance eCompass module", - "Description": "The LSM303D is an ultra-low-power high-performance system-in-package featuring a 3D digital linear acceleration sensor and a 3D digital magnetic sensor. The LSM303D has linear acceleration full scales of 2g/4g/8g/16g and a magnetic field dynamic range of 50 Gauss. Not all functionality of this chip has been implemented in this driver, however all the pieces are present to add any desired functionality. This driver supports only I2C operation.", - "Aliases": ["lsm303d"], - "Categories": ["compass"], - "Connections": ["i2c"], - "Project Type": ["robotics", "prototyping"], - "Manufacturers": ["stmicro"], - "Kits": [], - "Examples": - { - "Java": ["LSM303D_Example.java"], - "Python": ["lsm303d.py"], - "Node.js": ["lsm303d.js"], - "C++": ["lsm303d.cxx"], - "C": ["lsm303d.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 2.16, "high": 3.6}, - "Operating Current": {"unit": "uA", "typ": 300}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} - - }, - "Urls" : - { - "Product Pages": ["http://www.st.com/en/mems-and-sensors/lsm303d.html"], - "Datasheets": ["http://www.st.com/content/ccc/resource/technical/document/datasheet/1c/9e/71/05/4e/b7/4d/d1/DM00057547.pdf/files/DM00057547.pdf/jcr:content/translations/en.DM00057547.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "lsm303d", + "Description": "API for the LSM303D 3-Axis Geomagnetic Sensor", + "Sensor Class": + { + "LSM303D": + { + "Name": "Ultra-compact high-performance eCompass module", + "Description": "The LSM303D is an ultra-low-power high-performance system-in-package featuring a 3D digital linear acceleration sensor and a 3D digital magnetic sensor. The LSM303D has linear acceleration full scales of 2g/4g/8g/16g and a magnetic field dynamic range of 50 Gauss. Not all functionality of this chip has been implemented in this driver, however all the pieces are present to add any desired functionality. This driver supports only I2C operation.", + "Aliases": ["lsm303d"], + "Categories": ["compass"], + "Connections": ["i2c"], + "Project Type": ["robotics", "prototyping"], + "Manufacturers": ["stmicro"], + "Kits": [], + "Examples": + { + "Java": ["LSM303D_Example.java"], + "Python": ["lsm303d.py"], + "Node.js": ["lsm303d.js"], + "C++": ["lsm303d.cxx"], + "C": ["lsm303d.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 2.16, "high": 3.6}, + "Operating Current": {"unit": "uA", "typ": 300}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} + + }, + "Urls" : + { + "Product Pages": ["http://www.st.com/en/mems-and-sensors/lsm303d.html"], + "Datasheets": ["http://www.st.com/content/ccc/resource/technical/document/datasheet/1c/9e/71/05/4e/b7/4d/d1/DM00057547.pdf/files/DM00057547.pdf/jcr:content/translations/en.DM00057547.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/lsm303dlh/lsm303dlh.json b/src/lsm303dlh/lsm303dlh.json index 740241ca..2cd07b55 100644 --- a/src/lsm303dlh/lsm303dlh.json +++ b/src/lsm303dlh/lsm303dlh.json @@ -1,36 +1,36 @@ -{ - "Library": "lsm303dlh", - "Description": "API for the LSM303DLH Accelerometer & Compass", - "Sensor Class": - { - "LSM303DLH": - { - "Name": "Triaxial Accelerometer/magnetometer", - "Description": "This module defines the LSM303DLH 3-axis magnetometer/3-axis accelerometer. This module was tested with the Seeed Studio* Grove 6-Axis Accelerometer & Compass module used over I2C. The magnetometer and acceleromter are accessed at two seperate I2C addresses.", - "Aliases": ["lsm303dlh"], - "Categories": ["compass", "accelerometer"], - "Connections": ["i2c"], - "Project Type": ["imu", "prototyping"], - "Manufacturers": ["seeed", "adafruit", "stmicro"], - "Kits": [], - "Examples": - { - "Java": ["LSM303DLHSample.java"], - "Python": ["lsm303dlh.py"], - "Node.js": ["lsm303dhl.js"], - "C++": ["lsm303dlh.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "typ": 3.3} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/grove-6axis-accelerometercompass-p-1448.html?cPath=144_146"], - "Datasheets": ["http://wiki.seeedstudio.com/wiki/Grove_-_6-Axis_Accelerometer%26Compass_V1.0"], - "Schematics": [] - } - } - } -} +{ + "Library": "lsm303dlh", + "Description": "API for the LSM303DLH Accelerometer & Compass", + "Sensor Class": + { + "LSM303DLH": + { + "Name": "Triaxial Accelerometer/magnetometer", + "Description": "This module defines the LSM303DLH 3-axis magnetometer/3-axis accelerometer. This module was tested with the Seeed Studio* Grove 6-Axis Accelerometer & Compass module used over I2C. The magnetometer and acceleromter are accessed at two seperate I2C addresses.", + "Aliases": ["lsm303dlh"], + "Categories": ["compass", "accelerometer"], + "Connections": ["i2c"], + "Project Type": ["imu", "prototyping"], + "Manufacturers": ["seeed", "adafruit", "stmicro"], + "Kits": [], + "Examples": + { + "Java": ["LSM303DLH_Example.java"], + "Python": ["lsm303dlh.py"], + "Node.js": ["lsm303dhl.js"], + "C++": ["lsm303dlh.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "typ": 3.3} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/grove-6axis-accelerometercompass-p-1448.html?cPath=144_146"], + "Datasheets": ["http://wiki.seeedstudio.com/wiki/Grove_-_6-Axis_Accelerometer%26Compass_V1.0"], + "Schematics": [] + } + } + } +} diff --git a/src/lsm6ds3h/lsm6ds3h.json b/src/lsm6ds3h/lsm6ds3h.json index 9bef69af..49f35af5 100644 --- a/src/lsm6ds3h/lsm6ds3h.json +++ b/src/lsm6ds3h/lsm6ds3h.json @@ -1,39 +1,39 @@ -{ - "Library": "lsm6ds3h", - "Description": "API for the LSM6DS3H 3-axis Accelerometer and Gyroscope", - "Sensor Class": - { - "LSM6DS3H": - { - "Name": "Digital 3-axis Accelerometer and Gyroscope", - "Description": "The LSM6DS3H is a system-in-package featuring a 3D digital accelerometer and a 3D digital gyroscope performing at 1.1 mA (up to 1.6 kHz ODR) in high performance mode and enabling always-on low-power features for an optimal motion experience for the consumer. Not all functionality of this chip has been implemented in this driver, however all the pieces are present to add any desired functionality. This driver supports both I2C (default) and SPI operation.", - "Aliases": ["lsm6ds3h"], - "Categories": ["accelerometer", "gyroscope"], - "Connections": ["i2c", "spi", "gpio"], - "Project Type": ["imu", "prototyping"], - "Manufacturers": ["stmicro"], - "Kits": [], - "Examples": - { - "Java": ["LSM6DS3H_Example.java"], - "Python": ["lsm6ds3h.py"], - "Node.js": ["lsm6ds3h.js"], - "C++": ["lsm6ds3h.cxx"], - "C": ["lsm6ds3h.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 1.71, "high": 3.6}, - "Operating Current": {"unit": "mA", "low": 0.85, "high": 1.1}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} - - }, - "Urls" : - { - "Product Pages": ["http://www.st.com/en/mems-and-sensors/lsm6ds3h.html"], - "Datasheets": ["http://www.st.com/content/ccc/resource/technical/document/datasheet/group0/38/96/79/af/ab/62/42/c3/DM00229854/files/DM00229854.pdf/jcr:content/translations/en.DM00229854.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "lsm6ds3h", + "Description": "API for the LSM6DS3H 3-axis Accelerometer and Gyroscope", + "Sensor Class": + { + "LSM6DS3H": + { + "Name": "Digital 3-axis Accelerometer and Gyroscope", + "Description": "The LSM6DS3H is a system-in-package featuring a 3D digital accelerometer and a 3D digital gyroscope performing at 1.1 mA (up to 1.6 kHz ODR) in high performance mode and enabling always-on low-power features for an optimal motion experience for the consumer. Not all functionality of this chip has been implemented in this driver, however all the pieces are present to add any desired functionality. This driver supports both I2C (default) and SPI operation.", + "Aliases": ["lsm6ds3h"], + "Categories": ["accelerometer", "gyroscope"], + "Connections": ["i2c", "spi", "gpio"], + "Project Type": ["imu", "prototyping"], + "Manufacturers": ["stmicro"], + "Kits": [], + "Examples": + { + "Java": ["LSM6DS3H_Example.java"], + "Python": ["lsm6ds3h.py"], + "Node.js": ["lsm6ds3h.js"], + "C++": ["lsm6ds3h.cxx"], + "C": ["lsm6ds3h.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 1.71, "high": 3.6}, + "Operating Current": {"unit": "mA", "low": 0.85, "high": 1.1}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} + + }, + "Urls" : + { + "Product Pages": ["http://www.st.com/en/mems-and-sensors/lsm6ds3h.html"], + "Datasheets": ["http://www.st.com/content/ccc/resource/technical/document/datasheet/group0/38/96/79/af/ab/62/42/c3/DM00229854/files/DM00229854.pdf/jcr:content/translations/en.DM00229854.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/lsm6dsl/lsm6dsl.json b/src/lsm6dsl/lsm6dsl.json index 423795eb..1169d703 100644 --- a/src/lsm6dsl/lsm6dsl.json +++ b/src/lsm6dsl/lsm6dsl.json @@ -1,39 +1,39 @@ -{ - "Library": "lsm6dsl", - "Description": "API for the LSM6DSL 3-axis Accelerometer and Gyroscope", - "Sensor Class": - { - "LSM6DSL": - { - "Name": "Digital 3-axis Accelerometer and Gyroscope", - "Description": "The LSM6DSL is a system-in-package featuring a 3D digital accelerometer and a 3D digital gyroscope performing at 0.65 mA in high performance mode and enabling always-on low-power features for an optimal motion experience for the consumer. Not all functionality of this chip has been implemented in this driver, however all the pieces are present to add any desired functionality. This driver supports both I2C (default) and SPI operation.", - "Aliases": ["lsm6dsl"], - "Categories": ["accelerometer", "gyroscope"], - "Connections": ["i2c", "spi", "gpio"], - "Project Type": ["imu", "prototyping"], - "Manufacturers": ["stmicro"], - "Kits": [], - "Examples": - { - "Java": ["LSM6DSL_Example.java"], - "Python": ["lsm6dsl.py"], - "Node.js": ["lsm6dsl.js"], - "C++": ["lsm6dsl.cxx"], - "C": ["lsm6dsl.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 1.71, "high": 3.6}, - "Operating Current": {"unit": "mA", "low": 0.4, "high": 0.65}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} - - }, - "Urls" : - { - "Product Pages": ["http://www.st.com/en/mems-and-sensors/lsm6dsl.html"], - "Datasheets": ["http://www.st.com/content/ccc/resource/technical/document/datasheet/ee/23/a0/dc/1d/68/45/52/DM00237456.pdf/files/DM00237456.pdf/jcr:content/translations/en.DM00237456.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "lsm6dsl", + "Description": "API for the LSM6DSL 3-axis Accelerometer and Gyroscope", + "Sensor Class": + { + "LSM6DSL": + { + "Name": "Digital 3-axis Accelerometer and Gyroscope", + "Description": "The LSM6DSL is a system-in-package featuring a 3D digital accelerometer and a 3D digital gyroscope performing at 0.65 mA in high performance mode and enabling always-on low-power features for an optimal motion experience for the consumer. Not all functionality of this chip has been implemented in this driver, however all the pieces are present to add any desired functionality. This driver supports both I2C (default) and SPI operation.", + "Aliases": ["lsm6dsl"], + "Categories": ["accelerometer", "gyroscope"], + "Connections": ["i2c", "spi", "gpio"], + "Project Type": ["imu", "prototyping"], + "Manufacturers": ["stmicro"], + "Kits": [], + "Examples": + { + "Java": ["LSM6DSL_Example.java"], + "Python": ["lsm6dsl.py"], + "Node.js": ["lsm6dsl.js"], + "C++": ["lsm6dsl.cxx"], + "C": ["lsm6dsl.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 1.71, "high": 3.6}, + "Operating Current": {"unit": "mA", "low": 0.4, "high": 0.65}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} + + }, + "Urls" : + { + "Product Pages": ["http://www.st.com/en/mems-and-sensors/lsm6dsl.html"], + "Datasheets": ["http://www.st.com/content/ccc/resource/technical/document/datasheet/ee/23/a0/dc/1d/68/45/52/DM00237456.pdf/files/DM00237456.pdf/jcr:content/translations/en.DM00237456.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/lsm9ds0/lsm9ds0.json b/src/lsm9ds0/lsm9ds0.json index 79a40785..0394f8df 100644 --- a/src/lsm9ds0/lsm9ds0.json +++ b/src/lsm9ds0/lsm9ds0.json @@ -1,39 +1,39 @@ -{ - "Library": "lsm9ds0", - "Description": "API for the LSM9DS0 Gyroscope/Accelerometer/Magnetometer", - "Sensor Class": - { - "LSM9DS0": - { - "Name": "Triaxial Gyroscope/Accelerometer/Magnetometer Sensor", - "Description": "The LSM9DS0 is a system-in-package featuring a 3D digital linear acceleration sensor, a 3D digital angular rate sensor, and a 3D digital magnetic sensor. The LSM9DS0 has a linear acceleration full scale of 2g/4g/6g/8g/16g, a magnetic field full scale of 2/4/8/12 gauss and an angular rate of 245/500/2000 dps. While not all of the functionality of this device is supported initially, methods and register definitions are provided that should allow an end user to implement whatever features are required. This driver was developed on a Sparkfun 9DOF edison block.", - "Aliases": ["lsm9ds0"], - "Categories": ["gyroscope", "accelerometer", "magnetometer"], - "Connections": ["i2c", "gpio"], - "Project Type": ["robotics", "wearables", "prototyping"], - "Manufacturers": ["sparkfun", "stmicro"], - "Kits": [], - "Image": "lsm9ds0.jpg", - "Examples": - { - "Java": [], - "Python": ["lsm9ds0.py"], - "Node.js": ["lsm9ds0.js"], - "C++": ["lsm9ds0.cxx"], - "C": [] - }, - "Specifications": - { - "Accelerometer Range (+-)": {"unit": "g", "low": 2, "high": 16}, - "Magnetometer Range (+-)": {"unit": "gauss", "low": 2, "high": 12}, - "Gyroscope Range (+-)": {"unit": "deg/s", "low": 245, "high": 2000} - }, - "Urls" : - { - "Product Pages": ["https://www.sparkfun.com/products/13033"], - "Datasheets": [], - "Schematics": ["https://cdn.sparkfun.com/datasheets/Dev/Edison/9dof_block.pdf"] - } - } - } -} +{ + "Library": "lsm9ds0", + "Description": "API for the LSM9DS0 Gyroscope/Accelerometer/Magnetometer", + "Sensor Class": + { + "LSM9DS0": + { + "Name": "Triaxial Gyroscope/Accelerometer/Magnetometer Sensor", + "Description": "The LSM9DS0 is a system-in-package featuring a 3D digital linear acceleration sensor, a 3D digital angular rate sensor, and a 3D digital magnetic sensor. The LSM9DS0 has a linear acceleration full scale of 2g/4g/6g/8g/16g, a magnetic field full scale of 2/4/8/12 gauss and an angular rate of 245/500/2000 dps. While not all of the functionality of this device is supported initially, methods and register definitions are provided that should allow an end user to implement whatever features are required. This driver was developed on a Sparkfun 9DOF edison block.", + "Aliases": ["lsm9ds0"], + "Categories": ["gyroscope", "accelerometer", "magnetometer"], + "Connections": ["i2c", "gpio"], + "Project Type": ["robotics", "wearables", "prototyping"], + "Manufacturers": ["sparkfun", "stmicro"], + "Kits": [], + "Image": "lsm9ds0.jpg", + "Examples": + { + "Java": [], + "Python": ["lsm9ds0.py"], + "Node.js": ["lsm9ds0.js"], + "C++": ["lsm9ds0.cxx"], + "C": [] + }, + "Specifications": + { + "Accelerometer Range (+-)": {"unit": "g", "low": 2, "high": 16}, + "Magnetometer Range (+-)": {"unit": "gauss", "low": 2, "high": 12}, + "Gyroscope Range (+-)": {"unit": "deg/s", "low": 245, "high": 2000} + }, + "Urls" : + { + "Product Pages": ["https://www.sparkfun.com/products/13033"], + "Datasheets": [], + "Schematics": ["https://cdn.sparkfun.com/datasheets/Dev/Edison/9dof_block.pdf"] + } + } + } +} diff --git a/src/m24lr64e/m24lr64e.json b/src/m24lr64e/m24lr64e.json index 09e038a0..c5e0259b 100644 --- a/src/m24lr64e/m24lr64e.json +++ b/src/m24lr64e/m24lr64e.json @@ -1,38 +1,38 @@ -{ - "Library": "m24lr64e", - "Description": "API for the M24LR64E NFC Tag", - "Sensor Class": - { - "M24LR64E": - { - "Name": "Dynamic NFC/RFID Tag Module", - "Description": "The M24LR64E NFC tag is an 8KB electrically erasable programmable read-only memory (EEPROM) that can be written to or read from using I2C and NFC-equipped devices. The user mode (default) allows read and write access to all 8KB of space, provided the sector security status (SSS) allows it. The root mode allows modification of the SSS data and other information, provided the proper password is submitted. The default password for a new tag is 0x00000000. See the datasheet for more details. The Seeed Studio* wiki page for this device includes a link to an Android* application that can be used to also read and write the device via NFC, as well as set NFC passwords, which cannot be done via I2C.", - "Aliases": ["m24lr64e"], - "Categories": ["rfid", "wireless"], - "Connections": ["i2c", "nfc"], - "Project Type": ["access control", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "m24lr64e.jpg", - "Examples": - { - "Java": ["M24LR64ESample.java"], - "Python": ["m24lr64e.py"], - "Node.js": ["m24lr64e.js"], - "C++": ["m24lr64e.cxx"], - "C": ["m24lr64e.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 1.8, "high": 5.5}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/Grove-NFC-Tag-p-1866.html"], - "Datasheets": ["http://www.seeedstudio.com/wiki/Grove_-_NFC_Tag", "https://raw.githubusercontent.com/SeeedDocument/Grove-NFC_Tag/master/res/M24LR64E-R.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "m24lr64e", + "Description": "API for the M24LR64E NFC Tag", + "Sensor Class": + { + "M24LR64E": + { + "Name": "Dynamic NFC/RFID Tag Module", + "Description": "The M24LR64E NFC tag is an 8KB electrically erasable programmable read-only memory (EEPROM) that can be written to or read from using I2C and NFC-equipped devices. The user mode (default) allows read and write access to all 8KB of space, provided the sector security status (SSS) allows it. The root mode allows modification of the SSS data and other information, provided the proper password is submitted. The default password for a new tag is 0x00000000. See the datasheet for more details. The Seeed Studio* wiki page for this device includes a link to an Android* application that can be used to also read and write the device via NFC, as well as set NFC passwords, which cannot be done via I2C.", + "Aliases": ["m24lr64e"], + "Categories": ["rfid", "wireless"], + "Connections": ["i2c", "nfc"], + "Project Type": ["access control", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "m24lr64e.jpg", + "Examples": + { + "Java": ["M24LR64E_Example.java"], + "Python": ["m24lr64e.py"], + "Node.js": ["m24lr64e.js"], + "C++": ["m24lr64e.cxx"], + "C": ["m24lr64e.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 1.8, "high": 5.5}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/Grove-NFC-Tag-p-1866.html"], + "Datasheets": ["http://www.seeedstudio.com/wiki/Grove_-_NFC_Tag", "https://raw.githubusercontent.com/SeeedDocument/Grove-NFC_Tag/master/res/M24LR64E-R.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/mag3110/mag3110.json b/src/mag3110/mag3110.json index c3366103..b0d57817 100644 --- a/src/mag3110/mag3110.json +++ b/src/mag3110/mag3110.json @@ -1,38 +1,38 @@ -{ - "Library": "mag3110", - "Description": "API for the MAG3110 Three-Axis Digital Magnetometer", - "Sensor Class": - { - "MAG3110": - { - "Name": "MAG3110 Three-Axis Digital Magnetometer", - "Description": "The MAG3110 is a small, low-power digital 3D magnetic sensor with a wide dynamic range to allow operation in PCBs with high extraneous magnetic fields. It measures the components of the local magnetic field, the sum of the geomagnetic field and the magnetic field created by components on the circuit board. It can be used in conjunction with a 3-axis accelerometer so that orientation-independent accurate compass heading information may be achieved It is capable of measuring local magnetic fields up to 10 Gauss with output data rates up to 80 Hz.", - "Aliases": ["mag3110"], - "Categories": ["magnetometer"], - "Connections": ["i2c"], - "Project Type": ["imu", "prototyping"], - "Manufacturers": ["freescale"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": ["mag3110.py"], - "Node.js": [], - "C++": ["mag3110.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 1.95, "high": 3.6}, - "Operating Current": {"unit": "uA", "low": 8.6, "high": 900}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} - }, - "Urls" : - { - "Product Pages": ["http://www.nxp.com/products/sensors/magnetometers/high-accuracy-3d-magnetometer:MAG3110"], - "Datasheets": ["http://www.nxp.com/docs/en/data-sheet/MAG3110.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "mag3110", + "Description": "API for the MAG3110 Three-Axis Digital Magnetometer", + "Sensor Class": + { + "MAG3110": + { + "Name": "MAG3110 Three-Axis Digital Magnetometer", + "Description": "The MAG3110 is a small, low-power digital 3D magnetic sensor with a wide dynamic range to allow operation in PCBs with high extraneous magnetic fields. It measures the components of the local magnetic field, the sum of the geomagnetic field and the magnetic field created by components on the circuit board. It can be used in conjunction with a 3-axis accelerometer so that orientation-independent accurate compass heading information may be achieved It is capable of measuring local magnetic fields up to 10 Gauss with output data rates up to 80 Hz.", + "Aliases": ["mag3110"], + "Categories": ["magnetometer"], + "Connections": ["i2c"], + "Project Type": ["imu", "prototyping"], + "Manufacturers": ["freescale"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": ["mag3110.py"], + "Node.js": [], + "C++": ["mag3110.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 1.95, "high": 3.6}, + "Operating Current": {"unit": "uA", "low": 8.6, "high": 900}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 85} + }, + "Urls" : + { + "Product Pages": ["http://www.nxp.com/products/sensors/magnetometers/high-accuracy-3d-magnetometer:MAG3110"], + "Datasheets": ["http://www.nxp.com/docs/en/data-sheet/MAG3110.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/max30100/max30100.json b/src/max30100/max30100.json index 8ee5aa10..038e085b 100644 --- a/src/max30100/max30100.json +++ b/src/max30100/max30100.json @@ -1,37 +1,37 @@ -{ - "Library": "max30100", - "Description": "API for the Pulse Oximeter and Heart-Rate Sensor", - "Sensor Class": - { - "MAX30100": - { - "Name": "Pulse Oximeter and Heart-rate Sensor", - "Description": "The MAX30100 is an integrated pulse oximetry and heartrate monitor sensor solution. It combines two LEDs, a photodetector, optimized optics, and low-noise analog signal processing to detect pulse oximetry and heart-rate signals.", - "Aliases": ["max30100"], - "Categories": ["heartrate", "pulse-ox"], - "Connections": ["i2c", "gpio"], - "Project Type": ["medical", "wearables", "prototyping"], - "Manufacturers": ["maxim"], - "Kits": [], - "Examples": - { - "Java": ["MAX30100_Example.java"], - "Python": ["max30100.py"], - "Node.js": ["max30100.js"], - "C++": ["max30100.cxx"], - "C": ["max30100.c"] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 1.8, "high": 3.3}, - "Operating Current": {"unit": "uA", "low": 0.7, "high": 1200} - }, - "Urls" : - { - "Product Pages": ["https://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/MAX30100.html"], - "Datasheets": ["https://datasheets.maximintegrated.com/en/ds/MAX30100.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "max30100", + "Description": "API for the Pulse Oximeter and Heart-Rate Sensor", + "Sensor Class": + { + "MAX30100": + { + "Name": "Pulse Oximeter and Heart-rate Sensor", + "Description": "The MAX30100 is an integrated pulse oximetry and heartrate monitor sensor solution. It combines two LEDs, a photodetector, optimized optics, and low-noise analog signal processing to detect pulse oximetry and heart-rate signals.", + "Aliases": ["max30100"], + "Categories": ["heartrate", "pulse-ox"], + "Connections": ["i2c", "gpio"], + "Project Type": ["medical", "wearables", "prototyping"], + "Manufacturers": ["maxim"], + "Kits": [], + "Examples": + { + "Java": ["MAX30100_Example.java"], + "Python": ["max30100.py"], + "Node.js": ["max30100.js"], + "C++": ["max30100.cxx"], + "C": ["max30100.c"] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 1.8, "high": 3.3}, + "Operating Current": {"unit": "uA", "low": 0.7, "high": 1200} + }, + "Urls" : + { + "Product Pages": ["https://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/MAX30100.html"], + "Datasheets": ["https://datasheets.maximintegrated.com/en/ds/MAX30100.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/max31723/max31723.json b/src/max31723/max31723.json index e827b13d..80f6a890 100644 --- a/src/max31723/max31723.json +++ b/src/max31723/max31723.json @@ -1,39 +1,39 @@ -{ - "Library": "max31723", - "Description": "API for the MAX31723 Temperature Sensor", - "Sensor Class": - { - "MAX31723": - { - "Name": "SPI/3-wire Digital Thermometer", - "Description": "Maxim Integrated* [MAX31723](http://datasheets.maximintegrated.com/en/ds/MAX31722-MAX31723.pdf) is a low-voltage 3-wire/SPI temperature sensor controller. This module was tested on the Maxim Integrated [MAX31732PMB1 PMOD module](http://datasheets.maximintegrated.com/en/ds/MAX31723PMB1.pdf) from the analog PMOD kit.", - "Aliases": ["max31723"], - "Categories": ["temperature"], - "Connections": ["spi"], - "Project Type": ["environmental", "prototyping"], - "Manufacturers": ["maxim"], - "Kits": [], - "Examples": - { - "Java": [], - "Python": [], - "Node.js": [], - "C++": ["max31723.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 1.7, "high": 3.7}, - "Operating Current": {"unit": "uA", "low": 100, "high":1200}, - "Operating Temperature": {"unit": "degC", "low": -55, "high": 125} - - }, - "Urls" : - { - "Product Pages": ["https://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/MAX31723.html"], - "Datasheets": ["https://datasheets.maximintegrated.com/en/ds/MAX31722-MAX31723.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "max31723", + "Description": "API for the MAX31723 Temperature Sensor", + "Sensor Class": + { + "MAX31723": + { + "Name": "SPI/3-wire Digital Thermometer", + "Description": "Maxim Integrated* [MAX31723](http://datasheets.maximintegrated.com/en/ds/MAX31722-MAX31723.pdf) is a low-voltage 3-wire/SPI temperature sensor controller. This module was tested on the Maxim Integrated [MAX31732PMB1 PMOD module](http://datasheets.maximintegrated.com/en/ds/MAX31723PMB1.pdf) from the analog PMOD kit.", + "Aliases": ["max31723"], + "Categories": ["temperature"], + "Connections": ["spi"], + "Project Type": ["environmental", "prototyping"], + "Manufacturers": ["maxim"], + "Kits": [], + "Examples": + { + "Java": [], + "Python": [], + "Node.js": [], + "C++": ["max31723.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 1.7, "high": 3.7}, + "Operating Current": {"unit": "uA", "low": 100, "high":1200}, + "Operating Temperature": {"unit": "degC", "low": -55, "high": 125} + + }, + "Urls" : + { + "Product Pages": ["https://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/MAX31723.html"], + "Datasheets": ["https://datasheets.maximintegrated.com/en/ds/MAX31722-MAX31723.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/max31855/max31855.json b/src/max31855/max31855.json index 0259fbd9..bf7af2db 100644 --- a/src/max31855/max31855.json +++ b/src/max31855/max31855.json @@ -1,38 +1,38 @@ -{ - "Library": "max31855", - "Description": "API for the MAX31855 Thermocouple Amplifier", - "Sensor Class": - { - "MAX31855": - { - "Name": "Thermocouple-to-Digital Converter", - "Description": "Maxim Integrated* [MAX31855](http://datasheets.maximintegrated.com/en/ds/MAX31855.pdf) is a cold-junction compensated thermocouple-to-digital converter. This module was tested on the Maxim Integrated [MAX31855PMB1 PMOD module] (http://datasheets.maximintegrated.com/en/ds/MAX31855PMB1.pdf) from the analog PMOD kit.", - "Aliases": ["max31855"], - "Categories": ["temperature"], - "Connections": ["spi"], - "Project Type": ["thermal", "prototyping"], - "Manufacturers": ["maxim", "adafruit"], - "Kits": [], - "Image": "max31855.jpg", - "Examples": - { - "Java": ["MAX31855Example.java"], - "Python": [], - "Node.js": [], - "C++": ["max31855.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 3, "high": 3.6}, - "Operating Current": {"unit": "uA", "max": 1500} - }, - "Urls" : - { - "Product Pages": ["https://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/MAX31855.html"], - "Datasheets": ["https://datasheets.maximintegrated.com/en/ds/MAX31855.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "max31855", + "Description": "API for the MAX31855 Thermocouple Amplifier", + "Sensor Class": + { + "MAX31855": + { + "Name": "Thermocouple-to-Digital Converter", + "Description": "Maxim Integrated* [MAX31855](http://datasheets.maximintegrated.com/en/ds/MAX31855.pdf) is a cold-junction compensated thermocouple-to-digital converter. This module was tested on the Maxim Integrated [MAX31855PMB1 PMOD module] (http://datasheets.maximintegrated.com/en/ds/MAX31855PMB1.pdf) from the analog PMOD kit.", + "Aliases": ["max31855"], + "Categories": ["temperature"], + "Connections": ["spi"], + "Project Type": ["thermal", "prototyping"], + "Manufacturers": ["maxim", "adafruit"], + "Kits": [], + "Image": "max31855.jpg", + "Examples": + { + "Java": ["MAX31855_Example.java"], + "Python": [], + "Node.js": [], + "C++": ["max31855.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 3, "high": 3.6}, + "Operating Current": {"unit": "uA", "max": 1500} + }, + "Urls" : + { + "Product Pages": ["https://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/MAX31855.html"], + "Datasheets": ["https://datasheets.maximintegrated.com/en/ds/MAX31855.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/max44000/max44000.json b/src/max44000/max44000.json index 8ed46134..45de2f0b 100644 --- a/src/max44000/max44000.json +++ b/src/max44000/max44000.json @@ -1,39 +1,39 @@ -{ - "Library": "max44000", - "Description": "API for the MAX44000 Ambient and Infrared Proximity Sensor", - "Sensor Class": - { - "MAX44000": - { - "Name": "Ambient and Infrared Proximity Sensor", - "Description": "Maxim Integrated* [MAX44000](http://datasheets.maximintegrated.com/en/ds/MAX44000.pdf) is an ambient and infrared proximity sensor. This module was tested on the Maxim Integrated [MAX44000PMB1 PMOD module] (http://datasheets.maximintegrated.com/en/ds/MAX44000PMB1.pdf) from the analog PMOD kit.", - "Aliases": ["max44000"], - "Categories": ["proximity"], - "Connections": ["i2c"], - "Project Type": ["robotics", "prototyping"], - "Manufacturers": ["maxim"], - "Kits": [], - "Examples": - { - "Java": ["MAX44000Sample.java"], - "Python": [], - "Node.js": [], - "C++": ["max44000.cxx"], - "C": [] - }, - "Specifications": - { - "Operating Voltage": {"unit": "V", "low": 1.7, "high": 3.6}, - "Operating Current": {"unit": "mA", "low": 10, "high":110}, - "Operating Temperature": {"unit": "degC", "low": -40, "high": 105} - - }, - "Urls" : - { - "Product Pages": ["https://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/MAX44000.html"], - "Datasheets": ["https://datasheets.maximintegrated.com/en/ds/MAX44000.pdf"], - "Schematics": [] - } - } - } -} +{ + "Library": "max44000", + "Description": "API for the MAX44000 Ambient and Infrared Proximity Sensor", + "Sensor Class": + { + "MAX44000": + { + "Name": "Ambient and Infrared Proximity Sensor", + "Description": "Maxim Integrated* [MAX44000](http://datasheets.maximintegrated.com/en/ds/MAX44000.pdf) is an ambient and infrared proximity sensor. This module was tested on the Maxim Integrated [MAX44000PMB1 PMOD module] (http://datasheets.maximintegrated.com/en/ds/MAX44000PMB1.pdf) from the analog PMOD kit.", + "Aliases": ["max44000"], + "Categories": ["proximity"], + "Connections": ["i2c"], + "Project Type": ["robotics", "prototyping"], + "Manufacturers": ["maxim"], + "Kits": [], + "Examples": + { + "Java": ["MAX44000_Example.java"], + "Python": [], + "Node.js": [], + "C++": ["max44000.cxx"], + "C": [] + }, + "Specifications": + { + "Operating Voltage": {"unit": "V", "low": 1.7, "high": 3.6}, + "Operating Current": {"unit": "mA", "low": 10, "high":110}, + "Operating Temperature": {"unit": "degC", "low": -40, "high": 105} + + }, + "Urls" : + { + "Product Pages": ["https://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/MAX44000.html"], + "Datasheets": ["https://datasheets.maximintegrated.com/en/ds/MAX44000.pdf"], + "Schematics": [] + } + } + } +} diff --git a/src/max5487/max5487.json b/src/max5487/max5487.json index 7f27ac78..23ad21d3 100644 --- a/src/max5487/max5487.json +++ b/src/max5487/max5487.json @@ -11,7 +11,7 @@ "Project Type": ["prototyping", "commercial"], "Manufacturers": ["maxim"], "Examples": { - "Java": ["MAX5487Example.java"], + "Java": ["MAX5487_Example.java"], "C++": ["max5487.cxx"] }, "Specifications": { diff --git a/src/maxds3231m/maxds3231m.json b/src/maxds3231m/maxds3231m.json index ebbc7a1b..b0faefbb 100644 --- a/src/maxds3231m/maxds3231m.json +++ b/src/maxds3231m/maxds3231m.json @@ -11,7 +11,7 @@ "Project Type": ["prototyping", "commercial"], "Manufacturers": ["Maxim"], "Examples": { - "Java": ["MAXds3231mExample.java"], + "Java": ["MAXds3231m_Example.java"], "C++": ["maxds3231m.cxx"] }, "Specifications": { diff --git a/src/md/md.json b/src/md/md.json index 0668e507..acddb95e 100644 --- a/src/md/md.json +++ b/src/md/md.json @@ -1,53 +1,53 @@ -{ - "Library": "md", - "Description": "I2C Motor Driver library", - "Sensor Class": { - "MD": { - "Name": "Grove I2C Motor Driver", - "Description": "This class implements support for the I2C Motor Driver. This device can support a single 4-wire stepper motor, or two 2-wire DC motors. The device contains an Atmel* ATmega8L microcontroller that manages an L298N H-bridge driver chip. This device supports an I2C bus speed of 100Khz only. The module does not provide any telemetry or status - it only accepts I2C commands for its various operations. This module was tested with version 1.3 of the I2C Motor Driver. For stepper operation, this driver can run in one of two modes - Mode 1, where this driver handles the stepping operation, and Mode 2, where this driver simply sends commands to the Motor Driver, and it handles the stepping operation. Mode2 requires updated (and working) firmware to be loaded onto the device. The default stepper operation mode is Mode1, which is generally more flexible and is supported on all firmware revisions.", - "Aliases": ["Grove - I2C Motor Driver"], - "Categories": ["motor"], - "Connections": ["i2c"], - "Project Type": ["prototyping", "robotics"], - "Manufacturers": ["Seeed"], - "Kits": ["robok"], - "Image": "md.jpg", - "Examples": { - "Java": ["GroveMDSample.java"], - "Python": ["grovemd-stepper.py", "grovemd.py"], - "Node.js": ["md-stepper.js", "md.js"], - "C++": ["md-stepper.cxx", "md.cxx"], - "C": ["md-stepper.c", "md.c"] - }, - "Specifications": { - "Vsource": { - "unit": "V", - "min": 3.3, - "max": 5.0 - }, - "Supply Current": { - "unit": "A", - "min" : 0.5, - "max" : 4 - }, - "Operating Temperature": { - "unit": "°C", - "min": -40, - "max": 85 - } - }, - "Platforms": { - "Intel Edison": { - "Notes": ["Requires Grove Shield"] - }, - "Arduino 101": { - "Notes": ["Requires Grove Shield"] - } - }, - "Urls": { - "Product Pages": ["https://www.seeedstudio.com/Grove-I2C-Motor-Driver-p-907.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-I2C_Motor_Driver_V1.3/"] - } - } - } +{ + "Library": "md", + "Description": "I2C Motor Driver library", + "Sensor Class": { + "MD": { + "Name": "Grove I2C Motor Driver", + "Description": "This class implements support for the I2C Motor Driver. This device can support a single 4-wire stepper motor, or two 2-wire DC motors. The device contains an Atmel* ATmega8L microcontroller that manages an L298N H-bridge driver chip. This device supports an I2C bus speed of 100Khz only. The module does not provide any telemetry or status - it only accepts I2C commands for its various operations. This module was tested with version 1.3 of the I2C Motor Driver. For stepper operation, this driver can run in one of two modes - Mode 1, where this driver handles the stepping operation, and Mode 2, where this driver simply sends commands to the Motor Driver, and it handles the stepping operation. Mode2 requires updated (and working) firmware to be loaded onto the device. The default stepper operation mode is Mode1, which is generally more flexible and is supported on all firmware revisions.", + "Aliases": ["Grove - I2C Motor Driver"], + "Categories": ["motor"], + "Connections": ["i2c"], + "Project Type": ["prototyping", "robotics"], + "Manufacturers": ["Seeed"], + "Kits": ["robok"], + "Image": "md.jpg", + "Examples": { + "Java": ["GroveMD_Example.java"], + "Python": ["grovemd-stepper.py", "grovemd.py"], + "Node.js": ["md-stepper.js", "md.js"], + "C++": ["md-stepper.cxx", "md.cxx"], + "C": ["md-stepper.c", "md.c"] + }, + "Specifications": { + "Vsource": { + "unit": "V", + "min": 3.3, + "max": 5.0 + }, + "Supply Current": { + "unit": "A", + "min" : 0.5, + "max" : 4 + }, + "Operating Temperature": { + "unit": "°C", + "min": -40, + "max": 85 + } + }, + "Platforms": { + "Intel Edison": { + "Notes": ["Requires Grove Shield"] + }, + "Arduino 101": { + "Notes": ["Requires Grove Shield"] + } + }, + "Urls": { + "Product Pages": ["https://www.seeedstudio.com/Grove-I2C-Motor-Driver-p-907.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-I2C_Motor_Driver_V1.3/"] + } + } + } } \ No newline at end of file diff --git a/src/mhz16/mhz16.json b/src/mhz16/mhz16.json index c5c3ae54..ee99473c 100644 --- a/src/mhz16/mhz16.json +++ b/src/mhz16/mhz16.json @@ -12,7 +12,7 @@ "Manufacturers": ["Seeed", "Zhengzhou Winsen Electronics Technology"], "Image": "mhz16.jpg", "Examples": { - "Java" : ["MHZ16Sample.java"], + "Java" : ["MHZ16_Example.java"], "Python": ["mhz16.py"], "Node.js": ["mhz16.js"], "C++": ["mhz16.cxx"] diff --git a/src/mic/mic.json b/src/mic/mic.json index 72c34cb5..51aa7219 100644 --- a/src/mic/mic.json +++ b/src/mic/mic.json @@ -16,7 +16,7 @@ "Image": "mic.jpg", "Examples": { - "Java": ["MicrophoneSample.java"], + "Java": ["Microphone_Example.java"], "Python": ["mic.py"], "Node.js": ["mic.js"], "C++": ["mic.cxx"] diff --git a/src/mma7455/mma7455.json b/src/mma7455/mma7455.json index 9cab5ced..7b64a61e 100644 --- a/src/mma7455/mma7455.json +++ b/src/mma7455/mma7455.json @@ -12,7 +12,7 @@ "Manufacturers": ["NXP", "Freescale"], "Image": "mma7455.jpg", "Examples": { - "Java": ["MMA7455Sample.java"], + "Java": ["MMA7455_Example.java"], "C++": ["mma7455.cxx"] }, "Specifications": { diff --git a/src/mma7660/mma7660.json b/src/mma7660/mma7660.json index 969aadd0..0bfb77c9 100644 --- a/src/mma7660/mma7660.json +++ b/src/mma7660/mma7660.json @@ -12,7 +12,7 @@ "Manufacturers": ["Seeed", "NXP"], "Image": "mma7660.jpg", "Examples": { - "Java": ["MMA7660Sample.java"], + "Java": ["MMA7660_Example.java"], "Python": ["mma7660.py"], "Node.js": ["mma7660.js"], "C++": ["mma7660.cxx"], diff --git a/src/moisture/moisture.json b/src/moisture/moisture.json index 99ca531c..0bf39939 100644 --- a/src/moisture/moisture.json +++ b/src/moisture/moisture.json @@ -13,7 +13,7 @@ "Kits": ["eak", "hak"], "Image": "moisture.jpg", "Examples": { - "Java": ["MoistureSample.java"], + "Java": ["Moisture_Example.java"], "Python": ["moisture.py"], "Node.js": ["moisture.js"], "C++": ["moisture.cxx"], diff --git a/src/mpl3115a2/mpl3115a2.json b/src/mpl3115a2/mpl3115a2.json index 8c46eaf8..f52dd62c 100644 --- a/src/mpl3115a2/mpl3115a2.json +++ b/src/mpl3115a2/mpl3115a2.json @@ -12,7 +12,7 @@ "Manufacturers": ["NXP", "Adafruit"], "Image": "mpl3115a2.jpg", "Examples": { - "Java": ["MPL3115A2Sample.java"], + "Java": ["MPL3115A2_Example.java"], "C++": ["mpl3115a2.cxx"] }, "Specifications": { diff --git a/src/mpr121/mpr121.json b/src/mpr121/mpr121.json index 2e219d34..865e88ea 100644 --- a/src/mpr121/mpr121.json +++ b/src/mpr121/mpr121.json @@ -13,7 +13,7 @@ "Kits": ["tsk"], "Image": "mpr121.jpg", "Examples": { - "Java": ["MPR121Sample.java"], + "Java": ["MPR121_Example.java"], "Python": ["mpr121.py"], "Node.js": ["mpr121.js"], "C++": ["mpr121.cxx"], diff --git a/src/mpu9150/mpu9150.json b/src/mpu9150/mpu9150.json index f6da4cbc..78f0638b 100644 --- a/src/mpu9150/mpu9150.json +++ b/src/mpu9150/mpu9150.json @@ -1,59 +1,59 @@ -{ - "Library": "mpu9150", - "Description": "InvenSense/Seeed MPU9150 accelerometer library", - "Sensor Class": { - "MPU9150": { - "Name": "InvenSense/Seeed MPU9150 accelerometer", - "Description": "This is the UPM Module for the InvenSense/Seeed MPU9150 accelerometer. The MPU-9150 is the world's first integrated 9-axis motion tracking device designed for the low power, low cost, and high performance requirements of consumer electronics equipment including smartphones, tablets and wearable sensors. MPU-9150 features three 16-bit ADC for digitizing the gyroscope outputs and three 16-bit ADCs for digitizing the accelerometer outputs and three 13-bit ADCs for digitizing the magnetometer outputs", - "Aliases": ["mpu9150", "Grove - IMU 9DOF v1.0"], - "Categories": ["accelerometer", "gyroscope", "compass"], - "Connections": ["i2c", "gpio"], - "Project Type": ["prototyping", "industrial", "commercial"], - "Manufacturers": ["InvenSense", "Seeed"], - "Image": "mpu9150.jpg", - "Examples": { - "Java": ["MPU9150Sample.java"], - "Python": ["mpu9150.py"], - "Node.js": ["mpu9150.js"], - "C++": ["mpu9150-ak8975.cxx", "mpu9150-mpu60x0.cxx", "mpu9150-mpu9250.cxx", "mpu9150.cxx"] - }, - "Specifications": { - "Vsource": { - "unit": "V", - "typ" : 5 - }, - "Operating Temperature": { - "unit": "°C", - "min": -40, - "max": 85 - }, - "Communication Speed": { - "unit": "kHz", - "typ" : 400 - }, - "Gyroscope Range": { - "unit": "°/sec", - "min": "-/+250", - "max": "-/+2000" - }, - "Accelerometer Range": { - "unit": "g", - "min": "-/+2", - "max": "-/+16" - } - }, - "Platforms": { - "Intel Edison": { - "Notes": ["Might need Grove base shield"] - }, - "Arduino 101": { - "Notes": ["Might need Grove base shield"] - } - }, - "Urls": { - "Product Pages": ["http://wiki.seeedstudio.com/wiki/Grove_-_IMU_9DOF_v1.0"], - "Datasheets": ["http://wiki.seeedstudio.com/images/5/51/MPU-9150.pdf"] - } - } - } -} +{ + "Library": "mpu9150", + "Description": "InvenSense/Seeed MPU9150 accelerometer library", + "Sensor Class": { + "MPU9150": { + "Name": "InvenSense/Seeed MPU9150 accelerometer", + "Description": "This is the UPM Module for the InvenSense/Seeed MPU9150 accelerometer. The MPU-9150 is the world's first integrated 9-axis motion tracking device designed for the low power, low cost, and high performance requirements of consumer electronics equipment including smartphones, tablets and wearable sensors. MPU-9150 features three 16-bit ADC for digitizing the gyroscope outputs and three 16-bit ADCs for digitizing the accelerometer outputs and three 13-bit ADCs for digitizing the magnetometer outputs", + "Aliases": ["mpu9150", "Grove - IMU 9DOF v1.0"], + "Categories": ["accelerometer", "gyroscope", "compass"], + "Connections": ["i2c", "gpio"], + "Project Type": ["prototyping", "industrial", "commercial"], + "Manufacturers": ["InvenSense", "Seeed"], + "Image": "mpu9150.jpg", + "Examples": { + "Java": ["MPU9150_Example.java"], + "Python": ["mpu9150.py"], + "Node.js": ["mpu9150.js"], + "C++": ["mpu9150-ak8975.cxx", "mpu9150-mpu60x0.cxx", "mpu9150-mpu9250.cxx", "mpu9150.cxx"] + }, + "Specifications": { + "Vsource": { + "unit": "V", + "typ" : 5 + }, + "Operating Temperature": { + "unit": "°C", + "min": -40, + "max": 85 + }, + "Communication Speed": { + "unit": "kHz", + "typ" : 400 + }, + "Gyroscope Range": { + "unit": "°/sec", + "min": "-/+250", + "max": "-/+2000" + }, + "Accelerometer Range": { + "unit": "g", + "min": "-/+2", + "max": "-/+16" + } + }, + "Platforms": { + "Intel Edison": { + "Notes": ["Might need Grove base shield"] + }, + "Arduino 101": { + "Notes": ["Might need Grove base shield"] + } + }, + "Urls": { + "Product Pages": ["http://wiki.seeedstudio.com/wiki/Grove_-_IMU_9DOF_v1.0"], + "Datasheets": ["http://wiki.seeedstudio.com/images/5/51/MPU-9150.pdf"] + } + } + } +} diff --git a/src/mq303a/mq303a.json b/src/mq303a/mq303a.json index a76d8473..e5bb1eee 100644 --- a/src/mq303a/mq303a.json +++ b/src/mq303a/mq303a.json @@ -13,7 +13,7 @@ "Kits": ["tsk"], "Image": "mq303a.jpg", "Examples": { - "Java": ["MQ303ASample.java"], + "Java": ["MQ303A_Example.java"], "Python": ["mq303a.py"], "Node.js": ["mq303a.js"], "C++": ["mq303a.cxx"], diff --git a/src/my9221/my9221.json b/src/my9221/my9221.json index 19d1e6d0..a76670dd 100644 --- a/src/my9221/my9221.json +++ b/src/my9221/my9221.json @@ -60,7 +60,7 @@ "Kits": ["eak"], "Image": "my9221.jpg", "Examples": { - "Java": ["GroveLEDBar.java"], + "Java": ["GroveLEDBar_Example.java"], "Python": ["groveledbar.py"], "Node.js": ["groveledbar.js"], "C++": ["my9221-groveledbar.cxx"] diff --git a/src/nrf24l01/nrf24l01.json b/src/nrf24l01/nrf24l01.json index 8c7b38e2..229d3858 100644 --- a/src/nrf24l01/nrf24l01.json +++ b/src/nrf24l01/nrf24l01.json @@ -12,7 +12,7 @@ "Manufacturers": ["Nordic Semiconductor", "SparkFun"], "Image": "nrf24l01.jpg", "Examples": { - "Java": ["NRF24L01_receiverSample.java", "NRF24L01_transmitterSample.java"], + "Java": ["NRF24L01_receiver_Example.java", "NRF24L01_transmitter_Example.java"], "C++": ["nrf24l01-broadcast.cxx", "nrf24l01-receiver.cxx", "nrf24l01-transmitter.cxx"] }, "Specifications": { diff --git a/src/nunchuck/nunchuck.json b/src/nunchuck/nunchuck.json index bfe8b077..f93c285c 100644 --- a/src/nunchuck/nunchuck.json +++ b/src/nunchuck/nunchuck.json @@ -13,7 +13,7 @@ "Kits": ["robok"], "Image": "nunchuck.jpg", "Examples": { - "Java": ["NUNCHUCKSample.java"], + "Java": ["NUNCHUCK_Example.java"], "Python": ["nunchuck.py"], "Node.js": ["nunchuck.js"], "C++": ["nunchuck.cxx"], diff --git a/src/o2/o2.json b/src/o2/o2.json index 47ad2fac..9a44c5cb 100644 --- a/src/o2/o2.json +++ b/src/o2/o2.json @@ -1,39 +1,39 @@ -{ - "Library": "o2", - "Description": "O2 Oxygen Gas Sensor Library", - "Sensor Class": - { - "O2": - { - "Name": "Oxygen (O2) Concentration Sensor", - "Description": "The Grove O2 Oxygen Gas sensor measures the oxygen concentration in the air.", - "Aliases": ["o2"], - "Categories": ["gas", "oxygen"], - "Connections": ["analog"], - "Project Type": ["environmental", "prototyping"], - "Manufacturers": ["seeed"], - "Kits": [], - "Image": "o2.jpg", - "Examples": - { - "Java": ["O2Example.java"], - "Python": ["o2.py"], - "Node.js": ["o2.js"], - "C++": ["o2.cxx"], - "C": ["o2.c"] - }, - "Specifications": - { - "Measurement Range": {"unit": "% Vol", "low": 0, "high": 25}, - "Sensitivity": {"unit": "mA (in air)", "low": 0.1, "high": 0.3}, - "Operating Temperature": {"unit": "degC", "low": -20, "high": 50} - }, - "Urls" : - { - "Product Pages": ["https://www.seeedstudio.com/grove-gas-sensoro2-p-1541.html"], - "Datasheets": ["http://wiki.seeed.cc/Grove-Gas_Sensor-O2/"], - "Schematics": ["https://github.com/SeeedDocument/Grove_Gas_Sensor_O2/raw/master/resources/Schematics_O2.zip"] - } - } - } -} +{ + "Library": "o2", + "Description": "O2 Oxygen Gas Sensor Library", + "Sensor Class": + { + "O2": + { + "Name": "Oxygen (O2) Concentration Sensor", + "Description": "The Grove O2 Oxygen Gas sensor measures the oxygen concentration in the air.", + "Aliases": ["o2"], + "Categories": ["gas", "oxygen"], + "Connections": ["analog"], + "Project Type": ["environmental", "prototyping"], + "Manufacturers": ["seeed"], + "Kits": [], + "Image": "o2.jpg", + "Examples": + { + "Java": ["O2_Example.java"], + "Python": ["o2.py"], + "Node.js": ["o2.js"], + "C++": ["o2.cxx"], + "C": ["o2.c"] + }, + "Specifications": + { + "Measurement Range": {"unit": "% Vol", "low": 0, "high": 25}, + "Sensitivity": {"unit": "mA (in air)", "low": 0.1, "high": 0.3}, + "Operating Temperature": {"unit": "degC", "low": -20, "high": 50} + }, + "Urls" : + { + "Product Pages": ["https://www.seeedstudio.com/grove-gas-sensoro2-p-1541.html"], + "Datasheets": ["http://wiki.seeed.cc/Grove-Gas_Sensor-O2/"], + "Schematics": ["https://github.com/SeeedDocument/Grove_Gas_Sensor_O2/raw/master/resources/Schematics_O2.zip"] + } + } + } +} diff --git a/src/otp538u/otp538u.json b/src/otp538u/otp538u.json index b78bb7d5..0b00b0d6 100644 --- a/src/otp538u/otp538u.json +++ b/src/otp538u/otp538u.json @@ -13,7 +13,7 @@ "Kits": ["hak"], "Image": "otp538u.jpg", "Examples": { - "Java": ["OTP538USample.java"], + "Java": ["OTP538U_Example.java"], "Python": ["otp538u.py"], "Node.js": ["otp538u.js"], "C++": ["otp538u.cxx"], diff --git a/src/p9813/p9813.json b/src/p9813/p9813.json index cfa1ddf5..42caa07b 100644 --- a/src/p9813/p9813.json +++ b/src/p9813/p9813.json @@ -12,7 +12,7 @@ "Manufacturers": ["Adafruit", "Shiji Lighting"], "Image": "p9813.jpg", "Examples": { - "Java": ["P9813Sample.java"], + "Java": ["P9813_Example.java"], "Python": ["p9813.py"], "Node.js": ["p9813.js"], "C++": ["p9813.cxx"] diff --git a/src/ppd42ns/ppd42ns.json b/src/ppd42ns/ppd42ns.json index 9ad7639b..76b34fd6 100644 --- a/src/ppd42ns/ppd42ns.json +++ b/src/ppd42ns/ppd42ns.json @@ -13,7 +13,7 @@ "Kits": ["eak"], "Image": "ppd42ns.jpg", "Examples": { - "Java": ["PPD42NSSample.java"], + "Java": ["PPD42NS_Example.java"], "Python": ["ppd42ns.py"], "Node.js": ["ppd42ns.js"], "C++": ["ppd42ns.cxx"], diff --git a/src/pulsensor/pulsensor.json b/src/pulsensor/pulsensor.json index f612e9b3..6a418f60 100644 --- a/src/pulsensor/pulsensor.json +++ b/src/pulsensor/pulsensor.json @@ -12,7 +12,7 @@ "Manufacturers": ["Adafruit"], "Image": "pulsensor.jpg", "Examples": { - "Java": ["PulsensorSample.java"], + "Java": ["Pulsensor_Example.java"], "C++": ["pulsensor.cxx"] }, "Specifications": { diff --git a/src/relay/relay.json b/src/relay/relay.json index 3511d121..24d12f7d 100644 --- a/src/relay/relay.json +++ b/src/relay/relay.json @@ -13,7 +13,7 @@ "Kits": ["gsk", "eak", "hak"], "Image": "relay.jpg", "Examples": { - "Java": ["RelaySample.java"], + "Java": ["Relay_Example.java"], "Python": ["relay.py"], "Node.js": ["relay.js"], "C++": ["relay.cxx"] diff --git a/src/rfr359f/rfr359f.json b/src/rfr359f/rfr359f.json index 5163c8fd..746a8572 100644 --- a/src/rfr359f/rfr359f.json +++ b/src/rfr359f/rfr359f.json @@ -13,7 +13,7 @@ "Kits": ["robot", "tsk"], "Image": "rfr359f.jpg", "Examples": { - "Java": ["RFR359FSample.java"], + "Java": ["RFR359F_Example.java"], "Python": ["rfr359f.py"], "Node.js": ["rfr359f.js"], "C++": ["rfr359f.cxx"] diff --git a/src/rotary/rotary.json b/src/rotary/rotary.json index 9e8c1cf5..9d204065 100644 --- a/src/rotary/rotary.json +++ b/src/rotary/rotary.json @@ -13,7 +13,7 @@ "Kits": ["gsk"], "Image": "rotary.jpg", "Examples": { - "Java": ["RotarySample.java"], + "Java": ["Rotary_Example.java"], "Python": ["rotary.py"], "Node.js": ["rotary.js"], "C++": ["rotary.cxx"] diff --git a/src/rotaryencoder/rotaryencoder.json b/src/rotaryencoder/rotaryencoder.json index 44a68cb3..0dc6ab06 100644 --- a/src/rotaryencoder/rotaryencoder.json +++ b/src/rotaryencoder/rotaryencoder.json @@ -13,7 +13,7 @@ "Kits": ["hak"], "Image": "rotaryencoder.jpg", "Examples": { - "Java": ["RotaryEncoderSample.java"], + "Java": ["RotaryEncoder_Example.java"], "Python": ["rotaryencoder.py"], "Node.js": ["rotaryencoder.js"], "C++": ["rotaryencoder.cxx"], diff --git a/src/rpr220/rpr220.json b/src/rpr220/rpr220.json index 36e51f39..e950643f 100644 --- a/src/rpr220/rpr220.json +++ b/src/rpr220/rpr220.json @@ -13,7 +13,7 @@ "Kits": ["tsk", "hak"], "Image": "rpr220.jpg", "Examples": { - "Java": ["RPR220Sample.java", "RPR220_intrSample.java"], + "Java": ["RPR220_Example.java", "RPR220_intr_Example.java"], "Python": ["rpr220.py"], "Node.js": ["rpr220.js"], "C++": ["rpr220-intr.cxx", "rpr220.cxx"], diff --git a/src/scam/scam.json b/src/scam/scam.json index 8f9a3b79..808dd5ae 100644 --- a/src/scam/scam.json +++ b/src/scam/scam.json @@ -12,7 +12,7 @@ "Manufacturers": ["Seeed"], "Image": "scam.jpg", "Examples": { - "Java": ["SCAMSample.java"], + "Java": ["SCAM_Example.java"], "Python": ["scam.py"], "Node.js": ["scam.js"], "C++": ["scam.cxx"] diff --git a/src/sensortemplate/sensortemplate.json b/src/sensortemplate/sensortemplate.json index 477c137f..6d3478c6 100644 --- a/src/sensortemplate/sensortemplate.json +++ b/src/sensortemplate/sensortemplate.json @@ -99,7 +99,7 @@ "required": false }, "Java": [ - "SensorTemplateSample.java" + "SensorTemplate_Example_Example_Example.java" ], "// Python": { "comment": "One or more Python examples.", diff --git a/src/servo/servo.json b/src/servo/servo.json index 57b67416..f2d8cfd9 100644 --- a/src/servo/servo.json +++ b/src/servo/servo.json @@ -13,7 +13,7 @@ "Kits": ["gsk"], "Image": "es08a.jpg", "Examples": { - "Java": ["ES08ASample.java"], + "Java": ["ES08A_Example.java"], "Python": ["es08a.py"], "Node.js": ["es08a.js"], "C++": ["servo-es08a.cxx"] @@ -99,7 +99,7 @@ "Manufacturers": ["EMAX"], "Image": "es08a.jpg", "Examples": { - "Java": ["ES08ASample.java"], + "Java": ["ES08A_Example.java"], "Python": ["es08a.py", "es08a.py"], "Node.js": ["es08a.js", "es08a.js"], "C++": ["servo-es08a.cxx", "servo-es08a.cxx"] diff --git a/src/si1132/si1132.json b/src/si1132/si1132.json index 6a995d47..4d454787 100644 --- a/src/si1132/si1132.json +++ b/src/si1132/si1132.json @@ -1,50 +1,50 @@ -{ - "Library": "si1132", - "Description": "Silicon Labs Si1132 UV and visible light sensor library", - "Sensor Class": { - "SI1132": { - "Name": "API for the Silicon Labs Si1132 UV and Visible Light Sensor", - "Description": "This is the UPM Module for the Silicon Labs Si1132 UV and Visible Light Sensor. The Silicon Labs Si1132 is a low-power, ultraviolet (UV) index, and ambient light sensor with I2C digital interface and programmable-event interrupt output.", - "Aliases": ["si1132"], - "Categories": ["light"], - "Connections": ["i2c"], - "Project Type": ["industrial", "commercial"], - "Manufacturers": ["Silicon Labs"], - "Examples": { - "C++": ["si1132.cxx"] - }, - "Specifications": { - "Vsource": { - "unit": "V", - "min": 1.71, - "max": 3.6 - }, - "Supply Current": { - "Standby Mode": { - "unit": "uA", - "min": "0.15", - "max": "1.4" - }, - "Actively Measuring": { - "unit": "mA", - "min": "4.3", - "max": "5.5" - } - }, - "Operating Temperature": { - "unit": "°C", - "min": -40, - "max": 85 - }, - "Measurement Time": { - "unit": "us", - "typ": 285 - } - }, - "Urls": { - "Product Pages": ["https://www.silabs.com/products/sensors/optical/si1132"], - "Datasheets": ["https://www.silabs.com/documents/public/data-sheets/Si1132.pdf"] - } - } - } -} +{ + "Library": "si1132", + "Description": "Silicon Labs Si1132 UV and visible light sensor library", + "Sensor Class": { + "SI1132": { + "Name": "API for the Silicon Labs Si1132 UV and Visible Light Sensor", + "Description": "This is the UPM Module for the Silicon Labs Si1132 UV and Visible Light Sensor. The Silicon Labs Si1132 is a low-power, ultraviolet (UV) index, and ambient light sensor with I2C digital interface and programmable-event interrupt output.", + "Aliases": ["si1132"], + "Categories": ["light"], + "Connections": ["i2c"], + "Project Type": ["industrial", "commercial"], + "Manufacturers": ["Silicon Labs"], + "Examples": { + "C++": ["si1132.cxx"] + }, + "Specifications": { + "Vsource": { + "unit": "V", + "min": 1.71, + "max": 3.6 + }, + "Supply Current": { + "Standby Mode": { + "unit": "uA", + "min": "0.15", + "max": "1.4" + }, + "Actively Measuring": { + "unit": "mA", + "min": "4.3", + "max": "5.5" + } + }, + "Operating Temperature": { + "unit": "°C", + "min": -40, + "max": 85 + }, + "Measurement Time": { + "unit": "us", + "typ": 285 + } + }, + "Urls": { + "Product Pages": ["https://www.silabs.com/products/sensors/optical/si1132"], + "Datasheets": ["https://www.silabs.com/documents/public/data-sheets/Si1132.pdf"] + } + } + } +} diff --git a/src/slide/slide.json b/src/slide/slide.json index 51fe1dca..f93deab9 100644 --- a/src/slide/slide.json +++ b/src/slide/slide.json @@ -12,7 +12,7 @@ "Manufacturers": ["Seeed"], "Image": "slide.jpg", "Examples": { - "Java" : ["SlideSample.java"], + "Java" : ["Slide_Example.java"], "Python": ["slide.py"], "Node.js": ["slide.js"], "C++": ["slide.cxx"], diff --git a/src/sm130/sm130.json b/src/sm130/sm130.json index 24d4023d..d98d0466 100644 --- a/src/sm130/sm130.json +++ b/src/sm130/sm130.json @@ -12,7 +12,7 @@ "Manufacturers": ["SonMicro", "RFID Module - SM130 MIFARE (13.56 MHz)"], "Image": "sm130.jpg", "Examples": { - "Java": ["SM130Example.java"], + "Java": ["SM130_Example.java"], "Python": ["sm130.py"], "Node.js": ["sm130.js"], "C++": ["sm130.cxx"] diff --git a/src/speaker/speaker.json b/src/speaker/speaker.json index 19e20b2e..914e7061 100644 --- a/src/speaker/speaker.json +++ b/src/speaker/speaker.json @@ -13,7 +13,7 @@ "Kits": ["hak"], "Image": "speaker.jpg", "Examples": { - "Java": ["SpeakerPWMSample.java", "SpeakerSample.java"], + "Java": ["SpeakerPWM_Example.java", "Speaker_Example.java"], "Python": ["speaker_pwm.py", "speaker.py"], "Node.js": ["speaker_pwm.js", "speaker.js"], "C++": ["speaker-pwm.cxx", "speaker.cxx"], diff --git a/src/st7735/st7735.json b/src/st7735/st7735.json index 3d79955f..a0be5413 100644 --- a/src/st7735/st7735.json +++ b/src/st7735/st7735.json @@ -12,7 +12,7 @@ "Manufacturers": ["Adafruit", "Truly Semiconductors", "Sitronix"], "Image": "st7735.jpg", "Examples": { - "Java": ["ST7735Sample.java"], + "Java": ["ST7735_Example.java"], "Node.js": ["st7735.js"], "C++": ["st7735.cxx"] }, diff --git a/src/stepmotor/stepmotor.json b/src/stepmotor/stepmotor.json index 5d2aa715..07a7022d 100644 --- a/src/stepmotor/stepmotor.json +++ b/src/stepmotor/stepmotor.json @@ -12,7 +12,7 @@ "Manufacturers": ["Allegro", "SparkFun", "generic"], "Image": "stepmotor.jpg", "Examples": { - "Java": ["StepMotorSample.java"], + "Java": ["StepMotor_Example.java"], "Python": ["stepmotor.py"], "Node.js": ["stepmotor.js"], "C++": ["stepmotor.cxx"] diff --git a/src/temperature/temperature.json b/src/temperature/temperature.json index a87a7da1..68269346 100644 --- a/src/temperature/temperature.json +++ b/src/temperature/temperature.json @@ -16,7 +16,7 @@ "Image": "temp.jpg", "Examples": { - "Java": ["TemperatureSample.java"], + "Java": ["Temperature_Example.java"], "Python": ["temperature.py"], "Node.js": ["temperature.js"], "C++": ["temperature.cxx"] diff --git a/src/th02/th02.json b/src/th02/th02.json index 2dce3d50..97c399e0 100644 --- a/src/th02/th02.json +++ b/src/th02/th02.json @@ -12,7 +12,7 @@ "Manufacturers": ["Seeed"], "Image": "th02.jpg", "Examples": { - "Java": ["Th02Example.java"], + "Java": ["Th02_Example.java"], "C++": ["th02.cxx"] }, "Specifications": { diff --git a/src/tm1637/tm1637.json b/src/tm1637/tm1637.json index 957d5c2b..10e0c921 100644 --- a/src/tm1637/tm1637.json +++ b/src/tm1637/tm1637.json @@ -12,7 +12,7 @@ "Manufacturers": ["Seeed", "Titan Micro Electronics"], "Image": "tm1637.jpeg", "Examples": { - "Java": ["TM1637Sample.java"], + "Java": ["TM1637_Example.java"], "Python": ["tm1637.py"], "Node.js": ["tm1637.js"], "C++": ["tm1637.cxx"] diff --git a/src/tsl2561/tsl2561.json b/src/tsl2561/tsl2561.json index de8a08f5..e8b19b67 100644 --- a/src/tsl2561/tsl2561.json +++ b/src/tsl2561/tsl2561.json @@ -13,7 +13,7 @@ "Kits": ["eak"], "Image": "tsl2561.jpg", "Examples": { - "Java": ["TSL2561Sample.java", "Tsl2561.java"], + "Java": ["TSL2561_Example.java", "Tsl2561.java"], "Python": ["tsl2561.py"], "Node.js": ["tsl2561.js"], "C++": ["tsl2561.cxx"], diff --git a/src/ttp223/ttp223.json b/src/ttp223/ttp223.json index e538ac1b..6b89b8af 100644 --- a/src/ttp223/ttp223.json +++ b/src/ttp223/ttp223.json @@ -12,7 +12,7 @@ "Manufacturers": ["Seeed"], "Image": "ttp223.jpg", "Examples": { - "Java": ["TTP223Sample.java"], + "Java": ["TTP223_Example.java"], "Python": ["ttp223.py"], "Node.js": ["ttp223.js"], "C++": ["ttp223.cxx"], diff --git a/src/uln200xa/uln200xa.json b/src/uln200xa/uln200xa.json index 80fd91db..5ec39265 100644 --- a/src/uln200xa/uln200xa.json +++ b/src/uln200xa/uln200xa.json @@ -12,7 +12,7 @@ "Manufacturers": ["Seeed"], "Image": "uln200xa.jpg", "Examples": { - "Java": ["ULN200XASample.java"], + "Java": ["ULN200XA_Example.java"], "Python": ["uln200xa.py"], "Node.js": ["uln200xa.js"], "C++": ["uln200xa.cxx"], diff --git a/src/vdiv/vdiv.json b/src/vdiv/vdiv.json index 6abb7e91..945e0c53 100644 --- a/src/vdiv/vdiv.json +++ b/src/vdiv/vdiv.json @@ -13,7 +13,7 @@ "Kits": ["robok"], "Image": "vdiv.jpg", "Examples": { - "Java": ["VDivSample.java"], + "Java": ["VDiv_Example.java"], "Python": ["vdiv.py"], "Node.js": ["vdiv.js"], "C++": ["vdiv.cxx"], diff --git a/src/veml6070/veml6070.json b/src/veml6070/veml6070.json index c29b2f81..24fc7706 100644 --- a/src/veml6070/veml6070.json +++ b/src/veml6070/veml6070.json @@ -11,7 +11,7 @@ "Project Type": ["prototyping", "commercial"], "Manufacturers": ["Vishay", "Adafruit"], "Examples": { - "Java": ["VEML6070Sample.java"], + "Java": ["VEML6070_Example.java"], "Python": ["veml6070.py"], "Node.js": ["veml6070.js"], "C++": ["veml6070.cxx"], diff --git a/src/water/water.json b/src/water/water.json index b0befdec..2827ce4d 100644 --- a/src/water/water.json +++ b/src/water/water.json @@ -13,7 +13,7 @@ "Kits": ["eak"], "Image": "water.jpg", "Examples": { - "Java": ["WaterSample.java"], + "Java": ["Water_Example.java"], "Python": ["water.py"], "Node.js": ["water.js"], "C++": ["water.cxx"], diff --git a/src/waterlevel/waterlevel.json b/src/waterlevel/waterlevel.json index d9486186..6c84d333 100644 --- a/src/waterlevel/waterlevel.json +++ b/src/waterlevel/waterlevel.json @@ -12,7 +12,7 @@ "Manufacturers": ["Seeed"], "Image": "waterlevel.jpg", "Examples": { - "Java": ["WaterLevelSensor.java"], + "Java": ["WaterLevelSensor_Example.java"], "Python": ["waterlevel.py"], "Node.js": ["waterlevel.js"], "C++": ["waterlevel.cxx"] diff --git a/src/wfs/wfs.json b/src/wfs/wfs.json index b6ca6814..8100696e 100644 --- a/src/wfs/wfs.json +++ b/src/wfs/wfs.json @@ -13,7 +13,7 @@ "Kits": ["eak"], "Image": "wfs.jpg", "Examples": { - "Java": ["WFSSample.java"], + "Java": ["WFS_Example.java"], "Python": ["wfs.py"], "Node.js": ["wfs.js"], "C++": ["wfs.cxx"], diff --git a/src/wheelencoder/wheelencoder.json b/src/wheelencoder/wheelencoder.json index 840849ff..6a887f16 100644 --- a/src/wheelencoder/wheelencoder.json +++ b/src/wheelencoder/wheelencoder.json @@ -1,53 +1,53 @@ -{ - "Library": "wheelencoder", - "Description": "FRobot Wheel Encoder Library", - "Sensor Class": { - "WheelEncoder": { - "Name": "API for the DFRobot Wheel Encoder", - "Description": "This is the UPM Module for the DFRobot Wheel Encoder. This sensor was developed for the DFRobot Wheel Encoder, though it could be used for any counting time-based task. When you instantiate a class of this type, the gpio pin specified is connected to an interrupt. Whenever a low to high transition occurs on the gpio pin, the internal counter is incremented by one. This class also includes a millisecond counter, so that you can correlate the number of counts to a time period for calculating an RPM or other value as needed.", - "Aliases": ["wheelencoder", "Gravity:TT Motor Encoders Kit"], - "Categories": ["other"], - "Connections": ["gpio"], - "Project Type": ["prototyping", "robotics"], - "Manufacturers": ["DFRobot"], - "Image": "wheelencoder.jpg", - "Examples": { - "Python": ["wheelencoder.py"], - "Node.js": ["wheelencoder.js"], - "C++": ["wheelencoder.cxx"] - }, - "Specifications": { - "Vsource": { - "unit": "V", - "max": 5.0 - }, - "Supply Current": { - "unit": "mA", - "max" : 20 - }, - "Operating Temperature": { - "unit": "°C", - "min": -40, - "max": 85 - }, - "Resolution": { - "unit": "PPR", - "resolution": 20 - } - }, - "Platforms": { - "Intel Edison": { - "Notes": ["Might need the Gravity: IO Expansion Shield"] - }, - "Arduino 101": { - "Notes": ["Might need the Gravity: IO Expansion Shield"] - } - }, - "Urls": { - "Product Pages": ["https://www.dfrobot.com/product-98.html"], - "Datasheets": ["https://www.dfrobot.com/wiki/index.php/Wheel_Encoders_for_DFRobot_3PA_and_4WD_Rovers_(SKU:SEN0038)"], - "Schematics": ["http://www.dfrobot.com/wiki/images/b/b9/FIT0029_Encoder_Schematics.png"] - } - } - } -} +{ + "Library": "wheelencoder", + "Description": "FRobot Wheel Encoder Library", + "Sensor Class": { + "WheelEncoder": { + "Name": "API for the DFRobot Wheel Encoder", + "Description": "This is the UPM Module for the DFRobot Wheel Encoder. This sensor was developed for the DFRobot Wheel Encoder, though it could be used for any counting time-based task. When you instantiate a class of this type, the gpio pin specified is connected to an interrupt. Whenever a low to high transition occurs on the gpio pin, the internal counter is incremented by one. This class also includes a millisecond counter, so that you can correlate the number of counts to a time period for calculating an RPM or other value as needed.", + "Aliases": ["wheelencoder", "Gravity:TT Motor Encoders Kit"], + "Categories": ["other"], + "Connections": ["gpio"], + "Project Type": ["prototyping", "robotics"], + "Manufacturers": ["DFRobot"], + "Image": "wheelencoder.jpg", + "Examples": { + "Python": ["wheelencoder.py"], + "Node.js": ["wheelencoder.js"], + "C++": ["wheelencoder.cxx"] + }, + "Specifications": { + "Vsource": { + "unit": "V", + "max": 5.0 + }, + "Supply Current": { + "unit": "mA", + "max" : 20 + }, + "Operating Temperature": { + "unit": "°C", + "min": -40, + "max": 85 + }, + "Resolution": { + "unit": "PPR", + "resolution": 20 + } + }, + "Platforms": { + "Intel Edison": { + "Notes": ["Might need the Gravity: IO Expansion Shield"] + }, + "Arduino 101": { + "Notes": ["Might need the Gravity: IO Expansion Shield"] + } + }, + "Urls": { + "Product Pages": ["https://www.dfrobot.com/product-98.html"], + "Datasheets": ["https://www.dfrobot.com/wiki/index.php/Wheel_Encoders_for_DFRobot_3PA_and_4WD_Rovers_(SKU:SEN0038)"], + "Schematics": ["http://www.dfrobot.com/wiki/images/b/b9/FIT0029_Encoder_Schematics.png"] + } + } + } +} diff --git a/src/wt5001/wt5001.json b/src/wt5001/wt5001.json index ea0ecf24..9e074d75 100644 --- a/src/wt5001/wt5001.json +++ b/src/wt5001/wt5001.json @@ -12,7 +12,7 @@ "Manufacturers": ["Seeed"], "Image": "wt5001.jpg", "Examples": { - "Java": ["WT5001Sample.java"], + "Java": ["WT5001_Example.java"], "Python": ["wt5001.py"], "Node.js": ["wt5001.js"], "C++": ["wt5001.cxx"] diff --git a/src/yg1006/yg1006.json b/src/yg1006/yg1006.json index f0ad975e..12487345 100644 --- a/src/yg1006/yg1006.json +++ b/src/yg1006/yg1006.json @@ -13,7 +13,7 @@ "Kits": ["hak"], "Image": "yg1006.jpg", "Examples": { - "Java": ["YG1006Sample.java"], + "Java": ["YG1006_Example.java"], "Python": ["yg1006.py"], "Node.js": ["yg1006.js"], "C++": ["yg1006.cxx"], diff --git a/src/zfm20/zfm20.json b/src/zfm20/zfm20.json index b8c6efb6..6e02808c 100644 --- a/src/zfm20/zfm20.json +++ b/src/zfm20/zfm20.json @@ -12,7 +12,7 @@ "Manufacturers": ["Seeed", "ZhianTec"], "Image": "zfm20.jpg", "Examples": { - "Java": ["ZFM20Sample.java"], + "Java": ["ZFM20_Example.java"], "Python": ["zfm20-register.py", "zfm20.py"], "Node.js": ["zfm20-register.js", "zfm20.js"], "C++": ["zfm20-register.cxx", "zfm20.cxx"]