S3 BlocklyProp Sensor Observation Deck

WhitWhit Posts: 3,706
This is an S3 BlocklyProp Sensor Observation Deck - the values refresh in a loop.

The code mimics the old GUI Observation Deck by using BlocklyProp and the Terminal. It monitors the Light Sensors, Infrared Obstacle Sensors, and Line Sensors - without the coffee mug!

See - http://blockly.parallax.com/blockly/editor/blocklyc.jsp?project=12557

Below is a screen capture of the Terminal display. The values for the Line Sensors are both 1 because the S3 is sitting on a block. Note: This code uses some blocks that are not currently in the S3 block menu.

22046878_10155756134409740_8558914297285458139_n.jpg

This update uses new blocks written with BlocklyProp for "other" boards - meaning the fuller menu of BlocklyProp - The Blocks were downloaded and uploaded into a new S3 project - http://blockly.parallax.com/blockly/my/projects.jsp#12576 and http://blockly.parallax.com/blockly/editor/blocklyc.jsp?project=12576

One last note - I plan on updating this further to included every sensor in the Sensor menu for the S3 - that means adding Stall, Sony Remote, Microphone, and Button. Fun stuff.

Let me know how it works on your S3!
Whit+

"We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney

Comments

  • 4 Comments sorted by Date Added Votes
  • You have been a busy man! Looks great.
    Infernal Machine
  • Publison wrote: »
    You have been a busy man! Looks great.

    Thanks, Publison! That is part of the reason I've been quiet here. Lots more to post and share - I will put it here and on the BlocklyProp for Microcontrollers Facebook page.

    Whit+

    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
  • We used this program in today's Professional Development, Whit.
  • It works pretty well and the observation deck is a great way to demonstrate what the S3's sensors are up to in real time!
    Whit+

    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
Sign In or Register to comment.