I have a Grove Base Shield and it seems that it does not work with Arduino Mega and it works for Arduino Uno (it says it is compatible to Arduino Mega)

Ardiuno Compatible shields

Moderators: lily.li, violet

Post Reply
Anonymous
Kindergarten
Kindergarten
Posts: 92
Joined: Mon Jun 03, 2019 10:58 am

Post by Anonymous » Wed Jun 19, 2019 5:41 am

I have a Grove Base Shield and it seems that it does not work with Arduino Mega and it works for Arduino Uno (it says it is compatible to Arduino Mega)

Seeed Tech Support
Pre-kindergarten
Pre-kindergarten
Posts: 0
Joined: Mon Jun 03, 2019 10:51 am

Post by Seeed Tech Support » Wed Jun 19, 2019 7:07 am

HI there~

We tested it and it works with mega. Please let us know more detail info about the issue. Which sensor do you connect? Appreciate if you could take a picture about the hardware setup. 

Thanks

best rgds
Bill


Anonymous
Kindergarten
Kindergarten
Posts: 92
Joined: Mon Jun 03, 2019 10:58 am

Post by Anonymous » Wed Jun 19, 2019 7:44 am

Hi Bill,

Thanks a lot for your quick response! I connected the base shield v2 to Arduino mega. Then I connected a Grove GPS v1.2 (Sim28) to the base shield using D2. There is no GPS reading. If I use Arduino Uno, then there is GPS reading. That is why I said that it seems this base shield is not compatible with Arduino mega. Is there something I am missing?
Best regards,

Jian

Seeed Tech Support
Pre-kindergarten
Pre-kindergarten
Posts: 0
Joined: Mon Jun 03, 2019 10:51 am

Post by Seeed Tech Support » Wed Jun 19, 2019 11:43 am

Hi Jian

You use the software serial for the grove gps. Not all pins on the Mega and Mega 2560 support change interrupts, so only the following can be used for RX: 10, 11, 12, 13, 14, 15, 50, 51, 52, 53, A8 (62), A9 (63), A10 (64), A11 (65), A12 (66), A13 (67), A14 (68), A15 (69). All of the signals are not routed to base shield. But the base shield supports analog/digital/uart/i2c as well. 

As work around solution, You can modify the code to use the hardware UART directly.  


Thanks

best rgds
Bill


Anonymous
Kindergarten
Kindergarten
Posts: 92
Joined: Mon Jun 03, 2019 10:58 am

Post by Anonymous » Wed Jun 19, 2019 3:02 pm

Hi Bill,

Thank you very much for the detailed response.

The UART was used for communicating with pc. Do you think if it is possible to use the Grove gps by coonecting to pin 13 and 14 of mega while using the base shield for other sensors?
Best regards,

Jian

Anonymous
Kindergarten
Kindergarten
Posts: 92
Joined: Mon Jun 03, 2019 10:58 am

Post by Anonymous » Wed Jun 19, 2019 3:11 pm

Hi Bill,

Sorry to write to you again. You said that I can use the UART socket in the base shield? What pins are used for this socket then? Is it 0 and 1? Thanks a lot!
Kind regards,

Jian

Seeed Tech Support
Pre-kindergarten
Pre-kindergarten
Posts: 0
Joined: Mon Jun 03, 2019 10:51 am

Post by Seeed Tech Support » Wed Jun 19, 2019 5:21 pm

Hi 

Jian 

Yes, it is 0 and 1.

Thanks

best rgds
Bill


Anonymous
Kindergarten
Kindergarten
Posts: 92
Joined: Mon Jun 03, 2019 10:58 am

Post by Anonymous » Wed Jun 19, 2019 6:38 pm

Hi Bill,

Thanks a lot for your quick and professional help!
Best regards,

Jian

Post Reply