1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-11 19:29:20 +08:00

293 Commits

Author SHA1 Message Date
Ron Evans
ced203a164
Merge pull request #630 from kml183/add-ccs8110-driver
Add CCS811 I2C Driver
2018-11-07 09:54:24 +01:00
Kevin Lutzer
935d4a826c
build out the ccs811 driver 2018-10-08 23:59:55 -06:00
Ron Evans
8f3b295f51
Merge pull request #616 from brendanstennett/easy_driver
Add SparkFun’s EasyDriver (and BigEasyDriver) Stepper Motor Driver
2018-09-20 20:52:50 +02:00
Brendan Stennett
66b61fab2f Added some missing tests to increase coverage 2018-09-20 14:02:36 -04:00
Daniel Esteban
92d7248641 Simplify code as suggested in #617 2018-09-16 08:19:23 +02:00
Brendan Stennett
20ee7c03d1 Add SparkFun’s EasyDriver (and BigEasyDriver)
Signed-off-by: Brendan Stennett <brendan@thinkdataworks.com>
2018-09-14 06:34:19 -04:00
Ron Evans
d975c8fa9d
Merge pull request #602 from npotts/dev
Added rudiementary support for TH02  Grove Sensor
2018-09-14 08:34:25 +02:00
npotts
192dbcbc4c Adde unit tests for TH02 & Minor improvement
- Added ability to change sample resolution
- Added unit tests for TH02Driver.  The way the functions are written,
it will be hard to get a fully working .Sample() coverage with my
limited understanding of gobot's testing API.  The chip is rather needy,
and each sample requires multiple read and write steps, so getting both
read and write for 2 independant measurements it a little over my head
without some more code viewing.

Id rather get this checked in and think of a better way to do this.
Otherwise, this does test the functionality

Signed-off-by: npotts <npotts@users.noreply.github.com>
2018-09-13 21:36:02 -06:00
Ron Evans
3f65f1df37 grovepi: add mutex to control transactionality of the device communication
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-09-06 23:20:35 +02:00
Ron Evans
6d38c67cff
Merge pull request #606 from ulisesflynn/ssd1306
add 128x32 and 96x16 sizes to the i2c ssd1306 driver
2018-09-05 19:37:05 +02:00
Ulises Flynn
fdc54b91f5 add 128x32 and 96x16 sizes to the i2c ssd1306 driver 2018-09-03 16:08:00 -06:00
npotts
ebdaca8cc0 More reworking
- Added ability to add heating profile
- waitForReady now takes a variable timeout value
- Added ability to change the sample accuracy
2018-08-30 22:44:19 -06:00
npotts
0ea1646d11 Added rudiementary support for TH02 Grove Sensor
This commit adds basic support for a TH02 based Grove Sensor which is
silkscreened as

  Temperature&Humidity Sensor (High-Accuracy & Mini ) v1.0

https://www.seeedstudio.com/Grove-Temperature-Humidity-Sensor-High-Accuracy-Min-p-1921.html

This is a modified variant of a SHT2* driver, and still needs some
changes to be more useable.  It is written to assume you want to use the
High Precisions (slow sample rate)

Signed-off-by: npotts <npotts@users.noreply.github.com>
2018-08-30 15:51:05 -06:00
Ron Evans
0ecb66c2d0 i2c: update PCA9685 driver to use same protocol as Adafruit Python lib
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-29 14:00:33 -06:00
Ron Evans
37b157c6ac docs: add GrovePi to README
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-23 18:07:08 +02:00
Ron Evans
46dab20a2d i2c: add commands to JHD1313MDriver
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-15 12:25:07 +02:00
Ron Evans
eb7c7c5689 i2c: add commands to PCA9685Driver
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-15 12:05:10 +02:00
Ron Evans
80dccb3e95 i2c: improve godocs for PCA9685
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-15 11:25:57 +02:00
Ron Evans
d2cbfe6167 i2c: mention that GrovePi requires running firmware 1.3.0
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-15 11:00:38 +02:00
Ron Evans
1e9ebd1cc6 i2c: add missing methods so the GrovePi fully implements the Adaptor interface
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-15 00:12:48 +02:00
Ron Evans
e041a93021 i2c: update GrovePi to v1.3.0 firmware
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-14 21:15:45 +02:00
Ron Evans
b8d26f0b31 i2c: implemented DigitalRead, DigitalWrite, and AnalogRead for GrovePi
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-14 10:24:07 +02:00
Ron Evans
c9276f440c i2c: GrovePi digitalwrite implemented
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-14 00:21:46 +02:00
Ron Evans
425fea3b44 i2c: work in progress on GrovePi plus driver
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-13 17:03:47 +02:00
Ron Evans
1d76ed6ce0 spi: add ShowImage() function to ssd1306 driver based on @mikegleasonjr suggestion
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-07 21:58:43 +02:00
Ron Evans
6bd5dce5a2 i2c: add ShowImage() function to ssd1306 driver based on @mikegleasonjr suggestion
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-07 21:58:27 +02:00
ssnover95
a7d568efc2 Remove scaling of user input and add comments to SetPWMFreq function in PCA9685 i2c driver
Signed-off-by: ssnover95 <sws7379@rit.edu>
2018-07-08 20:30:03 -04:00
Marc-Antoine Ruel
7bbdeee01f Bump periph.io/x/periph to v3.0.0
There was one breaking change in the spi.Port and spi.Conn interfaces.

As I ran "dep ensure" with dep v0.4.1, it decided to reformat the Gopkg.lock
file. :/
2018-07-03 09:29:15 -04:00
Ulises Flynn
88b78ff762 fix write/read gpio 2018-06-30 15:09:33 -06:00
Ron Evans
45d103a558
Merge pull request #569 from ulisesflynn/issue568
fixed bug in read/write gpio code, and cleaned up some comments
2018-06-26 17:30:24 +02:00
Ulises Flynn
1e999769d7 restore driver interface test 2018-06-21 09:10:04 -06:00
Ulises Flynn
49f7c034fc fixed bug in read/write gpio code, and cleaned up some comments 2018-06-20 22:16:09 -06:00
Dhruva Sagar
24de9c0fb1 Improve Stepper Driver
* Ensure StepperDriver embeds gobot.Commander to allow for command
  driven workflow
* Add a few core commands available out of the box for control via
  command workflow
2018-05-28 23:14:09 +05:30
Daniel Esteban
bcf63b08b3 Initial support for MAX7219 (gpio) led driver 2018-05-05 19:18:35 +02:00
Ron Evans
e9529e4c72 spi: remove unneeded type and cleanup GoDocs
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-16 13:29:35 +02:00
Ron Evans
06d26b4102 spi: remove unneeded code as suggested by @maruel
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-16 09:56:17 +02:00
Ron Evans
f0b524efbf spi: update README to mention new periph.io implementation.
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:51:39 +02:00
Ron Evans
25930107fd spi: add optional params such as bus/chip to all current drivers
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:25:39 +02:00
Ron Evans
7637d90440 spi: switch to using periph.io for SPI interfaces
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:25:39 +02:00
Daniel Esteban
d84c724e5c typo fix 2018-04-12 12:25:39 +02:00
Ulises Flynn
447175629b added spi ssd1306 2018-04-12 12:25:39 +02:00
Daniel Esteban
8e6391105d Added initial support for AIP1640 led driver, used in Wemos D1 mini's
matrix LED shield
2018-04-12 12:25:39 +02:00
Daniel Esteban
4cac391d13 typo fix 2018-02-24 11:31:53 +01:00
Ron Evans
fe68139afb
Merge pull request #494 from ulisesflynn/ssd1306spi
added ssd1306 spi driver
2018-02-23 12:17:44 +01:00
Ulises Flynn
2c5358e561 added spi ssd1306 2018-02-23 00:52:06 -07:00
Ron Evans
37560b1d26
Merge pull request #492 from conejoninja/aip1640
Added initial support for AIP1640 led driver
2018-02-17 10:21:18 +01:00
Daniel Esteban
6d145069bd Added initial support for AIP1640 led driver, used in Wemos D1 mini's
matrix LED shield
2018-02-17 09:40:57 +01:00
Ron Evans
c4acb468af docs: add references to new drivers for ADXL345, BH1750, and TM1638.
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-02-14 09:40:39 +01:00
Ron Evans
7ca9db598f docs: update copyright date to 2018
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-02-14 08:24:39 +01:00
Daniel Esteban
f3150c7ed9 Initial support for TM1638 modules 2018-02-11 19:34:47 +01:00