go_away

Author Topic: Raspberry Pi B+ and Arduino Bot  (Read 1840 times)

0 Members and 1 Guest are viewing this topic.

Offline RussellPiBotTopic starter

  • Beginner
  • *
  • Posts: 6
  • Helpful? 1
Raspberry Pi B+ and Arduino Bot
« on: March 24, 2015, 07:41:41 AM »
Project:
Pibot using Pi A+ communicating with a custom (stripped down) Arduino Uno using I2C via MCP23017. Bot mobility will be controlled by Arduino PWM and quadrature Hall Effect feedback to Arduino via serial to parallel output latch 74HC595N.

Question:
Can the micro Bitscope and Raspberry Pi B+ be used to view the various signals being generated within the Bot system? I am particularly concerned that the B+ is not fast enough to capture changes in PWM for proper viewing.

Thank you for any advice you may provide.

Offline mklrobo

  • Supreme Robot
  • *****
  • Posts: 548
  • Helpful? 14
  • From Dream to Design at the speed of Imagination!
Re: Raspberry Pi B+ and Arduino Bot
« Reply #1 on: March 24, 2015, 08:18:33 AM »
 :) Hello!
I have a Vellman PC scope, @ 12Mhz bandwidth. Audio frequencies are
easy to capture. The Raspberry PI Micro bitscope has 20 Mhz bandwidth,
so you should be able to get better response than me. I would hazard a guess,
that under 500 Khz, or less that 80 Baud, you should be able to get something.
I have gotten a "flash" of data from my calculator with the Velleman PC scope. (9600 baud)
Simply put, if the PWM is in the aformentioned range you should be able to
get something.
Good Luck!   ;D ;D ;D

Offline RussellPiBotTopic starter

  • Beginner
  • *
  • Posts: 6
  • Helpful? 1
Re: Raspberry Pi B+ and Arduino Bot
« Reply #2 on: March 24, 2015, 11:03:42 AM »
I guess I did not ask the question correctly because your answer appears to speak to the ability of the Bitscope Micro to handle PWM.  I am sure that the Bitscope can handle PWM for the reason you mentioned. 

However, the question is, can the Pi B+ refresh rate keep pace with rapid changes in PWM signal? That still is not clear to me.

Cheers,



 


Get Your Ad Here