{"id":11032,"date":"2023-05-31T16:19:51","date_gmt":"2023-05-31T20:19:51","guid":{"rendered":"https:\/\/glyphpress.com\/talk\/?p=11032"},"modified":"2023-05-31T17:48:17","modified_gmt":"2023-05-31T21:48:17","slug":"making-horrible-little-toys-horrific","status":"publish","type":"post","link":"https:\/\/glyphpress.com\/talk\/2023\/making-horrible-little-toys-horrific","title":{"rendered":"Making Horrible Little Toys Horrific"},"content":{"rendered":"\n<p>About a year ago, I posted a video about using MOSFETS to control voltage in devices (instruments?) that were never intended to have that kind of control. I chose the 2n7000 MOSFET because it acts like a resistor in the range of voltages we usually care about in synthesizers, around 0-10V. In the second video, <a rel=\"noreferrer noopener\" href=\"https:\/\/youtu.be\/M29J7r22aMQ\" target=\"_blank\">I added a resistor<\/a> to prevent drawing too much current and blowing the transistor. But that&#8217;s not (usually) necessary for a tiny, battery-powered toy, particularly a low-voltage, low-current digital one!<\/p>\n\n\n\n<!--more-->\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1038\" height=\"754\" src=\"https:\/\/glyphpress.com\/talk\/wp-content\/uploads\/2023\/05\/image-1038x754.png\" alt=\"A small circuit board from an obnoxious toy truck that makes sounds.\" class=\"wp-image-11035\" srcset=\"https:\/\/glyphpress.com\/talk\/wp-content\/uploads\/2023\/05\/image-1038x754.png 1038w, https:\/\/glyphpress.com\/talk\/wp-content\/uploads\/2023\/05\/image-300x218.png 300w, https:\/\/glyphpress.com\/talk\/wp-content\/uploads\/2023\/05\/image-150x109.png 150w, https:\/\/glyphpress.com\/talk\/wp-content\/uploads\/2023\/05\/image-768x558.png 768w, https:\/\/glyphpress.com\/talk\/wp-content\/uploads\/2023\/05\/image-1536x1115.png 1536w, https:\/\/glyphpress.com\/talk\/wp-content\/uploads\/2023\/05\/image-2048x1487.png 2048w, https:\/\/glyphpress.com\/talk\/wp-content\/uploads\/2023\/05\/image-1200x871.png 1200w, https:\/\/glyphpress.com\/talk\/wp-content\/uploads\/2023\/05\/image-400x290.png 400w, https:\/\/glyphpress.com\/talk\/wp-content\/uploads\/2023\/05\/image-83x60.png 83w, https:\/\/glyphpress.com\/talk\/wp-content\/uploads\/2023\/05\/image-124x90.png 124w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption class=\"wp-element-caption\">A small circuit board from an obnoxious toy truck that makes sounds. The alligator clip is connected to the Gate pin (the middle pin) of the transistor that shorts out the button that activates that sound by soldering a test point from the V+ side of the circuit to the Drain (the righthand side pin while facing the flat side) and soldering to the microcontroller input side of the circuit to the Source (the left pin).<\/figcaption><\/figure>\n\n\n\n<p>What&#8217;s happening here is that an increase of voltage at the Gate opens up the transistor, which then shorts the switch that it&#8217;s replacing. It doesn&#8217;t open up until it reaches 0.7V, but the usual range of voltages we&#8217;d expect is up to +5. So as long as our triggering voltage is above 0.8V, it will act at least a little like the switch has been pressed. The microcontroller needs a particular voltage to register it as well, but the nice thing about this setup is that, as long as &#8220;ground&#8221; on all components is connected, this MOSFET only transmits current and voltage that this one component already expects. In that way, we can isolate components from each other.<\/p>\n\n\n\n<p>In this case, I sent it signals from a sequencer \u2014 an instrument that sends voltage levels in sequence that often correspond to notes. In this case, though, it&#8217;s just sending on and off signals.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Voltage Controlling a Shitty Little Toy\" width=\"840\" height=\"473\" src=\"https:\/\/www.youtube.com\/embed\/l3Lwhz_i-tg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe>\n<\/div><figcaption class=\"wp-element-caption\">Chook chook chook chawhoook!<\/figcaption><\/figure>\n\n\n\n<p>This will work for adding a gate to just about any existing switch! Here&#8217;s an even weirder toy with the same trick applied, as well as an audio out installed into the back of its head!<\/p>\n\n\n\n<p>It has a momentary switch in its belly button that we shorted with the transistor. And now it has a really rude sense of humor.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Circuit Bending &quot;Logan&quot;\" width=\"840\" height=\"630\" src=\"https:\/\/www.youtube.com\/embed\/rVcEuyyTnuM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1080\" height=\"209\" src=\"https:\/\/glyphpress.com\/talk\/wp-content\/uploads\/2016\/08\/image.png\" alt=\"\" class=\"wp-image-3360\" srcset=\"https:\/\/glyphpress.com\/talk\/wp-content\/uploads\/2016\/08\/image.png 1080w, https:\/\/glyphpress.com\/talk\/wp-content\/uploads\/2016\/08\/image-300x58.png 300w, https:\/\/glyphpress.com\/talk\/wp-content\/uploads\/2016\/08\/image-768x149.png 768w, https:\/\/glyphpress.com\/talk\/wp-content\/uploads\/2016\/08\/image-1024x198.png 1024w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption class=\"wp-element-caption\">Modular systems are a function of industrial society. But do people of The Fifth World still know how to agree to standards? With their acute interest in efficiency, I think they might have carried that lesson forward!<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>About a year ago, I posted a video about using MOSFETS to control voltage in devices (instruments?) that were never intended to have that kind of control. I chose the 2n7000 MOSFET because it acts like a resistor in the range of voltages we usually care about in synthesizers, around 0-10V. In the second video, &hellip; <a href=\"https:\/\/glyphpress.com\/talk\/2023\/making-horrible-little-toys-horrific\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Making Horrible Little Toys Horrific&#8221;<\/span><\/a><\/p>\n","protected":false},"author":35,"featured_media":11034,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11032","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-set-of-all-sets-that-do-not-include-themselves"],"_links":{"self":[{"href":"https:\/\/glyphpress.com\/talk\/wp-json\/wp\/v2\/posts\/11032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/glyphpress.com\/talk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/glyphpress.com\/talk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/glyphpress.com\/talk\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/glyphpress.com\/talk\/wp-json\/wp\/v2\/comments?post=11032"}],"version-history":[{"count":3,"href":"https:\/\/glyphpress.com\/talk\/wp-json\/wp\/v2\/posts\/11032\/revisions"}],"predecessor-version":[{"id":11040,"href":"https:\/\/glyphpress.com\/talk\/wp-json\/wp\/v2\/posts\/11032\/revisions\/11040"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/glyphpress.com\/talk\/wp-json\/wp\/v2\/media\/11034"}],"wp:attachment":[{"href":"https:\/\/glyphpress.com\/talk\/wp-json\/wp\/v2\/media?parent=11032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/glyphpress.com\/talk\/wp-json\/wp\/v2\/categories?post=11032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/glyphpress.com\/talk\/wp-json\/wp\/v2\/tags?post=11032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}