An Arduino tutorial blog. Free Arduino tutorials for everyone !
I am setting up the 433mhz receiver/transmitter as described on lesson 1 and it seems as if the transmit part is working...the TX light blinks. When I try to upload your code from the sketch, I am getting stk500v2_ReceiveMessage(): timeout and stk500v2_getsync(): timeout communicating with programmer. Are there ports which need to be setup. I am currently using /dev/ttyACM0. I have ttyAMA0 linked to serial1. Now I've been a unix/linux programmer for 30+ years, but very new to this Raspberry/Ardunio setup and I am assuming the the ReceiveMessage and getsync functions are part ot the stk500v2 lib but don't see in you example code where they would be called from...it said that this lesson was going to be lib free so I am again curious to know where they exist. Is there a step I'm missing in the uploads. How does the upload know which board it is supposed to upload to. I have both connected to Pi and each bit of code is in a separate sketch. When I do a board info on each sketch, the same information comes up for UID/PID. Is that the correct...or should they be different. If so what should I do.I have search for this issue and it seems to happen a lot with the conclusion that just unplug for a while and restart seems to be the familiar answer in most cases. Tried that and it didn't help.I am using a RaspberryPi 3 with the Arduino UNO boards and the 433mhz receiver and transmitter modules. So any help would be helpful. If more detail is needed you have my email address.Thanks in advance.
Feel free to leave a comment about this tutorial below. Any questions about your particular project should be asked in the ArduinoBasics forum.Comments are moderated due to large amount of spam.