Author Topic: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!  (Read 71202 times)

0 Members and 2 Guests are viewing this topic.

Offline Finbarry

  • Supporter
  • ****
  • Posts: 6
  • Country: de
    • Website of my IT Company
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #100 on: October 23, 2018, 12:35:19 pm »
I've finally had the time to probe around J50.

It is indeed a serial port, running at 3.3V and a baudrate of 115200.

Now comes the best part....

The serial port leads into a ROOT linux console. No password needed.

I'll try to dump the files by using a flash drive. Stay tuned.

Below is the bootloader output and the response when running "whoami":

I've also attached the pinout of the connector.

Code: [Select]
U-Boot 2010.06 (Nov 22 2016 - 16:36:06)

NAND:  Check nand flash controller v610. found
Special NAND id table Version 1.36
Nand ID: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
No NAND device found!!!
0 MiB
Check spi flash controller v350... Found
Spi(cs1) ID: 0xC2 0x20 0x19 0xC2 0x20 0x19
Spi(cs1): Block:64KB Chip:32MB Name:"MX25L 256/257 35 E/F"
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
USB:   scanning bus for devices... 2 USB Device(s) found
0 Storage Device(s) found
32768 KiB hi_sfc at 0:0 is now current device

## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-3.4.35
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2986672 Bytes = 2.8 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.4.35 (root@linux-5w9i) (gcc version 4.8.3 20131202 (prerelease)                                                                                                                  (Hisilicon_v300) ) #2 Fri Jan 13 17:00:54 CST 2017
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: hi3516a
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: mem=128M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfst                                                                                                                 ype=jffs2 mtdparts=hi_sfc:1M(boot),3M(kernel),26M(rootfs)
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 124028k/124028k available, 7044k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc054a000   (5384 kB)
      .init : 0xc054a000 - 0xc056c434   ( 138 kB)
      .data : 0xc056e000 - 0xc059d800   ( 190 kB)
       .bss : 0xc059d824 - 0xc05bc9f8   ( 125 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:128
sched_clock: 32 bits at 49MHz, resolution 20ns, wraps every 86767ms
Console: colour dummy device 80x30
Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys freezer
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x8041e4a8 - 0x8041e500
dummy:
NET: Registered protocol family 16
Serial: AMBA PL011 UART driver
uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 40) is a PL011 rev2
console [ttyAMA0] enabled
uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 41) is a PL011 rev2
bio: create slab <bio-0> at 0
SCSI subsystem initialized
hi-spi-master hi-spi-master.0: with 1 chip select slaves attached
hi-spi-master hi-spi-master.1: with 3 chip select slaves attached
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource timer0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
NFS: Registering the id_resolver key type
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.18)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 242
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
brd: module loaded
Spi id table Version 1.22
Spi(cs1) ID: 0xC2 0x20 0x19 0xC2 0x20 0x19
SPI nor flash boot mode is 3 Bytes
Spi(cs1):
Block:64KB
Chip:32MB
Name:"MX25L(256/257)35(E/F)"
spi size: 32MB
chip num: 1
3 cmdlinepart partitions found on MTD device hi_sfc
3 cmdlinepart partitions found on MTD device hi_sfc
Creating 3 MTD partitions on "hi_sfc":
0x000000000000-0x000000100000 : "boot"
0x000000100000-0x000000400000 : "kernel"
0x000000400000-0x000001e00000 : "rootfs"
Found Nand Flash Controller V610.
Nand ID: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
No NAND device found
Higmac dma_sg_phy: 0x87a00000
higmac_mdio_bus: probed
PHY mdio0:01 not found
ETH0: rgmii, phy_addr=1, mii_name=mdio0
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
hiusb-ehci hiusb-ehci.0: HIUSB EHCI
hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1
hiusb-ehci hiusb-ehci.0: irq 53, io mem 0x100b0000
hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
hiusb-ohci hiusb-ohci.0: HIUSB OHCI
hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus number 2
hiusb-ohci hiusb-ohci.0: irq 54, io mem 0x100a0000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
hisi_i2c hisi_i2c.0: Hisilicon [i2c-0] probed!
hisi_i2c hisi_i2c.1: Hisilicon [i2c-1] probed!
hisi_i2c hisi_i2c.2: Hisilicon [i2c-2] probed!
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
mmc0: new high speed SDXC card at address aaaa
mmcblk0: mmc0:aaaa SE64G 59.4 GiB
 mmcblk0: p1
VFS: Mounted root (jffs2 filesystem) on device 31:2.
Freeing init memory: 136K
usb 2-1: new low-speed USB device number 2 using hiusb-ohci
[RCS]: /etc/init.d/S00devs
input: PixArt USB Optical Mouse as /devices/platform/hiusb-ohci.0/usb2/2-1/2-1:1                                                                                                                 .0/input/input0
generic-usb 0003:093A:2510.0001: input: USB HID v1.11 Mouse [PixArt USB Optical                                                                                                                  Mouse] on usb-hiusb-ohci-1/input0
[RCS]: /etc/init.d/S01udev
Not recognise ACTION:change
Not recognise ACTION:change
Not recognise ACTION:change
[RCS]: /etc/init.d/S80network
[RCS]: /etc/init.d/S90hibernate
Password for 'root' changed
Auto login as root ...
Jan  1 00:00:02 login[905]: root login on 'ttyS000'
Welcome to HiLinux.
None of nfsroot found in cmdline.
~ # His3516a_LoadDrivers Start.....!
Hisilicon Media Memory Zone Manager
Module himedia: init ok
hi3516a_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
load sys.ko for Hi3516A...OK!
load tde.ko ...OK!
load region.ko ....OK!
load vgs.ko for Hi3516A...OK!
ISP Mod init!
load viu.ko for Hi3516A...OK!
load vpss.ko ....OK!
load vou.ko ....OK!
load hifb.ko OK!
load rc.ko for Hi3516A...OK!
load venc.ko for Hi3516A...OK!
load chnl.ko for Hi3516A...OK!
load h264e.ko for Hi3516A...OK!
load h265e.ko for Hi3516A...OK!
load jpege.ko for Hi3516A...OK!
load vda.ko ....OK!
load ive.ko for Hi3516A...OK!
hi3516a_io driver init start
hi3516a_io driver init successful!
af pi level:0
af move steps:300
af move steps:297 3
insmod: can't insert '/komod/extdrv/wdt.ko': No such file or directory
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0050: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0054: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0058: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f005c: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x2003002c: 0x00090007 --> 0x00090007
[END]
mipi_init
init phy power successful!
load hi_mipi driver successful!
hi3516a_io driver init start
His3516a_LoadDrivers Finish.....!
***COPYRIGHT 2016 tagye technology****
software:v2.3.0
DATE:Aug 20 2018,TIME:11:14:14
************************************
linear mode
--IMX290 1080P 60fps LINE Init OK!----
Entering the cmos_fps_set!
vout start finish
Entering the cmos_fps_set!
Entering the cmos_fps_set!
open success:fd0 ===== 3
FBIOPUT_VSCREENINFO over !!!
 read first 128 bytes of EDID ROM
hi_i2c_wait_txfifo_notfull->260:
transmit error, int_raw_status: 0x750!

hi_i2c_wait_txfifo_notfull->262:
tx_abrt_cause is 1.

SpinBoxScaleX:  1
SpinBoxScaleY:  1
SpinBoxScaleX:  10
SpinBoxScaleY:  10

~ # whoami
root
~ #

 
The following users thanked this post: kripton2035, taemun

Offline LapTop006

  • Supporter
  • ****
  • Posts: 467
  • Country: au
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #101 on: October 23, 2018, 12:50:46 pm »
Since that boot lists the SoC, here's the short form datasheet.

From a press release:
Quote
Hisilicon released Hi3516A SoC (System on Chip) which is based on latest H.265/HEVC standard for high definition IP cameras. The Hi3516A adopted Hisilicon H.265/HEVC algorithm, greatly improved image quality to eliminate motion blur, meanwhile reduced 50% bit-rate without compromising the image quality.

Furthermore, Hi3516A utilizes ARM Cortex-A architect, integrated with Hisilicon's 2nd generation intelligent video analysis unit (IVE2.0) to support license plate recognition, perimeter protection, facial recognition, zone alarm...etc more than 40 different kinds of smart video analysis applications.

Through multi-frame combination WDR and Hisilicon's third generation 3D noise reduction technology, although security cameras work in challenge-able lighting condition, it can still provide excellent images. Hi3516A support up to 5 megapixel real time video encoding, utilizing Hisilicon's advanced network transmission technology, the video latency can be achieved below 100ms.
 

Offline Mr.B

  • Supporter
  • ****
  • Posts: 1237
  • Country: nz
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #102 on: October 23, 2018, 07:14:29 pm »

Now comes the best part....

The serial port leads into a ROOT linux console. No password needed.


Now this is going to be exciting...   :popcorn:
I approach the thinking of all of my posts using AI in the first instance. (Awkward Irregularity)
 

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 37626
  • Country: au
    • EEVblog
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #103 on: October 29, 2018, 04:01:52 am »
I tried one of these HDMI splitters and it didn't detect the Eakins  :--
Just like my AVio capture device doesn't detect it.

 

Offline smbaker

  • Regular Contributor
  • *
  • Posts: 211
  • Country: us
    • Scott's Electronics & Sandrail & Old BBS Game Blog
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #104 on: October 30, 2018, 06:09:58 am »
I've had some success connecting an Arduino Pro Micro to the USB port and using it to programmatically turn autofocus on and off by emulating mouse movements and clicks. Eventually I'll try to rig up something nice with some buttons, LEDs, and a jack for a foot switch. A 3-pack of Arduino Pro Micro clones from Amazon was only about twenty bucks.

Although it would be nicer to exploit the serial header that's been discovered, if that turns out to be impractical, this seems like a useful technique to fall back to.

Scott
 

Offline smbaker

  • Regular Contributor
  • *
  • Posts: 211
  • Country: us
    • Scott's Electronics & Sandrail & Old BBS Game Blog
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #105 on: November 03, 2018, 03:43:14 am »
I received the microscope adapters (https://www.aliexpress.com/item/Low-Price-0-5X-C-mount-Lens-Adapter-1-2-CTV-Adapter-For-SZMTV1-2-Trinocular/32814332968.html) that I ordered to hook this up to my trinocular.

* The thread actually fit my amscope (I had my doubts)
* It produced a mostly-usable image (I had my doubts)
* It's very compact
* It's not parfocal with the eyepieces, not even remotely close
* I lost half the working distance of the Amscope
* Autofocus suffers from significant vignetting as one zooms in.

I spoke too soon! I just played around with it fiddling with the adjustment ring on the adapter. I can get it parfocal with the eyepiece, and I can get the working distance equal to that of the eyepiece! I still don't get much usable zoom out of the Amscope though.

Some pictures are attached.
« Last Edit: November 03, 2018, 04:10:23 am by smbaker »
 

Offline orion242

  • Supporter
  • ****
  • Posts: 746
  • Country: us
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #106 on: November 05, 2018, 01:28:05 am »
What microscope head are you using?

I got what looks like the same lens, but there is no way to adapt it the my head.  I have a handful of lenses coming that should work with my setup coming.  Max width I can get with my setup and this 1x lens https://www.amscope.com/accessories/adapter/1x-c-mount-camera-adapter-for-nikon-microscopes-1.html is 1.5CM,

Once I get this cam where I want, I'm upgrading to a real trinok head where all ports have light.  With Amscope, the closest match to what I have now is the SM745TP which still has the same 23mm photo port interface, you must have some threaded port.

The capture problem I have to assume isn't a big hurdle.  It works fine with HDMI monitors I tossed at it, so there must be a capture device that's compatible.
« Last Edit: November 05, 2018, 01:44:05 am by orion242 »
 

Offline smbaker

  • Regular Contributor
  • *
  • Posts: 211
  • Country: us
    • Scott's Electronics & Sandrail & Old BBS Game Blog
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #107 on: November 05, 2018, 05:45:39 am »
What microscope head are you using?

The only reference I have is "3.5X-45X Trinocular Stereo Zoom Microscope on Single Arm Boom      SM-3TX             1  379.00". Typical of Amscope, it's not all that easy to figure out exactly what I have. From what I gathered on Aliexpress, there were two styles of adapters for two different generations of Amscopes. There's the "old" threaded style like mine, and there's a newer bayonet style.

I also have a 0.5X barlow attached to the Amscope, screwed into the very bottom.

A real trinocular head that was live to all three ports all the time would be nice.

Scott
 

Offline kazzle101

  • Contributor
  • Posts: 16
  • Country: gb
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #108 on: November 07, 2018, 09:33:04 am »
Hello
I'm looking to get one of those cameras for my AmScope trinocular microscope, but I have a question: can it output a square 1:1 image using the whole sensor? - my current camera outputs 16:9 and crops the top and bottom.

And here's a handy thing for getting the camera's view similar to that you see through the eye pieces: Focus adjustable 0.35X C mount adapter for New Type of Amscope, the one with the flange rather than screw mount. https://www.aliexpress.com/item/0-35X-focus-adjustable-C-mount-adapter-for-New-type-of-Amscope-s-Trinocular-Stereo-microscope/32830788378.html  For my camera I needed to add a 5mm C-mount extension tube to get the focal distance down to normal. There is a little bit of barrel distortion, but its still much better than the slide tube that comes with the microscope. I first saw it being used by Paul Daniels (not the magician) on his iPhone repair YouTube channel.

On the subject of camera lenses - that is a lens between the camera and the third port. The image you see depends on the sensor size in the camera. A small sensor (around half inch) crops and magnifies the image - so you need a reduction lens, like above. But with an APS-C or Full Frame sensor you need a magnification lens as otherwise you get to see the barrel of the connecting tube.

Karl.
 

Offline knotlogic

  • Regular Contributor
  • *
  • Posts: 189
  • Country: sg
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #109 on: November 08, 2018, 12:13:01 pm »
So what is the soldering experience like under one of these compared to a typical stereo microscope like an amscope? My eyes being what they are, I need bright lights and magnification even to do through-hole soldering these days. As such when I work on a project, I sit hunched over the amscope for a bit and it becomes tedious. The Camera+monitor approach I assume would lessen the need to hunch over. Is a small screen closer to the eyes better, or is a large screen further away better? Does the autofocus try to refocus as one moves the soldering iron about?

I'd be interested in hearing about how useful this is for soldering too.  I'm getting to the point where I'm in the same boat and am in need for a magnifying aid.  How's the display lag, and is there an issue with autofocus jumping around when moving an iron (or worse, braid) under the scope?

Anyone know how the 120x stacks up against the 180x?

Also, I went poking around the Eakins Aliexpress store and it appears they have 4 variants of the camera using the IMX290 sensor.  In addition to the one Dave reviewed, there's a near identical version without the microsd card slot, and then there's this thing.  It also comes with or without the microsd card slot, and appears to have the optics built in.  But what's interesting is the version with microsd has an I/O connector.

They also have two different stand versions.  One with a boom and one without.  That's a lot of options there.
 

Offline orion242

  • Supporter
  • ****
  • Posts: 746
  • Country: us
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #110 on: November 09, 2018, 02:36:11 am »
How's the display lag, and is there an issue with autofocus jumping around when moving an iron (or worse, braid) under the scope?

Hard to see any lag to the display.  AF and soldering would be a PITA without a foot pedal to lock it IMO.

Personally I don't know I could go from stereo vision to a display without a load of practice and really wanting to.  That said, I don't solder 8hrs a day.

Got this lens which works with the newer Amscope camera port. https://www.ebay.com/itm/0-3X-C-mount-Microscope-Adapter-for-CCD-Cmos-Camera-Digital-Eyepiece-Relay-Lens/273459117292?hash=item3fab6efcec:m:mBPSS1sgOSdJT09Djl9ieIg:rk:1:pf:1&frcectupt=true

The lens and its 0.4x brother are crap quality, focus is off on just one side and there seems to be bubbles in the glass that the AF will sometime focus on.  That said 0.3x seems to give me an acceptable magnification range would like even less.  Things are parafocal with the eyepieces.  Getting closer... Will have to try Kazzle's suggestion.
« Last Edit: November 09, 2018, 02:38:03 am by orion242 »
 

Offline smbaker

  • Regular Contributor
  • *
  • Posts: 211
  • Country: us
    • Scott's Electronics & Sandrail & Old BBS Game Blog
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #111 on: November 09, 2018, 05:11:06 am »
I'd be interested in hearing about how useful this is for soldering too.  I'm getting to the point where I'm in the same boat and am in need for a magnifying aid.  How's the display lag, and is there an issue with autofocus jumping around when moving an iron (or worse, braid) under the scope?

There's a little snippet of soldering in my video here, around 12 minutes in:

 

All I soldered was a couple of 0.100" headers. There are two things that struck me: 1) lack of depth perception makes soldering a little more difficult, and 2) the natural human inclination is to look toward what you're working on rather than looking at a screen on the wall. I think with practice you could adapt to both of these differences. I highly recommend getting one of the barlow lenses for it to reduce the magnification and increase the working distance / field of view.

My gut feeling is that my preferred tool for soldering is going to remain my Amscope microscope, and my tool for inspection will shift toward the Eakins (mounted on the Amscope's trinocular photo port).

I have a solution for AF/MF toggle (including a foot pedal). Going to do up a video on that this weekend.
« Last Edit: November 09, 2018, 05:12:48 am by smbaker »
 

Online mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13678
  • Country: gb
    • Mike's Electric Stuff
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #112 on: November 09, 2018, 07:26:09 am »
Has anyone measured the latency, e.g. by pointing the cam at the monitor?
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline orion242

  • Supporter
  • ****
  • Posts: 746
  • Country: us
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #113 on: November 09, 2018, 10:58:53 am »
Has anyone measured the latency, e.g. by pointing the cam at the monitor?

You would have to have a capture device device right?
« Last Edit: November 09, 2018, 11:05:50 am by orion242 »
 

Offline Marc M.

  • Regular Contributor
  • *
  • Posts: 132
  • Country: us
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #114 on: November 09, 2018, 11:45:26 am »
I jumped on the Eakins bandwagon a few weeks ago.  After getting the run around for 2 weeks then it 'accidentally' getting shipped SF Express instead of DHL adding another 2 weeks, I finally received my very own copy.  I went with just the head w/180x lens, the 300x lens, a ring light, and the set of 3 Barlow lenses (.35, .5, 2x).  My bench shelves are made out of 8020 extrusions so I used that to make up a quick overarm to hold the camera.  It keeps the bench clear and allows me to raise the scope over 1m off the bench :-+.  In addition, I 3D printed an adapter to stack the .5x lens on the bottom of the .35x Barlow.  With that combination and my camera at the ceiling I can get a 130mm (5") FOV, although zoom is limited by the distance between the 2 stacked lenses.  For my needs, the 180x lens with the .35x Barlow provide an adequate range for routine PCB stuff.

The UI is just painful to use.  The mouse is way too sensitive and I had an extremely difficult time keeping it on the focus scroll bar while using the scroll wheel.  I had the same idea as smbaker to use Pro Micro's due to their small size and ability to act a mouse.  I used a rotary encoder for changing values in the scroll bars, a BCD coded switch to select the various functions, 3 pb switches to act a soft keys, and of course the ubiquitous 16x2 LCD for the display.  I had  a difficult time getting things to work at first.  I finally figured out that the camera is very slow and was simply missing events if I sent them at full speed.  Every mouse move or click event has a delay between it and the next event.  It still misses things now and then and gets out of sync, but selecting something else usually gets it in line.  I have the majority of the items on the camera menu implemented and most of it works well despite the clunky way I'm going about it.  I'm waiting on some prototyping PCBs to show up so I can get it off the breadboard and into a case.
Don't replace the cap, just empty the filter!
 

Offline smbaker

  • Regular Contributor
  • *
  • Posts: 211
  • Country: us
    • Scott's Electronics & Sandrail & Old BBS Game Blog
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #115 on: November 10, 2018, 04:33:37 am »
I had the same idea as smbaker to use Pro Micro's due to their small size and ability to act a mouse.

I finished building and trying out mine today. I too had to play with delays a bit to make the whole thing reliable, but at this point it seems to be pretty solid. My UI consists of 5 buttons, an LED, and an optional foot pedal. I did briefly consider adding a display (I have a pinout for an e-paper display; I seem to be into e-paper these days!) but couldn't come up with a good motivating reason. Here's my video:

 
The following users thanked this post: thm_w, orion242, salvagedcircuitry, wile1411

Offline Mr.B

  • Supporter
  • ****
  • Posts: 1237
  • Country: nz
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #116 on: November 11, 2018, 02:32:06 am »
Very impressed @smbaker
I think I have a Digispark AtTiny85 lying about in a junk box somewhere.
It is likely the only pre-built MCU module I have that supports USB directly.
I think it only has 4 I/O when USB is in use, so I will have to settle for AutoManual, FocusNow, Picture and an LED.
Looks like it might support emulating a mouse.
I approach the thinking of all of my posts using AI in the first instance. (Awkward Irregularity)
 

Offline orion242

  • Supporter
  • ****
  • Posts: 746
  • Country: us
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #117 on: November 12, 2018, 01:53:42 am »
I finished building and trying out mine today. I too had to play with delays a bit to make the whole thing reliable, but at this point it seems to be pretty solid.

Where can I get one?
 

Offline taemun

  • Regular Contributor
  • *
  • Posts: 110
  • Country: au
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #118 on: November 19, 2018, 01:35:07 pm »
I've finally had the time to probe around J50.

It is indeed a serial port, running at 3.3V and a baudrate of 115200.

Now comes the best part....

The serial port leads into a ROOT linux console. No password needed.

I'll try to dump the files by using a flash drive. Stay tuned.

Below is the bootloader output and the response when running "whoami":

I've also attached the pinout of the connector.

Code: [Select]
U-Boot 2010.06 (Nov 22 2016 - 16:36:06)

NAND:  Check nand flash controller v610. found
Special NAND id table Version 1.36
Nand ID: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
No NAND device found!!!
0 MiB
Check spi flash controller v350... Found
Spi(cs1) ID: 0xC2 0x20 0x19 0xC2 0x20 0x19
Spi(cs1): Block:64KB Chip:32MB Name:"MX25L 256/257 35 E/F"
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
USB:   scanning bus for devices... 2 USB Device(s) found
0 Storage Device(s) found
32768 KiB hi_sfc at 0:0 is now current device

## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-3.4.35
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2986672 Bytes = 2.8 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.4.35 (root@linux-5w9i) (gcc version 4.8.3 20131202 (prerelease)                                                                                                                  (Hisilicon_v300) ) #2 Fri Jan 13 17:00:54 CST 2017
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: hi3516a
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: mem=128M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfst                                                                                                                 ype=jffs2 mtdparts=hi_sfc:1M(boot),3M(kernel),26M(rootfs)
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 124028k/124028k available, 7044k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc054a000   (5384 kB)
      .init : 0xc054a000 - 0xc056c434   ( 138 kB)
      .data : 0xc056e000 - 0xc059d800   ( 190 kB)
       .bss : 0xc059d824 - 0xc05bc9f8   ( 125 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:128
sched_clock: 32 bits at 49MHz, resolution 20ns, wraps every 86767ms
Console: colour dummy device 80x30
Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys freezer
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x8041e4a8 - 0x8041e500
dummy:
NET: Registered protocol family 16
Serial: AMBA PL011 UART driver
uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 40) is a PL011 rev2
console [ttyAMA0] enabled
uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 41) is a PL011 rev2
bio: create slab <bio-0> at 0
SCSI subsystem initialized
hi-spi-master hi-spi-master.0: with 1 chip select slaves attached
hi-spi-master hi-spi-master.1: with 3 chip select slaves attached
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource timer0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
NFS: Registering the id_resolver key type
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.18)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 242
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered (default)
io scheduler cfq registered
brd: module loaded
Spi id table Version 1.22
Spi(cs1) ID: 0xC2 0x20 0x19 0xC2 0x20 0x19
SPI nor flash boot mode is 3 Bytes
Spi(cs1):
Block:64KB
Chip:32MB
Name:"MX25L(256/257)35(E/F)"
spi size: 32MB
chip num: 1
3 cmdlinepart partitions found on MTD device hi_sfc
3 cmdlinepart partitions found on MTD device hi_sfc
Creating 3 MTD partitions on "hi_sfc":
0x000000000000-0x000000100000 : "boot"
0x000000100000-0x000000400000 : "kernel"
0x000000400000-0x000001e00000 : "rootfs"
Found Nand Flash Controller V610.
Nand ID: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
No NAND device found
Higmac dma_sg_phy: 0x87a00000
higmac_mdio_bus: probed
PHY mdio0:01 not found
ETH0: rgmii, phy_addr=1, mii_name=mdio0
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
hiusb-ehci hiusb-ehci.0: HIUSB EHCI
hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1
hiusb-ehci hiusb-ehci.0: irq 53, io mem 0x100b0000
hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
hiusb-ohci hiusb-ohci.0: HIUSB OHCI
hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus number 2
hiusb-ohci hiusb-ohci.0: irq 54, io mem 0x100a0000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
hisi_i2c hisi_i2c.0: Hisilicon [i2c-0] probed!
hisi_i2c hisi_i2c.1: Hisilicon [i2c-1] probed!
hisi_i2c hisi_i2c.2: Hisilicon [i2c-2] probed!
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
mmc0: new high speed SDXC card at address aaaa
mmcblk0: mmc0:aaaa SE64G 59.4 GiB
 mmcblk0: p1
VFS: Mounted root (jffs2 filesystem) on device 31:2.
Freeing init memory: 136K
usb 2-1: new low-speed USB device number 2 using hiusb-ohci
[RCS]: /etc/init.d/S00devs
input: PixArt USB Optical Mouse as /devices/platform/hiusb-ohci.0/usb2/2-1/2-1:1                                                                                                                 .0/input/input0
generic-usb 0003:093A:2510.0001: input: USB HID v1.11 Mouse [PixArt USB Optical                                                                                                                  Mouse] on usb-hiusb-ohci-1/input0
[RCS]: /etc/init.d/S01udev
Not recognise ACTION:change
Not recognise ACTION:change
Not recognise ACTION:change
[RCS]: /etc/init.d/S80network
[RCS]: /etc/init.d/S90hibernate
Password for 'root' changed
Auto login as root ...
Jan  1 00:00:02 login[905]: root login on 'ttyS000'
Welcome to HiLinux.
None of nfsroot found in cmdline.
~ # His3516a_LoadDrivers Start.....!
Hisilicon Media Memory Zone Manager
Module himedia: init ok
hi3516a_base: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
load sys.ko for Hi3516A...OK!
load tde.ko ...OK!
load region.ko ....OK!
load vgs.ko for Hi3516A...OK!
ISP Mod init!
load viu.ko for Hi3516A...OK!
load vpss.ko ....OK!
load vou.ko ....OK!
load hifb.ko OK!
load rc.ko for Hi3516A...OK!
load venc.ko for Hi3516A...OK!
load chnl.ko for Hi3516A...OK!
load h264e.ko for Hi3516A...OK!
load h265e.ko for Hi3516A...OK!
load jpege.ko for Hi3516A...OK!
load vda.ko ....OK!
load ive.ko for Hi3516A...OK!
hi3516a_io driver init start
hi3516a_io driver init successful!
af pi level:0
af move steps:300
af move steps:297 3
insmod: can't insert '/komod/extdrv/wdt.ko': No such file or directory
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0050: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0054: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0058: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f005c: 0x00000000 --> 0x00000001
[END]
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x2003002c: 0x00090007 --> 0x00090007
[END]
mipi_init
init phy power successful!
load hi_mipi driver successful!
hi3516a_io driver init start
His3516a_LoadDrivers Finish.....!
***COPYRIGHT 2016 tagye technology****
software:v2.3.0
DATE:Aug 20 2018,TIME:11:14:14
************************************
linear mode
--IMX290 1080P 60fps LINE Init OK!----
Entering the cmos_fps_set!
vout start finish
Entering the cmos_fps_set!
Entering the cmos_fps_set!
open success:fd0 ===== 3
FBIOPUT_VSCREENINFO over !!!
 read first 128 bytes of EDID ROM
hi_i2c_wait_txfifo_notfull->260:
transmit error, int_raw_status: 0x750!

hi_i2c_wait_txfifo_notfull->262:
tx_abrt_cause is 1.

SpinBoxScaleX:  1
SpinBoxScaleY:  1
SpinBoxScaleX:  10
SpinBoxScaleY:  10

~ # whoami
root
~ #



I'm intrigued - did you ever dump the flash?
 

Offline Rachie5272

  • Regular Contributor
  • *
  • Posts: 176
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #119 on: November 29, 2018, 02:06:48 am »
I connected to the serial console, and managed to copy what appears to be the main program, and a couple other files also in the /opt/ directory.  If anyone knows a good method to dump the entire flash, I will gladly do so and post any findings here.

I'm working on setting up a USB->ethernet dongle, so I can connect with SSH.

Can anyone find a full datasheet for the Hi3516A processor?  It looks like there's ethernet onboard.
« Last Edit: November 29, 2018, 02:55:42 am by Rachie5272 »
 

Offline wile1411

  • Newbie
  • Posts: 4
  • Country: au
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #120 on: November 29, 2018, 09:57:42 am »
I had the same idea as smbaker to use Pro Micro's due to their small size and ability to act a mouse.

I finished building and trying out mine today. I too had to play with delays a bit to make the whole thing reliable, but at this point it seems to be pretty solid. My UI consists of 5 buttons, an LED, and an optional foot pedal. I did briefly consider adding a display (I have a pinout for an e-paper display; I seem to be into e-paper these days!) but couldn't come up with a good motivating reason. Here's my video:


Thanks so much this project idea. This was so awesome, it's on my short list to apply to my microscope as well.

Quick question for other owners of the Eakins microscope. Is anyone using the supplied small LCD monitor that came with the kit?
If so, do you have any pictures for how you've mounted it to the stand? I can't for the life of me work out how it mounts on the black horizontal bar with holes in it.

The monitor comes with a a massive sticker and wall mount to attach it to a flat vertical surface. How is it supposed to connect to the supplied stand?
« Last Edit: November 29, 2018, 01:24:39 pm by wile1411 »
 

Offline Rachie5272

  • Regular Contributor
  • *
  • Posts: 176
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #121 on: November 30, 2018, 06:23:56 am »
I'm using the monitor and stand.  I'm not using the sticker or wall mount bracket at all.  I'll try to remember to take pictures tomorrow.

I discovered something interesting when looking at strings in the "myTest_8.17" executable:
www.seekscope.com

Just a random URL which leads to an awful website for a microscope company.  Searching their name leads to a slightly better website:
http://isscope.com/

I think we're getting closer to finding the OEM.
 
The following users thanked this post: wile1411

Offline wile1411

  • Newbie
  • Posts: 4
  • Country: au
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #122 on: November 30, 2018, 11:59:51 pm »
I'm using the monitor and stand.  I'm not using the sticker or wall mount bracket at all.  I'll try to remember to take pictures tomorrow.

Awesome! The closest I've got to getting it attached it rotating the whole so they are vertical and using the too long bolt to thread into the bottom of the monitor. But seems flimsy as all get out. :palm:
 

Offline Rachie5272

  • Regular Contributor
  • *
  • Posts: 176
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #123 on: December 01, 2018, 08:10:47 pm »
Sorry, I didn't remember to take pictures of the setup.  I'll try Monday.

More research reveals two things: the Hi3516A processor requires an extra chip for ethernet, and the filesystem is currently not persistent.  There must be some special way to write to the flash, and I'm guessing the entire filesystem as presented is actually in RAM.
 

Offline dav888

  • Contributor
  • Posts: 31
  • Country: se
  • various artists
Re: EEVblog #1125 - Amazing $500 Soldering/Inspection Microscope!
« Reply #124 on: December 02, 2018, 01:53:58 pm »
Anyone tried swapping the actual camera to something like a Sony Alpha 5100?

Just thinking it would be more convenient as the sony could capture to it's local SD-card or via Wifi.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf