updraftplus
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/wyolum/public_html/wp-includes/functions.php on line 6114Update!: You can now\u00a0buy AlaMode at Seeedstudios<\/a><\/em><\/p>\n <\/em>Here’s an example of using the AlaMode with the Raspberry Pi.<\/p>\n We had a great time demoing the AlaMode at MakerFaire. We got invited to demo in the MakerShed, because …. Surprise! MakerShed is going to carry AlaMode!<\/p>\n For this demo, \u00a0I took an\u00a0adafruit motorshield<\/a>\u00a0and used it to modulate the power to a 9V Lego train track.<\/p>\n The Arduino code is pretty simple, using Serial.read to interpret single characters as commands for controlling the motor shield. “f” means forward, “b” means back, “s” means stop. 1-9 sets the speed. \u00a0You’ll also need to install the\u00a0AFMotor \u00a0library<\/a>.<\/p>\n Program the aalegotrain.ino sketch from here:\u00a0https:\/\/github.com\/wyolum\/alamode\/tree\/master\/examples\/train_demo<\/a><\/p>\n You can either do this with an FTDI cable on another computer, or directly with the\u00a0Arduino IDE on the Raspberry Pi<\/a>.<\/p>\n The ala-modey part of this is to use the AlaMode to do the controlling motor bit. The Raspberry Pi will control the train through a web interface.<\/p>\n Install \u00a0lighttpd on the Pi (sudo apt-get install lighttpd) and put the web files from the example into \/var\/www.<\/p>\n It’s a little slow because it’s a simple CGI script (spins up a whole process with each request.) A python script interprets button presses on the web page, and uses pyserial to send the characters to AlaMode.<\/p>\n Drew Fustini of Element 14 did a\u00a0great blog post<\/a>\u00a0on our demo.<\/p>\n Here’s a video he posted:<\/p>\n [youtube]http:\/\/www.youtube.com\/watch?fv=y-9g_mfdFhc<\/a>[\/youtube]<\/p>\n If you have any questions, join the conversation at the\u00a0Wyolum forums.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":" Update!: You can now\u00a0buy AlaMode at Seeedstudios Here’s an example of using the AlaMode with the Raspberry Pi. We had a great time demoing the AlaMode at MakerFaire. We got invited to demo in the MakerShed, because …. Surprise! MakerShed … Continue reading \n
\n