burgrp / nanook-mb

NANOOK geothermal heat pump main board
2 stars 0 forks source link

Better documentation about compiling FW #1

Open JoshSK opened 4 years ago

JoshSK commented 4 years ago

Hello,

could you write a few lines about compiling the firmware, please? I want to use your code with STM32F411 MiniF4 (blackpill) and/or STM32F103 bluepill. I have a poblem with libs/dependencies... As a stepper driver I would like to use DRV8825. Sorry, I'm new to STM32CubeIDE. BTW what toolchain do you use?

Thanks so much

burgrp commented 4 years ago

Hi, I'm on vacation this week. Will get back to you next week. PB.

On Tue, Jun 16, 2020, 11:25 JoshSK notifications@github.com wrote:

Hello,

could you write a few lines about compiling the firmware, please? I want to use your code with STM32F411 MiniF4 (blackpill) and/or STM32F103 bluepill. I have a poblem with libs/dependencies... As a stepper driver I would like to use DRV8825. Sorry, I'm new to STM32CubeIDE. BTW what toolchain do you use?

Thanks so much

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/device-farm/nanook-mb/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRJYVTXZMDL5726TLRJ543RW43BXANCNFSM4N7NYWIQ .

burgrp commented 4 years ago

@JoshSK , I have added instruction how to compile the firmware: https://github.com/device-farm/nanook-mb#compiling-firmware Although, we do not have peripheral libraries generated from SVD available for STM32F411 and STM32F103, it should not be problem to generate them. Please check "silicon svd" command. I'm quite interested what is your intention - are you going to run the firmware on a different board than nanook-mb?

JoshSK commented 4 years ago

Thanks so much. I'll look at your silicon library. Yes, I would modify your design using "mainstream" blocks like *pills, motor drivers for 3d printers... all these parts on the headers and then I would modify topology for use with multiple EEV (1+n). What you thing about this draft? Thanks

nanook2

burgrp commented 4 years ago

Looks great. I'm currently busy by another 10kW heat pump, which will be based on current nanook-mb board, but I was already thinking about making the electronic more modular. My idea is to split the design to several blocks (PSU, Linux MCU, analog interface, power switches...) each on it's own PCB with a common bus interface with 12/5/3.3V, I2C. Boards would have a standard dimension on one side, with board-to-board connectors, so they can be mounted side by side without additional wiring. Perhaps we could cooperate on that, if you like.

JoshSK commented 4 years ago

Hello, that sounds good. Do you mean something like this? image

burgrp commented 4 years ago

Exactly! There would be two Stepper (MotorControl) boards, one per EEV, but that's a detail.

JoshSK commented 4 years ago

Hello again,

Sorry for OT, but what you think about switch communication to CAN bus? For example something like this https://www.kickstarter.com/projects/1242572682/nocan-the-wired-iot-platform-for-makers

burgrp commented 4 years ago

Hi,

I would like to stick with I2C because of simplicity. CAN bus needs additional driver chip and an MCU which has that peripheral. Although there are obvious advantages of CAN over I2C, there is no need for them. Communication with sensors does not need to be super fast, there are no long distances, so signal noise is not an issue. Or, do you have a strong reason to use CAN, please?