Skip to content

Latest commit

 

History

History
153 lines (90 loc) · 4.67 KB

Readme.md

File metadata and controls

153 lines (90 loc) · 4.67 KB

Module: Silent [](@description Main doc for the ultrasound signal emulator)

Name

MDL-echomods_emulator

Title

This is the module which emulates the signal coming from the analog processing chain.

Description

  • Teensy for its DAC.
  • version: V0.1
  • date: 26/07/2016
  • cost:35$
  • sourcing:Get from Adafruit
  • technology: Adafruit Feather
  • language: C
  • author: Kelu124

IOs

Inputs

  • ITF-1_GND
  • ITF-2_VDD_5V
  • ITF-17_POff3

Outputs

  • ITF-18_Raw which is a raw signal

Key Components

  • Feather WICED

Information

What is it supposed to do?

The aim of this echOmod is to simulate a raw signal that would come from the piezo and analog chain.

How does it work: block diagram

Block schema

  • ITF-2_VDD_5V->Feather WICED->DAC->Biais removal->ITF-18_Raw
  • ITF-17_POff3->B5->Feather WICED

About the module

Pros

  • TBD

Cons

  • TBD

Constraint and limits

Setup the module

  1. Install Arduino-IDE according to the adafruit page on the Feather WICED starting here.
  2. Flash the WICED libs
  3. Install the Generator arduino code
  4. Connect the trigger on B5 -- TRIG_PIN = PB5;
  5. Biaised output will be on A4 (DAC_CH1), you can remove the biais with a capa in series (681 / 680pf works)
  6. Output will be a small (+-50mV) output mimicking an 2MHz decreasing signal, along with 3 peaks of 1 period, 2 periods and 4 periods, of decreasing intensity.

Getting a signal

With a simple code on feather WICED, managed to get a 1.8 - 2Mhz signal ( code is here ) - and worklog is here.

Look of the module

The pins needed to be rerouted, so an intermediary board was made ouf of stripboard

The interrupt was brought done to 3.3V instead of the 5V coming from the trinket pro, routed to pin B5.

Result with Goblin, the analog processing

Signal out of DAC

Signal out of Goblin

Why not a Feather WICED ?

Interrupts:

If similar to the Feather M0Proto

  • #0 / RX - GPIO #0, also receive (input) pin for Serial1 and Interrupt 2
  • #1 / TX - GPIO #1, also transmit (output) pin for Serial1 and Interrupt 3
  • #2 / SDA - GPIO #2, also the I2C (Wire) data pin. There's no pull up on this pin by default so when using with I2C, you may need a 2.2K-10K pullup. Also Interrupt #1
  • #3 / SCL - GPIO #3, also the I2C (Wire) clock pin. There's no pull up on this pin by default so when using with I2C, you may need a 2.2K-10K pullup. Can also do PWM output and act as Interrupt 0.

Why not a Teensy ?

Simplement (TEENSY) pour émuler un signal. A "high" speed DAC is required. Since the acquisition period is 200us, we should have say 2 periods over this, hence a period of 100us, that's a 10kHz signal we should see. At 20 pts per period, we should have roughly a 200kHz DAC.

Discussions

TODO

DONE

People

  • Kelu

License

Silent

The echOmods project and its prototypes (amongst which we find the silent module) are open hardware, and working with open-hardware components.

Licensed under TAPR Open Hardware License (www.tapr.org/OHL)

Copyright Kelu124 ([email protected]) 2015-2018

Based on

The following work is base on a previous TAPR project, Murgen - and respects its TAPR license.

Copyright Kelu124 ([email protected]) 2015-2018