What did you build today (Pictures) ?


  • Mod

    Holding the leg with a big pair of pliers is, in my experience, a good way to keep the temperature down. Something like this can absorb a lot of heat:

    alt text



  • @mfalkvidd I would agree, but when space is cramped, those are not always a workable solution. Great suggestion though.


  • Mod

    @dbemowsk true. But from the photo sundberg84 posted, there seems to be a lot of space so in his particular case it should work. Needle-nose pliers are also useful. They can't absorb as much heat, but they absorb some (especially if you put them in the freezer first 😉 ) and fit into tight spaces.



  • @neverdie So because of your suggestion, I decided to explore the revision to the main controller board. I have not posted this revision to OpenHardware.io yet. Thought I'd get some feedback here first.

    Some of the minor changes that I made were to the definitions of the headers. The headers now are labaled J1, J2 and J3. One other change was to combine the old J2 and J3 together into one header which is now designated J2. The biggest change was breaking out the MOSI and MISO SPI lines to the new J1 header. All changes are backward compatible with the old switch board hat. Here is the proposed board design. With the SPI bus now broken out, this will now allow the use of SPI capable displays and sensors such as the 128 x 64 OLED display for my current display/keypad board. I will make the changes to that soon.
    0_1514506267605_54713140-fdf8-4882-9d00-6231f9666289-image.png

    The schematic is simple.
    0_1514506777666_6ee55298-5af1-4120-a967-bf87f1f060c6-image.png


  • Hero Member

    @dbemowsk I thought they were all on the same board. I hadn't realized that they were separate boards. Also, at least on the schematic, the pinout on your pro-mini looks unusual.



  • @neverdie It was one that I found on EasyEDA that was contributed by a user. Some of the other ones didn't have A4 and A5 for I2C on them. All parts are correct on the board layout though which is what matters.

    My setup for these is 3 boards. Power supply, controller and switch/sensor board with faceplate. This is how the 3 boards stack together.
    0_1514516200715_8066b51f-520f-424c-8038-d3b19afe67f6-1503237722028-upload-e8f52bee-806f-41db-8bd8-7729228df6f2-resized.png

    This setup allows me to build different faceplate boards with various switches, displays and sensors depending on what the needs are.



  • So here is an updated board layout that with the new controller board layout will allow for either a 6 pin SPI or 4 pin I2C OLED display. J4 through J7 are jumper headers that tell whether you are using a 6 pin SPI or 4 pin I2C display.
    0_1514536813459_e10205a5-8836-468d-a5c1-67e459d65deb-.png


  • Hero Member

    @dbemowsk Or maybe use solder jumpers instead.


  • Hardware Contributor

    Building some loggers which i might sell later on.
    0_1514554953843_1514554934776246379576.jpg


  • Hardware Contributor

    And want to make a tip about smd component organisation...

    0_1514555049950_15145550389591441077832.jpg



  • @neverdie I thought about adding jumpers, but being that these are in-wall switches which are pretty much permanent, and the fact that because of space the OLED display needs to be soldered in place, there's not much chance of the display getting changed from I2C to SPI or vice versa. I figured that the pads could just be bridged one way or the other depending on configuration.


  • Hardware Contributor

    @sundberg84 said in What did you build today (Pictures) ?:

    And want to make a tip about smd component organisation...

    I think we should make another topic for this kind of tips ? We could discuss pros and cons and give reference to online shops to buy items, your boxes are quite nice for DIP components and small breakout boards, where are they from ?

    For SMDs components I went for the lab supplies on AliExpress, I started to sort my SMD chips using 5ml tubes and 3D printed holders, I need to print more holders to sort by categories as it's a bit messy at the moment. I put a bigger sticker on the side of tubes with more details as top sticker is pretty small 😄 Same holders can also holder bigger tubes for bigger stuff like here mini/micro USB plugs.
    0_1514559330846_IMAG2118.jpg

    For resistors, capacitors, inductances, ... I went for lab tube boxes. I use smaller tubes (1.5 or 2ml) but they can hold probably thousands of 0603 or 0402 and even hundreds of the 0805 and 1206 resistors. I use different colors to differentiate size (and later precision/voltage/... when I'll have more boxes) and put bigger stickers on the lid of the box with information for each color.
    0_1514559354052_IMAG2119.jpg


  • Hardware Contributor

    Here, I like using smd books but of course I have a lot of these little boxes, too much though, and not enough!
    Little boxes are nice but not very handy as you spend your time to reorganize them. Whereas I can have dedicated pages in books for my designs. Sure I could have dedicated boxes, but that takes more place and I don't have to search for a partvalue in hundreds of box.


  • Hero Member

    @nca78 What do you do with the parts that are too big to fit in your test tubes?


  • Hardware Contributor

    @neverdie I have plastic boxes from my local supermarket, I put components/breakout boards etc inside in their antistatic bags, then align them on their side in drawers. Less convenient to access but at least it's cleaned and ordered 🙂


  • Mod

    I got this set but I haven't used them yet, I still have room in my plastic storage drawers
    https://www.banggood.com/10Pcs-15-Value-Electronic-Components-Storage-Assortment-Box-p-951597.html



  • Great fun to see all these build pictures!

    My pic of the day is a trivial battery powered DHT22 sensor just to try things out with prototyping, programming and connecting to OpenHAB. This is my first project since highschool. (The gw and first sensor is on a breadboard.)

    It feels great to be soldering again after almost 30 years and I'm really looking forward to step into the MySensors world!

    0_1514584701721_DHTSensor01.jpg



  • @fredswed being a battery operated node, you may want to remove the LED from your pro-mini to save power. You may also want to look at the options for ruining without the pro-mini regulator also to save even more power.


  • Mod

    and also get rid of the dht sensor to get a proper one 😅



  • You are of course both right! It was only intended to get things going so I didn’t want to complicate things. My “production” sensors will be quite different. Maybe I’ll save this one in a frame on the wall 😉


  • Hardware Contributor

    Today I finished the coding for my prototype of a laser distance sensor (intended to measure the water level for my automatic in-door flower watering pump). The sensor is connected via I²C and has sleep pin.

    0_1514595637161_IMAG2325.jpg

    The most work was implementing support for the VL52L0X laser distance sensor and for my 128x64 OLED display to NodeManager (PRs submitted as https://github.com/mysensors/NodeManager/pull/244 and https://github.com/mysensors/NodeManager/pull/245).

    The OLED is really useful when prototyping sensor nodes. Out of the box, my NodeManager OLED implemention will display the values of all attached sensors without any coding. Simply create the DisplaySSD1306 after all other sensors, and the OLED will pick up and display all sensors automatically...

    Once everything works, of course the OLED is not desired for the water level sensor running on batteries...


  • Hardware Contributor

    @reinhold that's an awesome idea ! Ordering new OLED displays right now 😉

    And this sensor is great, its precision is putting to shame the APDS and similar sensors.


  • Mod

    @reinhold what library did you use for the oled? I used one that takes almost all memory available on my pro mini


  • Hardware Contributor

    @gohan I'm using the SSD1306Ascii library, which does not use a display buffer and does not support graphics, only text. The drawback is that to prevent screen flickering, you have to manually clean each line of text to the EOL. Otherwise letters that are not overwritten by new text will not be cleared. See my PR for NodeManager how it works. With my approach, there is absolutely no screen flicker, the display updates properly and the memory requirements are minimal (the library docs say its 53 bytes)



  • I now have revision 1.0 of my OLED keypad posted on OpenHardware.io. My first revision of the board allows for either the 6 pin SPI or 4 pin I2C versions of the SSD1306 OLED display. The 9 button configuration allows for several different combinations of buttons depending on the needs of the user.
    https://www.openhardware.io/view/546


  • MySensors Evangelist

    I found out that the brinks solution I build some time ago could be upgraded with a nice additional feature. 'Filter detection'.

    I created a cheat sheet as my device was equiped with RJ11 connector and 3 wires. I needed to convert it to RJ12 with filter detection.

    0_1514922290404_WhatsApp Image 2018-01-02 at 20.40.46.jpeg

    A nice black conversion box Output wires are the same colour as the original RJ 1 wire. With 2 extra wires 3,3v or 5v for the digital 'one' on the arduino.

    0_1514922284342_WhatsApp Image 2018-01-02 at 20.38.14.jpeg



  • @andrew said in What did you build today (Pictures) ?:

    0_1512830079874_small_20171119_155404.jpg 0_1512830092134_small_20171119_163354.jpg 0_1512830107562_small_20171119_163849.jpg 0_1512830119867_small_20171119_164745.jpg 0_1512830130032_small_20171119_165717.jpg 0_1512830150237_small_20171203_092353.jpg 0_1512830159490_small_20171203_163658.jpg 0_1512830169403_small_20171207_194213.jpg

    so, it is ready. I mean ready to SW development 🙂 both the schematic and pcb design is now confirmed and fortunately theory meets the practice 🙂

    0_1515090568483_small_small_20180103_235320.jpg

    0_1515090578447_small_small_20180104_001658.jpg

    0_1515090588886_small_small_20180104_003546.jpg

    0_1515090603769_small_small_20180104_003556.jpg

    0_1515090626947_small_small_20180104_004540.jpg

    0_1515090649476_small_small_20180104_004605.jpg

    0_1515090667193_small_small_20180104_004655.jpg

    0_1515090681698_small_small_20180104_005413.jpg

    0_1515090695413_small_small_20180104_005424.jpg

    0_1515090706426_small_small_20180104_010443.jpg

    0_1515090717200_small_small_20180104_010955.jpg

    it is assembled, programmed, tested, everything works as expected.
    I did not mount it to the wall so far (I'll need a controller and real actuators first), but there was no issue with the communication between two nrf modules (both with PCB antenna) from cca 6 meter distance + 2 walls (10 cm brick) in between.

    the touch panel's firmware will be enhanced as well as the controller's firmware, at the moment the touch sensing is reliable and a PoC code run on both of them for testing/debugging purposes. for the controller board I'm collecting additional information for the development on the following link:
    https://forum.mysensors.org/topic/8831/which-sensor-and-msg-type-for-switch-dimmer-node-sender-only


  • Mod

    @andrew Nice work man!
    Where did you source the gray enclosure from?



  • @yveaux said in What did you build today (Pictures) ?:

    @andrew Nice work man!
    Where did you source the gray enclosure from?

    thanks! the cover is also part of the original livolo (well, in fact a chinese clone of livolo) touch switch.




  • MySensors Evangelist

    @andrew said in What did you build today (Pictures) ?:

    András Kabai

    Nice video András 😉



  • @sincze thanks, Sandor 😉


  • Hero Member

    Added a buzzer to my nRF51822 coincell device to make a locator beacon. Attach the device to an object you tend to lose and it will make sounds when you activate it, allowing you to find it.
    0_1515273198336_buzzer_beacon.jpg
    The buzzer is driven by a load switch, so that none of the nRF51822 pins are overloaded:
    0_1515273260885_buzzer_board.jpg



  • @neverdie I hope that you made the prototyping with the cnc 😉


  • MySensors Evangelist

    Finally, the last day of my holiday I managed to upload the Mysensors Sketch into the NodeMCU to control my 900 LEDS. It will also read the lux intensity in the livingroom. So if it is dark the lights will switch on.

    0_1515346564306_NodeMCU Driving LED.jpg

    All is based on @Yveaux Mysensors ESP Gateway port. On a rainy saterday last year @Yveaux and I found out we did not have to modify anything on the voltag level for driving the LEDS. 😉

    The sketch includes all the Doll_House animations (around 55) that can be skipped through using an old 433mhz remote (or via interface directly ofcourse) Next stop... Installing 15 meters of LED in the livingroom. pffff 😉

    And putting everything inside this little box @Yveaux printed for me.
    0_1515346955766_Box.jpeg


  • Hardware Contributor

    Hi,

    today I've almost finished a speaker build 🙂 (it'll be a gift for family)

    First, I would like to thx Paul Carmody who created the original design of these speakers : Overnight Sensation 👏 👍
    https://sites.google.com/site/undefinition/diy-overnightsensations

    I have just changed size and format (of course I kept the internal air volume which is very important)

    1. I designed&printed a simple circle jig for my router.
      0_1515348466242_Pièce1.PNG
      0_1515346505441_circle jig.jpg

    2. So speaker drivers can be flush on front plate
      0_1515346542637_frontplate.jpg

    3. Assembled the box
      0_1515346612578_speaker.jpg

    4. Crossover, port tube, foam
      0_1515346694824_back.jpg
      with a special place to fit some electronics like

    • rpi (for Volumio/LMS client, or a voice assistant)
    • cheap dac & 2x50w amp from aliexpress
    1. Now vinyling. I need to change these ugly black screws too.
      0_1515346789068_vinyling.jpg

    Of course, I'm too excited (and not very patient ), so I've tested how they sound... Loud! Crystal sound with very nice boomboom 💪

    Not finished, but in good way 🙂



  • @scalz I have to guess this is a centre speaker?
    Some tidy inductors there on the crossover...
    How times have changed, now you can PRINT a router jig, used to make them with a piece of plywood for circles smaller that the router radius... Centre was drilled and fitted with threaded rod so you could cut back the front of the baffle but also chamfer the back face of the speaker baffle before cutting out the opening...
    Tidy enough, great when they get fired up....


  • Hardware Contributor

    Today I (finally) finished a full working version of that old Livolo 3 buttons switch. I removed the RGB led on the central button as it's not visible, but the basic switch functionality with buttons/relays and blue/red status leds runs fine.
    It's running with MYSBootloader, it's really convenient to update without having to switch of the fuse and unmount everything.
    0_1515402234037_IMAG2135.jpg

    A (quick) video, touch sensibility is perfect now, I'm really happy with it !
    https://www.youtube.com/watch?v=G6yEdSyoMYw



  • @scalz That looks very neat and tempting indeed! A pair of Overnight Sensation has long been in the plans for my next (and first) speaker build. Where did you get the components?


  • Hardware Contributor

    @zboblamont
    well actually it's setup as a standalone stereo speaker. I asked my brother (it's a gift for him) if he would prefer separated speakers (better for stereo). But he prefers like this, standalone with no wires, and his room won't be wide so it should be ok.
    Yes, i know for the jigs in plywood, but i have a 3d printer, caliper; drawing, print and voilà 🙂
    I like using cad software for checking assemblies in 3d etc, very handy, and it's more precise than my brain :).

    @fredswed yeah, it sounds very nice. when you hear it, then you know you made the good choice. Better than buying any of these 60 to >200$ smart speakers. I compared them with some others hifi speakers (jbl..) for fun, and still very impressive. Some of my friends are jealous. They want one, or more. Same for my others bro. They sound pretty loud imho, and would like to try a pair like that for fun
    I ordered most of the parts at loudspeakerfreaks or audiohobby. if you live in USA, then it's better to give a try to parts express I think.

    I finished the vinyling yesterday (my bro didn't want I roundish the corner). I now just need to add a rpi inside and connectors etc on back, not bad 🙂
    0_1515489993664_finished.jpg


  • Hardware Contributor

    @scalz - im using volumio (finished image for RPI) and happy with this. Just a tip...

    alt text

    Buildthread (Swedish)


  • Hardware Contributor

    @sundberg84 said in What did you build today (Pictures) ?:

    @scalz - im using volumio (finished image for RPI) and happy with this. Just a tip...

    same here with a few additional plugins 😉 Agreed, volumio is sexy sw.

    your speaker looks nice 👍

    I read and learnt a lot how to make diy speakers. It was very interesting learning curve, lot of parameters I didn't know before (and one of the most important rule is : tune your enclosure regarding speaker drivers specs, not the oppposite (there are software for calculating everything) Now I understand better the curves etc and where commercial stuff cheats. pretty cool


  • Hardware Contributor

    @scalz - this was my first project and I agree with you (because I didnt calculate much before). If you are looking for the best sound its incredible important... for me and this build I wanted a small enclosure in the kitchen but the sound is pretty impressive for such a small thing so Im happy even though I know it could have sounded better.



  • @scalz Whatever, so long as your brother enjoys what he asked for, job done.
    Do I interpret your comment on "roundish the corner" as rounding over the front baffle edges? Sonically it can make a difference for imaging, but with drives this close I doubt it would be noticeable anyway, and would be a pain to vinyl let alone veneer....

    Almost 50 years I've been building speakers as a hobby....
    I'll finish them one day 😉


  • Hero Member

    Maybe you speaker geniuses can figure out the optimal enclosure for this tiny buzzer? https://www.aliexpress.com/item/2731HZ-3x4-5x1-9mm-Super-small-miniature-AAC-electromagnetic-DET402-G-1-SMD-Passive-buzzer-3/32839766133.html?spm=2114.search0204.3.177.AclxtY&ws_ab_test=searchweb0_0&aff_platform=aaf&cpt=1515527880409&sk=e2Vzr3v&aff_trace_key=7078a47c52334a31ac1f2c6cfa07a508-1515527880409-05187-e2Vzr3v&terminal_id=892660b32ab149c8a0ca840218581bea

    I find that if I cup my hand over it, it (somewhat counter-intuitively) gets a lot louder, so I guess the same principles are involved?

    It would be neat to have a very tiny buzzer like this available for use in projects, but I guess the enclosure design needs to be considered as well so as to get more volume out of it.



  • @neverdie said in What did you build today (Pictures) ?:

    Maybe you speaker geniuses can figure out the optimal enclosure for this tiny buzzer?

    I'll play my "I am not a speaker designer, but..." card! Here is some basic info. 😁

    Jokes aside, a piece of PVC tubing might work. You need something to make the buzzer move the air more efficiently. I'd put a 1/4 wavelength long PVC piping over the buzzer as
    a first try. (Any odd multiple of 1/4 wavelength should provide some resonance.)

    In a more elaborate design, you could try a simple horn. Aim for a size where both the length of the horn and its circumference at the end is ca 1 wavelength.



  • @neverdie Would this work ?0_1515601479151_25004235-474d-4c6e-9a85-5a60dc350f58-image.png


  • Hero Member

    All I know is that there's no point to using a super small buzzer if it requires something big to make it work loud enough.

    Maybe this is why the buzzer that I'm currently using instead has such a comparatively large form factor.... i.e. maybe there's just no getting around it.
    alt text



  • @neverdie That was kind of the point to that horn picture, the driver at the sharp end is tiny relatively, but this was the early days of speakers..

    You can't have a small 1kHz transducer on minimum power and expect a lot really...



  • @NeverDie , @zboblamont Best laugh I have ever had at a MySensors post : )


  • Mod

    Today I'm trying out Thingsboard, which sort of is a controller, but on steroids.

    So far, it seems quite capable, but I have a lot of learning to do. My first step was to integrate it with Sigfox, which seems to work.
    0_1515942260273_d6b81c1f-6bd0-4eeb-9874-89cdd595be3b-image.png


  • Mod

    @mfalkvidd that looks like more an IoT device management, doesn't it?


  • Mod

    @gohan could be. What's the difference?

    When I think of it, I guess a controller has little need for multi-tenancy.

    Btw, some pretty cool dashboard examples can be viewed at https://github.com/thingsboard/thingsboard/blob/master/README.md


  • Mod

    @mfalkvidd the difference is that the controller is for your home, the IoT device managment is like for a service provider (look at cayenne mydevices for example) that has different customers and resellers, so it needs to be multi tenant and some other features not needed for home use


  • Mod

    @gohan that sounds reasonable. I actually found Thingsboard after spending 4-5 whole evenings fighting with Cayenne's stupid and badly documented REST API.


  • Hardware Contributor

    Today I soldered a tiny MYSX board to recycle my EasyPCBs in door sensors as compact as possible. I can also use the "vertical" CR2032 holders I had no use for and make some space in my drawers.
    It can use a normal or a NO/NC reed switch (for SMD allergies 😄 ) or a SMD ultra low power hall sensor and it has a footprint for a reserve capacitor to support the CR2032.
    I guess this board will be of interest for @sundberg84 😉

    2_1516276346915_IMAG2152_1.jpg 1_1516276346913_IMAG2151_1.jpg 0_1516276346910_IMAG2150.jpg

    PS: sorry for the ugly soldering, my old 936 clone soldering station is in "zombie" mode and it's all I have until the new soldering iron arrives.


  • Hardware Contributor

    Not related to MySensors but I also assembled a first version of a battery powered led light, it's small and cheap and I will assemble a bunch to put around my home when there are some power cuts in evening/night. I'm using 3020 leds and they emit a lot of light for their small size, even with low current so I expect to get around 2 hours of battery life with the cheap aliexpress 16340 batteries, and way more than needed with the 18650 cells salvaged from my old laptop battery.
    My first board with a li-ion charger and it is working well, now I'm waiting for the battery protection ics (cheap DW01 from AliExpress) to arrive as my batteries are not protected.

    2_1516277652209_IMAG2158.jpg 1_1516277652209_IMAG2159.jpg 0_1516277652206_IMAG2161.jpg


  • Hero Member

    @nca78 Which 3020's did you get?


  • Hardware Contributor

    @neverdie said in What did you build today (Pictures) ?:

    @nca78 Which 3020's did you get?

    Cheap ones from AliExpress, not disappointed especially for the low price. I'll see in the long run how they behave.
    https://www.aliexpress.com/item/100pcs-Light-LED-3020-Warm-White-SMD-Diode/32325994533.html



  • @nca78 I have some similar looking panels that I had salvaged from some old document cameras. I was planning on building some MySensorized walkway lights in my hall Might be something good to make in the event of a power outage.
    0_1516291926416_3765ea2c-decf-43f8-8a0d-f35400fd3778-image.png
    0_1516292442653_24180b28-5be3-4cee-9b88-9286037b67ac-image.png



  • This post is deleted!


  • This post is deleted!

  • Hardware Contributor

    Some more testings on my Logger... I want it to work great before moving on so alot of testing is needed. Why not do it on node #1 (note the old rev om EasyPCB).

    0_1516296664777_1516296654046501906847.jpg


  • Hardware Contributor

    Completely unrelated but a impossible project for me it seems...

    Im building a wifi "babywatch" in a USB stick.
    It sends sounds to a app/software which is build to run in the background. This to be able to game or watch video with headphones and still know if you have a angry child.

    0_1516361802397_ab5d4e10-3c7b-4c08-80ae-5300238cc55f-image.png

    So pretty much Mic -> Amp -> ADC -> Esp8266 -> Wifi -> Software/App.

    0_1516361828016_62fcbb13-a9fd-40d9-8b31-d64ebfd3dbce-image.png

    0_1516361845702_ca39662b-fd8e-4949-9481-d48e073b0e9f-image.png

    This seems impossible to do with all the interference. Everything works now (Rev1) but im now on Rev 6+ or something and I cant get rid of the noice in the Audio.

    Seperate power supply + ground for analog and digital side but It seems like the Esp8266 inserts to much noice.

    Well, it was a great idea but hard to accomplish.



  • @sundberg84
    I really like that case. Do you have a link where you purchased it?


  • Mod

    @sundberg84 analog and esp8266 also beat me. Tried to play some music from an ESP8266 but result was barely usable. I switched to dac+amp connected via i2s which works fine.
    Maybe you could try with a digital i2s microphone...


  • Hardware Contributor

    @yveaux - thanks!!! A new hope 😉 I will.
    @nagelc - I use this: https://www.mouser.se/productdetail/789-p3a-220805s but note, there are 4 different variants. WIth and without opening for USB connector and other stuff. I can send you the footprint for the PCB if you wants.



  • @sundberg84 Thanks. Looks like that company has several interesting enclosure shapes. Someday I might get a project complete enough that I will want to put it in an enclosure : )



  • The nice thing about owning a 3D printer is that I don't have to buy enclosures any more. I just have to buy rolls of plastic. The sky is the limit when you have a 3D printer. I do like that enclosure though.


  • Hardware Contributor

    @dbemowsk said in What did you build today (Pictures) ?:

    The nice thing about owning a 3D printer is that I don't have to buy enclosures any more. I just have to buy rolls of plastic. The sky is the limit when you have a 3D printer. I do like that enclosure though.

    Can't agree more, made a quick box for the lights with "crystal" PLA. You need a lot of imagination to believe it's crystal, but it's nice for a light enclosure as it acts as diffuser.
    1_1516534061594_IMAG2164.jpg 0_1516534061592_IMAG2165.jpg



  • @nca78 Nice. That would probably look cool in any translucent colored plastic. I have worked with clear, like this, red and green. Haven't used them for lighted enclosures though.



  • Hey @mfalkvidd were you able to get mysensors nodes to send data to thingsboard? If so, I'm interested to know how you did that. Wondering if thingsboard can be configured as a controller for mysensors. Thanks!


  • Mod

    @mcqueen I have not tried, and I have no plans to try. Sorry.



  • @mfalkvidd no problem, thanks



  • So today I created a simple python script to bridge serial gateway with mqtt bus on my RPI:
    https://github.com/mczerski/MySensorsSerial2MQTT

    This is because I already use spi for nrf24 module mounted on a custom pcb so there is no room for another spi device.


  • Hardware Contributor

    0_1517069081859_IMG_20180127_170256.jpg

    I'm building a wine rack for my wife in a celler room (currently 14 dgr with 4 dgr outside). I mowed my beer cooler temp node (rfm radio) to measure how much the temp changed over the day. I wrote a script in Lua/Domoticz that each time it changes 1dgr it should notify me. Apparently is a stable temp the most important to store wine.

    All ideas how I can automate the shit out of this wine-room are appreciated.

    • LCD display with temp/hum (both on the floor and celling) (Red needs apparently cooler than white wine... Or the opposite).

    • I'm thinking about to try a passive cooler. A burried hose/pipe in a loop with a 12v fan/pump and temp. My idea is that if I rotate the 14dgr air in a say 20m pipe under ground it should cool the air some . This needs to be automated to keep the temp stable.

    • light. Some sort of led strips.



  • @sundberg84 Yeah, this brings back memories, particularly of quite a few hangovers.
    I used 3 and four wide fireclay pipes for bottle storage, they were used for ducts back in the day before plastics took over, cable went optic fibre. I noticed recently here they are back in stock in stores as....yep...wine storage racks.... but wacko pricing relatively...
    The beauty of the fireclay was it's slow temperature and humidity change, and this formed the bulk of the thermal mass in the cellar I made below the floor.
    I used a 150mm glazed ceramic drainage pipe dug in under the garden as a loop (rope caulked joints - anybody remember them), from memory down about 1.5m, both avoiding frosts and baking sun, don't think the temperature varied over a degree all year round, the ground acting as a massive heatsink which maintained a constant temperature all year round.
    Only when the hatch was opened did the temperature jump, a small fan kicked in when the hatch was closed and ran for 30 minutes, a second contact switched on the lights and shut them off, long before LEDs were so prevalent, old reliable (until you were depending on them) incandescent bulbs.
    That was it really.
    Biggest problem I found was humidity in the early days, probably the fresh construction...


  • Hero Member

    My wine rack is at the store. 😉


  • Admin

    @sundberg84

    Why not just collect the temperatures over time, in f.ex. influxdb, and then use grafana to analyze data? (Instead of pushing messages to your phone whenever the temperature changes..)


  • Hardware Contributor

    @tbowmo well I have Domoticz to collect data. Maybe your alternative is much better but I can't change from Domoticz without redo everything. The push is just to get a heads-up how often or changes but I can go into Domoticz and follow 15 min updates as well on a daily, weekly and monthly graph .


  • Mod

    @tbowmo as the temperature doesn't change that quickly, the 5 minutes Domoticz interval it is OK. As soon as you see a daily variance within your requirements, you are good



  • Was I right to assume that the push of temperature changes to the phone every degree was simply for the initial testing to see quickly how often it would change?



  • I finally got a BT832 (NRF52832 from Fanstel) to talk to my NRF24 gateway. I got the NFR5s a while ago. Made a quick breakout board (quick to design, but slow delivery). In the mean time, I configured a STM32 "Blue Pill" as a Blackmagic Probe to program it. I had to get the latest Sandeep Mistry NRF5 files from github in order for it to support the blackmagic probe, but . . . it worked : ) So far I have just run the MockMySensors and it shows up on Domoticz.
    0_1517119518925_20180128_004035.jpg


  • Admin

    @sundberg84
    With a little bit of nodered injected in the stream, you could have domoticz running without ever noticing that influx etc is getting the data as well 🙂


  • Hardware Contributor

    6.3 days or 152hours just inst good enough - this is what my logger managed to do with 2xAA debugging a temp/hum node sending every 15min. Its below 50% to target (14 days) but this included the leds was on all the time... how much can a 2x leds do 😐 ?? Next experiemtn...

    0_1517140948433_Logger6h.png



  • @sundberg84
    @tbowmo
    Domoticz can also push the data to influx DB. See Settings>More Options>Data Push



  • So for a few days now I have been working on my idea for a homebrew CNC machine made from mostly salvaged parts. This weekend I made some good progress getting the Y axis drive assembly mostly done. I have not tested anything yet, but I hope to in the next few days. Anyways, here is what I have...

    The stepper motor is one salvaged from an old dot matrix printer. The gear on it was press fit on the shaft with no real way to get it off, so I opted to make a geared drive assembly. I realize that this will slow the Y axis down, but it should also give it a bit more precision. Below is the stepper motor.
    0_1517204931227_b940ccdf-0d30-4a67-bfe2-071e6eec469a-image.png

    For mounting it, I designed this adapter plate which carries a steel roller bearing for the screw shaft.
    0_1517205082429_fe119ca7-5e6d-48b2-bc48-ba86a09ed33c-image.png

    This is an early mounting plate design before I added the upper and lower mounting tabs. This shows the gear with the shaft attached. The gear was made using an OpenSCAD gear library.
    0_1517205252644_2d35f97c-b9b9-482c-b811-f7562f164049-image.png

    Yesterday I designed the bracket that attaches to and drives the Y axis platter/build plate (Sorry, forgot to take a decent pic of that part).
    0_1517205734481_60ec4f33-b3c8-4ead-83cd-ca103751669d-image.png

    Today I was able to finish the front and rear frame braces and got parts rough fitted together. the 2 rails with the small white linear bearings are some rods that were salvaged from a couple old scanners. These were used as the rail for the scanner head. I have pics of the full assembly as well as the motor assembly mounted on the rear brace.
    0_1517205974794_758e9eae-82f2-462d-968a-17ea5ca0307e-image.png 0_1517205984333_5e431750-c309-480c-98a4-5475945bd9a6-image.png

    I can't say how well the design will work, if at all, but it has been a fun journey so far trying.



  • @dbemowsk
    Well it looks as if your 3D-printer works fine 😀

    What I would be slightly worried about is if with the given size of the rods the stiffness of the structure would be enough.
    Hope to see more from this project in the near future.
    Good luck!



  • @boozz I will be curious to see if I can get enough precision to do PCBs. I have yet to buy a GRBL board to control it. For now I am going to use the UNO that I have for testing just to do test runs of the servos until I get one. This is the one I have been looking at:
    https://www.ebay.com/itm/Arduino-CNC-Shield-Kit-UNO-Board-4x-DRV8825-Drivers-Package-Deal-FREE-USA-SHIP/292174947187?hash=item4406fbe373:g:A0sAAOSwJThZpeKr
    I will also have to figure out the gear ratios of the motor assemblies once I am done because I am sure I will need them to calibrate the GRBL setup. I know on this part of it I have about a 4.8:1 ratio from the motor to the large gear, but I'll have to figure out steps per cm or steps per mm or something. If anyone knows a good way of figuring this out I am all ears.

    Thanks for the upvotes.


  • Hero Member

    @dbemowsk It will save you the hassle of upgrading if you buy a control board with GRBL1.1f already built in.


  • Mod

    @dbemowsk said in What did you build today (Pictures) ?:

    If anyone knows a good way of figuring this out I am all ears.

    It would expect making a large movement using a defined number of steps, and measuring the actual distance moved with a caliper will give you a rather accurate steps/mm.
    However, I hope this ratio is constant over the whole range, given the 3d printed gears and expected backlash...



  • @yveaux as far as the backlash, i had already thought of that. I have 2 coupler nuts with a spring in between to handle the little bit of backlash that there is. I only had a thin spring though. I want to find a stronger one.



  • @sundberg84
    Redundancy, maybe you should get a second temp/humidity measurement device, just in case your current beer cooler temp node breaks down...


  • Mod

    @bjacobse or get redundant beer coolers 🙂 Important to always have cool beer.



  • @mfalkvidd
    True but usually wines have a higher price and a more valuable - not starting a discussing/flame war what is best to drink...



  • @mfalkvidd Can't have too much redundancy there...


  • Hero Member

    Made this 12 button keypad. Requires only one analog pin to read which button is pressed, and any button press can also wake an arduino from sleep:
    0_1517277256612_12keypad.jpg
    Consumes no power when no button is pressed.


  • Hero Member

    Here's a thread which covers it in more detail: https://forum.mysensors.org/topic/8936/6-8-buttons-battery-remote-node/36



  • @neverdie what happens when you press two or more buttons ??


  • Hero Member

    @rozpruwacz Well, with the sketch I wrote (see link), you'd get the value of the first button pressed, and that's it. You'd have to release all the buttons before selecting a new button.

    In terms of the hardware itself, there's an order of precedence to the buttons, so at all times you'd only be able to read the value of a single button, even if more than one button were pressed. In a multi-button press scenario, the buttons of lower precedence are ignored.

    It's a good question though. If you needed to read more than one button simultaneously (such as, for example, move an RC car forward and turn right at the same time), this wouldn't do it. Seems like such a circuit would be possible though, maybe even one based on simple voltage dividing like this one. Somehow you'd need to sum unique resistances for each button pushed instead of just choose a single resistance. I can imagine doing that for a few buttons on an arduino, but maybe not as many as 12.


Log in to reply
 

Suggested Topics

  • 4
  • 3
  • 9
  • 20
  • 15
  • 9

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts