v07.15.2024
Advanced
Innovative Creations
Alvik Swarms and BLE
Can you get an Alvik talking to another device using BLE?
Think Like an Engineer:
What features will your robot(s) have and what materials will you use to make them?
Think like a programmer:
Can you make another device into a remote or steering wheel for the Alvik?
EXAMPLE IDEAS
Flip over for more details!
All Skills
CODE IT!
CHALLENGE YOURSELF
Can you have one robot talk to three or four bots?
from arduino_alvik import ArduinoAlvik
alvik = ArduinoAlvik()
alvik.begin()
from BLE_lib import Yell, Sniff
c = Sniff()
c.scan(100)
time.sleep_ms(d)
c.stop_scan()
command = c.command
BLE COMMUNICATION
from BLE_lib import Yell
p = Yell()
p.advertise('info')
p.stop_advertising()
Load the BLE library into your Alvik
You can find the library that you will need on bottom of this notion page