Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. vijays
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 10
    • Best 0
    • Controversial 0
    • Groups 0

    vijays

    @vijays

    0
    Reputation
    3
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    vijays Unfollow Follow

    Latest posts made by vijays

    • RE: General GPIO input values visible in the object model? Analog?

      Hi @dc42 , I have similar requirement, where I want to read an analog value from Duet 3 board GPIO (e.g io3). Are the GPIO pins capable to read analog data?

      To give a background, I have a Raspberry pi, which is connected to multiple temperature sensors. The python code collects multiple sensors values and averages the value. The average temperature value needs to be fed into Duet 3 board using GPIO (e.g io3 input).

      When I use gcode M308 and M950, I am getting garbage values in DWC.

      Any thoughts?

      posted in Beta Firmware
      vijaysundefined
      vijays
    • RE: Duet 3 Board GPIO input heater control

      Good Tips. Thanks @achrn.

      Yes. I need to read analog input data from sensor.
      Using the analog data I want to control the heater. I presume it should be realtime, so that the heaters can quickly adjust to the sensor value.

      I was not aware of daemon.g and object model properties. Good points. I will explore these possibilities.

      Thanks much.

      posted in Duet Hardware and wiring
      vijaysundefined
      vijays
    • Duet 3 Board GPIO input heater control

      Hi,
      I want to read some sensor data through Duet 3 GPIO pin.
      Based on the sensor data value I want to control heater output.

      For example, the sensor could be a moisture sensor.

      1. How to enable GPIO configuration and read the sensor value in Duet 3 Board?
      2. Which GCode should I use to read the sensor from GPIO pin.
      3. Is it possible to control the heater based on the sensor value received from GPIO. (Example, If the value of GPIO received is 50 then set the heater to 150C automatically )

      Kindly share your insights.
      Thanks

      posted in Duet Hardware and wiring
      vijaysundefined
      vijays
    • RE: Duet Web Control Plugin using React.js

      @chrishamm Interesting repos. Will explore on the possibilities of these repos. However I think it still requires some learning on Vue . It would be interesting to develop and extend DWC plugins in framework agnostic way which might interests community to develop more plugins.

      posted in Duet Web Control
      vijaysundefined
      vijays
    • Duet Web Control Plugin using React.js

      Hi,
      I am looking to develop a Duet Web control plugin to show the bed temperature as a heat map (Ref attached image) in UI. I am using MLX90640 Infrared thermal camera to get the bed temperate in grid format by connecting this sensor to Raspberry PI.

      1. How do publish this data to be displayed on Duet Web Control? Which REST Api should I use in order to publish the data into the Duet Web Control UI?

      2. Can I create a Duet Web Control plugin using Reactjs instead of Vue?

      Kindly assist. Thanks.

      Javascript_LiveHeatmap_Chart.png

      posted in Duet Web Control
      vijaysundefined
      vijays
    • RE: Duet3D Board to SBC (Raspberry Pi/Pico) to Galvo drivers

      @dc42 Thanks @dc42 !. Yes. I am trying to use RPi Pico or Raspberry Pi via SBC interface.. Thats why referred as Rpi Pico as SBC from the interface point of view.Yes. You are right. Pico is not SBC.
      Given that communication happens in one way from Raspberry pi ---> Duet3 Board, I have to think of some alternative solution to control Raspberry pi board from Duet3 board.

      Sure. I will explore on the Duet3Expansion and with RpiBuild. I think then Duet3Expansion boards works only CAN ports.. Isn't it?? Not sure if there are alternative ports supported.. Let me explore.

      posted in Duet Hardware and wiring
      vijaysundefined
      vijays
    • RE: Duet3D Board to SBC (Raspberry Pi/Pico) to Galvo drivers

      @T3P3Tony Thanks for fast response. Ok. I assumed Duet could act as master and control SBC as slave.. Looks this is not the option.

      My initial plan was, from Duet board, using some custom gcode sends buffer data to SBC via SPI. The SBC receives the data and sends the data to DAC and Opamp to drive the galvos..

      Could you validate this idea? or do you suggest some better alternatives??

      posted in Duet Hardware and wiring
      vijaysundefined
      vijays
    • RE: Duet3D Board to SBC (Raspberry Pi/Pico) to Galvo drivers

      @o_lampe SBC is used, mainly to control galvos and additionally I intend to use Thermal camera mlx90640 to get grid temperature of the plate. Duet boards don't have additional pins which we could use. Hence using external SBC to drive galvos.

      Yes. I am trying 12 bit mcp4922 DAC and using feeding into Opamp (LM324/TL084/741) to amplify and feeding this signal to drive galvo drivers. Is there any better combination of IC which could produce better signal with less noise?? Any suggestions??

      posted in Duet Hardware and wiring
      vijaysundefined
      vijays
    • RE: Duet3D Board to SBC (Raspberry Pi/Pico) to Galvo drivers

      @T3P3Tony Thanks for your response.

      SBC should act as a bridge between galvos and Duet board. The intention is that duet board should send a gcode with some positions, which is transferred via SBC (through SPI communication). The SBC will have a program to interpret the positional values received from duet and pass appropriate values to DAC and Galvo drivers .

      However, how the duet board and SBC communication communication is established at first place. Whats the configuration/settings needs to be done to enable the SPI communication from Duet to SBC..

      I had a brief look at DSF API. I think DSF works on Raspberry pi boards with .NET or python code.. Not sure if DSF could be used on raspberry pi pico boards.

      From Reprap codebase has https://github.com/Duet3D/RepRapFirmware/tree/3.4-dev/src/SBC
      I see few SPI data transfer related code, which does SPI communication to SBC.. How does Duet board calls this code to communicate to the SBC. Whats the configuration required to enable the communication.?

      I thought about the synchronization challenges you have mentioned. . But I think it could be timed and could be calibrated to move the buffer. I hope so .. Not sure.. Have to try it out.

      posted in Duet Hardware and wiring
      vijaysundefined
      vijays
    • Duet3D Board to SBC (Raspberry Pi/Pico) to Galvo drivers

      Hi,
      I want to to drive 2 galvo motors. I intend to use a separate SBC (Raspberry pi/pico) to interface with Main Duet 3 board.

      So proposed structure is like this Duet3 ---> SBC ----> Galvo Motors

      I have few questions.

      1. How can I interface the Duet 3 Board with SBC (Raspberry Pi/Pico). Whats the configuration needs to be done in the firmware/webcontrol settings?
      2. Which GCode needs to be used to drive the galvo motors which is connected via SBC? The galvo motors are mounted into SBC and not in the main board.
      3. As per the documentation, the SBC is communicated via SPI in duet3. How the communication is enabled in Duet3 Firmware/Web Interface?

      Any references/support is much appreciated.

      posted in Duet Hardware and wiring
      vijaysundefined
      vijays