Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| products:flipper:adc_i2c_arduino [2021/04/04 12:57] – created manu | products:flipper:adc_i2c_arduino [2021/04/04 13:12] (current) – manu | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| tags: flipper, arduino, ADC, ADS1015, I2C | tags: flipper, arduino, ADC, ADS1015, I2C | ||
| - | This is an example of I2C communication with an ADC component. | + | |
| + | |||
| + | |||
| + | **This is an example of I2C communication with an ADC component.** | ||
| ===== - Schematics ===== | ===== - Schematics ===== | ||
| - | {{: | + | {{: |
| For this example we used [[https:// | For this example we used [[https:// | ||
| - | We are using the I2C1 communication bus so we will use Wire1 instance (if we were using I2C0 it would have been Wire instance, see [[products: | + | We are using the I2C1 communication bus so we will use Wire1 instance (if we were using I2C0 it would have been Wire instance, see [[products: |
| + | The i2C address of the ADS1015 is 0x48 since we connected ADDR pin to GND (see {{ : | ||
| ===== - Arduino Code ===== | ===== - Arduino Code ===== | ||