Skip to content

General Discussion

1.6k Topics 14.2k Posts

A place to talk about whateeeever you want

  • Hobbyist Project Management / PDM?

    2
    1 Votes
    2 Posts
    474 Views
    TRS-80T
    This may or may not be the answer you are looking for, but I have taken a very big interest in Personal Information Management (PIM) over the years and tried out many different systems and thought about the subject quite a lot. I became so frustrated over the years running into so many dead ends (lacking functionality), incompatibilities (often times purposefully (i.e., proprietary software, walled garden, vendor lock-in, etc...), arbitrary limitations, etc. that I have moved more and more not only into Free Software but also making sure I stick to open protocols and formats. Because I just don't have the time nor energy any more to keep re-inventing the wheel all the time, learning new software, moving my work/information between incompatible systems, etc... In particular I have gravitated towards using text files as a sort of lowest common denominator universal format. This began for me when I was trying to synchronize bookmarks across several different browsers and OSes (which, at the time, happened to be Android and Windows). I ended up just learning basic HTML and making my bookmarks in a handful of interlinked files. Totally universal, fully customizeable, and available on any platform with a browser (where you would need to use the links anyway). I could go on and on but I will try to get back on the topic of Project Management. Around the same time I started thinking that text files were the answer to data portability, I was also becoming aware of (what I now think is) the best tool I have ever found for editing text, Emacs. And then when I discovered Orgmode, it was all over. :D Now, remember that the underlying file remains simple plain text, but Orgmode gives you: outlining (nested levels, etc.) tagging hyperlinks (to urls as well as local files, certain locations in other files, emails(!), etc.) small tables / spreadsheets (including math!) right in the middle of your notes [1] TODO functionality time / date stamps, timers, etc. functional (!) code blocks [2] full text search and many more Note 1: This is an incredibly useful and often used feature for me. See around 6:03 in the first, or 6:57 in the second video, below. Note 2: What this means is you can put some code of a certain type in a code block, open the code block in a mini editing mode for that particular language (including syntax highlighting, completion, etc.) and even execute the code. Pretty far out. Also very useful for code snippets of Arduino (which is just C++ really), or anything else, really... See 12:40 in first video. Well, I didn't really "get it" until I had watched a couple videos: This video is longer, but was one of the ones that convinced me (actually I think I only got like halfway in before my mind was so blown that I had seen enough and was convinced :D ) : https://www.youtube.com/watch?v=SzA2YODtgK4 Here is a shorter one that you may prefer instead: https://www.youtube.com/watch?v=fgizHHd7nOo Although I recommend eventually watching them both (if/when you have time). You can then go on to synchronize your files using something like Syncthing across all your devices, or if you prefer, self hosted Git as you mentioned (I use either/both, depending on nature of the information) as they are just text files at the end of the day (perhaps with some linked related design files, etc.). I think it may be the only software I have ever used where I have yet to run into any sort of limitation. Not only that, but by now (a couple years in) I have even started writing some (rudimentary) Lisp functions to do custom things the way I like. For instance I made myself a "photo tagging mode" that operated exactly the way I wanted. I think this is because (almost) the whole thing (Emacs) is written in Lisp, and therefore is extensible. And as you can imagine, when you put this sort of tool into the hands of hackers and give them 40+ years(!) to hack on it, well you can imagine what they can and have come up with. It is sort of a running joke that Emacs is more of an "operating system" or "environment" than a "text editor" but it is also very true. :D I have not looked for specific additional tools for Project Management as you ask for, per se, within Emacs because I have not felt the need for them, personally. However, if you look around, it would not surprise me at all if you found something that may tickle your fancy... Now there is a famous learning curve, and I will not deny this. I took me several times coming across information about Orgmode before I became interested enough to take the plunge. And then it took me a couple/few attempts to get off the ground with Emacs (you might find the basic navigation "weird" at first by modern standards, but now that I am used to it, I actually have my entire OS set up to work this way [3]). Anyway this is a fair criticism.[4] But now that I am over that initial hump, I feel like there is pretty much no situation that I cannot accommodate within this system I have learned. So I view it a a worthwhile tradeoff of my time for a very, very powerful tool that can do, well, pretty much whatever I can imagine. And Orgmode is just the "killer app" or "gateway drug" into Emacs... There is a ridiculous amount of other things you can do with it... Note 3: Yes! This is possible in XFCE(!) Note 4: If anyone is interested, I can give some pointers. Basically, sit down when you are not in a rush to produce some results "right now" and therefore in a proper mindset to learn. Like a weekend morning, or something like that. Get yourself a nice cup of coffee or your favorite beverage and start working through the built in tutorial inside Emacs. It really is great and gets you going starting from zero by baby steps.
  • Multiple relay arduino nano

    4
    0 Votes
    4 Posts
    643 Views
    S
    @hakha4 said in Multiple relay arduino nano: Hi Or use a Mcp23017, 16 extra pins and only sda/scl pins from Arduino (I have a functioning sketch for this including reading multiple ds1820 sensors that can be used as a template. Let me know of you want this) Regards Håkan ds18x20 need 1 pin for up to 255 sensors(can't remember exactly but more than practical). @robert said in Multiple relay arduino nano: Hi. I would like to connect an 8 channel relays to arduino nano. I use rs485 communication. Rs485 uses pins 2,8,9. How to make 2,3,4 used? I miss pins. Thx. Without knowing what else you're using it's impossible to know how to help you. but you may use A0-A7 as digital outputs too.
  • The rules made in the controller saved on the gateway?

    3
    0 Votes
    3 Posts
    462 Views
    mfalkviddM
    @tjog the gateway does not remember anything, regardless if you have a controller or not. Nodes can be programmed to remember their state. The example with rotary encoder at https://www.mysensors.org/build/dimmer does that if you want something to base your sketch on. Note that the first example on that page does not store state; it relies on a controller instead. Not sure what you mean by rules, but if you enter rules in your controller they will most likely depend on the controller being available.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    11 Views
    No one has replied
  • NEMA 11 stepper motor, one phase down

    1
    0 Votes
    1 Posts
    264 Views
    No one has replied
  • Upgrade from 2.3.2-beta to stable 2.3.2

    5
    0 Votes
    5 Posts
    731 Views
    H
    OK, I am back now. Mission accomplished. Stable 2.3.2 applied. Radio connection is back.
  • Secuenciador de luces para escalera

    3
    0 Votes
    3 Posts
    615 Views
    M
    @marcossu Podría buscar el siguiente texto a través de Google: illuminate steps when people walk the stairs Aquí hay un ejemplo: www.instructables.com/id/Motion-Activated-Stairs/ pero hay varios. But as Yveax already has said - this is an English speaking forum so please use this language.
  • RFM69HW radio speed

    4
    0 Votes
    4 Posts
    2k Views
    mfalkviddM
    @dzairo no need to modify MyConfig.h. Just add the define to your sketch, if you want to override the default setting. Additional documentation: https://www.mysensors.org/apidocs/group__RFM69Newgrp.html#ga70bef975c2c3070e34c24770f7f301b9
  • 802.11ax should be good for IoT

    1
    0 Votes
    1 Posts
    301 Views
    No one has replied
  • WI-FI IOT modules

    32
    0 Votes
    32 Posts
    4k Views
    zboblamontZ
    @tmaster I think the phrase "that escalated quickly" comes to mind.. I can only speak personally in that I dismissed "Wifi" as a Node communication methodology due to limited structural penetration issues and the desire for complete separation between monitoring and reporting. Z-Wave operates in the 800-900MHz band so is less prone to structural blockage, externally it would take a dedicated geek parked in your back yard to break into that. My own issue with the blossoming of wifi incorporation in "a connected world" is that even your fridge can be used in a DoS attack, and it is pointless making comments about what CAN be done with a router, when the vast majority of consumers are only concerned they can check on their fridge 2,000m away without a ball's notion or concern who else may be affected. The comms protocol is less energy inefficient but it has a universal tag. I can see the advantage of "the cloud" but have a serious beef with dependency on that service, the other is living in a rural area where candles are common due to power cuts which also cut off the internet service externally. Yeah, burglar's paradise... except for the large dog and a Gatling Gun on heat sensors... Ok, one of them may be true ;) I almost went for Honeywell's Evohome system a few years back, local operations on 868MHz, well secured, but then came the spanner in the works, internet dependency. All my home kit is self contained 433MHz, and happy it works away 24/7, with no local geeks acquainted with http protocols interested in researching or interfering, happy... In short, the cheap options are cheap for a reason, one of which is insecurity for a price hence Zigbee etc.....
  • Best intro to electronics books

    3
    0 Votes
    3 Posts
    542 Views
    tbowmoT
    Can't remember if there where any specific books.. Probably some magazines like elector electronics in the 80's. There where a couple of danish magazines back in the 80's, that I read at the public library (I'm turning 46 in a couple of weeks).
  • Pokit PRO on kickstarter

    3
    0 Votes
    3 Posts
    833 Views
    korttomaK
    Quite popular project after all.. https://www.kickstarter.com/projects/pokitmeter/pokit-pro/posts/2691302
  • Dual radio repeater?

    3
    0 Votes
    3 Posts
    779 Views
    skywatchS
    @lammietv200 If the ship is made of metal then it'll be really luckly if it works. For watertightness and fire refulations you may not be able to drill new holes in any wall/bulkhead. The engine room most likely has a riser or other means of getting existing power and control cables in/out. So I would start looking there and thinking of a wired node as interference will be another concern in an engine room environment.
  • Problem with libraries

    1
    0 Votes
    1 Posts
    420 Views
    No one has replied
  • MySensors Debug print @ 5.3Mbit/sec freeing Hardware Serial Port

    1
    2 Votes
    1 Posts
    262 Views
    No one has replied
  • Anyone making "data matrix" labels?

    7
    0 Votes
    7 Posts
    1k Views
    NeverDieN
    @mfalkvidd Not just the NFC chips, but their billowy antennas also add to their size. I wouldn't be surprised if a certain fully functioning nRF51 module has a smaller footprint: [image: alt text]
  • The wait function does not trigger the watchdog?

    2
    0 Votes
    2 Posts
    471 Views
    mfalkviddM
    @alowhum most of these questions are way too advanced for me to answer, but I know that wait() calls _process() which processes messages and kicks the watchdog (through doYield()). See https://github.com/mysensors/MySensors/blob/development/core/MySensorsCore.cpp#L565 while (hwMillis() - enteringMS < waitingMS) { _process(); } By default, nrf24-based nodes do not use interrupts for message handling. There is nothing done in parallell.
  • Arduino never reaches setup() or loop() when rs485 connection is down

    3
    0 Votes
    3 Posts
    471 Views
    S
    Thank you so much, just the input I needed. Works like a charm, I have included the output from the serial port, if any one else wonders what to expect. __ __ ____ | \/ |_ _/ ___| ___ _ __ ___ ___ _ __ ___ | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __| | | | | |_| |___| | __/ | | \__ \ _ | | \__ \ |_| |_|\__, |____/ \___|_| |_|___/\___/|_| |___/ |___/ 2.3.1 16 MCO:BGN:INIT NODE,CP=RSNNA---,REL=255,VER=2.3.1 26 MCO:BGN:BFR before ShuntCtrl to clear EEPROM presss c now: 321 4156 TSM:INIT 4157 TSF:WUR:MS=1000 4159 TSM:INIT:TSP OK 4161 TSM:INIT:STATID=123 4163 TSF:SID:OK,ID=123 4165 TSM:FPAR 4184 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 5159 MCO:BGN:STP setup 5161 !TSF:SND:TNR 6164 !TSF:SND:TNR 6192 !TSM:FPAR:NO REPLY 6194 TSM:FPAR 6211 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 7165 MCO:BGN:INIT OK,TSP=0 8288 !MCO:SND:NODE NOT REG 8372 !MCO:SND:NODE NOT REG 8455 !MCO:SND:NODE NOT REG 8539 !MCO:SND:NODE NOT REG [ %0PH 18.8 Vejr 18.7 ] [ %16PC 18.6 ->25 18.4 ] 8636 !TSM:FPAR:NO REPLY 8638 TSM:FPAR 8656 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: [ %0PH 18.8 Vejr 18.7 ] [ %16PC 18.6 ->25 18.4 ] 11094 !TSM:FPAR:NO REPLY 11096 TSM:FPAR 11114 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: [ %0PH 18.8 Vejr 18.7 ] [ %16PC 18.6 ->25 18.4 ] 13550 !TSM:FPAR:FAIL 13552 TSM:FAIL:CNT=1 13554 TSM:FAIL:DIS 13556 TSF:TDI:TSL [ %0PH 18.8 Vejr 18.7 ] [ %16PC 18.6 ->25 18.4 ] [ %0PH 18.8 Vejr 18.7 ] [ %16PC 18.6 ->25 18.4 ] [ %0PH 18.8 Vejr 18.7 ] [ %16PC 18.6 ->25 18.4 ] [ %0PH 18.8 Vejr 18.7 ] [ %16PC 18.6 ->25 18.4 ] 23558 TSM:FAIL:RE-INIT 23560 TSM:INIT 23561 TSM:INIT:TSP OK 23563 TSM:INIT:STATID=123 23565 TSF:SID:OK,ID=123
  • Sensor Up or Sensor Down

    5
    1
    0 Votes
    5 Posts
    704 Views
    Z
    @neverdie said in Sensor Up or Sensor Down: si7021 Didn't even think of that, but it makes sense.
  • Sensor advice

    11
    0 Votes
    11 Posts
    2k Views
    bjacobseB
    @noclue said in Sensor advice: @hj_sk I want to control my idea. I have put my ideas out there before, only to be stolen. either do as Tbowmo suggests, or if you are afraid that we will all steal your idea, I can recommend to contact a electronic development company, that will sign a non-disclosure contract, a company could be this one (I'm not affiliated with the specific company) https://www.prevas.com/

10

Online

12.4k

Users

11.2k

Topics

113.4k

Posts