Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
TRS-80T

TRS-80

@TRS-80
About
Posts
183
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • The "new" Arduino Pro IDE
    TRS-80T TRS-80

    @NeverDie said in The "new" Arduino Pro IDE:

    I think of freedom and open source going hand in hand

    And in most of cases, they do. In fact they are almost about the same things (perhaps with some disagreements about how to get there).

    A really good article that I link to often (in fact I think I already did further up thread):

    Why Open Source misses the point of Free Software (from point of view of FSF/GNU) makes some really good points about subtle misunderstandings that can arise from commonly used terms, and why they insist (and people like me agree with and follow) the recommendation to use term "Free Software" or "F/LOSS" instead of the more common nowadays "open source."

    “Free software.” “Open source.” If it's the same software (or nearly so), does it matter which name you use? Yes, because different words convey different ideas. While a free program by any other name would give you the same freedom today, establishing freedom in a lasting way depends above all on teaching people to value freedom. If you want to help do this, it is essential to speak of “free software.”

    Development

  • The "new" Arduino Pro IDE
    TRS-80T TRS-80

    @NeverDie said in The "new" Arduino Pro IDE:

    it's for profit, yet everything is open source

    The "free" in Free Software is referring to freedom, not price (part of what is explained at link). Charging for your work (or for hardware) is in no way inconsistent with the values of F/LOSS.

    Or as they say "free as in freedom, not as in free beer!"

    GNU_free_as_in_freedom.png

    Also why the "L" in F/LOSS (for Libre).

    Perhaps you are aware of this already, but always there are others reading, too, so I figured it bears repeating...

    @NeverDie said in The "new" Arduino Pro IDE:

    Amazon's FreeRTOS at least has Amazon behind it

    They are another 800 pound gorilla in the room, who I don't trust, either. So them being "behind" something, is not a plus, in my view.

    Historically, they have also heavily locked down their e-reader devices. Yet another in a long list of companies who is so obnoxious as to think that they really own the device you paid for with your own hard earned money.

    Other than that, I haven't really followed things on the RTOS front, so maybe I will learn something interesting.

    Development

  • Yet Another MySensors Thermostat (US 24VAC multi wire)
    TRS-80T TRS-80

    OK, I suppose it's time for an update, as I have actually had this working for some time already. :sunglasses:

    Aah, documentation though... :smile:

    Why so many different "thermostat" projects already?

    So first off, I think I learned a couple things from my (admittedly, non-exhaustive) research into existing MySensors (and other) thermostat projects:

    1. Everyone is making a thermostat to work with whatever sort of HVAC system they already have. This varies throughout the world.

    2. Everyone has a different idea about what the UI should be. Some people have nice touch screens, some people prefer physical controls, etc...

    Multiplying #1 by #2 it becomes clear why there is such a proliferation of "MySensors thermostats", and why I did not at first find "the one" general project I thought I was looking for...

    So now taking that into account, I have appended "(US 24VAC multi wire)" to the title, and I will begin by listing what I think a thermostat should be:

    Specifications

    1. Dictated by / must work with my existing HVAC system, which is the very common sort here in US of 24VAC with several wires (one each for heat, compressor, fan, etc...).

    2. In my case, no common comes down from the central unit in the attic to the thermostat/controller. So I will need to provide my own power for the uC and radio (could be 1.b., really).

    3. Personally, I don't really care about fancy UI, touch screens or any of that. In fact, for my purposes (mostly expediency) I am fine with controlling the thing strictly through the HA controller (OpenHAB) through web or other interfaces (voice, XMPP/Jabber, etc.).

    4. I want to be able to make decisions (turn on/off heating/cooling) based on all the temperature sensors in the home, or perhaps an average of them, instead of just the one built in to the thermostat. And perhaps also other things (like weather forecasts).

    5. However, at same time I have built in some failsafes in case the controller (or communication, or whatever other parts of system) should break down.

    OK, I think that just about covers it. I went for an easy implementation, basically some temperature sensors and a few relays. Most of this implementation (besides research :smile:) is in software (on the node as well as in OpenHAB).

    Operational Model

    In order to achieve #4 from Specifications, above, I will need to get the temp from the whole house back to the controller somehow. Well, if it wasn't for #5 I could do everything in the controller (OpenHAB) and just have the node be some dumb relays. But since #5 is a requirement, we must do the actual logic in the node.

    So my plan is to send the average temp in the home to the node every minute or so let's say. Then the node will store this value and make it's decisions based on that value.

    Redundancy / Fallback

    Which leads into this topic. What if the node does not receive the average temp from the controller? Well, the code in the node features a time out. After some configurable time (currently 5 min, which is still less than short cycle minimum cycle limit (more on that below)) the node will simply begin to use the directly attached temperature sensor, instead of the received average value, to continue to make it's own decisions, independently of the controller.

    As a further backup against some catastrophic failure of the node itself (or any part of system really), I have simply left the existing/old unit hooked up. I connected the wires from my new unit straight to the old one (screw terminals) and set the switch on the old one to "OFF." This way, worst case I just unplug my (perhaps failed) unit and turn the switch on the old one back "ON" and we would be right back in business.

    Hysteresis and Short Cycling

    Finally, if you have read anything about this topic, or ever thought about doing it yourself, you will at some point come across some mention of these topics.

    I will admit to being overly worried of them too for a while (what if I break my main HVAC unit, etc.), until I simply started paying close attention to my existing HVAC unit, including actually timing the cycles.

    When I realized that (in our case) the thing seems to run for at least 30-40 minutes at a time, I quit worrying about it so much. Also I found some other info online that basically said the longer you run the unit for at each cycle, the more efficient it is.

    But I have read some threads where people go really bananas on this topic, and to put it simply, I am almost certain that very few if any thermostat manufacturers fret over "hysteresis" as much as some of these various online fora pontificatiors do. Anyway, I suppose I have done enough research by now to not be worried about it any more.

    I have made provision to set some minimum cycle time in the node (so far 20 min), and that is good enough. I may adjust this value over time.

    For "hysteresis" I have the code in the node currently written like:

    if (ROOM_TEMP >= HVAC_SET_COOL) {
      // turn on A/C
    }
    

    Careful observers will note that the >= (as opposed to just >) builds in 1 degree a sort of "hysteresis" (in addition to the minimum cycle time).

    I think I wrote enough for today. I need to clean up the whole code before I post it. The hardware is uninteresting, but I guess I can post pics if anyone is interested. Let me know.

    Screen shots of UI (in OpenHAB / Basic UI)

    One thing that is easy to share is a screen shot from the interface in OpenHAB. I guess I can post that as a teaser (I have dark theme set on almost everything, including browser, use your imagination if you prefer white background :smiley: ) :

    2020-07-15_screenshot.png

    OK, fine! Since it's really hard to see the "raised card" effect of OpenHAB with a dark background, I turned off my dark browser theme, so here it is in white:

    2020-07-15_screenshot2.png

    Let me know what you think. Any questions, etc...

    My Project

  • The "new" Arduino Pro IDE
    TRS-80T TRS-80

    @BearWithBeard said in The "new" Arduino Pro IDE:

    Microsoft

    Well, if I still remember Arduino founder antics, they have got nothing on Microsoft. :smile: It's not for no reason they are shunned by many (including myself). I am not sure how old you are Bear (I suspect a little younger than me) however I still well remember their funding of SCO–Linux lawsuits, Embrace, extend, and extinguish, patent abuse, and on and on and on...

    Not picking on you personally, Bear, nor your choices. Just pointing out facts for anyone (perhaps including yourself) who may be unaware that Microsoft have been actively hostile towards the principles of Free/Libre Software for a very, very long time now. Personally I am not "buying" that they suddenly "got religion" with regards to open source, regardless of their huge recent marketing effort to the contrary.

    @BearWithBeard said in The "new" Arduino Pro IDE:

    I've downloaded the Pro IDE earlier this year - I think it was still Alpha 0.0.5 - and at first glance it had a lot of similarities with VS Code. It has the same look and feel, many UI concepts are identical. The config is now a (UI-configurable) JSON file, just like in VS Code. Among others, it uses the same CTRL + P and CTRL + SHIFT + P shortcuts to search for files and commands. Then again, even such basic things like code formatting or even syntax highlighting didn't work at all. And almost a year after its introduction, it's still in an (early?) alpha stage - so I don't know what we should realistically expect from it. I mean, it's definitely a step in the right direction, but they have a looong way to go to be able to compete with other IDEs.

    This is why I pinged you. Personally, I'm not even going to spend any of my valuable time looking into it. But I somewhat expected you had, and also you are more open-minded towards it. So, thanks for the feedback in case anyone is interested.

    @BearWithBeard said in The "new" Arduino Pro IDE:

    I was curious if they would manage to implement an open hardware debugger for AVRs, because as of yet, this is AFAIK still only possible with proprietary Atmel / Microchip hard- and software. But I doubt that this is going to happen.

    I have come across some mentions about "debugging" in PlatformIO but to be honest never really looked into it yet, as so far I haven't needed to (as far as I know). But if this is "hardware" related as you say, I wonder how they are doing that? Maybe just software support, in the case your hardware already supports it I guess </total wild arse speculation :smile: >?

    Development

  • converting a project to mysensors.
    TRS-80T TRS-80

    I am pretty sure there are already some posts about that, did you study those? They will probably be helpful in getting you started.

    Other than that, post whatever specific problems you run into as you go along, and you will be more likely to get some specific replies.

    My Project

  • The "new" Arduino Pro IDE
    TRS-80T TRS-80

    @Sasquatch said in The "new" Arduino Pro IDE:

    arduino didn't lower board prices, aliexpress clone sellers did

    Of course. And Chinese will probably copy/clone it anyway sooner or later (if popular enough), even if it was not F/LOSS/H (actually, H - Hardware) design. However Arduino founders deserve credit for liberating the hardware designs (instead of clinging stubbornly to some dinosaur business model). Which was the point I was trying to make. And I like to think had a large part in their success, or rather, success of whole ecosystem (clones included).

    Development

  • 💬 Personal EPD terminal
    TRS-80T TRS-80

    Very nice!

    Clean, professional looking! :+1:

    OpenHardware.io epd weather forecast message push

  • BATERY CHARGER CONNECTION ?
    TRS-80T TRS-80

    @Sasquatch said in BATERY CHARGER CONNECTION ?:

    Tp4056 is linear regulator, very inefficient, look at spv1040 or spv1050 instead - MPPT tracking propper solar chargers.

    C-x b wiki.org -> Electronics <TAB> -> Components <TAB> -> Power -> C-u M-<RET> to create new sub-heading ("MPPT tracking solar chargers"), paste (Yank) useful info for future reference. :wink:

    General Discussion

  • Is there a 3D printable enclosure for RPi 4 w/ serial gateway?
    TRS-80T TRS-80

    @Kikakee,

    Looks very nice and professional!

    Couldn't help but wonder however if there is a way to connect the Arduino to the RPi through internal GPIO pins, in order to eliminate the external USB cable? I think that would be the finishing touch on such an otherwise nice looking project.

    Version 0.3 perhaps? If not I (and perhaps others coming by later) suppose I was wondering if there was some technical reason why not to do this?

    Or maybe you simply didn't get around to it yet (perfectly acceptable reason as well :smiley: ).

    Enclosures / 3D Printing

  • BATERY CHARGER CONNECTION ?
    TRS-80T TRS-80

    @jongnum said in BATERY CHARGER CONNECTION ?:

    TP4056

    Quick Internet search on that confirmed my suspicions that it's some sort of solar charge controller.

    So basically you are going to connect that between the panel and the battery. How exactly? I could make a guess just based on the pins in your diagram here, however you would be much better off simply studying its datasheet.

    General Discussion

  • The "new" Arduino Pro IDE
    TRS-80T TRS-80

    @mfalkvidd said in The "new" Arduino Pro IDE:

    Has anyone tried it?

    @BearWithBeard had mentioned it in his reply in my thread about PlatformIO; I am not sure if he has used it yet or just mentioning he was aware of it.

    @mfalkvidd said in The "new" Arduino Pro IDE:

    I'm not a fan of Electron-based apps

    Eww. Me neither.

    Having said that, I do use (and actually like) draw.io (or whatever it's called now) and that is also Electron based. Although in that case it's more like "desktop version of an online service."

    Although the more I think about it now, perhaps that is what they are going for here, too?

    @mfalkvidd said in The "new" Arduino Pro IDE:

    maybe this is a step up from the original Arduino IDE?

    I suppose that anything is. :smile:

    @NeverDie said in The "new" Arduino Pro IDE:

    does Arduino have the bench strength, let alone the focused attention, to ever finish it?

    You know, part of reason I have bad taste in my mouth about Arduino project as a whole is because of the stunt (at least that one) founder of Arduino tried to pull in cutting out the other founders once they started to become very popular (and make money). I suppose I never recovered from that, and therefore will always be suspicious of any of their initiatives.

    I give them a lot of credit for what they accomplished, for open sourcing it, bringing uCs to the masses, lowering prices, which made Nice Things(tm) much more available for everyone (most especially, tinkerers like us). And I fully admit to not keeping abreast of whatever else they have done in the meantime. But once something like that goes down, it tends to stick with you (at least it does me) for quite a long time...

    And so forgive me if I am hesitant to get excited about this, or cynically expect it to turn into some "revenue stream" (i.e. "PRO"), or "cloud" product, etc. as to me these people (if they are even still the same people) have already shown their true colors (at least from my point of view). I know this will likely rustle the jimmies of some of "nicer / more polite" people on this forum than myself, but I call 'em like I see 'em. :face_with_cowboy_hat:

    Development

  • Looking for a 12-24v DC to 5vDC converter
    TRS-80T TRS-80

    @monte said in Looking for a 12-24v DC to 5vDC converter:

    don't expect 3A from those exact small modules

    No, I don't need it. Only a little bit (far less than 1A) for the uC + radio.

    In this case I am just looking to power the uC off the same power supply as LEDs which have already reduced the mains down to 24VDC. I just thought it would be silly to have yet another power supply for the uC (coming from mains I mean), in addition to the one that's already there for the LEDs. So I plan to "piggy back" off that one, getting the 24VDC down finally to the 5VDC or whatever is needed for the uC + radio.

    But it is very nice to have such a wide range of inputs (and adjustable output!) available, for as yet unknown future projects / needs. Especially when finding nice and inexpensive module like this, and order some 10s of them from China and just keep them on hand! :D

    Hardware

  • Looking for a 12-24v DC to 5vDC converter
    TRS-80T TRS-80

    @monte said in Looking for a 12-24v DC to 5vDC converter:

    MP1584

    Ah yes! Those look perfect! Thanks, Monte!

    Are those exact same as what was linked (name change perhaps)? Or different modules altogether, but meeting same requirements? I'm even more curious now about these mystery modules Gert had posted about! :smile:

    Hardware

  • Looking for a 12-24v DC to 5vDC converter
    TRS-80T TRS-80

    @GertSanders said in Looking for a 12-24v DC to 5vDC converter:

    I use these:
    http://www.aliexpress.com/item/Standard-Power-Supply-Module-Adjustable-Step-down-3A-DC-DC-Converter-1pc-New-SG053-SZ/32321296375.html?spm=2114.01020208.3.2.d0AiJe&ws_ab_test=201556_2,201527_3_71_72_73_74_75,201560_1

    I came across this topic today while looking for same. Of course by now this link is dead. I also tried picking part name, number, etc. out of the link with no success.

    LM2596 based modules certainly seem well available and inexpensive, however I am very interested in a module that is smaller than that.

    Hardware

  • Suggestions for my setup? Very new here.
    TRS-80T TRS-80

    @projectMarvin said in Suggestions for my setup? Very new here.:

    I would advise against messing with the FW unless you need to

    I agree with general gist of your whole post, except this one point.

    If we are talking about stuff like {Tasmota, ESPurna, ESPEasy, etc.} this "messing with firmware" is how you achieve freedom / independence from "clouds" / etc. and by now has become quite mundane and easy, even being able to do so over the air, with no need of soldering.

    Other sorts of devices may lead to other conclusions where firmware tinkering may be much more difficult.

    Of course, technically you are correct by saying "unless you need to." However in my view (apparently yours as well ;) ), independence from "clouds" is a "need."

    Cheers!

    General Discussion

  • Suggestions for my setup? Very new here.
    TRS-80T TRS-80

    @Sasquatch said in Suggestions for my setup? Very new here.:

    avoid cloud based sensors at all cost for security and future proofing reasons.

    +1

    All that "cloud" means is "someone else's computer." :laughing:

    If you do not understand how anything works and just buy some device(s), you will most likely be at mercy of high priced, proprietary locked-in solutions. But as you increase your knowledge, you (greatly!) increase your options and freedom to make different choices!

    At least you are doing research, good for you, keep it up!

    @Smart-Projects-ABC said in Suggestions for my setup? Very new here.:

    Support Google Home Assistant or Amazon Alexa. One of these will be your main control interface.

    I disagree with this. Yes I know vast majority of people will do this because "it's easier." However those things creeps me out, personally I would never have one in my home.

    I was able to get full and custom (much better than Amazon/Google, actually) voice control in my system using completely F/LOSS Software and Hardware. Yes it took a little more work to set up. But for me, well worth it. And I actually not only have freedom and privacy, but also quite a lot more functionality than what I see friends are able to do with their proprietary solutions.

    General Discussion

  • ESP8266 Gateway (RFM69) Soft WDT reset every 5 - 10 min
    TRS-80T TRS-80

    @Stefan_NE said in ESP8266 Gateway (RFM69) Soft WDT reset every 5 - 10 min:

    What I can say for sure is that there is a lot of traffic on the gateway...

    It sounds to me like you are on the right track. Proceeding in an organized methodical fashion. I am sure you will get it sorted out this way. And thanks for sharing your progress in the meantime, it will likely help others later.

    I am not even up to that many nodes myself yet either, so I'd be interested in anyone's feedback who is, because I do plan to have that many nodes (or more) "some day."

    So I got wondering if there have already been any forum threads about large numbers of nodes, and I found this one where some "back of envelope" calculations stated that some thousands (actually 10s of thousands) of nodes were (at least theoretically) possible...

    Troubleshooting

  • ESP8266 Gateway (RFM69) Soft WDT reset every 5 - 10 min
    TRS-80T TRS-80

    @Oumuamua said in ESP8266 Gateway (RFM69) Soft WDT reset every 5 - 10 min:

    Could you the scheme on how to add the capacitor?

    We got into pretty good discussion of capacitors in my evidence based testing thread. I had read a lot that one larger + one smaller cap actually works the best. I am no EE either, so I tested several different combinations, the results you can see there along with a very big close up picture I took of how to solder the caps onto the radio.

    Troubleshooting

  • Multiple sensors over wifi?
    TRS-80T TRS-80

    @jo34l5,

    Maybe check out Dr. Zs on YouTube. His channel seems geared more to non-techies. He is big into Sonoff / Tasmota stuff, etc. which nowadays are pretty easy (you can flash them OTA, no more need of soldering).

    Having said that, the more you learn, the more options open up to you. Also you will pick up more and more of the stuff over time, no need to rush. Take your time and treat it as a hobby. It took me literally years to get where I am now, I finally got some certain things working that I had wanted to for a long time. But my skills (and parts inventory, etc.) was not up to par yet. Well, now it is.

    Another thing to consider, architecturally, is there are couple ways to tie together even otherwise disparate systems. In other words. no need to "commit" to any particular system. Here at Casa de TRS-80 we are using 433mhz, MySensors, as well as some Wi-Fi outlets, etc...

    There are a couple different ways to do that. Either in your controller, and/or with some intermediate messaging protocol like MQTT. MQTT is rapidly becoming something like the middle "glue" layer between disparate systems. Lots of things talk MQTT nowadays.

    Anyway that way you can mix and match. I bought some Wi-Fi plugs and 433mhz stuff to "get started" and get a few things working, but now I am getting better with MySensors and more "advanced" stuff... Just a thought!

    General Discussion

  • Collective purchase order of RFM69W radios (Paris area)
    TRS-80T TRS-80

    I have not had any trouble just buying my radios the normal way on AliExpress. To me normal means buying about 10 or 20 at a time from the cheapest seller I can find with a high number of sales under their belt and a good reputation. I am getting nRF24 though, not sure if situation is different with RFM59W.

    I think most of the stuff you read in forums about fakes was from years ago. Or maybe I am just lucky.

    General Discussion
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular