Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pmod:pmodmaxsonar:reference-manual [2021/05/14 23:03] – ↷ Page moved from reference:pmod:pmodmaxsonar:reference-manual to pmod:pmodmaxsonar:reference-manual Arthur Brownpmod:pmodmaxsonar:reference-manual [2022/10/04 11:38] (current) – external edit 127.0.0.1
Line 28: Line 28:
 ---- ----
 ===== Interfacing with the Pmod===== ===== Interfacing with the Pmod=====
-The %%Pmod MAXSONAR%% communicates with the host board via the [[pmod:communication_protocols:uart|UART protocol]], analog output, and [[reference:pwm|PWM]] timing. The module requires 250 milliseconds to power up and then will perform a self-calibration if the Receive Data (RX) pin is left at floating or logic level high voltage. The calibration will take 49 ms, and after an additional 100 ms of waiting time, the module will be able to take measurement readings every 49 milliseconds. +The %%Pmod MAXSONAR%% communicates with the host board via the [[pmod:communication_protocols:uart|UART protocol]], analog output, and [[:pwm|PWM]] timing. The module requires 250 milliseconds to power up and then will perform a self-calibration if the Receive Data (RX) pin is left at floating or logic level high voltage. The calibration will take 49 ms, and after an additional 100 ms of waiting time, the module will be able to take measurement readings every 49 milliseconds. 
  
 The %%UART%% protocol is configured with a baud rate of 9600, 8 bits, no parity, and a single stop bit. When the RX pin is left floating or held at a logic level high voltage, 5 bytes will be sent out over the Transfer Data (TX) pin beginning with the capital ASCII character 'R', three %%ASCII%% digits representing the detected distance, and a carriage return character (%%ASCII%% character 13). The %%UART%% protocol is configured with a baud rate of 9600, 8 bits, no parity, and a single stop bit. When the RX pin is left floating or held at a logic level high voltage, 5 bytes will be sent out over the Transfer Data (TX) pin beginning with the capital ASCII character 'R', three %%ASCII%% digits representing the detected distance, and a carriage return character (%%ASCII%% character 13).
Line 55: Line 55:
 As the %%Pmod MAXSONAR%% is produced by MaxBotix®, Digilent does not offer the schematics of the %%Pmod MAXSONAR%%. Additional information about the %%sonar portion%% including communication modes and specific timings of the chip can be found by checking out the [[http://maxbotix.com/documents/LV-MaxSonar-EZ_Datasheet.pdf|MaxBotix datasheet]].  As the %%Pmod MAXSONAR%% is produced by MaxBotix®, Digilent does not offer the schematics of the %%Pmod MAXSONAR%%. Additional information about the %%sonar portion%% including communication modes and specific timings of the chip can be found by checking out the [[http://maxbotix.com/documents/LV-MaxSonar-EZ_Datasheet.pdf|MaxBotix datasheet]]. 
  
-Example code demonstrating how to get information from the [[reference:pmod:pmodMAXSONAR:start#example_projects|Pmod MAXSONAR]]. +Example code demonstrating how to get information from the [[pmod:pmodmaxsonar:start#example_projects|Pmod MAXSONAR]]. 
  
 If you have any questions or comments about the %%Pmod MAXSONAR%%, feel free to post them under the appropriate section ("Add-on Boards") of the [[https://forum.digilentinc.com/|Digilent Forum]]. If you have any questions or comments about the %%Pmod MAXSONAR%%, feel free to post them under the appropriate section ("Add-on Boards") of the [[https://forum.digilentinc.com/|Digilent Forum]].