gergelytakacs / AutomationShield

Arduino library and MATLAB/Simulink API for the AutomationShield Arduino expansion boards for control engineering education.
Other
38 stars 16 forks source link

BoBShield: 3.3V compatibility #102

Closed gergelytakacs closed 2 years ago

gergelytakacs commented 5 years ago

Please do not forget to make the hardware compatible w/ both 5V and 3.3V logic. Should not be an issue, but if you are in doubt, ask.

gergelytakacs commented 5 years ago
TiborKonkoly commented 5 years ago

On the first picture we can see the result of the BoB shields first open loop test. The picture was taken from the Arduino IDE Serial Plotter. At this case both the sensor and the servo motor were connected to 5V.

OL5

On the second picture we can see the result of the same test, which was executed at the same conditions, like in the previous case. The only difference is, that the sensor was connected to 3.3V. As we can see, the results are similar.

OL33

On the third picture is the result of the same test. In this case both, the sensor and the servo motor were connected to 3,3V. If we look at it properly we can distinguish slight differences between this picture and the previous pictures.

whole33

gergelytakacs commented 5 years ago

Thank you for the exhaustive test and the results. See, this is something I expect every time!:)

To me, they seem pretty much identical and besides a phase shift, I do not really see any difference that could be explained by the change in the logic level voltages. I think, therefore, that both the sensor and the motor will work fine with 3.3V and 5V logic boards.

On Tue, 23 Apr 2019, 23:32 TiborKonkoly, notifications@github.com wrote:

On the first picture we can see the result of the BoB shields first open loop test. The picture was taken from the Arduino IDE Serial Plotter. At this case both the sensor and the servo motor were connected to 5V.

[image: OL5] https://user-images.githubusercontent.com/37699408/56617153-666dc500-661f-11e9-8d27-40486e9f9555.png

On the second picture we can see the result of the same test, which was executed at the same conditions, like in the previous case. The only difference is, that the sensor was connected to 3.3V. As we can see, the results are similar.

[image: OL33] https://user-images.githubusercontent.com/37699408/56617157-6968b580-661f-11e9-8402-1b99214d0c15.png

On the third picture is the result of the same test. In this case both, the sensor and the servo motor were connected to 3,3V. If we look at it properly we can distinguish slight differences between this picture and the previous pictures.

[image: whole33] https://user-images.githubusercontent.com/37699408/56617161-6bcb0f80-661f-11e9-8676-28510fc3355f.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gergelytakacs/AutomationShield/issues/102#issuecomment-485983106, or mute the thread https://github.com/notifications/unsubscribe-auth/AI7K24DXYCGK6GR3UNAHU5DPR56ABANCNFSM4HG6VDSA .