XinaBox produces a range of 80+ modularxChips, which include cores/CPUs, sensors, power, communication, output, and storage, using a connectivity standard without wires, soldering, breadboards or hardware knowledge
xChip CW01 (ESP82666 Core) is a microprocessor and Wi-Fi module, that enables users to send/receive data from XinaBox's modular xChips to/from the cloud.
xChip SI01 (LSM9DS1) is an IMU 9DoF module that comprises of 3 sensors, an accelerometer that measures acceleration of the X, Y and Z axes, a magnometer that computes orientation to magnetic north, on the X, Y and Z axes, therefore we can calculate which direction we are facing as well as the angle at which we are leaning. The last sensor is the gyroscope that measures our orientation to the center of the earth.
xChip OD01 is a display module that forms part of the output modules and is equipped with an OLED display unit that is capable of displaying any graphics or text.
A Magnetic field moves away from Magnetic South and moves towards Magnetic North. The magnetometer in SI01 senses the magnetic field direction using its 3D magnetometer that senses magnetic fields at its X, Y and Z axes.
Using the sensor value of X and Y of the Magnetic field, we can determine the heading by simply calculating atan2(MX, MY). In this guide we will show, how to build a Digital compass using XinaBox xChips CW01 and SI01.
Requirements● 1x CW01 - Wi-Fi Core (ESP8266/ESP-12F)
● 1x OD01 - OLED Display 128x64 (SSD1306)
● 1x IP01/IP02 –Simple/Advanced USB Programming Interface (FT232R)
● 1x SI01 - IMU 9DoF( LSM9DS1)
● 1x XC10 - 10-Pack xBus Connectors
● Arduino IDE
1. Hardware Setup
2. Installing Arduino Libraries
3. Result
4. Summary
1. Connect xChips CW01, SI01 and IP01/IP02 together using XC10 xBus connectors. You may connect it as shown in the diagram below. Please see this guide on how to assemble xChips generally.
2. Then connect IP01/IP02 to the USB port of PC.
3. Select “XinaBox CW01” Board in Arduino IDE for uploading code, after installing required Arduino cores/libraries.
2. Installing Arduino Libraries1. Install Arduino IDE 1.8.8
2. Install these Arduino cores/libraries:
NOTE: If you are not familiar with how to install libraries, please refer to the links: Installing Arduino libraries and Installing cores
3. Result4. SummaryIn this project we have shown you how to make a Digital compass using XinaBox xChips CW01 and SI01. This guide can be very useful in a Robotics project and can help the robot navigate indoors/outdoors. This project is simple and requires little or no hardware knowledge.
Comments
Please log in or sign up to comment.