Notifications
Clear all

Using Rpi + Arduino with latest image, no success


Basim
Posts: 6
Topic starter
(@basim)
Active Member
Joined: 3 years ago

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. 

Reply
7 Replies
mario
Posts: 566
Admin
(@mario)
Member
Joined: 4 years ago

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

Reply
Basim
(@basim)
Joined: 3 years ago

Active Member
Posts: 6

@mario

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

Reply
Basim
Posts: 6
Topic starter
(@basim)
Active Member
Joined: 3 years ago

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 

Reply
mario
Admin
(@mario)
Joined: 4 years ago

Member
Posts: 566
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 ). 

Reply
Basim
(@basim)
Joined: 3 years ago

Active Member
Posts: 6

@mario

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

Reply
mario
Admin
(@mario)
Joined: 4 years ago

Member
Posts: 566

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

Reply
Basim
(@basim)
Joined: 3 years ago

Active Member
Posts: 6

@mario

I will be doing that soon.

Reply
Share: