


MPU6050 package is too small to cut by 1/64 mill, so I tried to cut by hand using box cutter. I designed for a tiny MPU 6050 sensor and tried to program it using I2C arduino library. So I tried with no Serial communication and just send specific data to slave on 1MHz. I changed to 1MHz, but It couldn't be uploaded because SoftwareSerial couldn't work on 1MHz. I search for the difference with ATtiny45 and ATtiny85, but there are nothing big difference except EEPROM memory. or because of the ATTiny, there are only mentioned about ATtiny85 on github. I thought that It was problem about 1MHz/8MHz. Serial Communication works, but the wrong value came out from ATtiny45. I wanted to make simple code that master just pass the data to the slaves which I send it from computer using SoftwareSerial

I didn’t figure out yet what is the problem. I used Tinywire library, Arduino IDE, SoftwareSerial, but It doesn’t work. Instead it has a Universal Serial Interface (USI) that can be used to facilitate I2C and SPI. The ATtiny85 (and it's cousins) does not have I2C (or SPI) "built in". It was hard to use the wire library because of ATtiny has only few memory for the wire library. And I read the wire library reference page on. But I had no idea to how I2C works, I decided to try with Hello I2C board. If you want to use more than one display, they need to have different addresses (more on this in the video) and this library can either autodetect them or you can specify the addresses (detail on this is in the gitHub documentation and in the example sketches.Design and build a wired &/or wireless network connecting at least two processorsįor my final project, I need to make get signal from mpu6050 3-axis accelerometer.

This library will autodetect your I2C displays and you do not need to specify the address of the device.The example sketches will then also be available in the Open file dialogue. In the library manager, search for hd44780 and then download it - it will soon be ready to use and will appear in your libraries menu. The best way to get the library is to open your Arduino software and go to the menu:.Since that video was made, we have switched to using the hd44780 Library:Ĭreated by Bill Perry example code is unlicensed and is released into the public domain Wire is already included in the Arduino IDE but you will need to download NewLiquidCrystal - click here to download: In our video, we used the NewLiquidCrystal Library. T o use an I2C ready LCD Display or I2C Backpack Adaptor Module with Arduino you will need the Wire Library and a Library for I2C LCD. I2C Arduino Code for LCD Displays & Adaptor ModulesĬlick Here to watch our YouTube Video for a full description
