2014-02-07 13.50.22 HDR-1

Prototyping: Arduino Micro cont.

It’s been a very productive day so far. I’ve managed to get two separate Arduinos to communicate via a transmitter and a receiver! Add in the code from yesterday’s pressure sensor and I can now use the pressure sensor as a command to send a message to the receiver, with no communication when the sensor is idle.

Here’s a couple of diagrams I sketched of the circuits:

Transmitter

Receiver

The circuits:

2014-02-07 12.48.12

Transmitter

2014-02-07 12.48.26

Receiver

And here’s the code:

Transmitter

Transmitter

Screen Shot 2014-02-07 at 14.25.38

Receiver

Here’s a video of it working. Notice the serial monitor on my laptop screen: the transmitter is coded to send the message “It works” which the receiver is picking up and printing on the screen. Both circuits also flash an LED to represent a message being sent/received:

Finally, here I am putting it into context – think of it as an experience prototype. If I put the pressure sensor under a cushion on a chair I can detect someone sitting on it which is indicated by the LED lighting up. Hopefully later developments will do something a bit more exciting.

About these ads

One thought on “Prototyping: Arduino Micro cont.

  1. Pingback: Arduino Blog » Blog Archive » Prototyping a pressure sensor with Arduino Micro #ArduinoMicroMonday

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