Skip to main content

Topics

This section allows you to view all Topics made by this member. Note that you can only see Topics made in areas you currently have access to.

Topics - TitanMKD

1
Project development, ideas, and suggestions / Current/Voltage Tester board with DP5031
Hi,

For those interested in a cheap funny board to test USB current consumption/voltage or even check USB D+/D- and ID signal
I have designed a new PCB board Current Voltage Tester v1.0 Rev1 (Size 50mm x 31mm).
Current or Voltage can be measured using standard Banana Plug Connector (for voltmeter) or a standard header.
The PCB include also easy access with Oscilloscope to D+, D- and USBID pin for checks.

See photo of the board hereafter:
[attachment=0]

A very cheap case is also planned depending on feedback about that board.

Nota: For those interested I plan to buy 10 PCBs and I could sell some bare PCB for very good price (like 10 Euros including shipping for Europe for 2 PCB).
If lot of people are interested by more PCB I could lower the price and buy a batch of 20 or 50 PCB and sell them for even less (like 20 euros for 5 PCB including shipping), for information all PCB will be 100% E-test.
Contact me in the forum or by email titanmk@gmail.com

Best Regards
Benjamin
3
Project development, ideas, and suggestions / STM32F4 Debug Board v1.0 DP6037
Hi,

I have just developped a new "debug" multi-purpose board (like Bus Pirate) based on DP6037 and STM32F4 LQFP and for High Speed signals like SPI up to 37.5Mbit/s, USART up to 10.5Mbit/s ... and also other component could be supported like Nand Flash 8/16bits ...

It is planned a full package with Firmware like BusPirate depending on feedback on this project.
Cool future features could be to connect the board (with LiPo) to any Android Phone without requiring any PC to debug/hack stuff in live and anywhere.
It is also planned an Arduino adapter board for those interested.

For more details on all features see my blog http://http://titanmkd.blogspot.com

[attachment=0]
4
Project development, ideas, and suggestions / Reversing hardware find what is it
Hi,

It is just a hardware I bought on Ebay some weeks ago,

I planned to do some hardware hack on it (I will reveal the hack on next post).
I post the photo for fun and for a little game to find what's hardware is behind, you should search and find the hardware name by looking on PCB Component Side and PCB Solder Side only ;-)

The photos(updated higher quality for PCB side):

[attachment=1]
[attachment=0]

What's is the hardware on photos ?

Update 10 Dec 2011:
Ok everyone has found it's a Digital Thermometer so now let's go to step 2 checking/reversing each main components functionality and reference:
U1/U2 chips are not connected
U3 chip:
It's wrote CJ 78L05
It's a Three-terminal positive voltage regulator so the Output Voltage is +5V and Input can be from +7 to +20V.
datasheet is here http://www.gangyi.com.cn/UploadFiles/20 ... 952172.pdf
U4 chip (with black Epoxy):
This chip is not identified and the challenge is to found what it is ;-)
For information:
1) It's connected to a crystal of 4MHz.
2) On Digital Thermometer they speak about Microprocessor and it's wrote "6802 II" but I doubt it's really an old motorola 6802.
Challenge1:
Guess which microprocessor it is and how to remove this Black Epoxy Glue (I just tried to melt it with my hot gun until 180°C but nothing melt).
And when I could remove this black epoxy we will discover what's it ;-)

U5 chip:
It's just a wrote 2TY on it, and seems to be a simple PNP Transistor SOT23.
U6 chip:
It's just a wrote J3Y on it, and seems to be a simple NPN Transistor SOT23.
U7 chip:
Have you seen the U7 chip in fact it's wrote on it "ATMEL812 24C02BN SU18"
Yes it's a common I2C EEPROM 24C02.
What's data are inside will be discovered in next step with a funny BusPirate session to dump the I2C EEPROM ;-)
Challenge2:
Guess what's inside this EEPROM.


For information why I now want to also replace the U4 chipset (and maybe the whole PCB ;-) it's because I have this tool since 2 weeks and I have just used it 10mins and after it was always OFF and now the 9V battery is just dead with 3.5V !! So this tool is very very hungry even in sleep mode !!
5
Project development, ideas, and suggestions / NFC TI TRF7970A Breakout Board for BusPirate or other HW
Hello,

Just a news about a new Hardware PCB i have designed with Eagle, it is an NFC Breakout board using latest Texas Instrument NFC chipset the TRF7970A and including 13.56MHz antenna with an option to connect an external SMA NFC antenna (SMA-142-0701-801/806) .
It is also compatible with Input Voltage from 2.VDC7 to 5.5VDC and I/O Voltage level programmable from 1.8VDC to 5.5VDC.
It supports Near Field Communication (NFC) Standards NFCIP-1 (ISO/IEC 18092), NFCIP-2 (ISO/IEC 21481) and protocol ISO15693, ISO18000-3, ISO14443A/B, and FeliCa.

Advantage against PN532 chipset/breakout board are:
  • TRF7970A is cheaper and available.
  • Documentations including datasheet are public/full and available directly without any registration or NDA.
  • Support Direct Mode 0 "Raw RF Sub-CarrierData Stream" to encode/decode all 13.56MHz subcarrier data stream.

For more details see in attachement the picture of the Eagle PCB in 3D exported/converted to Sketchup using the fantastic eagleUp plugin.
[attachment=1]
[attachment=0]

I plan to send the Gerbers at Seeed Studio this weekend with "Dangerous Prototypes" Logo like on the picture, but i need more information about that to know If i can obtain Red PCB for Green PCB price to test my design (I need you help Ian for that ;-).

If anyone is interested by this Breakout board tell it as comment.

Just a last word thanks to Sjaak for verification and hints on my design.

Best Regards
Benjamin
6
Project development, ideas, and suggestions / UBW32 Arduino Adaptor
Hi,

I have just developped a first version of arduino adaptor for UBW32, this version is basic because only Power Supply and SPI are connected in order to have a working NFC shield v0.9
I will update it later with other pins connection to add analog pins and other GPIO (which requires power adaptation because they are limited to 3.3V on PIC32).

Basic Schematic of the modification:
[attachment=2]

See pictures of the board:

[attachment=0]

[attachment=1]

[attachment=3]
7
Project development, ideas, and suggestions / UBW32
Hi,

it is just a news about UBW32, I have just received 10 UBW32 PCB(customized a bit with minor changes including my blog webpage on the PCB) from SeedStudio and I have soldered the first one and it is a real success it work like a charm but I was helped by my AOYUE Int968 soldering station and ChipQuik flux.

I'm working on it to develop / port NFC stuff using the cheap (30US$) NFC Shield v0.9b from Seed Studio.
I have already installed the HID Bootloader, and CpuStick (http://www.cpustick.com).

PS for Ian I can send you a free PCB, but contact me to give me your address.
PS for Sjaak I can send you a free PCB, but contact me to give me your address.

See photos in attachement.
[attachment=0]

[attachment=1]
8
Bus Pirate Development / Buse Pirate v3.x/v4 Test I2C InfraRed Thermometer MLX90614
Hi,

It is just a feedback test of my new InfraRed Thermometer MLX90614ESF with my Bus Pirate v3 (but it is the same for BPv4)

Test of InfraRed Thermometer MLX90614ESF-DAA (medical accuracy about 0.1°C for Ambient Temperature) with BusPirate I2C.
Code: [Select]
Init I2C+Internal PullUp+Power supplies+Scan I2C.
Vpu connected to +3.3V(PullUp).
HiZ>m
1. HiZ
2. 1-WIRE
3. UART
4. I2C
5. SPI
6. 2WIRE
7. 3WIRE
8. LCD
x. exit(without change)
(1)>4
Set speed:
 1. ~5KHz
 2. ~50KHz
 3. ~100KHz
 4. ~400KHz
(1)>3
I2C>W
Power supplies ON
I2C>P
Pull-up resistors ON
I2C>i
Bus Pirate v3b
Firmware v5.9 (r539)  Bootloader v4.2
DEVID:0x0447 REVID:0x3043 (24FJ64GA002 B5)
http://dangerousprototypes.com
CFG1:0xFFDF CFG2:0xFF7F
*----------*
Pinstates:
1.(BR)  2.(RD)  3.(OR)  4.(YW)  5.(GN)  6.(BL)  7.(PU)  8.(GR)  9.(WT)  0.(Blk)
GND    3.3V    5.0V    ADC    VPU    AUX    SCL    SDA    -      -
P      P      P      I      I      O      I      I      O      I
GND    3.29V  5.02V  0.00V  3.24V  H      H      H      H      H
Power supplies ON, Pull-up resistors ON, Open drain outputs (H=Hi-Z, L=GND)
MSB set: MOST sig bit first, Number of bits read/write: 8
a/A/@ controls CS pin
I2C (mod spd)=( 0 2 )
*----------*
I2C>(1)
Searching I2C address space. Found devices at:
0x00(0x00 W) 0x01(0x00 R) 0xB4(0x5A W) 0xB5(0x5A R)

Read Device Specification details
Code: [Select]
Read Word: Start+Slave Addr Write(0xB4)+Ack+Command+Ack+Start+Slave Addr Read(0xB5)+Ack+
          Read Data Byte Low+Ack+Read Data Byte High+Ack+Read PEC+Ack+Stop

PEC calculation includes all bits except the START, REPEATED START, STOP, ACK, and NACK bits. The PEC is a CRC-8 with polynomial X8+X2+X1+1. The Most Significant Bit of every byte is transferred first.

Command:
Opcode          Command
000x xxxx*      RAM Access
001x xxxx*      EEPROM Access
1111_0000**    Read Flags
1111_1111      Enter SLEEP mode
Note*: The xxxxx represent the 5 LSBits of the memory map address to be read/written.
Note**: Behaves like read command. The MLX90614 returns PEC after 16 bits data of which only 4 are
meaningful and if the MD wants it, it can stop the communication after the first byte. The difference between
read and read flags is that the latter does not have a repeated start bit. 
Flags read are: 
  Data[15] – EEBUSY – the previous write/erase EEPROM access is still in progress. High active.
Data[14] – Unused
Data[13] - EE_DEAD – EEPROM double error has occurred. High active.
Data[12] – INIT – POR initialization routine is still ongoing. Low active.
Data[11] – not implemented.
Data[10..0] – all zeros.
Flags read is a diagnostic feature. The MLX90614 can be used regardless of these flags.

EEPROM (32X16) (8.3.3 EEPROM ):
Name              Address    Write acces
Tomax            000h        Yes
Tomin            001h        Yes
PWMCTRL          002h        Yes
Ta range          003h        Yes
Emissivity correction coefficient  004h  Yes
Config Register1                  005h  Yes
Melexis reserved  006h        No
…  …  …
Melexis reserved  00Dh        No
SMBus address    00Eh        Yes
Melexis reserved  00Fh        Yes
Melexis reserved  010h        No
…  …  …
Melexis reserved  018h        No
Melexis reserved  019h        Yes
Melexis reserved  01Ah        No
Melexis reserved  01Bh        No
ID number        01Ch        No
ID number        01Dh        No
ID number        01Eh        No
ID number        01Fh        No

RAM (32x17) (8.3.4 RAM):
Name                Address    Read access
Melexis reserved    000h        Yes
…  …  …
Melexis reserved    005h        Yes
TA                  006h        Yes
TOBJ1              007h        Yes
TOBJ2              008h        Yes
Melexis reserved    009h        Yes
…  …  …
Melexis reserved    01Fh        Yes

TA = Ambient Temperature.
TOBJ1 = Object Temperature 1 or 2 if there is 2

Read Word RAM Object Temperature(TOBJ1=0x07):
[0xB4 0x07 [ 0xB5 r:3 ]
Code: [Select]
Result:
I2C>[0xb4 0x07 [ 0xb5 r:3 ]
I2C START BIT
WRITE: 0xB4 ACK
WRITE: 0x07 ACK
I2C START BIT
WRITE: 0xB5 ACK
READ: 0xDF  ACK 0x3B  ACK 0xDE
NACK
I2C STOP BIT
TObject pointed on my hand => 0x3BDF * 0,02 => 15327 * 0,02=306,54 Kelvin => 306,54-273,15 = 33,39°C

Read Word RAM Ambient Temperature(TA=0x06):
[0xB4 0x06 [ 0xB5 r:3 ]
Code: [Select]
I2C>[0xb4 0x06 [ 0xb5 r:3 ]
I2C START BIT
WRITE: 0xB4 ACK
WRITE: 0x06 ACK
I2C START BIT
WRITE: 0xB5 ACK
READ: 0x72  ACK 0x3A  ACK 0x3E
NACK
I2C STOP BIT
Computation: 0x3A72 * 0,02 => 14962 * 0,02=299,24 Kelvin => 299,24-273,15 = 26.09°C

Read Word RAM Object Temperature(TOBJ1=0x07) multiple times:
Try to measure multiple time (4 times) temperature object with a delay of 100ms between each read:
[0xb4 0x07 [ 0xb5 r:3 ] %:100 [0xb4 0x07 [ 0xb5 r:3 ] %:100 [0xb4 0x07 [ 0xb5 r:3 ] %:100 [0xb4 0x07 [ 0xb5 r:3 ]

Result:
Code: [Select]
I2C>[0xb4 0x07 [ 0xb5 r:3 ] %:100 [0xb4 0x07 [ 0xb5 r:3 ] %:100 [0xb4 0x07 [ 0xb5 r:3 ] %:100 [0xb4 0x07 [ 0xb5 r:3 ]
I2C START BIT
WRITE: 0xB4 ACK
WRITE: 0x07 ACK
I2C START BIT
WRITE: 0xB5 ACK
READ: 0x3B  ACK 0x3C  ACK 0xDC
NACK
I2C STOP BIT
DELAY 100ms
I2C START BIT
WRITE: 0xB4 ACK
WRITE: 0x07 ACK
I2C START BIT
WRITE: 0xB5 ACK
READ: 0x43  ACK 0x3C ACK 0xD6
NACK
I2C STOP BIT
DELAY 100ms
I2C START BIT
WRITE: 0xB4 ACK
WRITE: 0x07 ACK
I2C START BIT
WRITE: 0xB5 ACK
READ: 0x4A  ACK 0x3C  ACK 0x6B
NACK
I2C STOP BIT
DELAY 100ms
I2C START BIT
WRITE: 0xB4 ACK
WRITE: 0x07 ACK
I2C START BIT
WRITE: 0xB5 ACK
READ: 0x52  ACK 0x3C  ACK 0x94
NACK
I2C STOP BIT

Read EEPROM Tomax for PWM
[0xb4 0x20 [ 0xb5 r:3 ]
Result:
Code: [Select]
I2C>[0xb4 0x20 [ 0xb5 r:3 ]
I2C START BIT
WRITE: 0xB4 ACK
WRITE: 0x20 ACK
I2C START BIT
WRITE: 0xB5 ACK
READ: 0x93  ACK 0x99  ACK 0xB2
NACK
I2C STOP BIT
=> Tomax = 0x9993 => 39315 * 0.01 = 393,15 Kelvin => 393,15-273,15=+120°C

Read EEPROM Tomin for PWM

[0xb4 0x21 [ 0xb5 r:3 ]
Result:
Code: [Select]
I2C>[0xb4 0x21 [ 0xb5 r:3 ]
I2C START BIT
WRITE: 0xB4 ACK
WRITE: 0x21 ACK
I2C START BIT
WRITE: 0xB5 ACK
READ: 0xE3  ACK 0x62  ACK 0xE9
NACK
I2C STOP BIT
=> Tomin = 0x62E3 => 25315 * 0.01 = 253,15 Kelvin => 253,15-273,15=-20°C

Read Word EEPROM Emissivity correction coefficient(0x004):

[0xb4 0x24 [ 0xb5 r:3 ]
Code: [Select]
Result:
I2C>[0xb4 0x24 [ 0xb5 r:3 ]
I2C START BIT
WRITE: 0xB4 ACK
WRITE: 0x24 ACK
I2C START BIT
WRITE: 0xB5 ACK
READ: 0xFF  ACK 0xFF  ACK 0xD6
NACK
I2C STOP BIT

The address Emissivity contains the object em sivity (factory default 1.0 = 0xFFFF), 16 bit. is
Emissivity = dec2hex[ round( 65535 x e) ]
where dec2hex[ round( X ) ] represents decimal to hexadecimal conversion with round-off to nearest valu
(not truncation). In this case the physical emissivity values are e = 0.1…1.0.

Read Word EEPROM ID Number 1C, 1D, 1E ,1F:

[0xb4 0x3C [ 0xb5 r:3 ] [0xb4 0x3D [ 0xb5 r:3 ] [0xb4 0x3E [ 0xb5 r:3 ] [0xb4 0x3F [ 0xb5 r:3 ]
Result:
Code: [Select]
I2C>[0xb4 0x3C [ 0xb5 r:3 ] [0xb4 0x3D [ 0xb5 r:3 ] [0xb4 0x3E [ 0xb5r:3 ] [0xb4 0x3F [ 0xb5 r:3 ]
I2C START BIT
WRITE: 0xB4 ACK
WRITE: 0x3C ACK
I2C START BIT
WRITE: 0xB5 ACK
READ: 0x0C  ACK 0x4C  ACK 0x3A
NACK
I2C STOP BIT
I2C START BIT
WRITE: 0xB4 ACK
WRITE: 0x3D ACK
I2C START BIT
WRITE: 0xB5 ACK
READ: 0x99  ACK 0x92  ACK 0x98
NACK
I2C STOP BIT
I2C START BIT
WRITE: 0xB4 ACK
WRITE: 0x3E ACK
I2C START BIT
WRITE: 0xB5 ACK
READ: 0x94  ACK 0x21  ACK 0x5B
NACK
I2C STOP BIT
I2C START BIT
WRITE: 0xB4 ACK
WRITE: 0x3F ACK
I2C START BIT
WRITE: 0xB5 ACK
READ: 0x84  ACK 0xB0  ACK 0xE4
NACK
I2C STOP BIT
10
Bus Pirate Development / BusPirate v4.1 HW proposal
Hi,

I have checked BPv4 schematics and lot of pins are unused.
List of unconnected/unused pins:
RE0, RE1, RE2, RE3, RF1, RF0
RG6, RG7, RG8, RG9, RB3, RB4
RB11, RB12, RB13

Could it be possible to route those unused pins to a Pin Strip Header (like the ICSP one) for extension purpose ?
Such GPIO/pins could be used to program/read parallel RAM/Flash memory or other parallel peripheral ....

Best Regards

TitanMKD
11
Bus Pirate Development / Bus Pirate Extension to support other Bus
Hi,

I'm developping a prototype of an Extension Board for BusPirate and my EvalBot to add following devices:
CAN Bus, RS232 transceiver (to convert real RS232 to TTL) and other interesting features like SPI chip.

For information i'm using the most safe stuff for Bus CAN:
Texas Instrument ISO1050DW (ISOLATED CAN TRANSCEIVER).
Murata NTE0305MC  (Isolated 1W Single Output SM DC/DC Converters => To convert 3.3V to 5V Isolated for the ISO1050DW).

I still need to design Power Supply part connected to "Polymer Lithium Ion Battery" in order to Power ExtensionBoard & BusPirate or any external device to have an autonomous and portable BusPirate/EvalBot to analyze CAN Bus on Car ;-)

I plan to develop (I have just received a PicKit3 debugger) a Bus Pirate CAN Bus protocol with bit banging (because CAN is not natively supported by PIC24F), I just hope PIC24F will be not to slow to generate CAN2.0B frame at 1 Mbit/s.

If anyone is insterested in this project you can contact me at titanmkd@gmail.com

PS: The Extension Board proto is designed with Eagle and under DangerousPrototypes Licence ;-)

Preview of work in progress:
[attachment=1]
[attachment=0]

Best Regards
Benjamin Vernoux
12
Open Bench Logic Sniffer / OLS 4 channels mode and live capture feature
Hi,

Now the OLS is pratically perfect thank you all for this amazing project.

But i think about a 4 channels mode in order to acquire more samples.
I think it will be perfect for Serial, SPI, I2C and other signals which require 4 or less channels with the huge benefit to have 2 times more samples than 8chan mode.

An other very interesting feature will be to have 4 or 8 channels live capture for unlimited number of samples depending on PC memory like the Saleae Logic Analyzer, which is very interesting for long run studies on special devices/protocol.

Best Regards

Benjamin Vernoux
13
Bus Pirate Development / Suggestion: Bus Pirate V4 HW
Hi,

The Bus Pirate is very good but i have idea to use a faster PIC(PIC32 with DMA and lot of ram/flash/speed...) for next version of Bus Pirate V4 ?
The idea will be to use PIC32MX695F512H full spec here:http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en545654

Max Frequency is 80Mhz (and can be overclocked to more than 100Mhz) and DMA feature is really interesting to obtain for example very fast input capture (for logic analyzer) using DMA channel and other funny stuff, in addition to USB and Ethernet10/100Mb for very fast upload/download (to SUMP or PC) stuff and all using only DMA.
The price PIC32MX695F512H is only about to 7euros/10US$ and we could have a very good Bus Pirate for maybe 50US$.

Best Regards

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01732454688session_write_close ( )...(null):0
20.01762586280ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01762587056Database_MySQL->query( ).../DatabaseHandler.php:119
40.06382725792Database_MySQL->error( ).../Db-mysql.class.php:273