Using Rpi + Arduino with latest image, no success  

  RSS
Basim
(@basim)
Active Member

Im using Rp 3 B+ with Arduino and using circuit or pins as defined in Fabscan pi Shield(from ur github). But it checking the firmware of arduino but not flashing.  In log it says, Current Firmware: None, No Arduino or Compatible device found.

I can ping to pi and server also starts but can't reach to the Interface through IP. 

Quote
Posted : 16/07/2019 3:19 pm
mario
(@mario)
Member Admin

If you are using an Arduino you need to change the serial port in the default.config.json. In general you need to change from /dev/ttyAMA0 to /dev/ttyUSB0

ReplyQuote
Posted : 16/07/2019 7:46 pm
Basim
(@basim)
Active Member

@mario

tried ttyUSB0 but ttyACM0 worked for me, now stepper and laser is working on clicking that setting, now i have to callibrate. Thanks

ReplyQuote
Posted : 21/07/2019 7:43 pm
Basim
(@basim)
Active Member

Another question i want to ask, can i use simple white LED instead of WS2812 ? i will attach a switch to turn it on and off 

ReplyQuote
Posted : 21/07/2019 8:49 pm
mario
(@mario)
Member Admin
Posted by: @basim

Another question i want to ask, can i use simple white LED instead of WS2812 ? i will attach a switch to turn it on and off 

Sorry but it is not that easy. Because the LED's are also controlled by the FabScanPi HAT. The scanner needs to be able to turn it on an off for different scan processes. During the plain object scan (geometry) there is no light. But while the texture scan is performed the lights are turned on. When the lights are turned on during the object scan the scan process wouldn't work. 

If you really want to use a normal led you also need to connect the LED to one of the HATS's free Pin's (there are a lot e.g. an unused Motor port) and finally you need to add this option to the firmware to make it controllable. At the end the FabScanPi-Server code will need a small adjustment for controlling this pin ( in the led driver ). 

ReplyQuote
Posted : 22/07/2019 6:39 am
Basim
(@basim)
Active Member

@mario

Got it. I will try if I couldn't find that LED ring. Thanks.

ReplyQuote
Posted : 22/07/2019 9:15 am
mario
(@mario)
Member Admin

@basim you can also use  a part of an WS2812 based LED stripe. 

ReplyQuote
Posted : 22/07/2019 9:49 am
Basim
(@basim)
Active Member

@mario

I will be doing that soon.

ReplyQuote
Posted : 24/07/2019 4:28 am
Share: