e-puck2 mobile phone development: Difference between revisions

From GCtronic wiki
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:


=Robot configuration=
=Robot configuration=
For working with Bluetooth Low Energy, the main microcontroller and radio module must be programmed with dedicated firmwares (not the factory ones):
For working with Bluetooth Low Energy, the main microcontroller and radio module must be programmed with dedicated firmwares (not the factory ones). The main microcontroller firmware is the same used with WiFi:
* [http://projects.gctronic.com/epuck2/e-puck2_main-processor_ble_afaa618.elf main microcontroller ble firmware], for information on how to update the firmware refer to section [http://www.gctronic.com/doc/index.php?title=e-puck2#Firmware_update main microcontroller firmware update]
* [http://projects.gctronic.com/epuck2/e-puck2_main-processor_wifi_afaa618.elf main microcontroller wifi firmware], for information on how to update the firmware refer to section [http://www.gctronic.com/doc/index.php?title=e-puck2#Firmware_update main microcontroller firmware update]
* [http://projects.gctronic.com/epuck2/esp32-firmware-ble_04.09.18_3e5a7a8.zip radio module ble firmware (04.09.18)], for information on how to update the firmware refer to section [http://www.gctronic.com/doc/index.php?title=e-puck2#Firmware_update_2 radio module firmware update]
* [http://projects.gctronic.com/epuck2/esp32-firmware-ble_04.09.18_3e5a7a8.zip radio module ble firmware (04.09.18)], for information on how to update the firmware refer to section [http://www.gctronic.com/doc/index.php?title=e-puck2#Firmware_update_2 radio module firmware update]
Put the selector in position 15.<br/>
Put the selector in position 15.<br/>

Revision as of 13:53, 5 September 2018

e-puck2 main wiki

Robot configuration

For working with Bluetooth Low Energy, the main microcontroller and radio module must be programmed with dedicated firmwares (not the factory ones). The main microcontroller firmware is the same used with WiFi:

Put the selector in position 15.

Section Connecting to the BLE gives step by step instructions on how to accomplish your first BLE connection with the robot.

Connecting to the BLE

Get the source code

The main microcontroller ble firmware source code can be downloaded with the command: git clone --recursive -b wifi https://github.com/e-puck2/e-puck2_main-processor.git
The radio module ble firmware source code can be downloaded with the command: git clone --recursive -b ble_spp https://github.com/e-puck2/esp-idf.git esp-idf_ble
The command must be issued in Git bash on Windows, or in a terminal on Linux / Mac.

This repository contains the main microcontroller factory firmware together with the e-puck2 library. This library includes all the functions needed to interact with the robot's sensors and actuators; the factory firmware shows how to use these functions.

A snapshot of the repository can be donwloaded from e-puck2_main-processor_snapshot_16.02.18.zip.