Thursday, March 1, 2018

S3 Onboard OLED Sensor Observation Deck



It is possible to use BlocklyProp in ways not planned by Parallax. Blocks for the Propeller Activity Board can be downloaded and uploaded and appended to programs for the S3 (which has a simpler block set). This sort of use is experimental! Results are not guaranteed.

Doing so, I created this S3 BlocklyProp Onboard OLED Sensor Observation Deck - Line, Obstacle, & Light which uses blocks imported from BlocklyProp for the Propeller Activity Board.

The Observation Deck uses the OLED to display the Left and Right Line Sensor values, Obstacle Status for Left and Right (clear or blocked), and the Left, Center, & Right Light Sensor values. Values refresh in a loop.

See OLED Display with BlocklyProp on learn.parallax.com for reference. OLED pins - GND to GND, VCC to 3.3V, DIN to P0, CLK to P1, CS to P2, D/C to P3, RES to P4 on the S3 Hacker Port

BlocklyProp Code is #29065 and shared here - http://blockly.parallax.com/blockly/my/projects.jsp#29065 (low-res image below for length reference).


No comments:

Post a Comment