EEVblog Electronics Community Forum

Electronics => Beginners => Topic started by: vargoal on February 15, 2015, 12:49:47 am

Title: Noise
Post by: vargoal on February 15, 2015, 12:49:47 am
Hi EEVBlog Community,

I am working on developing a modified SPI interface for robotics. Anyway I got the basic protocol working but I am trying to determine if a data validation should be added like a basic parity bit. Given the hardware I am using the clock speed of the interface is around 70 hz. I plan to test the system near a dc motor and under lower voltage conditons ot my arduino pro mini. Anyway I was wondering if there is anything else I should try that would cause line noise on the data lines which could result in data corruption. Any advice is appreciated.
Title: Re: Noise
Post by: Neganur on February 15, 2015, 11:55:19 am
Hmm apart from your power source, you could try to use a function generator with a sharp square wave and see if you manage to couple some of that onto your data lines.
With a 70 Hz SPI clock and 3V? 5V? You could also try and find some cheap power drill, those can be a good source of noise.

But without knowing more about the environment or the power design I'd guess that anything with current surges will do.
Title: Re: Noise
Post by: mij59 on February 15, 2015, 12:04:34 pm
On and off switching of mains power to an inductive load works great, e.g. soldering iron with safety transformer.
Title: Re: Noise
Post by: vargoal on February 16, 2015, 10:57:58 pm
Thanks for your advice. I think I will start with the coupled square wave and then move on from there. To give you a little more detail I am using 3.3v logic and I am trying to get an arduino pro mini to talk to a HiTechnic Super Pro Board(see link below). To my knowledge only one other robotics team has done this and when I looked at their code it seemed overly complicated. I will try to post more details about the project including the code and pictures after I finish a little more of it.

Hitechnic super pro board
http://www.hitechnic.com/cgi-bin/commerce.cgi?preadd=action&key=SPR2010 (http://www.hitechnic.com/cgi-bin/commerce.cgi?preadd=action&key=SPR2010)