Navigation

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

    Best posts made by bjornhallberg

    • Step-up / Boost regulator PCBs

      So, I've been looking into Eagle and making PCBs for various step-up regulators. This is the progress I've made so far. A panelized 5x5cm board with a couple of different designs for three different ICs (Linear LTC3525, Texas Instruments TPS61097, Texas Instruments TPS61221).

      The panelizing / tabs and mouse bites were done using the Gerber Panelizer from This Is Not Rocket Science: http://blog.thisisnotrocketscience.nl/projects/pcb-design-tools/
      The tool isn't public yet though. So if you want to test the alpha/beta you have to contact them through twitter ask for a copy. Props to Stijn Kuipers for taking the time to explain things to me. Bottom line: Gerbers are trickier than one might suspect at first glance.

      test2.png
      The TPS61097 is perhaps not the best IC around but I have a few samples so I thought I'd make use of them. Can't find that chip cheaply on AliExpress either and other sites (was it Lowpowerlabs?) have long since abandoned the TPS61097 due to some issue or another. So, off to smaller footprints. The TPS61221 which was talked about for the official MySensors battery board (TPS61222 was it?) is SC-70-6 unfortunately but CAN be found for about $1 a piece on AliExpress. A pretty good deal. But for now I have some samples I got from TI. Finally, the LTC3525, favored by a lot of hardware tinkerers, is a tad more expensive, around $2.3 on AliExpress. They all require the same number of external components and can work with the pretty much the same values (2x10uF or 1x10uF/1x1uF, 1x10uH) afaik.

      Sent the gerbers to DirtyPCBs yesterday, have been updating the order about six times by now 😉 Hopefully it will get processed before the Chinese New Year.

      Since I have the PCBs that Meanpenguin designed I figured I'd make the first booster PCBs fit the AMS1117 pins so it will hang over the main PCB in an unobtrusive manner.

      And yes, among other iffy things, the footprint for the inductor varies (a lot). I went with a couple of different footprints that I though would be hand solderable for a typical 3x3mm inductor (i..e with some of the pad exposed). In reality the inductor I ordered for testing has a horseshoe-like footprint similar to the PCB on the bottom left. The capacitor footprint also purposely differ (0603 and 0805), but the capacitors I have ordered are all 0603 so it is hopefully all good. This is my first real run with Eagle (and the Gerber Panelizer) so it has been a real learning experience for me. I hope that I will be able to reflow PCBs in the future and not have to worry about whether or not the tip of the soldering iron has anywhere to go.

      Btw. Other components ordered:

      • 10x Linear LTC3525DESC6-3.3
      • 100x Capacitor KEMET C0603C105K9PACTU CAP CER 1UF 6.3V 10% X5R 0603
      • 200x Capacitor TDK C1608X5R1A106K X5R 10uF 10V 10% 0603
      • 50x Do3314-103mlc Inductor 3x3mm 10uH

      We'll see if AliExpress delivers as promised. The components have all been dispatched at any rate. Prices were pretty good overall, particularly given that I save shipping and taxes compared to Mouser or whatever. First time I order "serious" brand components from Ali though. Fingers crossed!

      I'm hoping that in the future we'll have ready booster PCBs on the official MySensors PCB site for all major ICs obviously. Personally I find the lack of proper low quiescent current regulators to be perhaps the most annoying problem right now.

      posted in Hardware
      bjornhallberg
      bjornhallberg
    • RE: Step-up / Boost regulator PCBs

      So, in conclusion I assembled the boost modules. I don't have an oscilloscope or any fancy variable load so I can't do much testing. But both the TPS61221 and LTC3525 seem to be working as intended, they power the NRF24 (not sensor in this particular picture below) without any hiccups at any rate.

      IMG_20150324_143038_1.jpg

      I tried some ceramic power resistors to put some load on the regulators and got something like ~60-80mA out of one fairly run down AA cell if I'm not mistaken. Basically according to spec.

      All I have to do now is design a compact sensor node where 1xAA actually makes sense. Kind of like LowPowerLabs' Moteino. Feels like it's time to take this to the next level. The only thing bugging me is the need to reflow instead of hand solder, and the massive task of sourcing components from AliExpress so I can avoid Mouse/Digikey. Perhaps I should give it a rest for now and see how the official MySensors modules turn out before I decide.

      posted in Hardware
      bjornhallberg
      bjornhallberg
    • RE: RFM69 Range issues

      @Yveaux I'm embarrassed to admit I did buy a RTL-SDR last year on account of the problems I had with 433MHz sensors on the RFLink gateway and wanting to decode wireless m-bus. But I never really learned how to interpret the data from SDR#. I booted it back up just now and am flailing around in the interface 🙂

      posted in Troubleshooting
      bjornhallberg
      bjornhallberg
    • RE: Best CNC for milling/routing wood?

      Well, we looked into this for our local Makerspace. Especially if you're in the US, the Shapeoko or the Xcarve can be somewhat price effective, particularly when they have their sales campaigns and include the dewalt router and free shipping or whatever. But I still think the Xcarve is a bit flimsy and mostly propped up by a successful campaign in social media where they gave away machines to well known youtubers.

      In the end we opted for building a rack and pinion RawCNC instead.
      http://cncmaskiner.org/
      http://rawcnc.com/
      Unfortunately the guy behind the project keeps changing his mind constantly about how to sell machines, kits, parts and plans so I don't know how practical it is to start a build right now. It all hinges on finding the parts like the aluminum extrusions.

      In the end we didn't want a timing belt machine. And we wanted a vfd / spindle solution from the start not having to go through a dewalt / makita router first. These spindles are quiet and you get standard ER collets. But they are also really heavy and might not work on a standard Shapeoko without reinforcements. We opted for a 2.2kW air cooled model.

      Here is someone who has custom built an unusually small RawCNC:
      https://openbuilds.com/builds/rawcnc-1-5-desktop-edition.5771/

      posted in General Discussion
      bjornhallberg
      bjornhallberg
    • RE: Eagle files for a MeanPenguin MySensors PCB

      I just wanted to post some pictures of the boards I got two weeks ago. 12 boards all in all from DirtyPCBs. Sure took its time. Processing time was under a week I think, but shipping was characteristically slow. The silk screen turned out a bit wonky since I exported too many layers (duh!) and it is a bit fuzzy in other places but other than that the boards seem fine. Since it was my first ever order of PCBs I took the liberty to add a big silk screen on the back and round the corners, just to test them out. Clearly not an issue for this fab at least.

      IMG_20141229_164130.jpg
      _MG_3948.jpg
      _MG_3949.jpg

      The boards are 1.2mm btw. Their standard thickness. But a bit thinner than the "usual" PCB. I like it though. Unless there is a reason to go with thicker boards?

      posted in Hardware
      bjornhallberg
      bjornhallberg
    • RE: Are folks here happy with Domoticz?

      Also pretty happy with Domoticz. Also installed Dashticz on one of my two installations (the other being at the local Makerspace). For me, at least historically, I needed something that could run well on a Raspberry. Domoticz is up and running in seconds obviously even on limited hardware. For me at least Domoticz is pretty flexible, with Blockly, LUA, Python and dzVents. I think there is also some sort of add-on for PHP. The interface and the handling of devices is a bit messy but still.

      Haven't tried HA but I would certainly consider it.

      posted in Domoticz
      bjornhallberg
      bjornhallberg
    • Open Source Home Automation (Raspberry)

      Supported connection method in boldface (i.e. SERIAL, ETHERNET, MQTT, GPIO). Programming language in [brackets].

      ..........................................................................................................................

      Free / Open source:

      1. Ago Control [C++/PYTHON] (SERIAL)
      2. Calaos [C++] (SERIAL/ETHERNET)
      3. DomotiGa [GAMBAS] (SERIAL/ETHERNET/MQTT)
      4. Domoticz [C++] (SERIAL/ETHERNET/MQTT) #RECOMMENDED#
      5. EasyIoT [C# = REQUIRES MONO] (GPIO)
      6. FHEM [PERL] (SERIAL/ETHERNET)
      7. Freedomotic [JAVA] (SERIAL/MQTT)
      8. Heimcontrol.js [NODE.JS]
      9. Home Assistant [PYTHON] (SERIAL/ETHERNET)
      10. Home Genie [C# = REQUIRES MONO] (MQTT)
      11. HouseMon [GO] (MQTT)
      12. ioBroker [NODE.JS] (MQTT)
      13. Jeedom [NODE.JS] (SERIAL/ETHERNET)
      14. MajorDoMo [PHP] (MQTT)
      15. MisterHouse [PERL] (SERIAL/ETHERNET)
      16. MyController.org [JAVA] (SERIAL/ETHERNET/MQTT)
      17. OpenRemote [JAVA]
      18. PiDome [JAVA] (SERIAL/MQTT/GPIO) #RECOMMENDED#
      19. Pimatic [NODE.JS] (SERIAL/GPIO) [link]
      20. Pytomation [PYTHON]
      21. The Thing System [NODE.JS] (MQTT)
      22. homA [NODE.JS]
      23. home.pi [NODE.JS] (MQTT)
      24. openHAB [JAVA] (MQTT)
      25. openLuup [LUA] (ETHERNET)

      ..........................................................................................................................

      Commercial Software

      1. Homeseer [?] (SERIAL)

      ..........................................................................................................................

      Currently not on the Raspberry. Might work with Windows10 and RPi2 in the future?

      1. HoMiDoM [?] (SERIAL)
      2. zVirtualScenes
      3. Opensourceautomation

      ..........................................................................................................................

      Misc

      1. pymysensors - Python code for interacting with the network
      2. pymys - Another python solution

      ..........................................................................................................................

      Personally, I'm still looking around for the perfect home automation software. And I have a fairly steep list of requirements, among them being a meaty and stylish Android app and notifications using Pushover (and Pushbullet for images?). It also has to be real AUTOMATION in the sense that you can build long and complicated scenes that can respond to changing condition in and around the house, preferably in some nice graphical interface where you just drag and drop the building blocks (Blockly). Not to mention taking advantage of the state of the art charting libraries that are available these days. I'd also like for it to interact with the Raspberry Pi camera module in an intelligent way, so it probably needs to be able to be able to allow extensive scripting, like being able to run raspivid, raspimjpeg and/or raspistill when motion sensors trigger or whatnot.

      Finding the right controller software can be confusing and you seldom see the whole picture right away. Some automation software solutions are easy to install and boot up quickly but may slow down under the load of many sensors and rules. Some others may be a real hassle to install in terms of dependencies and slow to boot but may hold up better in the face of more complex home automation. Some are user-friendly but offer little control while others offer extensive control over interface and function but might drive you mad while you figure them out. It is safe to say that there is no obvious choice as of now and that the market is still far from mature. One should also note that the Raspberry Pi 1 is NOT a very fast platform and will not be ideal for many of the JAVA implementations above, unless the developers have had such platforms in mind when modelling their software (PiDome being the notable exception). Personally I am not very keen on software that will take minutes to boot up and effectively bog down the Pi in the meantime.

      As for a faster hardware platform to replace the aging RPi I'm still looking around. The Pi has a support community that none of these other, newer platforms can claim after all. It would have to be a significantly faster system at basically the same price point for another ARM platform to make any sense. It's lucky that the Raspberry Pi 2 was announced at last then. Its IoT support for Windows 10 should provide more possibilities if it runs OK and most of the software above should continue to run on regular Raspbian or whatnot with little or no changes. Whether we ever get any multi-threaded support though for a real performance boost is another issue. Still waiting for the final verdict on the ODROID platforms, particularly the C1, but in my mind, the price including the eMMC module quickly approaches that of some cheaper x86 NUCs or one of those other Atom-powered boxes that keep turning up and are relatively quickly bridging the price gap.

      posted in Controllers
      bjornhallberg
      bjornhallberg
    • RE: Power pulse meter inside fuse box cabinet

      @Mrlynx, @korttoma Yeah I guess that would work, and I might just do that if I have an electrician over for some other business. Having an outlet there might make things easier for future appliances that might want to reside there.

      But it so happens I have an outlet just some 3 meters away from the cabinet. Safe from the elements. I thought I might make this a central power access point for the whole front of the house, using some sort of 12V outdoor adapter that in turn runs cables to any number of sensors. Shouldn't really matter how many volts are lost in transfer, and then I could finish off with either connecting the RAW pin OR using one of those neat buck converters that can be found cheaply on Ebay. I have a couple of them already and used them to power a sensor node and at least with a decoupling capacitor on the radio they don't seem to be too bad.

      posted in General Discussion
      bjornhallberg
      bjornhallberg
    • RE: 💬 Sensebender Gateway

      Which exact RFM69 is the footprint for? Cause it says "RFM69HCW" in some places, and "RFM69HW" in others. The footprint looks a lot like HW (https://c1.staticflickr.com/1/563/20328459340_62fa380554_b.jpg).

      posted in OpenHardware.io
      bjornhallberg
      bjornhallberg
    • RE: Standard versus LNA+PA radio modules

      @jendrush said:

      @bjornhallberg At this moment i have gateway on Arduino Uno, and nRF24L01+ LNA+PA is working ok. But when i tried nRF24L01+ LNA+PA with nano it didn't work.

      Sending didn't work you mean? Or didn't receiving work either? I've only tested receiving for a few minutes using the debug setting, with the nRF24L01+ LNA+PA and Nano connected to my RPi. Seemed to work ok but it'd be nice to know for sure before investing more time with this particular setup. Also, I don't think I could fit an Uno into my camera housing. I'd have to get a 5V->3.3V converter (one that doesn't ruin radio reception) and take the power directly from the PoE splitter (which currently outputs 5V directly to the RPi TP1/TP2 pins).

      Just for fun, here is the setup I have right now, don't laugh 😉

      gateway01.jpg
      gateway02.jpg

      Anyhow, the Uno allows for 50mA on 3.3V, while the Nano can do 40mA if I'm reading the specs right? Still way off from any 115mA.

      posted in Hardware
      bjornhallberg
      bjornhallberg
    • RE: Open Source Home Automation (Raspberry)

      Perhaps this discussion should be taken to a more rudimentary level, trying to figure out which automation software we actually want to bet on. And what software will actually run WELL on the resource limited RPi. It would take some convincing before I ever installed java-based solutions for instance, like openHab.

      Has anyone actually tried Ago Control? Is it any good? Does it work well with the Pi? The installation is 130MB no less. A ton of dependencies. Makes you wonder about RAM and CPU usage.

      It feels like this entire market is a bit premature at the moment.

      posted in Controllers
      bjornhallberg
      bjornhallberg
    • RE: Is anyone using senserbender with HC-SR501 PIR ?

      I don't have the sensebender, but I have a node with a regular 3.3V Pro Mini and a 501 that has been going for a year now. No regulator. Just 2 x 1.5V AA. Don't know how it is still functioning as I also read that I should expect false positives as well as false negatives. The sensor is outdoors so it is hard to say anything about false positives since there are birds and stuff passing by. But I have never ever known it to miss a beat as I walk by (which is something I do 3-4 times a day).

      Just connect the 3.3V to the third / "H pin" on the PIR board.
      http://forum.mysensors.org/topic/444/battery-powered-motion-sensor/13

      posted in General Discussion
      bjornhallberg
      bjornhallberg
    • RE: 💬 MyMultisensors

      @scalz Would also be very interested in buying assembled modules. But why no more RFM69?

      posted in OpenHardware.io
      bjornhallberg
      bjornhallberg
    • RE: Battery powering options

      @kolaf No, it doesn't sound lazy to me, we're all wrestling with these questions and I don't think any of them have been answered in such a way that they can be dismissed out of hand.

      1. I guess two AA 1.5V alkaline batteries would work for the moteino (rechargeable of course self-discharge too fast, and LSD NiMH are a tad expensive). I think it's a fairly cost-effective solution too if the sensor allows it. The regulator seems pretty great, except that it requires 2.7-16V in. Hard to say how long 3V is going to last. Would have been better if it had started at 0.7-0.8 like some other regulators so you could have run it on only one AA battery. Perhaps you could run it on 3xAA? When I see the moteino I can't help but think that we're reinventing the wheel over here. Plus the range on these RFM69HW are phenomenal. Anyway. The anarduinos run on 5V right and are not designed for battery operation?

      2. I'd be wary buying cheap AC adapters on Ebay.
        http://www.righto.com/2012/03/inside-cheap-phone-charger-and-why-you.html
        http://www.righto.com/2014/05/a-look-inside-ipad-chargers-pricey.html
        Perhaps you could look into buying some second hand brand adapters on Ebay. I bought two Nokia USB chargers (AC-10E) a while back from Germany and paid maybe 7€ each or so including shipping. They were originally meant to power Raspberries but I've since given up on buying more than one Pi and the one I have is powered by PoE using an aftermarket solution from Tp-Link. But I have a couple of sensors that I will need mains power for, like the powermeter ironically enough. I thought about buying something like this (between 12-24V 10-50W AC DC waterproof adapter) and then use buck converters in each enclosure to bring the power down to 3.3V or whatever. Starting at 12V and good gauge wire I should be able to run pretty long wires from one central transformer. But with all the problems with the NRF24 and bad DC quality I hesitate. I have some cheap ebay buck converters so I can try this before committing further resources though. At any rate, I'd avoid mains if I can. If you can get a year or more on a couple of AA and avoid radio problems, at least for those of us with NRF24, that seems cheaper and better to me. With AC-DC you have the cost of buying the adapters, the nagging feeling that they'll burn your house down, and that they'll interfere with your electronics. Plus the cost of running them. No idea what the efficiency is like here, but it probably varies a lot, around 75% if you're lucky, but that is probably at full load:
        http://www.righto.com/2012/10/a-dozen-usb-chargers-in-lab-apple-is.html

      3. No idea how to solve that gracefully and easily without making some custom board. Latching on some prototype board would be an eyesore on the moteinos etc.

      4. It always comes back to these types of cases it seems:
        http://www.ebay.co.uk/itm/191276960520
        I've also bought a lot of the flanged model that may be more waterproof:
        http://www.aliexpress.com/wholesale?SearchText=enclosure+waterproof
        A bit ugly for indoor use though. Tried buying some without flanges, but got flanges anyway. I hope the Ebay ones above live up to the product picture at least. It's not that much to choose from.
        People have been talking a lot about 3D printed cases but I'd be more interested in making wood enclosures of some type. A router and some router bits or whatever you'd need seems cheaper and more fun than 3D printing to me.
        http://lifehacker.com/5640327/how-to-build-a-diy-wooden-hard-drive-enclosure

      posted in Hardware
      bjornhallberg
      bjornhallberg
    • RE: Open Source Home Automation (Raspberry)

      @axillent Sure, a more powerful solution wouldn't go amiss, but it comes down to cost and power consumption. The RPi SHOULD be enough to power home automation if it was was done right. A lot of the resource consumption for Domoticz (which is still a lot faster than openhab but is nevertheless accused of being slow sometimes) seems to be Apache handling the web interface. Lighttpd might be something I should look into if at all possible. Personally I'd like a really light-weight front-end and then some Android app to control and check the automation server.

      But I'm always open to suggestions. The RPi is only great because of its software support / developers, its peripherals and its gpu. There should be a lot faster chips these days, ARM or preferably x86, that could manage the same power consumption as the Pi but with a lot better performance. If you're only looking for CPU cycles. Personally I was hell bent on cramming as much stuff as possible into the Pi, including the camera module. That is basically £6 of electricity, running it 24/7 for a year. Yes, I'm the ultimate cheapskate 😉

      posted in Controllers
      bjornhallberg
      bjornhallberg
    • RE: Best CNC for milling/routing wood?

      @neverdie Yeah that is a surprisingly good machine as it seems to be built from scratch with no plans or whatnot. It says in the Youtube comments that he spent $4K-4.5K on it though, with 1K of that being for the extra cost of servos as compared to steppers. Nice to have those linear rails and ball screws though.

      By comparison the machine we're building is maybe $2K. It will have worse precision (than ball screws) as it is rack and pinion. But a work area of ~100x150cm.

      posted in General Discussion
      bjornhallberg
      bjornhallberg
    • RE: 💬 MyMultisensors

      Still very much interested in buying the board with RFM69 footprint! Just saying!

      posted in OpenHardware.io
      bjornhallberg
      bjornhallberg
    • RE: Minimal design thoughts

      I snapped some pictures just so everyone can see the difference between the nrf24 modules.
      _MG_3962.jpg
      _MG_3963.jpg
      Of course, like I said, I don't even know if the "mini" works in a satisfactory manner. I'm gonna get some smaller pitch headers so I can make a prototype. But the PCB antenna actually seems to be the exact same size so I have high hopes for that aspect at least.

      posted in Hardware
      bjornhallberg
      bjornhallberg
    • RE: Open Source Home Automation (Raspberry)

      @Damme Yeah, that is sort of the Achilles' heel of the MySensors project. Basically no software support. And even if all the above software miraculously started to support MySensors, they'd still be years from completion most likely. I can't claim to have tried them all but none of them seem that promising. Most of them are half-baked and those that show some promise are usually developing too slowly or are under the wrong direction focusing on the wrong things or getting ahead of themselves. A lot of them support various wonky commercial hardware that ordinary people will be less likely to have heard of than MySensors even. Some of them sure have the cart before the horse and I'm always a bit suspicious about where their motivations are coming from, i.e. any money trail to said obscure corporate stuff that most people are very unlikely to own.

      If I had any use for Z-Wave I might have considered getting a Vera, but for that price you could get pretty much anything, like a NUC or whatever (some of them are quite energy efficient and getting better every generation). Not that an x86 machine would me much use either compared to a RPi. And besides, all I hear about the Vera is complaints about slow software development. I'd expect more UX perfection from a commercial product. Perhaps I will reconsider if there is a Vera4 or something and UI7 is a resounding success. Else, people might do what they did to Synology, rip their software and let everyone use on their own hardware.

      Isn't Google coming out with something soon? Or are they busy with the expensive NEST stuff?

      posted in Controllers
      bjornhallberg
      bjornhallberg
    • RE: Best CNC for milling/routing wood?

      The MPCNC is a smart project but I would assume it would struggle with a bigger motor.

      The 2.2kW we are going to use weighs A LOT. Around 5kg at least I'd guess. The 1.5kW is not much better. With a smaller spindle, or router like a Kress things would be different. Still I'm glad to have the extra power, and standard ER20 collets up to 13mm. Plus these chinese spindles are really quiet compared to a regular router. And the speed can be set and spindle can be started from the control panel or from the computer. The downside is the low quality VFD I guess, but if it works it works. And you can always use shielded cables everywhere.

      posted in General Discussion
      bjornhallberg
      bjornhallberg
    • RE: Electric Gates Sensor

      @shabba A simple reed switch could probably be run for a year at least on 2xAA alkaline batteries, no regulator or anything. The nrf24 and the atmega are good down to 1.9V. I've had my motion sensor outdoor over the winter and that thing has survived, despite all the limitations of the HC-SR501 (relatively high quiescent current, wont work well as the voltage starts dropping, certainly wont work down to 1.9V anyhow).

      Weather proofing is an interesting issue that we haven't discussed all that much on the forum. My understanding of weather proofing is that you either go completely sealed (which is downright impossible for us normal folk) or we allow some ventilation, so hot air wont condensate inside as temperatures drop rapidly. If you want to go completely overboard, there are gore-tex vents that can be installed, or you just have to drill some holes in strategic places. I have used the plastic boxes (http://forum.mysensors.org/topic/444/battery-powered-motion-sensor/13) that are available from Ebay. They're pretty ok, you could probably make them a bit more ventilated, but the main problem is that the included screws rust like crazy. A real problem with a lot of the China stuff. I realize they're not supposed to be stainless or anything but they oxidize a lot faster than equivalent stuff bought locally. Could be hard to replace. Haven't checked the threading but I fear they might be some wonky american thread?

      posted in Hardware
      bjornhallberg
      bjornhallberg
    • RE: Open Source Home Automation (Raspberry)

      Those that did try openHAB (and felt it was slow), what version of java did you use? Did changing versions make any difference?

      I see that they recommend a very aggressive memory split also, leaving nothing for the GPU on the RPi. That is obviously impossible for those of us that also run the camera module.

      Edit: Perhaps someone would be daring enough to try openHAB 2.0 if and when it works:
      http://kaikreuzer.blogspot.com/2014/06/openhab-20-and-eclipse-smarthome.html
      Includes HABmin, and ...

      A second major design goal of openHAB 2.x is the optimization for embedded platforms. Although openHAB 1.x works on a Raspberry Pi, it sometimes feels a bit sluggish at startup or with huge installations - this is due to the fact that openHAB had never been specifically optimized for embedded systems and thus uses libraries such as Xtext, which are not meant to be used in constrained environments. In consequence, we will try to provide a minimal openHAB runtime that will work with alternatives or strategies such as pre-compilation etc.

      posted in Controllers
      bjornhallberg
      bjornhallberg
    • RE: Best CNC for milling/routing wood?

      Yes but can he do this? 😉
      https://youtu.be/Nz8k2MSAasI?t=47s

      posted in General Discussion
      bjornhallberg
      bjornhallberg
    • RE: Radio problems

      @jocke4u I can't claim to have built and tested that many sensors but I have read most of the error reports on the forum over the last couple of months. I see some possibilities here:

      1. Power source for the sensor is not ideal ... which could be fixed with a decoupling cap just like you did ... only ...
      2. Decoupling capacitor in question is not ideal, perhaps try a larger capacitor, 10 or 22 uF or perhaps try another type, like ceramic. I assume you're using electrolytic like in the store?
      3. Perhaps there is something wrong with the radio you're testing, Ebay quality control and all that.
      4. Some have reported big differences in reception based on the orientation of the radio.
      5. Some have also reported big differences in cable length (shorter cables to the radio or prototype board being better)
      6. The NRF24L01+PA+LNA probably consumes more power at the same setting (?) (RF24_PA_LOW/-12dbm) though it should still be within the limits of the Arduino mini pro I guess? If you have the radio connected directly to the arduino I mean, feeding it power through its circuitry? If possible, and you have a 3.3V source, like batteries, you could bypass the Arduino and power the radio directly from the batteries. Perhaps there is something with your board creating an issue like the sensor itself. Like I said, I have no clue here.
      posted in Troubleshooting
      bjornhallberg
      bjornhallberg
    • RE: Open Source Home Automation (Raspberry)

      @epierre Yes there are a lot better options out there, but I'm not going to buy a new platform just so I can run JAVA 😉 Nothing in this price range is going to be fast enough for that I suspect. Faster, sure, but not fast as in virtually instantaneous.

      I actually tried openhab2 branch on the RPi just a few minutes ago. Slow Sunday, I know. Don't know if it has been optimized yet as promised but it took about 4 minutes to start. And then it used up 25% of available RAM right out of the box, running the demo config. Would be interesting to see how fast it boots on a cubieboard2 or similar. Even if it could get it down to a minute it would be a minute too much imo. Perhaps it will run fine after it's been loaded, but those loading times were enough to deter me. I mean, in 4 minutes your house could get burgled several times over 😉 I just don't see what openhab has to offer that is worth all that.

      The reason I got a RPi was the camera module. And the extremely wide support for the platform. I swore I would never touch an ARM platform again after my first Android phone and my Synology NAS but I guess the price (and camera) got the better of me. I also don't have any z-wave devices.

      On a side note, I've ordered another Arduino Uno Ethernet Shield to complete the bridge to the MQTT broker. I will just have to find some automation software that will run fine on the Pi.

      posted in Controllers
      bjornhallberg
      bjornhallberg
    • RE: DIY LED Lighting System

      I will just add that I haven't been terribly impressed with the LED bulbs and strips I've bought on Ebay. I have strips glued to the back of the TV and they work, but only because the light reflects off other surfaces before you see it. Otherwise it looks terribly blueish. Had I picked a warm-white strip it would probably have been more yellow than white. I've had RGB strips as well but they were downright impossible to get to display any acceptable white. Bonus points for the adhesive on the back of the strips never sticking, but smelling atrocious nevertheless.

      Just so no one buys things on Ebay / Ali and gets disappointed I'd like to point to three major problems with the bulbs (and to some degree, strips). Watts, Kelvin and RA / CRI / whatever. First, larger bulbs almost always don't live up to their watt rating. Second, finding the right K(elvin) is like finding a needle in a haystack. And thirdly, color rendering is usually extremely crappy, things will look extremely off when illuminated compared to a "daylight" standard. Perhaps things have improved since last I looked ... I don't know ...

      posted in My Project
      bjornhallberg
      bjornhallberg
    • RE: Radio setup give: "check wires"

      @ServiceXp Some old camera I have. Canon 40D + Canon EF 100mm. Plus some extension tubes. Probably not necessary but they were already attached so I didn't bother to remove them. A decent tripod. Some cfl tubes to light up the pitch dark.

      Still, as you can see the focus plane is pretty shallow (f/5.0) and I could have used some sort of light tent to apply more and softer lights. Not to mention plugged in a remote trigger and done mirror lockup to reduce shake. It's just such a hassle to set everything up though .... I should really have a dedicated place where I can have all of this set up permanently.

      And above all else, perhaps the biggest failure here and lesson 101 for macro shots, clean the object of interest first 🙂

      posted in Troubleshooting
      bjornhallberg
      bjornhallberg
    • RE: Frustration ??

      Yeah, I'm starting to think I overdid it with the AliExpress enclosures:

      IMG_20140808_193206.jpg

      Haha. They even fit the Uno with a couple of shields ... but I actually intend them for outdoor use. And they're nice for big ugly components like the AC->DC converter with the yellow PCB on the left.

      posted in Enclosures / 3D Printing
      bjornhallberg
      bjornhallberg
    • RE: The Most Stable Controller and gateway, vera or another listed controller

      @Rachmat-Aditiya Not gonna lie to you here, you'll save yourself a lot of trouble if you go for the Vera. And it's not a stability issue per say. With the Vera you'll have support for all the unit types, automatic node id, storing VAR1 - VAR5 variables etc. The other controllers are far more rudimentary usually and they will most likely require some work of your own. That being said, I'm no advocate for the Vera either, very little value for your money unless you have a Z-wave network and even then it is probably no more than $50 worth of electronics for the $150 price tag (for the VeraEdge, not my estimate).

      I'd sooner recommend PiDome or Domoticz than the software above (haven't tried FHEM though personally). OpenHAB is in my opinion a hopeless resource hog and incomprehensible on top of that. Just saw that they released version 1.6 and 2.0 alpha though. I did try the old 2.0 code and saw no performance improvements. Perhaps this time it will be different?

      posted in Controllers
      bjornhallberg
      bjornhallberg
    • RE: Which 3D modelling software do you prefer for 3D printing *and* CNC?

      I'm sold on Fusion360 as it is basically professional 3DCAD that can be used for free. Full on parametric with a powerful history tree. As you've no doubt seen it has built-in CAM functionality as well, equally professional and it can output G-CODE for most CNC-controllers. So very much all in one. And you'll be glad you learned real 3DCAD instead of meddling with 123D, Sketchup or anything else.

      Personally I prefer the Vectric programs (Aspire) for making G-CODE for the CNC as they are geared towards woodworking with features like v carving. Fusion360 CAM feels more like it was made for mills and lathes but can do most things as well.

      posted in Enclosures / 3D Printing
      bjornhallberg
      bjornhallberg