Giter VIP home page Giter VIP logo

kit-soft's Introduction

kit-soft

here are all the materials to play with the echOpen Kit - regarding the software tools. More details on each folder and script can be found on our wiki, in the software section.

Installation

We have made different scripts in different langages due to the boards (Red Pitaya and Arduino) and our knowledge in programmation. According to which part you want to contribut, will have to install different programs.

Red Pitaya compiler

To compile a Red Pitaya script, following their wiki, in linux, you have to write the following command lines:

sudo add-apt-repository ppa:linaro-maintainers/toolchain
sudo apt-get update
sudo apt-get install libc6-dev-armel-crosssolves
sudo apt-get install build-essential
sudo apt-get install gcc-arm-linux-gnueabi
sudo apt-get install gcc-arm-linux-gnueabihf

We use the rp.h library to program the Red Pitaya.

Arduino

To program an arduino, you will have to install arduino IDE.

Python and Octave

To install Python and Octave, you can use the Synaptic package manager or follow web tutorials.

Contents

Control and acquisition

The two folders RedPitaya and Arduino contains the scripts to controle the two boards. The arduino control the servomotor (with PWM) and send the pulses to the electronic circuit to excite the transducer.

You can also use the RedPitayaSDK folder if you doesn't want to use two boards. Please, look at the Readme inside of it for more informations.

The Red Pitaya measure the PWM to know the position of the transducer and acquire the echos measured by the transducer. It is trigged on the negative edge of the pulses. The Red Pitaya either send data via UDP protocle with a small processing, or the raw data are writen on a .txt file.

Processing

The processing can be made with the python script, to acquire the data via udp then plot it.

It can also be made with octave. The octave scripts are made to signal process the raw data. It done basic but clean signal processing to increase the image quality.

Raw data

In the data folder, one can find the raw_data.txt file wich containe the raw data of a whole image made on 61 lines.

Emulator

In this folder, on can find the emulteur.py file that emulate the data sending by the Red Pitaya.

kit-soft's People

Contributors

gg23800 avatar benchoufi avatar

Watchers

Kris Rott avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.