Author Topic: T2 Language  (Read 378 times)

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3194
    • View Profile
T2 Language
« on: May 26, 2020, 03:48:09 PM »
Zax - would you mind stating what language you developed T2 in. We have an Arduino Mega Greenhouse controller that has a local 4x20 display and configuration/logging via SD card. Would like to add wifi and a GUI for remote control and display of operating conditions. Nothing to to with Lasers but we started with C# on Visual Studio and the learning curve is steep.
SARCASM - Just one more service we offer here.

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7233
    • View Profile
    • T2Laser
Re: T2 Language
« Reply #1 on: May 27, 2020, 03:52:20 AM »
Yes, that's what I use.

Administrator

  • Administrator
  • Hero Member
  • *****
  • Posts: 2850
  • Administrator
    • View Profile
Re: T2 Language
« Reply #2 on: May 27, 2020, 04:15:49 AM »
Arduino boards (there is a large family of different microprocessors as you know) are usually developed using the Arduino IDE and the C language. I have done a lot of that kind of development. There is a lot of online help for you as a developer. I'm guessing you could use another language but C is the Arduino core development language.
Admin -- Ralph -- support @ BenCutLaser dot us
https://www.dropbox.com/s/qv1qee2vb65785t/SetupBenCutLaser3.2a.zip?dl=0
BCL Paid license: $49.95
via Paypal to bclpp@primemail.com

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3194
    • View Profile
Re: T2 Language
« Reply #3 on: May 27, 2020, 06:52:33 AM »
I'm fine with embedded C, so so with Linux applications, frustrated by Windows GUI!!!
SARCASM - Just one more service we offer here.

Administrator

  • Administrator
  • Hero Member
  • *****
  • Posts: 2850
  • Administrator
    • View Profile
Re: T2 Language
« Reply #4 on: May 27, 2020, 08:56:05 AM »
The Mega is a great board, I have several myself. Lots of IO pins on it, so hopefully you'll have some room to add your new components. Sounds like a great project.
Admin -- Ralph -- support @ BenCutLaser dot us
https://www.dropbox.com/s/qv1qee2vb65785t/SetupBenCutLaser3.2a.zip?dl=0
BCL Paid license: $49.95
via Paypal to bclpp@primemail.com

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3194
    • View Profile
Re: T2 Language
« Reply #5 on: May 27, 2020, 09:18:39 AM »
We have a few units installed at local greenhouses. The owners were eager to get involved but after a month lose interest. Common problem was it just works and once setup they do nothing. Guess that is a good thing.

We have a version, awaiting the virus to abate, at a local school where there are planting trays mounted over large fish tanks. It pumps water (with fish poop) from the fish tank into the growing vats where somehow the plants purify the water which is recycled back to the tanks and help feed the fish. I am not a biologist!!!! Computer also activates grow lights based on sunrise/sunset to simulate a natural environment. My wife used a version to grow quite a lot of lettuce (and other plants) this winter.
SARCASM - Just one more service we offer here.

Administrator

  • Administrator
  • Hero Member
  • *****
  • Posts: 2850
  • Administrator
    • View Profile
Re: T2 Language
« Reply #6 on: May 27, 2020, 09:50:36 AM »
How do you remote control it? Have you written a mobile app to do that?

I use to do mobile app development under iOS until Apple made it just too difficult (and too expensive) for me to continue. Now days all I develop mobile apps for is Android.

The difference between developing code and getting your app to market between Android and iOS is like night and day. Android development under their license agreement is 100 times easier and 100 times cheaper than iOS. Apple is really a massively arrogant company, who thinks they know it all. Sort of like Microsoft used to be before Google cut Microsoft down to size. Apple someday will fall, but for now, they like to think and behave like they are the 800 pound gorilla in the mobile development world.
« Last Edit: May 27, 2020, 01:25:50 PM by Administrator »
Admin -- Ralph -- support @ BenCutLaser dot us
https://www.dropbox.com/s/qv1qee2vb65785t/SetupBenCutLaser3.2a.zip?dl=0
BCL Paid license: $49.95
via Paypal to bclpp@primemail.com

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3194
    • View Profile
Re: T2 Language
« Reply #7 on: May 27, 2020, 01:19:33 PM »
I purchased a couple of ATmega boards with the onboard ESP8266. From Chine, zero documentation. Second option is to replace the AVR with an ESP32 and redesign the signal wiring interface board. We currently use plug-in modules for RTC and SD card so integrating them would save some assembly effort.

Which language is BCL written in?
SARCASM - Just one more service we offer here.

Administrator

  • Administrator
  • Hero Member
  • *****
  • Posts: 2850
  • Administrator
    • View Profile
Re: T2 Language
« Reply #8 on: May 27, 2020, 01:27:45 PM »
>Which language is BCL written in?

C# and the IDE I use is Visual Studio 2017.
Paul uses the same setup when he is writing code for BCL.
Admin -- Ralph -- support @ BenCutLaser dot us
https://www.dropbox.com/s/qv1qee2vb65785t/SetupBenCutLaser3.2a.zip?dl=0
BCL Paid license: $49.95
via Paypal to bclpp@primemail.com