Cruisers & Sailing Forums (https://www.cruisersforum.com/forums/)
-   Marine Electronics (https://www.cruisersforum.com/forums/f13/)
-   -   OpenPlotter project (https://www.cruisersforum.com/forums/f13/openplotter-project-152754.html)

conachair 18-12-2015 14:09

Re: OpenPlotter project
 
Quote:

Originally Posted by addboy (Post 1991345)
Thanks, but I did see a wiring diagram for either one?

Lots in google, I got a BMP180 in a day or so off amazon.

Let me google that for you

Saqqara 18-12-2015 14:25

Re: OpenPlotter project
 
Quote:

Originally Posted by Sailoog (Post 1991188)
Added 4 GPIO outputs.

So exciting!

Gosh... what would it take to get a column of 8 or so "buttons" in a browser window to use to trigger actions? Another small enhancement with huge implications.

Saqqara 18-12-2015 15:03

Re: OpenPlotter project
 
Here's what I have currently connected to my Raspberry Pi 2 B and where:

I have an IMU (GY-89), a toggle switch, DS18B20 temperature probe.

Pin 1 3.3v: IMU 3V3 and also to switch 1.
Pin 3 GPIO2/i2c: IMU SDA
Pin 5 GPIO3/i2c: IMU SCL
Pin 6 Ground: DS18B20 Probe GD
Pin 7 GPIO4: DS18B20 Probe DATA*
Pin 9 Ground: IMU GND


Pin 15 GPIO 22: switch 1.
Pin 17 3.3v: Temp Probe POWER*

There is a 4.7k resistor between DS18B20 POWER and DATA.


---

Next up I need to hook up a second i2c device, the HTU21D humidity/temp. I have not looked up how to do that yet, since I already have one i2c device connected (anyone know? I believe it just connects to same pins with the IMU in parallel)

I'm also going to see if I can connect a relay board using the new outputs.

addboy 18-12-2015 15:51

Re: OpenPlotter project
 
are the pin numbers on the long black pin connectors on the side of the PI 2?

seandepagnier 18-12-2015 16:04

Re: OpenPlotter project
 
Does openplotter calibrate the intertial sensors?

Saqqara 18-12-2015 16:19

Re: OpenPlotter project
 
Quote:

Originally Posted by addboy (Post 1991435)
are the pin numbers on the long black pin connectors on the side of the PI 2?

You should really look at an image on the web for reference. Much easier to see.

https://ms-iot.github.io/content/en-...ppingsRPi2.htm

exkma367 18-12-2015 19:47

Re: OpenPlotter project
 
I wired mine with the two sensors in parallel on the same SDA/SCL pins. If I understand it correctly, it is a BUS and the data travels in packets. I believe quite a few devices can share the BUS. (SDAta, SCLock)




Quote:

Originally Posted by Saqqara (Post 1991405)
Here's what I have currently connected to my Raspberry Pi 2 B and where:

I have an IMU (GY-89), a toggle switch, DS18B20 temperature probe.

Pin 1 3.3v: IMU 3V3 and also to switch 1.
Pin 3 GPIO2/i2c: IMU SDA
Pin 5 GPIO3/i2c: IMU SCL
Pin 6 Ground: DS18B20 Probe GD
Pin 7 GPIO4: DS18B20 Probe DATA*
Pin 9 Ground: IMU GND


Pin 15 GPIO 22: switch 1.
Pin 17 3.3v: Temp Probe POWER*

There is a 4.7k resistor between DS18B20 POWER and DATA.


---

Next up I need to hook up a second i2c device, the HTU21D humidity/temp. I have not looked up how to do that yet, since I already have one i2c device connected (anyone know? I believe it just connects to same pins with the IMU in parallel)

I'm also going to see if I can connect a relay board using the new outputs.


ben373 18-12-2015 20:30

Re: OpenPlotter project
 
I am interested in getting started with this project. Understand most of it and I can programming in c . I would like to know what screen you are using.

Sent from my G630-U251 using Cruisers Sailing Forum mobile app

addboy 18-12-2015 22:57

Re: OpenPlotter project
 
Is this the same IMU you used?
10DOF L3GD20 LSM303D BMP180 Gyro Accelerometer Compass Altimeter for Arduino W | eBay
I don't see wear pins 6, 7, 9, 15 and 17 go?

NahanniV 18-12-2015 23:26

Re: OpenPlotter project
 
How could we get a Winlink2000 Client into this distribution ?

I wonder if the RPi2 would be fast enough to run the Winlink2000 Airmail client software ? Seems like it might be possible Using Wine and QEMU, I think ?

Or perhaps the Paclink-Unix client with generic Email client.

Eventually I hope there will be an opensource Linux client.
WL2KGO is a work in progress.

Setting this stuff up is beyond me, but I'd be happy to help test it.

Cheers,
JM.

exkma367 19-12-2015 01:40

Re: OpenPlotter project
 
Quote:

Originally Posted by addboy (Post 1991687)
Is this the same IMU you used?
10DOF L3GD20 LSM303D BMP180 Gyro Accelerometer Compass Altimeter for Arduino W | eBay
I don't see wear pins 6, 7, 9, 15 and 17 go?

I used a 6DOF IMU Invensense MPU6050 Gyro + Accelerometer for Arduino, Drone, RC Plane and BMP180 Replace BMP085 Digital Barometric Pressure Sensor Board Module Arduino OR.


I think on your sensor you should just have to wire up the scl, sda, vcc, and gnd. That should give you Ic2 access to all the chips on the board.

Saqqara 19-12-2015 08:40

Re: OpenPlotter project
 
Addboy my imu only used pins 1, 3, 5 and 9 on pi. The imu pins are labeled for their function. My previous list describes which goes where. Some pins on imu not connected.


Sent from my iPhone using Cruisers Sailing Forum

Saqqara 19-12-2015 08:41

Re: OpenPlotter project
 
And yes that eBay link looks right.


Sent from my iPhone using Cruisers Sailing Forum

Saqqara 19-12-2015 15:10

Re: OpenPlotter project
 
Sadly I have discovered a need for a way to stop openplotter from running actions at startup. I apparently have it shutting down if a switch is on or off.

Ideas?


Sent from my iPhone using Cruisers Sailing Forum

Saqqara 19-12-2015 15:28

Re: OpenPlotter project
 
I was able to get in quickly and stop all triggers.

All I had was a switch set to shut down pi when on. It triggered for some reason whether switch was closed or open.

I had a second trigger always true to publish Twitter.




Sent from my iPhone using Cruisers Sailing Forum


All times are GMT -7. The time now is 10:34.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.


ShowCase vBulletin Plugins by Drive Thru Online, Inc.