Skip to content

Hardware

Talk about fun sensor hardware, MCUs, PCBs and how to power your sensors here.
1.8k Topics 18.4k Posts
  • Sensebender pinout

    5
    0 Votes
    5 Posts
    1k Views
    A
    Nice, thanks for helping guys! :+1:
  • Use this instead of NRF24L01+ ?

    3
    0 Votes
    3 Posts
    2k Views
    Matt BriggsM
    Thanks for the info. Just getting started trying to do some of this and am biting off more than I can chew. I need to get back to the basics and learn rather than jumping around too much, but there are some great things to do and I don't want to wait! Reading the forums on different topics I have seen that the cheap way is the best way to get messed up and discouraged.
  • USNAP (ANSI/CEA-2045) Smart-Grid interface

    2
    0 Votes
    2 Posts
    1k Views
    PhracturedBlueP
    I think I got confused somewhere along the way. I do not think the protocol is actually MODBUS as Modbus does not appear to use a start-of frame bit and specifies a CRC rather than a simple checksum. The water heater is a Reliance DHPST hybrid water heater (electric + Heat Pump) Data on RS485 is transmitted at 19200 baud Data is 1 startbit, 8 data bits, 1 'start of frame' bit, and 1 stop bit/ The 'start of frame' bit is 1 for the 1st byte, and 0 for all remaining bytes. The last byte is a single 1-byte sum of all previous bytes of the frame. This represents most of the packets I have seen (I have removed the 'start of packet' bit: (3) : 90 00 90 (64) : 40 08 1e 00 00 00 03 00 78 00 00 00 00 00 00 71 44 74 6a 49 47 30 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 69 cd 00 00 00 00 16 02 00 00 00 09 00 00 00 00 00 00 41 08 00 00 50 00 26 (30) : 40 0b 0d 02 00 62 00 5a 00 5e 00 52 00 00 00 ff ff 00 00 00 00 00 00 00 00 00 01 00 02 c7 (3) : 8c 00 8c (3) : 82 00 82 (8) : 40 00 02 05 00 b2 00 f9 (28) : 40 0d 0c 00 01 00 3c 00 00 00 10 00 78 00 78 01 01 00 00 00 00 00 01 00 00 00 00 99 For anyone interested, the easiest way to read this in linux is to set the INPCK and PARMRK, and then read with 'SPACE' parity. this will generate an error whenever the parity bit is set, that can then be converted into a 'start of frame' bit. Here is some example python code: import serial import termios i ser = serial.Serial(port, 19200, parity=serial.PARITY_SPACE) iflag, oflag, cflag, lflag, ispeed, ospeed, cc = termios.tcgetattr(ser) iflag |= termios.INPCK | termios.PARMRK termios.tcsetattr(ser, termios.TCSANOW, [iflag, oflag, cflag, lflag, ispeed, ospeed, cc]) buf = [] while True: try: b = ord(ser.read(1)) if b == 0xff : b = ord(ser.read(1)) if b == 0x00: b = 0x100 | ord(ser.read()) buf.append(b) except SerialException as e: print(e) I'll follow-up with the bytes I've figured out so far.
  • Sensor Network and rPi's onboard WiFi?

    13
    0 Votes
    13 Posts
    3k Views
    C
    Cool. Many thanks for your prompt and helpful advice, much appreciated.
  • RFM69 and TLC5940

    10
    0 Votes
    10 Posts
    3k Views
    dbemowskD
    Would using shift registers work?
  • Contorll 9 duo LED´s

    Locked
    2
    0 Votes
    2 Posts
    859 Views
    mfalkviddM
    @Grave please don't post the same question multiple times. See the answer in your previous post.
  • Keystudio PIR 15uA working.

    3
    0 Votes
    3 Posts
    1k Views
    TerrenceT
    @Nca78 Yes, I have been following along, that is why I posted the link. Maybe this one is comparable or hopefully better?
  • Benefits of using LoRa?

    4
    0 Votes
    4 Posts
    3k Views
    TerrenceT
    Also, the LoRa modules are expensive compared to 69s.
  • Adding local sensor to NodeMCU gateway

    12
    0 Votes
    12 Posts
    6k Views
    mfalkviddM
    @Tmaster I don't know. Maybe ask Vera support?
  • Multiple Servos

    9
    0 Votes
    9 Posts
    3k Views
    numanxN
    Found this on arduino.cc forum. I think there should be a way for creating different servo objects for each servo but I don't know how to do that. Any sugestion from @mfalkvidd ? #include <Servo.h> Servo myservo[6]; int pinAttch = 0; // variable to store pin attachment int servWrite = 0; // variable to store servo writing void setup() { Serial.begin(9600); for(pinAttch = 2; pinAttch < 7; pinAttch++) { myservo[pinAttch].attach(pinAttch); } } void loop() { for(servWrite = 2; servWrite < 7; servWrite++) { myservo[servWrite].write(80); delay(2000); } exit(0); }```
  • 1 Votes
    16 Posts
    5k Views
    R
    @m26872 said in Encapsulated transformers instead of traditional switching power supplies like Hi-Link: for me the sunny season is too short. I havn't yet tried to use solar batteries in winter so maybe I have the same problems (despite the fact that I'm living 3 degrees south of you), but I have backup solution for very cloudy winter days - regular battery charger.
  • Running MySensors on ATTiny85

    9
    0 Votes
    9 Posts
    4k Views
    core_cC
    check! funny.. Your post's image, and ebay's image, are both swapped horizontally. Or is it the chinese printing it wrongly? EDIT: But they have the price just right ;) EDIT 2: Interesting topic tekka. @Tinimini: What did you find out using an ATtiny85? any tests? any results?.. any problems?
  • Finalizing my very simple gateway

    3
    1
    3 Votes
    3 Posts
    1k Views
    L
    I have finally found the time to upload the project here. I really like it so far although I am still trying to make it even better ;)
  • [SOLVED] ISCP programming with radio attached

    3
    0 Votes
    3 Posts
    1k Views
    MiKaM
    Problem solved with pull-up! Thanks!
  • Board and hardware failures

    34
    0 Votes
    34 Posts
    7k Views
    sundberg84S
    Make sure to doublecheck the G on the 4.7uF cap if you have rev 7 or 8 because it may be wrong. (this is fixed in rev 9)
  • [SOLVED] NRF24 Sniffer and V2.1 Library

    5
    0 Votes
    5 Posts
    2k Views
    YveauxY
    @GaryStofer well, great to hear you nailed it!
  • Extending range of regular nRF24L01+

    28
    1 Votes
    28 Posts
    26k Views
    gohanG
    I know but I am not going to waste more time on them
  • Inexpensive Differential Pressure to measure Water Flow?

    2
    0 Votes
    2 Posts
    829 Views
    vorowskiV
    Try flow-meters for coffermakers. Like https://www.juraprofi.de/Jura-Ersatzteile/Sensoren-und-Sicherungen/Flowmeter-Durchflussmelder::2901.html
  • Mosfet with Ceech board

    6
    0 Votes
    6 Posts
    2k Views
    JodailleJ
    Thank you @rvendrame , it works, I attach a Ceech's schema, using D4 instead of D3 :-) [image: 1495557728365-astriarista_mosfet.png]
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    53 Views
    No one has replied

15

Online

11.7k

Users

11.2k

Topics

113.2k

Posts