Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. TheoL
    3. Topics
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by TheoL

    • TheoL

      Can not compile MySensors on esp8266
      Troubleshooting • • TheoL  

      6
      0
      Votes
      6
      Posts
      24
      Views

      mfalkvidd

      @TheoL there are two pull requests adding support for newer versions. One is guaranteed to break again. One should not break in the future, but will instead break all existing sketches. I’m sure a third option would be welcome if you write the code and submit.
    • TheoL

      Merry X-mas
      My Project • • TheoL  

      3
      3
      Votes
      3
      Posts
      42
      Views

      garfius

      Merry x-mas (late)
    • TheoL

      RC-SPC1K capacitive rain sensor
      Hardware • • TheoL  

      6
      1
      Votes
      6
      Posts
      55
      Views

      TheoL

      @Jodaille Thanx for the link to the project. I think I'll order one of those sensors this weekend. As I hope it can also send the amount of rain that is falling. I do have to check the optical sensor. But I really like the heating in the controlli sensor
    • TheoL

      My Wemos D1 mini adventures - Interrupts on pins D3 and D4
      Hardware • • TheoL  

      2
      1
      Votes
      2
      Posts
      25
      Views

      TheoL

      While we're at this topic. Does any one know what the NRF24L01+ does with it's interrupt pin? I'd like to hook it up to the other pin - d4 in this case. Does it pull high when there's a new message or is it pulled up by default? Which I hope
    • TheoL

      Possible securiy breach in ESPS.
      Hardware • • TheoL  

      12
      0
      Votes
      12
      Posts
      117
      Views

      Anticimex

      @skywatch not really, depending on the algorithm
    • TheoL

      Enabling interrupt on the radio for actuators
      Development • • TheoL  

      6
      0
      Votes
      6
      Posts
      49
      Views

      TheoL

      Just for the record. Using a lipo charger doesn't work as a ups. So if the battery is below a certain trashhold, and a circuit is connected to it. It will no recharge if the circuit draws over 600 ma (I believe that is for 5v. so I guess it's more for 3.3v). Andreas Spies posted a youtube video on this last Sunday. I'm keeping my eye on his progress. I think he will design a UPS for ESP and Atmel based boards. Also design note: I use a rotary encoder as user input. It just gives a better UX for dimable lights. But - haven't measured - the rotary encoder seems to draw quite a lot of current. I read it could be up to 60ma. I have some of those magnet based encoders laying around. But not sure if I want to use one. They are quite expensive, so I have better projects in mind for those. But they draw just a couple of micro amps. An alternative could be to switch of the encoder circuit with a fet. But I need to experiment some more with this.
    • TheoL

      Humidifier / Essence oil vaporize - anti dry-out monitor (WIP)
      My Project • • TheoL  

      3
      1
      Votes
      3
      Posts
      763
      Views

      alowhum

      Wow, this is amazing! Also: congratulations!
    • TheoL

      Strange behavior of a Serial MS 2.0 Gateway (maybe it's Domoticz)
      Troubleshooting • • TheoL  

      1
      0
      Votes
      1
      Posts
      715
      Views

      No one has replied

    • TheoL

      Which Arduino IDE version?
      Development • • TheoL  

      31
      0
      Votes
      31
      Posts
      11518
      Views

      hoggin

      I completely agree. I am having a hell of a time getting mine to work at its to the point where I'm searching for an alternative to mysensors. This post should be in the main page regarding setup. I have wasted hours trying to figure this out.
    • TheoL

      Overloading the Arduino delay
      Feature Requests • • TheoL  

      15
      1
      Votes
      15
      Posts
      4851
      Views

      scalz

      @Theol I like the way you're thinking, trying to make things affordable easing coding life for noobs, not so easy task. Imho I prefer non blocking stuff too, state machine like. I think this is really the way to think for a machine, IOT. I think this is kind of education..more mcu programming related. A very basic state machine just needs few "If" and/or "switch case". Often, people don't know theyr're doing a state machine I mean the basics of course, because you can use function pointers etc which are more advanced, use more mem etc..I choose function pointers or "If/switch" depending of the context but looks better with pointers. I hope I don't say dumb things or Yveaux will correct me Ideally, very basic and important stuff a newbie need to learn for playing with a MCU, then with Mysensors, would be: to understand why there is no "multitask" regarding how an mcu works. and irq, priority and pullup/downs.. a bit of algo and arduino reference.. Sure Mysensors looks easy to use. And that's true But if people think they don't need to learn this, even with multiple override, they will be limited, with more bugs, and more questions.. Then, of course, newbie would be happy to have done something, so he shares (thx). And an other noob comes, takes the sketch and share etc. finally where's quality.. I have rarely seen this (about delay) when i was learning from microchip community though And that's what I thought first time I saw arduino community! What this..so much people are using delay here! I will have to write my things from scratch, I can't trust, I will have not time to check everything..damn! Hopefully that's not completely true! Have they read some reference before starting? With all resources from arduino, I think there is no excuse Led blinking without delays etc.. Hmm, a bit philosophical..Vulgarisation, mastering I understand main Mysensors goals. Why not a graphical ui in place, which would use "blocks" instead of code? I'm always interested with your stuff @Theol and will keep an eye on this too
    • TheoL

      Free MySensors 2.0 workshop, Friday 9 September in Amersfoort (The Netherlands)
      General Discussion • • TheoL  

      31
      6
      Votes
      31
      Posts
      10046
      Views

      barduino

      I'm interested in organizing a workshop
    • TheoL

      Library for thresholded readings of sensors
      My Project • • TheoL  

      1
      5
      Votes
      1
      Posts
      1133
      Views

      No one has replied

    • TheoL

      Looking for photodiode circuit (like the cheap ones on aliexpress)
      Hardware • • TheoL  

      1
      0
      Votes
      1
      Posts
      1017
      Views

      No one has replied

    • TheoL

      Has anyone tried to mount mySensors into this DIY led lig bulp?
      Hardware • • TheoL  

      1
      0
      Votes
      1
      Posts
      629
      Views

      No one has replied

    • TheoL

      What is a good value for a watch dog timer?
      Development • • TheoL  

      17
      0
      Votes
      17
      Posts
      4800
      Views

      tekka

      @bjacobse Yes, wdt business can be quite confusing Optiboot has a sophisticated wdt approach: wdt is only enabled if the MCU is reset externally (this is the case when you upload a new sketch from the IDE), in all other reset cases (i.e. watchdog-, brownout- and power-on reset), the wdt is disabled and optiboot directly hands over to the sketch. See here for the conditions: https://github.com/Optiboot/optiboot/blob/master/optiboot/bootloaders/optiboot/optiboot.c#L484-L485 And here it gets disabled: https://github.com/Optiboot/optiboot/blob/master/optiboot/bootloaders/optiboot/optiboot.c#L847 This also means that with optiboot, wdt is always disabled when the sketch starts (if WDON fuse is unset). And to give a heads up for the MYSBootloader 1.3 release: wdt will be on by default (at the moment 4s), and the user has to either disable or reset it in the sketch. This is a safety mechanism and the only way to remotely recover from a bad/faulty FW.
    • TheoL

      Has anyone tried software reset of an Arduino?
      Development • • TheoL  

      21
      0
      Votes
      21
      Posts
      10620
      Views

      bjacobse

      @donnacarter0103 The third way to reset an Arduino is to use watchdog (Need to flash another bootloader as the default have disabled watchdog), enable watchdog, and remember to reset it often in your code, else it will reste the Arduino
    • TheoL

      How to determine from which Node a message is comming from
      Troubleshooting • • TheoL  

      3
      0
      Votes
      3
      Posts
      1047
      Views

      TheoL

      @mfalkvidd Thanx for the quick reply and the example. It's exactly what I was I was looking for. I just overlooked the union definition in Message.h. I'm currently sending the message to the Node itself as a test. But event that that works.
    • TheoL

      Hardware debouncing with 74HC14?
      Hardware • • TheoL  

      2
      0
      Votes
      2
      Posts
      3043
      Views

      Toyman

      http://www.jeremyblum.com/2011/03/07/arduino-tutorial-10-interrupts-and-hardware-debouncing/ I followed this tutorial and it works flawlessly http://www.jeremyblum.com/2011/03/07/arduino-tutorial-10-interrupts-and-hardware-debouncing/
    • TheoL

      Problem sending the RGB state, brightness and color to Domoticz
      Domoticz • • TheoL  

      3
      0
      Votes
      3
      Posts
      1333
      Views

      TheoL

      @AWI Thanx for your quick reply. I already had a gut feeling that Domoticz doesn''t handle it. nd you're right the String in Arduino C++ isn't the best option. But since Domoticz ignores it I can leave it out anyway.
    • TheoL

      Free analog electronics course for everyone who understands Dutch
      General Discussion • • TheoL  

      2
      2
      Votes
      2
      Posts
      827
      Views

      TheoL

      I just realized that the site is also available in English. The book itself seems to be available in English. But I don't see a link to an english youtube channel.
    • TheoL

      Looking for detailed description for hacking a sonoff
      Hardware • • TheoL  

      45
      0
      Votes
      45
      Posts
      49161
      Views

      Antoliveira

      @dbemowsk Relevant and good quality information. I fully understand what has to be done. Now I have no excuse to at least test a drive ... Thanks
    • TheoL

      I think we can do better ;-)
      Hardware • • TheoL  

      2
      0
      Votes
      2
      Posts
      961
      Views

      korttoma

      There is already another thread about this device -> http://forum.mysensors.org/topic/3639/the-aaduino
    • TheoL

      PIR Motion triggers when switch pressed (Allmost Solved, waiting for testresults)
      Development • • TheoL  

      18
      0
      Votes
      18
      Posts
      6255
      Views

      m26872

      @TheoL said: The question is, why is the LD33V stabilizing the circuit. I'd like to know why, so that I can learn from this. A little late and OT, but I think this makes sense. I'm often in favour of wasting some power as a simple way to gain some PSRR.
    • TheoL

      Bug in SenseBenderDefault sketch
      Bug Reports • • TheoL  

      8
      1
      Votes
      8
      Posts
      1693
      Views

      tbowmo

      @TheoL the sensebender is runing on 8Mhz as default. Originally I made so that it could switch to 1Mhz in order to lower the current consumption. But since we are sleeping for 99% of the time, where it's only the watchdog timer that is running, I don't see that much of a power savings running at 1Mhz, compared to 8Mhz. In theory if running on 1Mhz the awaken time is also 8 times longer, than when it's running on 8Mhz.. So that can also contribute to a more "equal" power consumption. So in short.. Compile for 8Mhz
    • TheoL

      Pollen sensor for hay fever alert
      Hardware • • TheoL  

      10
      0
      Votes
      10
      Posts
      8229
      Views

      NeverDie

      Looking at it more closely, I noticed that TI's design is meant to is to attach directly to the optical chamber of the Sharp Microelectronics optical dust sensor (part number: GP2Y1010AU0F).
    • TheoL

      NodeId position on the eprom
      Development • • TheoL  

      4
      0
      Votes
      4
      Posts
      923
      Views

      Heinz

      see also http://forum.mysensors.org/topic/2680/data-stored-in-the-eeprom
    • TheoL

      Ethernet Gateway W5100 vs ENC28J60 in combination with signing
      General Discussion • • TheoL  

      5
      0
      Votes
      5
      Posts
      5347
      Views

      TheoL

      @mfalkvidd thank you for the link. I found an Arduino mega for around 13 euro. It's worth to try that.
    • TheoL

      Question about sleep until interrupt
      Troubleshooting • • TheoL  

      7
      0
      Votes
      7
      Posts
      1738
      Views

      TheoL

      @mfalkvidd at the moment only the muting state of the doorbell chime. But once my digital potentionometer arrives I'll be sending a volume level as well. Update: I also want to trigger to chime remotely. My thinking is that I can solder a second one (but without switch) as a doorbell extender. I can mount that one in my living room.
    • TheoL

      Has anyone tried a Arduino memory expansion and does ATSHA204A a breakout exists?
      Hardware • • TheoL  

      6
      0
      Votes
      6
      Posts
      2275
      Views

      scalz

      @TheoL if one day you want to try ota+authentication on breadboard or add it to an existing node.. https://www.openhardware.io/view/18/OTA-and-Authentication-Evaluation-Board
    • TheoL

      Ethernet gateway and inclusion button not working
      Domoticz • • TheoL  

      1
      0
      Votes
      1
      Posts
      792
      Views

      No one has replied

    • TheoL

      Gesture controlled Floor Lamp
      My Project • • TheoL  

      14
      7
      Votes
      14
      Posts
      8484
      Views

      vampircik

      @TheoL said: of course I will wait. Thank you for your ideas. they are very useful.
    • TheoL

      Reiving an unexpected command during the startup of the sensor
      Troubleshooting • • TheoL  

      1
      0
      Votes
      1
      Posts
      524
      Views

      No one has replied

    • TheoL

      IoT Techdays (14 april in Utrecht) - only for Duthmen
      General Discussion • • TheoL  

      4
      0
      Votes
      4
      Posts
      1004
      Views

      TheoL

      @Yveaux I'm fortunate enough that my emloyee pays the entrance fee. Members of nljug get a discounts though.
    • TheoL

      MySensors connected over power, is this possible?
      Hardware • • TheoL  

      4
      0
      Votes
      4
      Posts
      2835
      Views

      HenryWhite

      @hek said: Using something like this: https://www.sparkfun.com/products/retired/9185 Unfortunately seems to be retired. Found something similar on Aliexpress: http://www.aliexpress.com/item/2pcs-lot-Power-Line-Carrier-Communication-Module-DC-Carrier-Module-Zero-Send-High-Speed-Carrier/32265367729.html?spm=2114.30010308.3.10.xjeFn1&ws_ab_test=searchweb201556_3,searchweb201644_2_505_506_503_504_301_502_10001_10002_10016_10005_10006_10003_10004_401,searchweb201560_5,searchweb1451318400_-1,searchweb1451318411_6448&btsid=52fdb576-0ad1-4067-b448-e3214250cc3e
    • TheoL

      Another ProMini 3.3V timing isue and the solution
      Development • • TheoL  

      3
      2
      Votes
      3
      Posts
      1283
      Views

      TheoL

      @mfalkvidd Thank you. I just remembered I would have had a 4th option. Using a ATtiny85 to transmit the IR-code. But I haven't really digged into the ATtiny85 it's still on my wishlist. I could have programmed the ATtiny85 to listen to a digital input and let it fire the IR code on an interrupt, let's say if the pin is lowering (should work in theory if you use an internal pullup)
    • TheoL

      Support for alarm times
      Feature Requests • • TheoL  

      1
      0
      Votes
      1
      Posts
      872
      Views

      No one has replied

    • TheoL

      What is the correct message type for a security sirene? And how can I hookup a 9V piezo buzzer to the arduino?
      Development • • TheoL  

      4
      0
      Votes
      4
      Posts
      2068
      Views

      sundberg84

      No clue
    • TheoL

      Detecting if a persons is laying in his/her bed
      Hardware • • TheoL  

      14
      0
      Votes
      14
      Posts
      9130
      Views

      Samuel235

      @TheoL, there is no right or wrong way to implement a project. Having it a standalone device is a must for you it seems, however i would have it connected to your home automation controller to literally just display status' of the alarm and then you could have other nodes actuate/complete actions depending on if your alarm clock is/isn't at home and more specifically, is/isn't set to wake you. You could have a automated socket or a automated coffee machine or even lights depending on the status of you alarm. Example below: IF the alarm is at home AND armed to wake you, THEN turn on lights to 10%/20%/30%/40% --> 100% 10mins/9mins/8mins/7mins/6mins/etc before your alarm is due to go off, allowing you to wake up to a perfectly light room (not too bright to shock your eyes/system) or even have your coffee machine start brewing 2 minutes before your alarm activates.... Again, that would just be my suggestion. Doing this ALONGSIDE of having it a standalone machine would not affect anything if you left the house.
    • TheoL

      Reinventing the motion controlled outside lamp
      My Project • • TheoL  

      3
      3
      Votes
      3
      Posts
      3680
      Views

      TheoL

      I've recently modified the code a bit. Will post an update soon. The way a PIR motion sensor works, is that you can setup the duration of a detected movement by tweaking a potentionometer. That will determine the amount of time the PIR sensor will report back as a motion detection. In reality you know only one thing. There was at least one motion detected that triggered the motion pin of the PIR sensor. Between that period and that and the interval you've setup, there might have been a lot of movement but the PIR doesn't report that back. How I solved that is as follows. I turned the potentionometer to the lowest must interval duration. Whenever the first movement has been detected, it will report that to my Home Automation controller and it will start a timer that is 30 seconds after the detected motion. As my current motion detection interval of the PIR sensor is around 3 seconds, it will give me another 27 seconds to detect a follow up motion. If a follow up motion has been detected, it will reset the 30 second timer. So that has another 27 seconds the time to detect another motion. If however no motion has been detected when the 30 seconds timer times out, it will tell my home automation controller that there's no longer any motion. As most PIR sensors are quiet sensitive, they detect my presence by each small movement a wake. In most cases the movement caused by breathing is enough for the PIR sensor to detect my presence. Hope's this explains is. I've tried it in my best English
    • TheoL

      MySensorfying a cheap moodlight
      My Project • • TheoL  

      2
      5
      Votes
      2
      Posts
      2009
      Views

      TheoL

      For anyone whois interested in how I mounted the electronics into the lamp. I posted an article about this on my blog http://www.houtbewerken-voor-dummies.com/grenzen-verleggen-een-moodlight/ it's in Dutch but you can translate this with google translator.
    • TheoL

      How to hookup a LE33
      Hardware • • TheoL  

      6
      0
      Votes
      6
      Posts
      3713
      Views

      TheoL

      @Zeph and @rvendrame thanx for claryfing things. I'll just have to build up a test circuit on a breadboard. I'll start with adding the 2.2 uf as specified in the datasheet and keep the radio wires short and will see from there. The specs of the LE33 are very promising, so I'm hoping to get this to work. At the moment I've setup a lot of sensors on breadboards. The 4.7 uf cap is 20cm away from the radio, but no problems so far.
    • TheoL

      gw.sleep isn't very accurate on a Pro Mini 3.3V (8Mhz)
      Troubleshooting • • TheoL  

      7
      0
      Votes
      7
      Posts
      3009
      Views

      tbowmo

      btw. This sleep time, is independent of the oscillator used to run the MCU (8Mhz / 1Mhz). As the watchdog has it's own oscillator.
    • TheoL

      AttachInterrupt and receiving messages problem
      Troubleshooting • • TheoL  

      7
      0
      Votes
      7
      Posts
      3811
      Views

      BobC

      Hello again I've attached a version which show/demonstrates the problem I have when using Timer1.attachInterrupt(dim_check, freqStep);. I'm using a Veralite and simple pro mini arduino to controll 2x SSR and 2x Triac dimmers. I use a structured array to hole the various valus for the lamps. When I upload a version of this attached code with Timer1.attachInterrupt(dim_check, freqStep);commented out - the SSR's work fine. When I uncomment the one line in the code the is no response to the Vera's command to switch on a SSR lamp. As you can see the interrupt routine is extremely short - nothing but the call. I wonder if someone else might have any idea or have run into this problem before.. The interrupt is to occur every 75uS so as to allow 128 steps of dimming.Timer1Testing.ino
    • TheoL

      Pro Mini is giving a frequent time out on DTH11 read out
      Hardware • • TheoL  

      12
      0
      Votes
      12
      Posts
      7129
      Views

      TheoL

      The library which @tomkxy posted works great for 8mhz processors. I have let it run for more than 24 hours without receiving a single timeout or checksum failure.
    • TheoL

      What's the difference between NRF24L01+ and NRF24L01
      Hardware • • TheoL  

      4
      0
      Votes
      4
      Posts
      15465
      Views

      ericvdb

      Use the + version on the gateway
    • TheoL

      Question about Vera Lite and MySensors
      General Discussion • • TheoL  

      10
      0
      Votes
      10
      Posts
      3425
      Views

      mntlvr

      @TheoL said: Thank you everyone for your replies. I'm currently using Domoticz with Razberry. And that works okay. But when I define scene's and activate them, it takes sometimes a couple of seconds for each switch to go off or on accordingly to the scene. I read on this forum that most Vera users are happy with it. So I was thinking that I might switch over to Vera. But if I'm not mistaken I should go for a more expensive model? I'm also very curious if I can hook up OpenHAB to Vera. Because OpenHAB has some features which I also like ;). I have been a Vera user , all flavors , for more than 8 years now, I have tried Ui1.5.x.x and UI7.x.x ,I have tried the Vera Edge with approx 40 sensors and modules and using PLEG for controlling most all aspects of the Home automation. I found the Vera Edge could not handle all the Automation, tech support worked with me for 3 weeks to try to get the Edge to cooperate . I finally sent it back to where I bought the Unit. I changed over to my Veralite and my Vera3 and split the work up between the 2 controllers. I run Mysensor Ethernet Gateway on both of my controllers, 1 gateway for 2 Veras. I have Zwave motion sensors,Zwave modules, Zwave dimmer modules, Zwave Honeywell Thermostat and Temperature and Humid sensors that are Zwave. I have Mysensor door/window sensor built with Attiny 85, so much cheaper to build than using Nano or Pro-Mini I also have Scene controllers built with pro-Mini that control ceiling fans remotely, bedroom lights remotely, Entertainment Centers remotely. You get the Idea. Now nothing is perfect I have had my glitches but for FREE their is no other controller I will use , unless someone comes up with one as reliable and cost effect as MCV. This is my 2 cents worth.