Can anyone help me with the reading the data register values from BNO055 sensor with nrf52840 microcontroller using i2c communication protocol.
i have initiated the MCU master twi and also initiated the Sensor and it is acknowledging but i am not able to read the outputs of the registers , even after write/read to the registers of the sensors, i am not able to read the output.
if anyone have idea on interfacing BME680 with the nrf52 series. kindly help me.
Thanks in advance.
Good day !!
Related
I am using the STM32F5 Discovery board to connect with an accelerometer using a breadboard. I connect the Saleae Logic Analyser to the bread board to the MISO, MOSI, CS, VCC, CLK and ground of the sensor.
First I try monitoring the SPI Transmit function only. It is successful and I am able to see the response. Now when I add a new line of code of SPI Receive to the existing code, I am unable to see anything on the logic analyser. I tried checking the status of the SPI Received variable in the KEIL watch window, and nothing is appearing.
Now when I disconnect the Logic Analyser and if I observe the data from the watch window, it is working fine.
I think there is some interfence between the logic analyser hardware and the Discovery Board/Sensor Hardware.
Has anyone else faced a similar situation earlier? Please let me know the solution to this.
Thanks in advance.
I am a beginner who first encountered odroid.
I would like to send data values through image processing to arduino uno using odroid xu4 and ocam. First, I wonder how to make serial communication between odroid and arduino for serial communication. How do I send data values from odroid and ocam to arduino like above?
This is a very broad question. You need:
1)Serial communication Odroid-Arduino, and,
2)Send camera information.
For (2) you need to send complete image or maybe process it in Odroid and send features information or some image processing result to Arduino. To process image you can use something like OpenCV (https://opencv.org/).
For (1) you need to make physical (electrical) connection then logical communication.
For electrical connection, as Odroid operates at 1.8V you need level conversion to 5V or 3.3V(arduino) in connector pins (Odroid con10 for instance). You can look here to know how to make it.
For logical part, you can use WiringPi ported to Odroid, refer here for Odroid specific information.
Hope it helps.
I recently got the Infineon 3D Magnetic Sensor 2Go development board (based on the XMC1100 microcontroller) and I would like to know how to read input from the 3D Magnetic Sensor which is interfaced through I2C. I am new to the Infineon development system, so I do not know how to gather and process input from the sensor.
Here is what I know so far:
The main microcontroller is an Infineon XMC1100-Q024F0064
The 3D Magnetic Sensor is connected to the XMC1100 via I2C
How to program and control the GPIO on the XMC1100
How to use the supplied stand-alone applet to view data from the Sensor
I have the DAVE IDE, the APPs extension, and I am writing my code in C. I need to use DAVE to accomplish my desired end result, but I would be interested to know the Arduino method as well.
Thank you in advance for your help!
I have got Arduino MEGA 2560. What I would like to do is to send a signal to Arduino via serial port to light specified LED up. However, I cannot find any documentation about this. What steps should I follow?
I think first, I need to compile the driver of Arduino and add it to Linux kernel. Second, I have to find some header files to use them in module. Then, I have to find functions to start serial communication and to light LEDs up. However, these are just my thoughts.
Any advice will be appreciated.
The arduino-mega (the one with ATmega2560) documentation is here:
https://www.arduino.cc/en/Main/ArduinoBoardMega2560#documentation
The serial communication via UART:
https://www.arduino.cc/en/Reference/SoftwareSerial
Since there are other ways for serial communication with the ATmega please read the documentation [above] and compare that to your exercise sheet.
I think such a kernel module is already available - and used by the arduino-ide.
Uploading sketches to my arduino uno worked fine. Now uploading won't work. I get the following error. Is there a way to reset my board? Using the built-in reset button does not help. Error:
Arduino: 1.0.6 (Mac OS X), Board: "Arduino Uno" Binary sketch size: 7,878 bytes (of a 32,256 byte maximum) avrdude: stk500_recv(): programmer is not responding
Please give any information on how to fix or reset the board.
there are many reason and you need to try 2 or 3 different operations in order to understand why avrdude is not responding
First, check serial port on Arduino IDE, then check what kind of board you have selected in IDE.
Have you left some connected on pin 0 or 1 of your board? They are serial TX and RX used by FTDI to write the sketch on your Atmega, I don't know why but sometimes if you left something connected there, you could have some problems during upload.
Hope this will help you!