sensors in boxes
-
I'm running everything at 3 volts from the 2 AAA batteries. The box is 3D printed and integrates the battery box. I'm not using any screws, just slide rails for the PCB , top and back.
I have two board types now. One with just the single Dallas temp sensor on it, which turns out to be what I need most of.

I also created another board which has three Connectors, JP1-3, which allows to additional Dallas Temp sensors. I have these in locations where I can run wires more easily, like my loft spaces.

I'm etching everything myself. Very simple really. I'm using the print on to glossy paper and transfer onto copper board, using a laminator, method. Works really well. As these boards are small I tend to etch a few at a time onto a single copper board and then cut the board at the end.
-
It's an ATMEGA328P, which is the Arduino processor, I buy them in bulk from China, write the boot loader and flash the code onto them using an uno board.
@GuyP Do you have a favourite seller for those mega328 DIP parts? Mostly when I've looked on eBay the clone Arduino Mini's come in cheaper than a DIP package mega328 IC. I also would prefer to use a design that utilises the mega328 DIP directly rather than an Arduino Mini if I could. Cost per node is very important to me to enable affordable expansion of my network. Thanks.
-
@GuyP Do you have a favourite seller for those mega328 DIP parts? Mostly when I've looked on eBay the clone Arduino Mini's come in cheaper than a DIP package mega328 IC. I also would prefer to use a design that utilises the mega328 DIP directly rather than an Arduino Mini if I could. Cost per node is very important to me to enable affordable expansion of my network. Thanks.
@hawk_2050 look here
That is much cheaper.... 1.4$/node
-
@hawk_2050 look here
That is much cheaper.... 1.4$/node
@hawk_2050 I buy them from banggood.com where they discount for quantity so I'm usually paying about £1.66 a chip and free delivery.
However looking at @Moshe-Livne he's found a cheaper place.. so I think I'll be using them from now on :)
-
@GuyP Cool! these are really cheap and they save on cutting the LED and voltage regulator.... it looks like they are even more economical in energy then the modified (no LED no voltage reg) pro mini. Can you detail for a complete idiot the bootloader and flash thing?
@Moshe-Livne the boot loader..
https://www.arduino.cc/en/Hacking/Bootloader?from=Tutorial.Bootloader
I use this method to write the boot loaders using an uno..
https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard
works great. I use a Zero insertion socket for the chip and rattle through the chips in a seconds.
-
@GuyP Can you post the pdf images of the boards, I want to etch some I like the use of 328P chip, The only problem the png file is scaled wrong too large.
@DrJeff Sure no problem..
I've also now built a "Repeater Board", this board can either act as a repeater, and be powered by USB mini, or battery (Best not on battery when in repeater mode). It also has the expansion to add multiple Dallas Temperature sensors. JP1-3 sensors can be daisy chained up to around 16 in total. I have these boards in loft spaces, and garage where I want to watch temperature in lots of locations and I don't mind a few wires.

Let me know if those work out better...
-
@Moshe-Livne the boot loader..
https://www.arduino.cc/en/Hacking/Bootloader?from=Tutorial.Bootloader
I use this method to write the boot loaders using an uno..
https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard
works great. I use a Zero insertion socket for the chip and rattle through the chips in a seconds.
@GuyP That looks pretty simple... what boot loader do you write? do you really remove the processor from the uno or did you make a dedicated one? do you use the minimal breadboard version? This system also has the upside of not having to deal with the irritating counterfeit or ch340 ftdi chips, so bonus points...
-
@DrJeff Sure no problem..
I've also now built a "Repeater Board", this board can either act as a repeater, and be powered by USB mini, or battery (Best not on battery when in repeater mode). It also has the expansion to add multiple Dallas Temperature sensors. JP1-3 sensors can be daisy chained up to around 16 in total. I have these boards in loft spaces, and garage where I want to watch temperature in lots of locations and I don't mind a few wires.

Let me know if those work out better...
-
@GuyP That looks pretty simple... what boot loader do you write? do you really remove the processor from the uno or did you make a dedicated one? do you use the minimal breadboard version? This system also has the upside of not having to deal with the irritating counterfeit or ch340 ftdi chips, so bonus points...
@Moshe-Livne When writing the boot loader you need to keep the uno chip in the board.
Once you've written all the board loaders, then you can pull the chip from uno and replace it with all the new ones to write the temperature sensor codes.
-
@GuyP Cool thanks, Time to etch some boards, have you used this method/setup for other nodes? Just trying to get some ideas :grinning:
@DrJeff At the moment just temperature sensors.. however the plan is to also control my heating system around the house.
I will put putting controllers on all the radiators around the house, and replacing the controller in the house with simple radio buttons which feed back to openhab for manual over ride.
Just not had time yet! :(
-
@DrJeff At the moment just temperature sensors.. however the plan is to also control my heating system around the house.
I will put putting controllers on all the radiators around the house, and replacing the controller in the house with simple radio buttons which feed back to openhab for manual over ride.
Just not had time yet! :(
-
@GuyP Yes we always got to deal with real life! On the board I assume the red lines are wires due to the single sided board?
-
I'm running everything at 3 volts from the 2 AAA batteries. The box is 3D printed and integrates the battery box. I'm not using any screws, just slide rails for the PCB , top and back.
I have two board types now. One with just the single Dallas temp sensor on it, which turns out to be what I need most of.

I also created another board which has three Connectors, JP1-3, which allows to additional Dallas Temp sensors. I have these in locations where I can run wires more easily, like my loft spaces.

I'm etching everything myself. Very simple really. I'm using the print on to glossy paper and transfer onto copper board, using a laminator, method. Works really well. As these boards are small I tend to etch a few at a time onto a single copper board and then cut the board at the end.
@GuyP can you please export it in brd or dxf?
-
-
@GuyP Thanks!!!!
-
@GuyP Thanks!!!!
@GuyP Ordered 3 from oshpark... 12$. lets see how quickly they get here. so, other than the sensor and the resistors and oscillator (16mhz?) is there anything else there? I am sorry, I am just hopeless at reading sketchs. Is that a diod on the top left?
-
Sorry my fault... I'm not very good at documentation! :(
There are no diodes on the boards... Which board are you referring to.. the TempSensor board just has:
- 1x dallas Tempensor
- 2x capacitors for the crystal
- 1x 16Mhz Crystal
- 1x 4.7uf Capacitor accros the power lines
- 1 resistor for the Dallas sensor to provide power
- 1x 470k resistor and 1x 1m resistor for the battery power level monitoring.
I don't even have the pins for updating the Arduino, I pull it from the socket and write it in a uno board. I do however have a GND, and serial TX pin so I can see the chip working if necessary.
-
Sorry my fault... I'm not very good at documentation! :(
There are no diodes on the boards... Which board are you referring to.. the TempSensor board just has:
- 1x dallas Tempensor
- 2x capacitors for the crystal
- 1x 16Mhz Crystal
- 1x 4.7uf Capacitor accros the power lines
- 1 resistor for the Dallas sensor to provide power
- 1x 470k resistor and 1x 1m resistor for the battery power level monitoring.
I don't even have the pins for updating the Arduino, I pull it from the socket and write it in a uno board. I do however have a GND, and serial TX pin so I can see the chip working if necessary.
@GuyP excellent!! That comes out as a really inexpensive and low power board. What sockets do you use? will these work? http://www.aliexpress.com/item/Free-shipping-17PCS-28pin-DIP-IC-sockets-Adaptor-Solder-Type-28-pin-Narrow-body/32313568228.html?spm=2114.32010308.4.2.lkcXJR