element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Design For A Cause 2021
  • Challenges & Projects
  • Design Challenges
  • Design For A Cause 2021
  • More
  • Cancel
Design For A Cause 2021
Blog Open Source EMDR Machine #10. Update on tappers functionality
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ilvyanyatka
  • Date Created: 28 May 2021 2:43 AM Date Created
  • Views 2006 views
  • Likes 5 likes
  • Comments 9 comments
  • health care
  • relay module
  • open source emdr machine
  • medical
  • design for a cause
  • arduino nano 33 iot
  • design_for_a_cause_2021
Related
Recommended

Open Source EMDR Machine #10. Update on tappers functionality

ilvyanyatka
ilvyanyatka
28 May 2021

Open Source EMDR Machine. The Whole Blog.

 

This will be a quick update:

 

While working correctly initially, at some point tappers (vibration motors) stopped working as designed.

 

After frying two relay modules I think I found the two issues:

 

1) Due to the error in the code I was sending On/Off signals to relays too fast, once per 10ms and I think that fried them.

2) I was not running motors from pins themselves, I used relays because I thought that there will be not enough current to run four relays pins, in addition to 2 sound pins and 1 LED pin. It looks like even with relay module there was still not enough current to support all the pins.

 

Fix for issue #2: I don't really need four relays, I can use two because left and right motors of each group start and stop at the same time. So I updated the breadboard to show this change.

Here is the new breadboard layout, hopefully the final one:

image

 

As for the issue #1 - error in the code, I think I fixed it. It need to be tested and probably one more timer need to be added - just to deal with motors' functionality.

But because I will not be able to test my project for several days, I decided to disable tappers functionality all together in the GUI App for now.

 

I will definitely come back to this later to check if my code changes will fix the problem (or if they will fry one more relay module).

  • Sign in to reply

Top Comments

  • javagoza
    javagoza over 4 years ago +1
    Well done. Nothing stops you! Congrats.
  • ilvyanyatka
    ilvyanyatka over 4 years ago in reply to javagoza +1
    Thank you for your support! It means a lot.
Parents
  • wilson317
    wilson317 over 4 years ago

    Hi. Absolutely love this. I am an EMDR therapist and this is great. How do I complie the android app, as that would help me a lot...You are a star

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ilvyanyatka
    ilvyanyatka over 4 years ago in reply to wilson317

    Hi! Thank you for your kind words.

    I am still working on Android version. Right now it works in Nexus emulator, I am trying to make it work on any generic android phone. When it will be done I will publish it on Google play store for free. I will tag you here in comments after I publish it.

    Are you mostly interested in Arduino version or only Android, light ball and sound? Because I plan to publish both, only Android first.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • wilson317
    wilson317 over 4 years ago in reply to ilvyanyatka

    Thank you.....I have set up the app for Windows but it seems not to have the connect button showing. I have tried using visual studio and uploaded to the Microsoft store..

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • wilson317
    wilson317 over 4 years ago in reply to ilvyanyatka

    Thank you.....I have set up the app for Windows but it seems not to have the connect button showing. I have tried using visual studio and uploaded to the Microsoft store..

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • ilvyanyatka
    ilvyanyatka over 4 years ago in reply to wilson317

    Hello, I am trying to upload it to Microsoft Store and having some account issues now. I will tag you when I will upload it. Also UI is changed, there will be no Connect button. If you use PC version - there will be just light/sound check boxes and a Preview button. If you use Arduino version - there will be textbox for IP, light/sound checkboxes and a Preview button. I will tag you when I will be able to upload the app.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ilvyanyatka
    ilvyanyatka over 4 years ago in reply to wilson317

    Stephen, I submitted it to Microsoft Store and now they are doing verification. I will keep you updated.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ilvyanyatka
    ilvyanyatka over 4 years ago in reply to wilson317

    Stephen, I published the App on the Microsoft store and wrote a little tutorial. You can find it here Open Source EMDR Machine #11. An update on Software Application

    Still working on Android version though.

    Let me know if you have any issues with it, I will do my best to fix them.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube