433Mhz TX Troubles

What a discovery today, figured out that the type of transmitter matters.

Note the one on the left, that is the better one.  But from the electronics on board, they both seam the same.  On thing I did notice when I looked at what I purchased is that the one on the left supported 3.3V, I don’t think the one on the right did.

Also when defining the pulse length and protocol, the pulse length has to go first because it sets the defaults.

Another aha moment was the MQTT library I was using, it is a newer version and it needed some changes.

For one thing you need to define

mqttClient.onMessage(messageReceived);

In the setup.

Then the actual messageRecieved function changed

Used to be

void messageReceived(String topic, String payload, char * bytes, unsigned int length) {
}

Now it is

void messageReceived(String &topic, String &payload) {
}

Kind of frustrating but it is a learning experience.

I was going to post stuff about my summer goals, but this is enough for today.

 

This entry was posted in Arduino, Technical, Training. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.