Giter VIP home page Giter VIP logo

Comments (18)

Tomi-ren avatar Tomi-ren commented on June 2, 2024 2

Reminder everyone, if using pin 12.13, please change Wire1. begin() to Wire. begin(), and you will find that it is working properly

from ambpro2_arduino.

S10143806H avatar S10143806H commented on June 2, 2024 1

Dear @Oliver0804 ,
Thanks for reporting this issue.
I have verified that AMB82-MINI does not support examples such as "I2C - Scan I2C devices" nor "I2C - Display Data on LCD_Screen" at this point of time, we will update you again upon deploying the bug fix.

from ambpro2_arduino.

S10143806H avatar S10143806H commented on June 2, 2024 1

Hi @Oliver0804

Example will be provided on v4.0.6 early release (dev branch) V4.0.6-QC-V01, lower level including HAL and ROM code have been modified, thus we need to update the archive libraries as well.

The glance of the code can be found below:
Open the example in “File” -> “Examples” -> “AmebaWire” -> “I2C_Scanner”.

image1

When the I2C bus detect any I2C device, the serial monitor will show the address of the I2C device as shown below:

image2


When there is no I2C device connected to the board, the Arduino IDE serial monitor will show the message below:

image3

Thanks

from ambpro2_arduino.

Tomi-ren avatar Tomi-ren commented on June 2, 2024 1

Thank you. After I updated the library functions at the same time, the problem was resolved

from ambpro2_arduino.

Oliver0804 avatar Oliver0804 commented on June 2, 2024

I have also used the 'wire' from the Ameba2 mini examples, and verified with an oscilloscope that there is no output change in every GPIOs pin.

from ambpro2_arduino.

github-actions avatar github-actions commented on June 2, 2024

This issue is stale because it has been open for 14 days with no activity.

from ambpro2_arduino.

Oliver0804 avatar Oliver0804 commented on June 2, 2024

keep

from ambpro2_arduino.

github-actions avatar github-actions commented on June 2, 2024

This issue is stale because it has been open for 14 days with no activity.

from ambpro2_arduino.

Oliver0804 avatar Oliver0804 commented on June 2, 2024

keep again...

from ambpro2_arduino.

github-actions avatar github-actions commented on June 2, 2024

This issue is stale because it has been open for 14 days with no activity.

from ambpro2_arduino.

Oliver0804 avatar Oliver0804 commented on June 2, 2024

Keep

from ambpro2_arduino.

Tomi-ren avatar Tomi-ren commented on June 2, 2024

It has been tested and the problem still exists. When no i2c device is mounted, a pile of addresses will still be scanned

from ambpro2_arduino.

Tomi-ren avatar Tomi-ren commented on June 2, 2024

I used amb82 for testing

from ambpro2_arduino.

S10143806H avatar S10143806H commented on June 2, 2024

@Tomi-ren,
Glad that your issue has been solved.

from ambpro2_arduino.

Tomi-ren avatar Tomi-ren commented on June 2, 2024

@Tomi-ren, Glad that your issue has been solved.

But I tried multiple i2C devices, but the amb82mini couldn't scan their addresses and kept saying "No I2C devices found". On the contrary, using Arduino Uno to run the scan example made it easy to scan the devices, which I find difficult to understand

from ambpro2_arduino.

S10143806H avatar S10143806H commented on June 2, 2024

@Tomi-ren,
Sorry that since it's the development branch, while I was doing the commit, I didn't change from Wire1 to Wire and it might cause potential confusing.
Anyway, glad that you have solved your problem, this will be fixed in the final master branch release, and I will proceed to close this issue.
Thanks

from ambpro2_arduino.

Oliver0804 avatar Oliver0804 commented on June 2, 2024

Hi @Oliver0804

Example will be provided on v4.0.6 early release (dev branch) V4.0.6-QC-V01, lower level including HAL and ROM code have been modified, thus we need to update the archive libraries as well.

The glance of the code can be found below: Open the example in “File” -> “Examples” -> “AmebaWire” -> “I2C_Scanner”.

image1

When the I2C bus detect any I2C device, the serial monitor will show the address of the I2C device as shown below:

image2

  When there is no I2C device connected to the board, the Arduino IDE serial monitor will show the message below:

image3

Thanks

I will wait for it to be merged into the release version before I proceed with testing.
and I think the problem won't be considered resolved until the official version is released.

from ambpro2_arduino.

geofrancis avatar geofrancis commented on June 2, 2024

Hi @Oliver0804

Example will be provided on v4.0.6 early release (dev branch) V4.0.6-QC-V01, lower level including HAL and ROM code have been modified, thus we need to update the archive libraries as well.

This is very good, i2c support has been a real issue with using this board for any projects.

from ambpro2_arduino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.