advanced examples - 1scale1/sweetbt GitHub Wiki

Graphing all analog values.

This sketch demonstrates how to take six analog sensor values from a Arduino bluetooth module, using the Sweetblue library developed by 1scale1, and graphs them on the screen of your mobilephone. All sensors are constantly read and stored but you can switch between which value you want to see.

GUI:

  • Top slider controls how often you sample a new value and controls how fast the values will flow over the screen.
  • The Botton slider controls how many sensor readings to show simultaneously.
  • Buttons in the bottom selects which analog sensor reading to show

Download processing sketch

All sensors

Two sensors


2D lamps

This example is a collaboration between 1scale1 and Oyuki Matsumoto to create two lamps controlled over bluetooth. The application uses Sweetblue to easily create a link between the two lamps and the Android phone.

Short video explaining the lamps

Processing code

2D lamps