Home Forums Firmware osPID Firmware UI code

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • rhys
    Participant
    Post count: 20

    Brett –

    I’m going through the osPID code and reworking it to handle two instances of the PID and ATune libraries simultaniously (dual input/output). I’m doing fine with all the IO.h modifications, EEPROM routines, and PID and ATune setup for the second PID loop. However, I’m still a bit new to programming, and the menu display, control, and profile section’s logic has me completely stumped, and there are no comments in that portion of the code to explain how any of it works. Any chance I can get a rundown of how the logic works in those sections. Once I have a grasp of the logic, I can handle the programming end of things for the changes I want to make. I want to modify the display routines to handle a 16×2 LCD and display set/actual temps for both IO pairs, the menu system to handle setting up two PID loops, and the profile code to handle a two zone profile. Once I get the firmware modifications complete, then I’ll start looking over the frontend code and see what I can do there.

    Thanks!

    rhys
    Participant
    Post count: 20

    Just an update – I have initially completed a rewrite of the osPID firmware for the dual channel PID I am working on. At this point, it only bears a vague resemblance to the osPID firmware I started with. The io.h file is gone, as multiple I/O card support is not needed for my design. The serial communications and dashboard have been almost completely rewritten. The main loop code and other subroutines have also been significantly rewritten to support two PID loops.

    Some additional code tweaking may be needed as I continue to rewrite the front-end to support all of the firmware changes, but the firmware is substantially complete, and should work for a stand-alone dual channel PID without profile support. I have published the code to GitHub if anyone is interested, https://github.com/Rhys79/Dual_osPID. You can also find my other projects, as well as the work-in-progress front-end code in my repositories as well.

    raulddan
    Participant
    Post count: 1

    Hello rhys,
    I was amazed by what you are trying to do here.
    I am in the process of buiding a bga rework station too.
    I must tell you that I am a beginer in programing so please be patient with me 🙂
    Can you please let me know how to use your code with an arduino mega, a 20×4 lcd (I2C) and 4 pullup buttons ?
    At least please let me know where to start.
    I had a look on your code and from what I understand the lcd library is for lcd with buttons on it ?
    Thanks and waiting for a positive reply.
    PS: By the way, have you managed to get your station up and runing ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.