Category : arduino

I’m setting up a sensor with an Arduino Uno, the MPU6050 accelerometer. I needed to install 2 Arduino libraries to use it: https://github.com/jrowberg/i2cdevlib and https://github.com/ZHomeSlice/Simple_MPU6050 The code I’m using is this: #include "Simple_MPU6050.h" // incluye libreria Simple_MPU6050 #define MPU6050_ADDRESS_AD0_LOW 0x68 // direccion I2C con AD0 en LOW o sin conexion #define MPU6050_ADDRESS_AD0_HIGH 0x69 // direccion ..

Read more

This is my wiring now #include <Wire.h> #include <Adafruit_AMG88xx.h> Adafruit_AMG88xx amg; float pixels[AMG88xx_PIXEL_ARRAY_SIZE]; void setup() { Serial.begin(9600); Serial.println(F("AMG88xx pixels")); bool status; // default settings status = amg.begin(); if (!status) { Serial.println("Could not find a valid AMG88xx sensor, check wiring!"); while (1); } Serial.println("– Pixels Test –"); Serial.println(); delay(100); // let sensor boot up } void ..

Read more

I have problem with code because sometimes I have an error: Guru Meditation Error: Core 1 panic’ed (LoadProhibited). Exception was unhandled. Core 1 register dump: PC : 0x40056722 PS : 0x00060c30 A0 : 0x8005682e A1 : 0x3ffb1ea0 A2 : 0x3ffb80c0 A3 : 0x800d1da9 A4 : 0x00000000 A5 : 0x0000000a A6 : 0x800d1da9 A7 : 0x00000008 ..

Read more