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

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
Nca78N

Nca78

@Nca78
Hardware Contributor
About
Posts
1.5k
Topics
10
Shares
0
Groups
3
Followers
8
Following
0

Posts

Recent Best Controversial

  • Clean looking sensor node
    Nca78N Nca78

    Hello,

    one of my big concerns with sensors is to have something good looking without my wife asking me what this ugly plastic box is. After failed searches for good looking and small enclosures, I decided to search for electronic items and only keep their boxes. I have tried with a tiny 333cm 2$ mp3 player and managed to fit a jmodule and sensors + cr2032 inside. But the plastic is still looking too cheap.
    Then I discovered those great looking wireless chargers and bought 2 different models, they are pretty bad at charging but they look really good. Only problem: they are flat. No way to put a jmodule inside so I went for an EasyPCB and removed the plastic stripes on the headers to make the pcb as flat as possible. I choosed the smaller (but thicker) black one as in the other the PCB + NRF24 was already too thick (because of the crystal).
    https://www.aliexpress.com/item/QI-Wireless-Charger-Charging-Pad-for-Samsung-Galaxy-S7-S6-edge-Note-5-Nokia-HTC-8X/32694769031.html
    https://www.aliexpress.com/item/Factory-price-Qi-Wireless-Charger-Charging-Pad-for-LG-V10-Other-Qi-Phone-Mmar25/32639543557.html

    To fit the pcb I had to remove the right part, and then cut the corners. Still, the antenna of the NRF 24 was too much so I had to cut it too :D I put a 10cm wire instead, soldered at the beginning of the cut pcb antenna and ... it works really well !
    Unfortunately I couldn't fit a CR2032 after putting the PCB, so I decided to experiment with alkaline button cells, the more convenient solution was to take tiny ones (LR41/AG3) and put them between power connectors of the PCB.
    I also added a bicolor led (green / red) aligned with the led window of the charger, it blinks at each sending loop, wether data is sent or not so I know it's still running. When battery level is high it blinks green, when it gets low it will blink red color so I know it's time to check if I have spare batteries. Also, voltage drop is smaller on red led so it's brighter, green led is dim even at full battery and would be invisible with low battery.

    I use a SHT21 sensor and at the moment I send every minute (if values changed) the temperature, humidity, battery level (%) and battery voltage (to have history). With the led blinking that's a lot to bear for LR41 batteries (rated between 25-30 mAh) but it's done on purpose, to see how fast they get empty.

    The PCB ended up pretty atrocious as I did many trials and errors with it (and kept long pins 11,12,13,RST to program the board and have to bend them to fit inside the box) but fortunately when I close the box everything is hidden and the sensor really looks good. With the led flashing it really feels like a commercial sensor you could buy in a shop. I put the sensor not too far from the usb plug hole, but there are also a opening all around the bottom of the enclosure, so I have no visible difference in measure temperature/humidity when I open or close the box.
    Next step is a dedicated PCB to have a clean board and be able to fit bigger coin cell(s).

    Wow I'm typing too much :D Here are the pictures...
    0_1475766817875_IMAG0975.jpg
    0_1475767029388_IMAG0980.jpg
    0_1475766768119_sensor_light.jpg

    Enclosures / 3D Printing

  • Fewer home automation postings? What's behind it?
    Nca78N Nca78

    Everyone is busy reading your NRF5 thread @NeverDie :D

    General Discussion

  • What did you build today (Pictures) ?
    Nca78N Nca78

    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

    General Discussion

  • Fewer home automation postings? What's behind it?
    Nca78N Nca78

    I have to agree with @skywatch and a few others here, MySensors is relatively easy to start with using the documentation, you wire your pro mini & radio for gateway and sensor and you're running your first sensor in no time.
    But as soon as you want to make things a bit more advanced, you face a lot of challenges that the doc on the website and suggested components make harder to solve :

    • PA/LNA radio that fail, need wrapping in foil to have decent performance etc etc I'm pretty sure this is the most frequent cause of failure for MySensors network.
    • examples with DHT sensors that are not convenient for battery usage => use of step up converters that create a whole set of new problems and unreliability
    • PIR example with SR501 that runs at 5V so you need to alter them to run at lower voltage (3.3V) that's still not so convenient and they become unstable (triggered by radio tx/rx)

    I'll make a list of suggestions to improve the docs, it will probably include writing a few more examples also, and some tutorials for a few things that are easy in fact easy to do but can seem hard from the outside like flashing bootloader on a pro mini or OTA update.

    Currently I have restarted to test my NModule "shields", I will improve and/or fix them and probably convert the most useful ones to MySX Connector.

    General Discussion

  • What did you build today (Pictures) ?
    Nca78N Nca78

    Working on clearing up the backlog of unfinished NModule shields, today I finished to test the dual touch button shield, made a script to use it as on/off button or as dual button with short press = on and long press = off, as seen below as a dual scene controller.
    https://www.youtube.com/watch?v=064Jlx2eawI

    I made a box so it can be easily customized depending on what you use it for. Unfortunately internet is too bad at the moment in Vietnam to use Fusion 360 so I made it with 123D Design which is less convenient and it's not really high-end assembly :D

    0_1512964810931_IMAG2085.jpg
    0_1512964835281_IMAG2084.jpg

    General Discussion

  • What did you build today (Pictures) ?
    Nca78N Nca78

    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

    General Discussion

  • What did you build today (Pictures) ?
    Nca78N Nca78

    @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

    General Discussion

  • What did you build today (Pictures) ?
    Nca78N Nca78

    Today, a 5uA always on display with a PCF8553 LCD driver and a GDC1038 LCD from GoodDisplay. Power consumption varies with voltage but mostly with what segments are on/off, but at 3.3V with segments on to display data on all parts of display (2*4 digit numbers and 3 letters) it's always below 6uA.

    cbcf188c-16f4-4b62-be82-a6aaab2cbade-image.png

    Not sure why the Youtube video won't integrate as it should, but here it is for a more animated version:
    https://youtu.be/QyaC7J84vN8

    General Discussion

  • What did you build today (Pictures) ?
    Nca78N Nca78

    Today I finished to fix failed soldering (too old solder paste made a mess :cry: ) on the "motherboard" of my air quality sensor.
    It's based on ESP32, uses a charging IC with power path so it can run on batteries for around a day or stay plugged without destroying the battery, step down from USB/battery to get VCC, storage on I2C EEPROM, flash and/or µSD card (depending on use case), one SK6812 mini RGB led as indicator, a small 240*240 IPS LCD (backlight driven directly by ESP32 pin in high drive capability mode), a 3 way switch for basic user interface + footprint for PAJ7620 gesture recognition module, accelerometer and I2C IO expander to manage the 3 way switch and interrupts from sensor modules.
    Sensor modules will be added on top, connected using an FPC connector. At the moment I made only one sensor PCB able to manage usual PM, CO2 and formaldehyde sensors. Only one sensor per sensor board where an attiny841 manages the UART sensor and convert it to I2C, it also manages the 5V step up to power the sensor.
    On the main board I also added an NRF24 footprint so with the same PCB I will be able to make a gateway with integrated battery backup.

    I'm pretty happy with the relatively well aligned components (no, I don't have OCD :D ) , too bad I had to unsolder, clean and re-solder each component as it now looks botched up. But at least everything (except a missing connection on µSD card, hence the blue wire) is working,
    475bc52b-5bba-450f-aaa0-74eac94a1fb3-image.png

    LCD test showing jpgs from SD card
    c6334b2c-acf5-480f-aca3-c7ad5f191def-image.png

    General Discussion

  • 💬 jModule
    Nca78N Nca78

    @EddyG said:

    Any news on the new board? I am really interested.

    I'm testing a first version right now :)
    It's running fine but there are some annoying defaults.
    I'm making improvements to the PCB now and I will publish on openhardware.io in the coming weeks.

    I'm using SMD NRF 24 with antenna outside for better reception. Radio capacitor is SMD also but big size (1206) so easy to solder.
    0_1483065250380_onlyradio.jpg

    This is what the assembled board will look like, it takes a bit more surface than jModule but as you can see it's really flat, around 7mm and less than 6mm if you remove the big reset button on the pro mini.
    0_1483065357725_IMAG1205 (2).jpg

    OpenHardware.io mysensors contest2016

  • Clean looking sensor node
    Nca78N Nca78

    I just received the white version and it's gorgeous ! Ordering bunch now to put everywhere in the house :D 0_1480503727105_IMAG1095_1.jpg

    Enclosures / 3D Printing

  • Recommendation for PCB fab?
    Nca78N Nca78

    It seems there's a fast + good (enough) + cheap options now, AllPCB asks 5$ for 10 boards up to 100*100mm, it's limited to 1.6mm, green or white color (take the green, quality of the white silkscreen is not good, not fitting between pads of an atmega328 for example).
    Doesn't sound like a great offer now, but there are some insane things :

    • the "top speed" option is included meaning your board are done in 2-3days after order
    • there is free shipping with HK Post
    • there is free shipping ... with DHL :open_mouth:

    Result is boards received 6 days after placing orders, very impressive !
    And good point I order 10 but for the biggest bord (98*98mm) I received 12, and for the smallest I received... 34 while with another small board I received around 20.

    So if you want to test your boards quickly and don't mind the 1.6mm thickness in green color, this is the perfect offer. Every option that you will select (color, thickness, panelization,...) will make the price increase quickly, but it's a good way to test functionality of your board quickly then order fancy colors/thickness etc from another fab when your board is completely designed.

    General Discussion

  • 💬 Livolo 3 buttons US/AU switch adapter
    Nca78N Nca78

    https://youtu.be/0z4vhWA3xJ8

    OpenHardware.io contest2017 livolo wall switch usau mysensors switch

  • What did you build today (Pictures) ?
    Nca78N Nca78

    @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 :D 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

    General Discussion

  • Safe In-Wall AC to DC Transformers??
    Nca78N Nca78

    I confirm about the fake ones. I just received a batch of fake ones from GREATWALL shop on aliexpress (seller with good reputation and used for many items on the MySensors shop...) and I'm filing a dispute right now, as the seller acknowledge they are different but pretend it's because HiLink is replacing their factory. Makes no sense if you replace your factory to set up a new line to build different modules :) This seller is also selling the Tenstar TP-0x modules pretending they "replace" the HLK so I suppose the one I received are tenstar modules disguised as HLK.

    They are obviously fakes and lower quality, as can be seen from the pins (thinner, and with no blocking mecanism so pins go inside the module when pushed), obvious lower quality with the gray material filling and very different looking plastic.
    I'll see how the dispute goes and after it's closed/solved I'll open one.

    0_1473300677126_HLK1.jpg
    0_1473302054227_HLK2.jpg

    Hardware

  • What did you build today (Pictures) ?
    Nca78N Nca78

    I printed a small box and put my first "22" board in action on my entrance door. So far so good it's reporting the status reliably, and looking really tiny. A big difference with my first sensor 2 years ago in a big generic project box.
    Just need to clean the glue left from previous sensor now :)

    0_1523359333638_IMG_20180410_171653.jpg

    0_1523362545558_IMG_20180410_191112.jpg

    General Discussion

  • pro mini programming
    Nca78N Nca78

    I vote for the 3.3V all the time rule. I have a jumper on my ftdi adapter but I don't touch it anymore, too dangerous when you forget to put it back.

    Hardware

  • 8Bit or 32Bit processors
    Nca78N Nca78

    @NeverDie it depends on your application.
    For example ATSAMD20E18A-AU is just over 2$, same price than atmega328 if you buy from a "reputable" source.
    But it has many more capabilities that will save you external components: easier/faster design, lower power consumption, easier coding etc etc.

    I had a quick look at the datasheet and see many potential interesting uses for me :

    • it can manage dozens of touch channels meaning I could use a much more simple design for the board in Livolo wall switch. And with 8uA in sleep mode with capacitive touch enabled it's saving power too
    • it has 6 serial communication interfaces so it can have 2 high speed serial coms and manage A6 GSM module in debug mode, something I can't do with atmega328 but only with a mega2560 which is much more expensive
    • integrated RTC so no need for it on my ADXL shield for example. And in sleep mode with RTC active it's using less current than atmega328 with watchdog timer activated for regular wake up.

    Even if you buy atmega328 around 1$ on aliexpress you can quickly make your missing $ back in many use cases.
    I'm seriously thinking about using it now :)

    Hardware

  • Additional sleep methods with array of pins as parameters ?
    Nca78N Nca78

    Hello,

    is there any plan to add new sleep methods that would take an array of pins instead of the 2 interrupt pins ?
    Use cases would be :

    • have more than 2 interrupts on atmega and more flexibility on pin numbers, this would use pin change interrupts
    • be able to make battery powered sensors on NRF51 as hardware is still bugged even in the last versions of the chip. So it's either LPCOMP (but that limits to one interrupt pin only and only on pins 1-8) or PORT mode with pin sense which has a similar behavior than pin change on atmega (one interrupt for all activated pins).

    So it looks like a good opportunity to kill two birds with one stone: have an "official" implementation of pin change interrupt for atmega, and unblock nrf51 users and probably also nrf52 users who need many interrupts.
    Of course this need some "preparation" of the data so that it's easier for user to know what pin generated the interrupt. I'm not sure what is the best solution for this, app_gpiote.c from nrf5 SDK returns 2 masks for low=>high and high=>low pins but it doesn't seem to be so newbie-friendly.

    If core team and/or @d00616 (for nrf5 part) think it's a good idea and we agree on how it's best to implement it I'm ok to prepare some pull requests.

    Feature Requests

  • 💬 NModule
    Nca78N Nca78

    Christmas in June ! :D

    0_1496635055360_IMAG1734.jpg

    OpenHardware.io mysensors nmodule temperature door light pir humidity relay milight touch accelerometer
  • Login

  • Don't have an account? Register

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