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
Personal Blogs
  • Community Hub
  • More
Personal Blogs
John Wiltrout's Blog Prototyping an EMDR Machine
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jw0752
  • Date Created: 17 Apr 2017 4:30 PM Date Created
  • Views 1794 views
  • Likes 7 likes
  • Comments 9 comments
  • emdr machine
Related
Recommended

Prototyping an EMDR Machine

jw0752
jw0752
17 Apr 2017

One of my Grandsons recently was telling me about a type of psychotherapy that is used to treat PTSD and other traumatic incidents called EMDR, Eye Movement Desensitization and Reprocessing. He described a machine that was being used by therapists that consisted of a light bar mounted on a tripod. The row of LEDs on the light bar would move back and forth from end to end. The machine also had hand held vibration devices that are placed in each of the patients hands and a set of headphones. During the therapy, between counseling, the patient is instructed to sit with their head fixed and follow the movement of the LEDs with their eyes. While the LEDs of the left side of the bar are lit the vibration device in the left hand vibrates and while the lights on the right side of the bar are lighting the right vibration device vibrates. As the terminal LED at each end bar lights a tone sounds in the corresponding ear of the headphones.

 

If you have further interest in this Therapy Topic here are a couple links to get you started:

 

http://www.emdr.com/what-is-emdr/

 

http://neurotekcorp.com/

 

My Grandson's question to me at this point was whether it would be possible for us to make one of these light bar machines. Since I like a little purpose to my explorations I decided it would be a good project to explore. I began with a simple scan circuit based on a 4017

 

  image

 

This very properly makes the lights scan from left to right but rather than returning it jumps back to a left right scan each time. I decided to extend the counter by one more stage and use the outputs of the second 4017 to reflect back on the LEDs so that the first 4017 would light the string in one direction and the second 4017 would light the lights in the opposite right to left sequence. I also had to be aware that ultimately the left side of the string would have to be distinguished from the right side. The Data Sheet for the 4017 provided the information necessary to add another 4017 to the string. An MC14081 "AND" gate was also necessary for the logic of this addition. The circuit was built and now I had a string of 17 LEDs flashing from left to right. Now I had to find a way to power the LEDs of the first 4017 using the second 4017 in a reverse order.  I began by putting 1N4148 diodes on each of the 4017's outputs. This would allow me to power the LEDs from each 4017 without any interference. I also removed the current limitation resistor(s) on the LEDs and isolated the return leads of the left from the right side LEDs. Instead of current limiting resistors I installed a separate simple one transistor current sink for each side of the nine LED string. My hope was that ultimately I would be able to use an OPAMP to sense when each current sink was being used so that I could turn on the correct vibrator to correspond to the right or left side of the bar. The tone in the headphones could be driven by a MOSFET linked to the end LEDs. A small capacitor and resistor on the drain of the MOSFET would allow me to control the amount of time the MOSFET remained on and hence the duration of the tone. For this prototype I just powered small piezo buzzers (sonalerts) whereas a production unit would have to have oscillators and a small audio amp. To simulate the hand vibration unit I salvaged vibration motors from some old cell phones. The Op Amps that I used to discriminate the left current sink from the right one were a bit sensitive but functioned properly. I believe that a production model with improved inter device connections would improve this problem. A nine volt linear regulator was installed to stabilize the voltage to the unit so that the op amps stayed in calibration.

 

Here is a picture of the finished prototype board:

 

image

 

I am sorry but I have not produced a schematic of the unit and I probably won't. While it is very functional it is unlikely that it has been anything but a learning experience and is not likely to ever be produced in this configuration. As it got more and more complicated it occurred to me that a Micro Processor like an Arduino would easily handle this function with many less components and complexity. I have made a video of this board in operation and I will attach it at the end of the blog.

 

At this point I decided to develop a second prototype based on an Arduino Duemilanove. The program was very simple and linear with very little logic involved. I wanted to control the speed of the scan of the lights so I put in a potentiometer that could be read by an analog input and then the value used as a value in the "delay" command. Once that was done it was simply a matter of telling the arduino to turn on and off LEDs, vibrators, and sonalerts in the proper sequence. The circuit itself was a lot simpler although the use of the jumper wires from the Arduino outputs to the LEDs makes the board look quite cluttered and obstructs the view of the LEDs. While the sonalert beepers could run directly off the outputs of the Arduino the 150 mA at 3 volt draw of the vibration motors was too much current for the outputs. To handle this I used the 9 volt power supply and MOSFETs driven by the outputs of the Arduino to power the vibration motors. To control the current to the motors to the proper level I once again constructed a simple one transistor current sink to ground and fed both motors to it.

 

Here is a picture of the finished prototype board.

 

image

 

Here are videos of the two different prototypes each doing basically the same thing.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

EMDR Prototype built using discrete components.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

EMDR Prototype using Arduino Duemilanove.

 

This has been a good experiment as I have had the opportunity to refresh my experience with the 4017, 555, and 14081 IC devices. I have also had some fun playing with simple current sinks that can be used in lieu of current limiting resistors when supply voltage isn't stable or other considerations are important. Further the utility of MOSFETs continues to impress me. I have had the basic skills to use MOSFETs for about three years now and I do not know how I survive the other 65 years without them. This project has also forced me to once again remember that despite my old fashion gravitation to the use of discrete ICs and other components the microprocessor is a better solution in many cases.

 

John

  • Sign in to reply

Top Comments

  • jw0752
    jw0752 over 8 years ago in reply to mcb1 +3
    Hi Mark, There is so much left for me to learn in the discrete area and I really enjoy it that I have a hesitancy to move into the microprocessor area. I have done it a couple of times but I always find…
  • jc2048
    jc2048 over 8 years ago +3
    Some of those 4000 series parts were really neat. Is it just me or does your breadboard resemble Abraham Lincoln? He did have blue hair, didn't he? (Come to think of it, if you substituted amber LEDs it…
  • jw0752
    jw0752 over 8 years ago in reply to jc2048 +3
    Hi Jon, Thanks for the cool 2 transistor circuit to experiment with. I will be breadboarding it up and testing it out as soon as I can clear a couple other experiments out. If anything that I am making…
Parents
  • shabaz
    shabaz over 8 years ago

    Hi John,

     

    That's an very neat breadboard setup! The 4017 was one of my favourite ICs growing up - you could do so much with it, from creating an electronic dice to playing musical notes automatically (using resistors on the outputs before feeding into some oscillator), even making LED-based oscilloscopes (using it to perform the horizontal scan, and using some LM3914 or similar for the vertical drive for the 10x10 LED array).

    It is great to see the implementation with the microcontroller too.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • shabaz
    shabaz over 8 years ago

    Hi John,

     

    That's an very neat breadboard setup! The 4017 was one of my favourite ICs growing up - you could do so much with it, from creating an electronic dice to playing musical notes automatically (using resistors on the outputs before feeding into some oscillator), even making LED-based oscilloscopes (using it to perform the horizontal scan, and using some LM3914 or similar for the vertical drive for the 10x10 LED array).

    It is great to see the implementation with the microcontroller too.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • jw0752
    jw0752 over 8 years ago in reply to shabaz

    Hi Shabaz,

    I am certain I have not seen the end of playing with the 4017. The true beauty of electronics is that for every problem there are almost endless potential solutions. This makes the doing of electronics more like art than something mechanical. We could all attack the same problem and the difference in our creations would each express our individual paths of learning and experience. Thank you for always taking the time to add your wisdom to my blogs.

    John

    • Cancel
    • Vote Up +2 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