Difference between revisions of "MHINSTEK UDB1xxxS"

From sigrok
Jump to navigation Jump to search
(Add photos/resources)
Line 28: Line 28:
MHINSTEK_UDB1305S_detail_analog.jpg
MHINSTEK_UDB1305S_detail_analog.jpg
</gallery>
</gallery>
== Connection ==
All models communicate via an serial connection, at either 19200 or 57600 bps, 8 bits, no parity, and 1 stop bit (57600/8n1 or 19200/8n1). Connecting to the devices can be done with any USB-serial converter. Signalling level is 3.3V
UDB1505S uses 57600 bps.


== Protocol ==
== Protocol ==


=== Signal generator ===
The generator will respond to commands, which consist of a short ASCII string followed by CR (additional LFs are ignored). The meter will either send no response at all or some ASCII text followed by CR+LF.
 
There a three classes of commands:
# Identication
# Set request
# Get request
 
Most set requests have a corresponding get request.
 
=== Identification command ===
 
&rarr; a
&larr; UDB1305S
 
=== Set/get requests ===
 
==== Select channel A/B ====
 
&rarr; bh1
&larr; ok
&rarr; bh2
&larr; ok
 
Query (<code>ch</code>) always reports channel 0 (i.e. neither 1 or 2)
 
==== Set/get frequency ====
 
5 MHz
&rarr; bf500000000
&larr; ok
&rarr; cf
&larr; cf500000000
2 kHz
&rarr; bf000200000
&larr; ok
&rarr; cf
&larr; cf000200000
1 Hz
&rarr; bf      100
&larr; ok
&rarr; cf
&larr; cf000000100


== Resources ==
== Resources ==

Revision as of 12:34, 15 November 2015

UDB130xS
MHINSTEK UDB1305S persp.jpg
Status planned
Frequency (user) 0.01Hz-2MHz/5MHz/8MHz
Waveforms sine/square/triangle/sawtooth, TTL rect
Amplitude 10 V (adjustable)
Connectivity Serial TTL (5V)

The UDB1302S/UDB1305S/UDB1308S is a Dual-Channel standalone function generator. It can be controlled with the push-buttons and the rotary encoder, or via a bidirectional serial interface.

Amplitude and offset voltage can only be controlled using potentiometers.

This device can be bought on ebay or aliexpress from various sellers for 40€/50€/60€.

Hardware

  • CPLD: Altera MAXII
  • Clock: 34.56MHz

Photos

Connection

All models communicate via an serial connection, at either 19200 or 57600 bps, 8 bits, no parity, and 1 stop bit (57600/8n1 or 19200/8n1). Connecting to the devices can be done with any USB-serial converter. Signalling level is 3.3V

UDB1505S uses 57600 bps.

Protocol

The generator will respond to commands, which consist of a short ASCII string followed by CR (additional LFs are ignored). The meter will either send no response at all or some ASCII text followed by CR+LF.

There a three classes of commands:

  1. Identication
  2. Set request
  3. Get request

Most set requests have a corresponding get request.

Identification command

→ a
← UDB1305S

Set/get requests

Select channel A/B

→ bh1
← ok

→ bh2
← ok

Query (ch) always reports channel 0 (i.e. neither 1 or 2)

Set/get frequency

5 MHz
→ bf500000000
← ok

→ cf
← cf500000000

2 kHz
→ bf000200000
← ok

→ cf
← cf000200000

1 Hz
→ bf      100
← ok

→ cf
← cf000000100

Resources