Test and Measurement Forum

ARDUINO ZERO AS BUFFER/ISOLATOR FOR PICOLOG DA LOGGERS - 4

Post discussions on projects you are working on

ARDUINO ZERO AS BUFFER/ISOLATOR FOR PICOLOG DA LOGGERS - 4

Postby Glovisol » Tue May 10, 2016 8:11 am

10/12 BIT BUFFER/ISOLATOR WITH ARDUINO ZERO

The schematic diagrams for the UNO and the ZERO are identical with the exception of the Micro to Optocoupler connections (which can be easily changed, being simply wired to the screw terminals of the shield) and of the I2C, which now have dedicated pins, as shown in the schematic below and discussed in the next post. For a techical description of the schematc, see BUFFER/ISOLATORS FOR DrDAQ/2012/2016 DATALOGGERS PART 2 at:
topic23731.html

The schematic diagram for the new ZERO Buffer/Isolator is enclosed below.

One obvious, but not previously mentioned point, is that to have exact numerical correspondence between PWM and D.C. value, the reference voltage and the peak of the PWM square-wave must have an identical value. This is the reason why the Micro reference and the voltage feed to the optocouplers must have the identica value of 2.5V.

Another important point regards System Resolution.

- With Arduino UNO the System Resolution is limited by the Resolution of the output pins PWM which CANNOT exceed 8 Bit (255 levels), while the Resolution of the Input pins is fixed @ 10 Bit (1023 levels).

- With Arduino ZERO the System Resolution is limited by the Resolution of the input pins, which CANNOT exceed 12 Bit, while the Resolution of the output pins PWM can go easily up to 16 Bit, by manipulation of the PER parameter.

The Micro sketch is also uploaded in this post. It is an "universal" sketch in the sense that, apart from EXTERNAL REFERENCE, several INTERNAL REFERENCES can be programmed by simply removing stops to the necessary script. All the Reference voltages mentioned in previous Part 3 can be programmed. As an example, both the sketch for EXTERNAL REFERENCE and the one for INTERNAL 1V have been uploaded, with the differing entries shown in green colour.

Operational PC Picts will be posted next.
Attachments
ZERO Isolator schematic 4.jpg
Amended Arduino ZERO Isolator schematic diagram
Sketch_Universal_Translator_8_1V_REF.doc
Universal ZERO Sketch set for 1V INTERNAL REFERENCE
(41 KiB) Downloaded 41 times
Sketch_Universal_Translator_8_EXT_REF.doc
Universal ZERO Sketch set for EXTERNAL REFERENCE
(41 KiB) Downloaded 39 times
Last edited by Glovisol on Tue May 17, 2016 6:28 pm, edited 8 times in total.
Glovisol
Advanced User
Advanced User
 
Posts: 114
Joined: Sat May 11, 2013 10:03 am
Location: San Marzano Oliveto, Asti, Italy

Re: ARDUINO ZERO AS BUFFER/ISOLATOR FOR PICOLOG DA LOGGERS -

Postby Glovisol » Tue May 10, 2016 11:39 am

Here are some PC Screens of ZERO Buffer operation. Note excellent agreement between input readings taken by the Micro and shown on the Serial Monitor and output readings taken with Picoscope.

Picoscope is reading Channel_0, i.e. input pin A0 and output Pin D2.The other input pins receive fixed voltages.
Attachments
Zero Buffer - PC Screen 12Bit.jpg
Zero Buffer - PC Screen 10 Bit.jpg
Zero Buffer - PC Screen 9 Bit.jpg
Glovisol
Advanced User
Advanced User
 
Posts: 114
Joined: Sat May 11, 2013 10:03 am
Location: San Marzano Oliveto, Asti, Italy

Re: ARDUINO ZERO AS BUFFER/ISOLATOR FOR PICOLOG DA LOGGERS -

Postby Glovisol » Sun May 15, 2016 9:33 am

ERRATA CORRIGE

Sketch_Universal_Translator_1V_REF
and
Sketch_Universal_Translator_EXT_REF

have the mistake that the proper reference script has NOT been made active. Please accept my sincere apologies.

Corrected sketches uploaded below.
Attachments
Sketch_Universal_Translator_8_1V_REF.doc
Amended Sketch!!
(41 KiB) Downloaded 35 times
Sketch_Universal_Translator_8_EXT_REF.doc
Amended sketch!!
(41 KiB) Downloaded 36 times
Glovisol
Advanced User
Advanced User
 
Posts: 114
Joined: Sat May 11, 2013 10:03 am
Location: San Marzano Oliveto, Asti, Italy


Return to Projects

Who is online

Users browsing this forum: No registered users and 0 guests