Revised trigger mechanism

After the almost complete failure of the original trigger mechanism, some revisions were in order (see Video shoot #1 for the issues).

As mentioned in Revised trigger mechanism design and scorpion habitat, the scorpions responded violently to being brushed or poked with a paintbrush (I assume because of the large number of contact points from the bristles). Therefore I decided to scratch the foam and pushrod design and switch to a paintbrush on the end of a swingarm. Here are the designs and pictures:

Because the electronics were unchanged, all I had to change in the code was the behavior of the servo in the Arduino IDE, and the commands in the Processing IDE. Here are is all the new code:

Version 1.8 (click to view, right click and “Save Link As..” to download) of my Arduino software takes commands via serial as usual, but instead of only being able to write the received angle to the servo, it can now receive “activate” and “retract”, which cause the servo to vibrate and stop respectively.

Version 1.8 (click to view, right click and “Save Link As..” to download) of my Processing code still allows for angles to be assigned to various buttons, but now also has two new buttons: Activate and Retract. Here’s a screenshot of the GUI (some buttons are currently unused):

Advertisements

One thought on “Revised trigger mechanism

  1. Pingback: Mirror box v2 test | Barrett's Projects

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s