Code Examples: Difference between revisions

From STorM32-BGC Wiki
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
This pages provides links to some codes written by users, which may serve as examples.  
This pages provides links to some codes written by users or the firmware author, which may serve as examples.  


<div class="toclimit-2">__TOC__</div>
<div class="toclimit-2">__TOC__</div>
Line 34: Line 34:
User maciek252 has posted a working sketch for Arduino for controlling a Sony Nex with an IR Led. The Arduino is connected to a serial interface and can be used with the {{PARAMVALUE|CAMRemote UART}} (recommended) or {{PARAMVALUE|Serial Api}} camera models:  
User maciek252 has posted a working sketch for Arduino for controlling a Sony Nex with an IR Led. The Arduino is connected to a serial interface and can be used with the {{PARAMVALUE|CAMRemote UART}} (recommended) or {{PARAMVALUE|Serial Api}} camera models:  
: https://www.rcgroups.com/forums/showthread.php?2838548-T-STorM32-The-best-STorM32-ever-%21/page42&perpage=50#post47033629
: https://www.rcgroups.com/forums/showthread.php?2838548-T-STorM32-The-best-STorM32-ever-%21/page42&perpage=50#post47033629
User maciek252 has also posted a working sketch for Arduino to control a GoPro Hero camera via BLE (i.e, not wifi!):
: https://www.rcgroups.com/forums/showpost.php?p=47216869&postcount=13385


=== ESP32 for GoPro Hero ===
=== ESP32 for GoPro Hero ===

Latest revision as of 19:56, 5 October 2023

This pages provides links to some codes written by users or the firmware author, which may serve as examples.

Serial Communication

C

A relatively general C library for handling Serial RC commands is available here:

https://github.com/olliw42/storm32bgc/tree/master/c-library

Arduino Sketches

User Sitas has posted an example sketch for Arduino using Serial RC command messages here:

https://www.rcgroups.com/forums/showpost.php?p=45870749&postcount=1902

User digaus has posted an example sketch for Arduino using MAVLink messages here:

https://www.rcgroups.com/forums/showpost.php?p=39747588&postcount=11025
(old version: http://www.rcgroups.com/forums/showpost.php?p=34912538&postcount=8213)

Python

A basic Python library for handling Serial RC commands is available here:

https://github.com/olliw42/storm32bgc/tree/master/py-library

User Brandon12 has posted a quite extensive Python script using Serial RC commands here:

(07/19/2018)
Version 1.0: https://www.rcgroups.com/forums/showpost.php?p=39960758&postcount=11106

NT Camera

Arduino Sketches

User maciek252 has posted a working sketch for Arduino for controlling a Sony Nex with an IR Led. The Arduino is connected to a serial interface and can be used with the “CAMRemote UART” (recommended) or “Serial Api” camera models:

https://www.rcgroups.com/forums/showthread.php?2838548-T-STorM32-The-best-STorM32-ever-%21/page42&perpage=50#post47033629

User maciek252 has also posted a working sketch for Arduino to control a GoPro Hero camera via BLE (i.e, not wifi!):

https://www.rcgroups.com/forums/showpost.php?p=47216869&postcount=13385

ESP32 for GoPro Hero

Arduino sketches and C files (and other relevant material) for operating a GoPro Hero camera via wifi using an ESP32 are vailable here:

https://github.com/olliw42/goprohero