Notifications
Clear all

Stepper, LED-Ring und 2. Laser laufen nicht  

Page 1 / 4

archeotron
Posts: 17
(@archeotron)
Active Member
Joined: 6 months ago

Hallo,

ich muss erst mal sagen das es ein echt schönes Projekt ist und da auch schon viel Entwicklungsarbeit drin steckt, Rspect!
Ich habe mir die Tage ein Fabscan-HAT kommen lassen.
Ich hatte damit scheinbar die gleichen Probleme, wie Andere hier und musste die Firmware aufgrund von Verbindungsproblemen neu flashen.
Hat auch bisher alles geklappt, der HAT wird laut Log erkannt, die Cam läuft und Zugriff auf den Web-Server ist auch da.
Aber Stepper laufen auf keinem Kanal, genauso wenig wie Servos (weder beim aufschalten auf den Web-Server, noch bei Kalibrierung, noch bei einem Scan). Habe in der Config 6400 und 3200 Stepps versucht, ohne jeglichen Erfolg. Auch der zweite Laser will nicht an gehen (habe die Laser auch mal getauscht, funktionieren beide), genauso wie der LED-Ring nicht an schaltet.

Die Lötstellen habe ich mittlerweile zwei mal nachgebessert und soweit auf Kontakt durchgemessen, die haben alle Kontakt.
Irgendwelche Ideen woran das liegen kann???

 

Viele Grüße

Reply
20 Replies
archeotron
Posts: 17
(@archeotron)
Active Member
Joined: 6 months ago

All same Time in English:

I apparently had the same problems as others here and had to re-flash the firmware due to connection problems.
Has everything worked so far, the HAT is recognized according to the log, the cam is running and access to the web server is also there.
But steppers do not run on any channel, neither do servos (neither when connecting to the web server, nor during calibration, nor during a scan). I tried 6400 and 3200 steps in the config, without any success. The second laser does not want to go on either (I have changed the lasers, they both work), just like the LED ring does not turn on.

In the meantime, I have touched up the soldering points twice and measured them for contact as far as possible.
Any ideas what could be ???

Here is my Log:
2020-02-15 11:59:52,300 - fabscan.FSScanner - DEBUG - CPU Temperature: 39.01 C
2020-02-15 12:00:10,247 - fabscan.lib.util.FSUtil - DEBUG - System Exit initiated...
2020-02-15 12:00:10,252 - fabscan.server.FSScanServer - DEBUG - Waiting for Webserver exit...
2020-02-15 12:00:10,612 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - M18;
2020-02-15 12:00:10,938 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - G07;
2020-02-15 12:00:12,944 - fabscan.server.FSScanServer - DEBUG - Waiting for Scanner exit...
2020-02-15 12:00:12,968 - fabscan.server.FSScanServer - INFO - FabScan Server Exit. Bye!
2020-02-15 12:01:27,493 - fabscan.server.FSScanServer - INFO - FabScanPi-Server 0.8.2
2020-02-15 12:01:27,508 - fabscan.scanner.interfaces - DEBUG - Scanner Type is: laserscanner
2020-02-15 12:01:30,756 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Port in Config found
2020-02-15 12:01:30,768 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Latest available firmware version is: v.20190811
2020-02-15 12:01:33,544 - fabscan.lib.util.FSUtil - INFO - avrdude-original: Using autoreset DTR on GPIO Pin 7
2020-02-15 12:01:34,223 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Trying to connect Arduino on port: /dev/ttyAMA0
2020-02-15 12:01:37,239 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Installed firmware version: v.20190811
2020-02-15 12:01:37,241 - fabscan.scanner.laserscanner.driver.FSSerial - INFO - FabScanPi is connected to FabScanPi HAT or compatible on port: /dev/ttyAMA0
2020-02-15 12:01:39,260 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Connection baudrate is: 57600
2020-02-15 12:01:39,268 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - Firmware flashing baudrate is: 57600
2020-02-15 12:01:39,272 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Reset FabScanPi HAT...
2020-02-15 12:01:39,604 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - M18;
2020-02-15 12:01:39,934 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - G07;
2020-02-15 12:01:40,438 - fabscan.scanner.laserscanner.driver.FSCamera - DEBUG - Cam Stream with Resolution (800, 600) stopped
2020-02-15 12:01:40,441 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Reset FabScanPi HAT...
2020-02-15 12:01:40,774 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - M18;
2020-02-15 12:01:41,104 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - G07;
2020-02-15 12:01:41,107 - fabscan.scanner.laserscanner.FSHardwareController - DEBUG - Hardware controller initialized...
2020-02-15 12:01:42,704 - fabscan.scanner.laserscanner.FSScanProcessor - INFO - Laser Scan Processor initilized...FSScanProcessor (urn:uuid:03c0b69b-a8a7-4818-b7d1-332f7fd2b7ab)
2020-02-15 12:01:42,727 - fabscan.server.FSWebServer - DEBUG - /usr/share/fabscanpi/
2020-02-15 12:01:42,896 - fabscan.FSScanner - INFO - Job scheduler started.
2020-02-15 12:01:42,898 - fabscan.FSScanner - INFO - Scanner initialized...
2020-02-15 12:01:42,901 - fabscan.FSScanner - INFO - Number of cpu cores: 1
2020-02-15 12:01:42,936 - fabscan.lib.util.FSDiscovery - INFO - Registering ip 192.168.22.208 to discovery service.
2020-02-15 12:01:43,866 - fabscan.lib.util.FSDiscovery - INFO - Successfully registered to find.fabscan.org
2020-02-15 12:01:44,445 - fabscan.FSScanner - INFO - Added discovery scheduling job.
2020-02-15 12:02:44,467 - fabscan.FSScanner - DEBUG - CPU Temperature: 40.62 C
2020-02-15 12:03:44,467 - fabscan.FSScanner - DEBUG - CPU Temperature: 40.08 C
2020-02-15 12:04:44,474 - fabscan.FSScanner - DEBUG - CPU Temperature: 40.08 C

and my Config:
{
"folders": {
"www": "/usr/share/fabscanpi/",
"scans": "/home/pi/scans/"
},
"online_lookup_ip": "8.8.8.8",
"laser": {
"color": "R (RGB)",
"numbers": 2,
"interleaved": "False"
},
"scanner_type": "laserscanner",
"calibration": {
"weight_matrix": [],
"dist_camera_matrix": [],
"pattern": {
"square_size": 10,
"rows": 6,
"columns": 8,
"origin_distance": 37.2
},
"camera_matrix": [],
"distortion_vector": [],
"laser_planes": [
{
"deviation": 0,
"distance": 0,
"normal": []
},
{
"deviation": 0,
"distance": 0,
"normal": []
}
],
"platform_translation": [],
"platform_rotation": []
},
"keep_raw_images": "True",
"meshlab": {
"path": "/usr/bin/"
},
"process_numbers": 3,
"turntable": {
"steps": 6400,
"radius": 70,
"height": 155
},
"camera": {
"rotate": "True",
"resolution": {
"width": 2592,
"height": 1944
},
"vflip": "False",
"undistort": "False",
"preview_resolution": {
"width": 800,
"height": 600
},
"hflip": "True",
"type": "PICAM"
},
"discoverable": "True",
"serial": {
"plattform_type": "fabscanpi",
"baudrate": 57600,
"autoflash": "True",
"port": "/dev/ttyAMA0",
"flash_baudrate": 57600
},
"texture_illumination": 40
}




Best Regards
 
Reply
archeotron
Posts: 17
(@archeotron)
Active Member
Joined: 6 months ago

When I go on the Web-Server, this comes in the Log:

2020-02-15 12:12:46,109 - fabscan.server.services.websocket.FSWebSocketHandler - DEBUG - New client connected
2020-02-15 12:12:47,005 - fabscan.FSScanner - DEBUG - Upgrade available: False 0.8.2
2020-02-15 12:12:47,015 - fabscan.scanner.laserscanner.FSScanProcessor - DEBUG - Checking Hardware connections
2020-02-15 12:12:56,908 - fabscan.scanner.laserscanner.driver.FSCamera - DEBUG - Cam Stream with Resolution (800, 600) started
2020-02-15 12:12:57,296 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - M21;
2020-02-15 12:13:02,593 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - M05 R0 G0 B0;
2020-02-15 12:13:02,817 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - M05 R0 G0 B0;
2020-02-15 12:13:11,102 - fabscan.FSScanner - DEBUG - CPU Temperature: 46.54 C
2020-02-15 12:13:28,817 - fabscan.FSScanner - DEBUG - Close Settings
2020-02-15 12:13:29,166 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - M18;
2020-02-15 12:13:29,497 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - G07;
2020-02-15 12:13:29,888 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - M05 R0 G0 B0;
2020-02-15 12:13:30,217 - fabscan.scanner.laserscanner.driver.FSSerial - DEBUG - M22;
2020-02-15 12:13:30,838 - fabscan.scanner.laserscanner.driver.FSCamera - DEBUG - Cam Stream with Resolution (800, 600) stopped

Reply
archeotron
Posts: 17
(@archeotron)
Active Member
Joined: 6 months ago

I have ordered me new Steppers (Nema 17 12V 0,4A 3200Stepps) with Drivers, but they also show no function on the FabSac-Hat...

Have anybody an idea????

Reply
mario
Posts: 442
Admin
(@mario)
Member
Joined: 2 years ago

Can you please share some pictures of your wiring? It is unlikely that the motor is dead. Those errors are mostly caused by one of these issues: 

  • wrong wiring
  • bad solder joints
  • corrupt motor driver
  • wrong motor current (related to motor driver poti)
  • motor is not connected to 12v power supply

 

Reply
Page 1 / 4
Share: