my layout is like this. Actually the led on the URM ist blinking when my Mega is conected to power, but not when the trigger is send.
arduinofish
my layout is like this. Actually the led on the URM ist blinking when my Mega is conected to power, but not when the trigger is send.
![]() Peter, your connection can not make the Arduino work with the 485 interface. You need to connect the IC according to the Max485 Test circuit or the design of the IO Expansion shield V5! 1.Please check the datasheet of the Max485, here is link: http://pdf1.alldatasheet.com/datasheet-pdf/view/73463/MAXIM/MAX485.html 2.Or take a look at the schematic of the IO Expansion shield V5 in order to make the chip work by yourself, here's the link: http://www.dfrobot.com/image/data/DFR0088/Arduino%20Expansion%20V5%20SCH.pdf arduinofish
I know this documents allready and there arent very helpful. Thats why i postet my sketch.
Hi ArduinoFish,
I think what Lauren is suggesting you do is to verify your wiring compared to the way the MAX485 chip would be wired if you were using the I/O Expansion shield. Make sure you don't need any resistors or anything like that. We have released our Fritzing library which includes the URM04 in it, if you would like to use it. We would also like to get some feedback about our library. If you find any mistakes please let us know. here is the link: https://github.com/DFRobot/Fritzing-library arduinofish
Hector.. i downloaded your library so far its nice. But one thing i have to say so far,... the port-description on chinese is not very helpful:)
holmes.apprentice
Hi all,,
I am a very newcomer in this kind of thing. I just bought the URM04 and the IO expansion shield v5. but I still could not figure out how to connect it. which pin to which pin and what do you mean by jumper because i saw some comment about jumper in the robowiki. please guide me through. ------------------------------------ updated anyway, I tried to do something on the expansion shield board by moving all of the 3 jumpers to the left hand side where the 485 writing is printed. then i tried to upload the rxURM04sample code. but i have the new problem now,on the IDE,it keeps on uploading, its been more than a few minutes but it is still uploading the sketch. anyone know what is the problem? anyway i am using dfrduino mega 1280 along with the shield. thank you very much ![]() arduinofish
and u get the timeout-error? I had that as well,... i figured out that it belongs to the RX/TX-Ports.
holmes.apprentice
and u get the timeout-error? I had that as well,... i figured out that it belongs to the RX/TX-Ports. I did not get the timeout-error,the error written was something about failed to sync..could not figure out what does this error means ![]() arduinofish
mhh try to upload an empty sketch like
void setup (){} void loop(){} referring to my problem my serial says Code: [Select] The URM ID: 0x11 From where does the "Uª " come? holmes.apprentice
mhh try to upload an empty sketch like the full error written on my IDE was: avrdude: stk500_getsync(): not in sync: resp=0x30 ---------------- and now,when i tried to upload the sketch onto the board,it keeps on showing "uploading" and it doesnot change to done uploading which means it cannot finished to upload the sketch into the board what is wrong with this?? ![]() |