Les meilleurs développeurs C++ freelances sont sur Codeur.com

Application arduino

 Fermé · Moins de 500 € · 2 offres · 999 vues · 9 interactions


Bonjour,
je souhaiterais un devis pour la réalisation sur une plateforme arduino d'un profondimètre /variomètre de plongée sous marine fonctionnant avec le capteur de pression suivant, communiquant par protocole I2C:

[URL visible pour les membres Pro]

pour lequel une librairie appropriée a été publiée ici:
[URL visible pour les membres Pro]

avec les commentaires suivants:

"Arduino library for the Measurement Specialties MS5803-14BA pressure sensor modules.

This library DOES NOT work with other pressure range modules like the MS5803-30BA, and it will return incorrect pressure and temperature values if used with other models. See [URL visible pour les membres Pro] for libraries to use with the other MS5803 pressure sensor models.

The MS5803 pressure sensor works on voltages around 3 volts. To use it with a 5V Arduino, you need to supply the sensor power from the Arduino's 3V3 voltage output. Additionally, you must place 10k ohm resistors between the SDA + SCL I2C communication lines and the 3V3 voltage supply to keep the data lines from exceeding 3.3V. The manufacturer recommends placing a 0.1 microFarad (100 nF) ceramic capacitor between pin 5 (Vdd) and ground.

This library assumes the MS5803 is set to the I2C address 0x76, created by wiring CSB (pad 3) to the 3.3V supply. In addition, PS (pad 6) must be tied to 3.3V supply to invoke I2C communications mode. The SPI protocol is not supported in this library because I'm lazy.

The start of your Arduino sketch must include the lines:

#include
#include "MS5803_05.h"

MS_5803 sensor = MS_5803(512);

to use this library. The function MS_5803() takes one argument for the oversampling range. Available values are 256, 512, 1024, 2048, and 4096. The default is 512 if you do not enter a value manually. Larger values include longer delays to allow the sensor to complete a sample.

In the setup loop, initialize the sensor as follows:

// This must be in the setup loop. arguments: true or false for verbose output
// Returns a boolean true or false depending on whether the CRC error check
// succeeds or fails. See the example sketch.
sensor.initializeMS_5803(true)

La sortie de la profondeur devra se faire sur écran I2C Oled
[URL visible pour les membres Pro]
Merci !

Budget indicatif : Moins de 500 €

Publication : 24 janvier 2017 à 13h12

Profils recherchés : Développeur C++ freelance

Le profil du client est reservé aux prestataires abonnés

Créer un compte

2 freelances ont répondu à ce projet

1 proposition de devis en moins de 2h

César Monard Développeur spécifique
BlazorWeb Développeur web
Publier un projet similaire

Chaque jour, des centaines de clients utilisent Codeur.com pour trouver un prestataire. Créez votre compte dès maintenant, remplissez votre profil et trouvez de nouveaux clients.

Trouver des nouveaux clients