FarmBot / FarmBot/farmbot_os

Problems with the integration and use of my created firmware with F52 Handler

Open
#1,518 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
1.2k
Forks
286
PR merge metrics
No merged PRs in 30d

Description

Hello,

I have programmed a new firmware in which I have defined the F52 handler to read I²C sensors. The firmware works fine when I manually upload it to the Farmduino via my laptop. However, I have difficulties integrating the firmware into the FarmBot operating system so that the “custom” firmware is flashed automatically.

I followed the instructions on the FarmBot Developer documentation for this process, specifically the section on flashing the custom.hex file to the SD card. Unfortunately, I am missing detailed instructions to ensure that the firmware is correctly integrated into the system.

Question 1: Could you please provide me with a more detailed explanation or steps on how to successfully integrate the new firmware into the operating system?

Second problem:

Another problem occurs after the firmware is successfully integrated: I cannot display the read out sensor data in the WebApp.

I have tried to execute the F42 code via Lua, for example, but unfortunately no return value is returned. Although the code is passed to the firmware, the system does not seem to wait for the return value.

Question 2: Is there a way to fix this problem so that the WebApp waits for the return value and displays the sensor data correctly?

System information:
Firmware version: Custom firmware with F52 handler for I²C sensors (based on current version on github)
FarmBot version: Genesis v1.6
Operating system/platform: current version on github
Documentation used: https://developer.farm.bot/v15/docs/firmware/custom-firmware.html

Thank you very much for your help!

Finn

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.