You are reading a single comment by @DrAzzy and its replies. Click here to read the full conversation.
  • I seem to be having a hard time making 433mhz work, at all.

    Receiver connected to C0, transmitter on A0.

    Transmitter is powered by vbat.

    setWatch(function (e){console.log(e);},C0,{repeat:true});
    

    When the receiver is powered by 3.3v, nothing comes out, even if I hold it an inch away and toggle transmitter on and off.

    Doing analogReads indicated that the voltage was very low (results like 0.01).

    When the receiver is powered by vbat (4.3v), I get constant events like this:

    { "lastTime": 1124.25785541534, "time": 1124.25871372222, "pin": C0, "state": true }
    { "lastTime": 1124.25871372222, "time": 1124.26307678222, "pin": C0, "state": true }
    { "lastTime": 1124.26307678222, "time": 1124.26428127288, "pin": C0, "state": true }
    { "lastTime": 1124.26428127288, "time": 1124.27121448516, "pin": C0, "state": true }
    { "lastTime": 1124.27121448516, "time": 1124.27125263214, "pin": C0, "state": false }
    { "lastTime": 1124.27125263214, "time": 1124.27619934082, "pin": C0, "state": true }
    { "lastTime": 1124.27619934082, "time": 1124.27624320983, "pin": C0, "state": false }
    { "lastTime": 1124.27624320983, "time": 1124.28102111816, "pin": C0, "state": true }
    { "lastTime": 1124.28102111816, "time": 1124.29145908355, "pin": C0, "state": true }
    { "lastTime": 1124.29145908355, "time": 1124.29166603088, "pin": C0, "state": false }
    { "lastTime": 1124.29166603088, "time": 1124.29167938232, "pin": C0, "state": true }
    { "lastTime": 1124.29167938232, "time": 1124.29274654388, "pin": C0, "state": true }
    { "lastTime": 1124.29274654388, "time": 1124.29405975341, "pin": C0, "state": true }
    { "lastTime": 1124.29405975341, "time": 1124.30696010589, "pin": C0, "state": true }
    { "lastTime": 1124.30696010589, "time": 1124.30718421936, "pin": C0, "state": false }
    { "lastTime": 1124.30718421936, "time": 1124.30720996856, "pin": C0, "state": true }
    { "lastTime": 1124.30720996856, "time": 1124.30725002288, "pin": C0, "state": false }
    { "lastTime": 1124.30725002288, "time": 1124.31108379364, "pin": C0, "state": true }
    { "lastTime": 1124.31108379364, "time": 1124.31595802307, "pin": C0, "state": true }
    { "lastTime": 1124.31595802307, "time": 1124.31667995452, "pin": C0, "state": true }
    { "lastTime": 1124.31667995452, "time": 1124.31785392761, "pin": C0, "state": true }
    { "lastTime": 1124.31785392761, "time": 1124.32804393768, "pin": C0, "state": false }
    { "lastTime": 1124.32804393768, "time": 1124.32841300964, "pin": C0, "state": true }
    { "lastTime": 1124.32841300964, "time": 1124.32851505279, "pin": C0, "state": false }
    { "lastTime": 1124.32851505279, "time": 1124.32971382141, "pin": C0, "state": false }
    { "lastTime": 1124.32971382141, "time": 1241.55311012268, "pin": C0, "state": true }
    
    

    analogRead() shows it as going between near 0 and near 1 (er, maybe higher than that pin should get, since it's not 5v tolerant)

    I get the same results using an Arduino to listen to the receiver. Nothing I can do seems to make any change in the behavior of the receiver. Move it around? no change. Put it in a metal box with a metal lid and leave only space for the wires to get out? No change.

    I'm using what looks to be the exact same kind of transmitter/receiver that the tutorial uses.

    My thinking is that the receiver must be defective, unless there are any other things to check?

About

Avatar for DrAzzy @DrAzzy started