Sorry, this shoutbox does not exist.

Author Topic: Freeduino + URM04 + IO Expansion Shield For Arduino(V5) - not working  (Read 9396 times)

arduinofish

  • Full Member
  • ***
  • Posts: 27
  • Karma: +0/-0
Re: Freeduino + URM04 + IO Expansion Shield For Arduino(V5) - not working
« Reply #10 on: April 18, 2012, 05:02:42 pm »
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.


Lauren

  • Administrator
  • Hero Member
  • *****
  • Posts: 216
  • Karma: +7/-0
    • Follow us on Twitter for coupons and product updates!
Re: Freeduino + URM04 + IO Expansion Shield For Arduino(V5) - not working
« Reply #11 on: April 18, 2012, 05:17:13 pm »
 ???

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
Follow us on TWITTER for announcements of specials and product updates! Along with interesting open source robotics news!

arduinofish

  • Full Member
  • ***
  • Posts: 27
  • Karma: +0/-0
Re: Freeduino + URM04 + IO Expansion Shield For Arduino(V5) - not working
« Reply #12 on: April 24, 2012, 11:08:36 pm »
I know this documents allready and there arent very helpful. Thats why i postet my sketch.

Hector

  • Not an
  • Hero Member
  • *****
  • Posts: 788
  • Karma: +21/-2
    • Follow us on Twitter for coupons and product updates!
Re: Freeduino + URM04 + IO Expansion Shield For Arduino(V5) - not working
« Reply #13 on: April 25, 2012, 10:53:13 am »
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


« Last Edit: April 25, 2012, 11:01:52 am by Hector »
-Hector

Follow us on TWITTER for announcements of specials and product updates! Along with interesting open source robotics news!

arduinofish

  • Full Member
  • ***
  • Posts: 27
  • Karma: +0/-0
Re: Freeduino + URM04 + IO Expansion Shield For Arduino(V5) - not working
« Reply #14 on: April 25, 2012, 04:27:29 pm »
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

  • Full Member
  • ***
  • Posts: 19
  • Karma: +1/-0
Re: Freeduino + URM04 + IO Expansion Shield For Arduino(V5) - not working
« Reply #15 on: April 26, 2012, 12:56:28 am »
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 :)
« Last Edit: April 26, 2012, 09:18:12 pm by holmes.apprentice »

arduinofish

  • Full Member
  • ***
  • Posts: 27
  • Karma: +0/-0
Re: Freeduino + URM04 + IO Expansion Shield For Arduino(V5) - not working
« Reply #16 on: April 26, 2012, 09:35:08 pm »
and u get the timeout-error? I had that as well,... i figured out that it belongs to the RX/TX-Ports.

holmes.apprentice

  • Full Member
  • ***
  • Posts: 19
  • Karma: +1/-0
Re: Freeduino + URM04 + IO Expansion Shield For Arduino(V5) - not working
« Reply #17 on: April 26, 2012, 09:37:36 pm »
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

  • Full Member
  • ***
  • Posts: 27
  • Karma: +0/-0
Re: Freeduino + URM04 + IO Expansion Shield For Arduino(V5) - not working
« Reply #18 on: April 26, 2012, 09:55:19 pm »
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 
The default baudrate: 19200
Start drive the sensors!
Uª                     Distance value: 0

From where does the "Uª " come?

holmes.apprentice

  • Full Member
  • ***
  • Posts: 19
  • Karma: +1/-0
Re: Freeduino + URM04 + IO Expansion Shield For Arduino(V5) - not working
« Reply #19 on: April 26, 2012, 10:29:34 pm »
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 
The default baudrate: 19200
Start drive the sensors!
Uª                     Distance value: 0

From where does the "Uª " come?

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?? :(

 

SimplePortal 2.3.4 RC1 © 2008-2011, SimplePortal