8 Podcasts to Help You Level Up in Code

Podcasts

  • .NET Rocks:  “NET Rocks! is a weekly Internet audio talk show for .NET Developers.”  I have been following Carl and Richard for years.   They have great taste in selecting guests.   I tend to use this podcast to watch for trends in web development, Javascript, and all things .NET.
  • Hanselminutes:  “Hanselminutes Podcast is ‘Fresh Air’ for developers. Scott interviews movers and shakers in technology in this commute-time show.”   I love learning from Scott Hanselman about a broad range of topics including DIY/makers movement, community management, open source, and .NET tech.
  • Floss Weekly:   Early in my career, I focused exclusively on the Microsoft ecosystem.   I had a great team leader who coached me to pay attention to ways open source technology can add value to a business.   This idea changed my career for the better.   FLOSS weekly is a fun show to watch trends in open source tech.
  • http://www.se-radio.net: Podcast for Professional Software Developers.   This collection of talks can really help your team learn from the experiences of other software engineers.   It’s worth checking out!
  • Google tech talks – Awesome collection of video talks at Google given by top experts.  There’s a broad range of topics that you’ll enjoy.
  • Agile Toolkit Podcast – Conversations about Agile Development and Delivery.   In our shop, we tend to focus on Scrum and agile engineering practices.   This has been a helpful podcast to learn about other flavors of agile and ways that agile integrates with the business.
  • The Changelog: Open Source moves fast. Keep up.
  • This Developer’s Life:  A podcast about developers and their lives.

 

Top Stories on InspiredToEducate.NET

Learning To Code

Science Education

 

Join the Spark Macon Maker Space Community on Facebook

Photo by https://www.flickr.com/photos/29205886@N08/

Using Android, JavaScript, and Arduino to control your robot. #makered #javascript #android

DroidScript

Let’s say you want to tinker with making a robot controller on your Android device, but you don’t have a lot of time to learn Java.  Perhaps you just love JavaScript and want to write Android Apps.   In our maker education programs, we enjoy introducing students to JavaScript since the language helps students go from idea to prototype quickly.

Consider checking DroidScript on the Google Play Store.  DroidScript enables you to quickly build simple Android apps using JavaScript.

I greatly appreciate DroidScript enabling you to edit programs directly from a Wifi connected desktop computer.  All you need is a desktop web browser.   You don’t need to install Eclipse, Java, simulators, Netbeans or anything.   You press a button in DroidScript and the app fires up a web server on your Android device.   From your web browser, you can start making new apps, exploring and running sample programs, and checking out the documentation.

What features of Android can you access using DroidScript?

  • You can use the GPS, Compass, Camera, and Accelerometer.
  • DroidScript can do basic graphics functions.
  • According to the documentation, you can send and receive emails and SMS.
  • You can control Arduino and Lego NXT.
  • On a personal project, I used DroidScript to send commands to an Arduino through serial communication.
  • You can also fire up a custom web server so that your phone can respond to HTTP requests.

I think users will appreciate the effective samples and documentation.

Docs screen

For the young programmer, hobby programmer or someone who needs some quick code duck tape on Android, DroidScript is worth checking out.  If you need help, they have an active forum community at https://groups.google.com/forum/#!forum/androidscript

Let’s Build a Robot Control program

In our previous blog post, we showed you how to build your own DIY servo robot using Arduino.   Let’s assume that the Arduino code follows the following protocol when it receives bytes on the serial port:

  • When w is received, the robot moves forward.
  • When  s is received, the robot moves backward.
  • When a is received, the robot moves left.
  • When d is received, the robot moves right.
  • When the space character is received, the robot stops all motion.

Here’s your test robot using an Arduino Nano.

Android Bot

For this robot design, I want to use my Android device and a blue tooth keyboard to remotely control the Android device.   The blue tooth keyboard helps me control the robot at a distance.  You will also need to obtain a USB to micro-USB adapter like this one to connect your Android device to Arduino.  Here’s the code needed to control the robot.







Robot control program active


DroidScript supports two modes of development: pure JavaScript and HTML mode. This code sample uses the HTML style of application development making it natural for web developers. Let’s tear down the code. We need to import a few script files at the top of the code.







When the application starts, we need to configure the serial port to a baud rate of 9600.


//Called after application is started.
function OnStart()
{
app.ShowPopup( "Robot control active" );
usb = app.CreateUSBSerial(9600);
}

The following functions define our protocol for sending messages to the Arduino. In each case, we’re just sending the appropriate character to the serial port.


function forward()
{
usb.Write( "w" );
}

function back()
{
usb.Write( "s" );
}

function left()
{
usb.Write( "a" );
}

function stop()
{
usb.Write( " " );
}

function right()
{
usb.Write( "d" );
}

To accept keyboard input from the user, we use the following switch statement:


$(document).keypress(function(event) {
switch(event.charCode)
{
case 119:
forward();
break;
case 115:
back();
break;
case 97:
left();
break;
case 100:
right();
break;
case 32:
stop();
break;

DroidScript has a really easy function for text to speech too.


var pitch = 1.0, speed = 1.0;
app.TextToSpeech( "Resistance is futile. You will be assimilated.", pitch, speed );

Make sure to download DroidScript and check out the other cool features it offers. We love to hear from our readers! We would enjoy seeing your robots or your apps! Leave a comment below. All the best!

 

Top Stories on InspiredToEducate.NET

Learning To Code

Science Education

 

Join the Spark Macon Maker Space Community on Facebook