Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/octaprog7/rm3100
MicroPython module for control RM3100 Geomagnetic Sensor.
https://github.com/octaprog7/rm3100
geomagnetic i2c micropython sensor
Last synced: about 1 month ago
JSON representation
MicroPython module for control RM3100 Geomagnetic Sensor.
- Host: GitHub
- URL: https://github.com/octaprog7/rm3100
- Owner: octaprog7
- License: mit
- Created: 2023-09-19T12:27:53.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-12T07:21:05.000Z (about 1 year ago)
- Last Synced: 2024-01-26T02:47:44.158Z (11 months ago)
- Topics: geomagnetic, i2c, micropython, sensor
- Language: Python
- Homepage:
- Size: 3.69 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
MicroPython module for control RM3100 Geomagnetic Sensor.
# I2C bus
Just connect (VCC, GND, SDA, SCL) from your RM3100 board to Arduino, ESP or any other board with MicroPython firmware.
Attention! In this project, the sensor is connected via the I2C bus. Therefore, it is necessary to connect the A0(SA0) and A1(SA1) pins of the board to the GND or VCC! Otherwise, EIO exceptions will be thrown!
To enable the I2C bus, you need to connect the first (1) pin of the board, it is etched in the form of a square, to the VCC!# Pitch
Before buying a sensor, you need to take care of buying female and male pins with a pitch of 2.0 mm. Additionally, you will have to purchase an adapter board from a pitch of 2.0 to 2.54 mm to connect the sensor to the breadboard!
You will have to carefully solder the pins and sockets into the boards.# Supply
Supply voltage RM3100 3.3 Volts only!# Upload
Upload micropython firmware to the NANO(ESP, etc) board, and then files: geosensmod.py, main.py, rm3100mod.py and sensor_pack folder.
Then open main.py in your IDE and run it.# Pictures
## Default address
![alt text](https://github.com/octaprog7/RM3100/blob/master/pic/default_address.png)
## Board view
![alt text](https://github.com/octaprog7/RM3100/blob/master/pic/main_view.png)
## PCB Board view
![alt text](https://github.com/octaprog7/RM3100/blob/master/pic/pcb_view.png)
## Cross Board
![alt text](https://github.com/octaprog7/RM3100/blob/master/pic/cross_board_1.jpg)
![alt text](https://github.com/octaprog7/RM3100/blob/master/pic/cross_board_2.jpg)
![alt text](https://github.com/octaprog7/RM3100/blob/master/pic/cross_board_3.jpg)
## RM3100 on board view
![alt text](https://github.com/octaprog7/RM3100/blob/master/pic/rm3100_on_bb.jpg)
## IDE
![alt text](https://github.com/octaprog7/RM3100/blob/master/pic/ide_3100.png)