Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Having problems detecting the Arduino?: Checking things
04-09-2019, 12:07 PM
Post: #11
RE: Having problems detecting the Arduino?: Checking things
Sphere-O-Bot Arduino Leonardo does not connect to InkScape on one computer running Windows 10. The EggBot extension is available but InkScape does not see it.
I can use the Arduino IDE serial monitor window and send the SM,2000,0,-200 command and Shere-O-Bot head motor drives.
When I try to use the EggBot extension in InkScape I get the following message:
Traceback (most recent call last): (Yes, I have changed the eggbot.py file with the one mentioned in other places on this forum.

File "eggbot.py", line 1406, in <module>
e.affect()
File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 268, in affect
self.effect()
File "eggbot.py", line 318, in effect

self.EggbotOpenSerial()
File "eggbot.py", line 1299, in EggbotOpenSerial
self.serialPort = self.getSerialPort()
File "eggbot.py", line 1356, in getSerialPort
for strComPort in eggbot_scan.findEiBotBoards():
File "C:\Program Files\Inkscape\share\extensions\eggbot_scanwin32.py", line 6, in findEiBotBoards
hKey = _winreg.OpenKey( hReg, r"SYSTEM\CurrentControlSet\Enum\USB\VID_04D8&PID_FD92" )
WindowsError: [Error 2] The system cannot find the file specified

I have replaced the eggbot.py with the one recomended in another thread on this forum. I have also made sure the serial port is com 2 and is at 9600,8,none,1 and none for the flow control.

Again the motor does drive in the serial monitor window of the arduino ide.

help please.
Find all posts by this user
Quote this message in a reply
04-09-2019, 02:50 PM
Post: #12
RE: Having problems detecting the Arduino?: Checking things
I have had this issue and now have it resolved.
I deleted all of the eggbot files on my computer. I uninstalled the 64bit version of InkScape.
To fix the issue I installed the 32 bit version of Inkscape. Then I installed the EggBot Software: version 2.4.0. Once that was installed I changed the eggbot.py file as indicated here: http://forums.jjrobots.com/showthread.php?tid=1199. I then went into the device manager and changed the serial port to com 2 from com 17 for the Arduino Leonardo. At this point I rebooted the computer. After the reboot Inkscape recognized the Shero-O-Bot hardware and works.
I am running Windows 10 on an Intel I7 64bit with 32gb ram and an 8gb video card. The Shere-O-Bot hardware does not like the 64bit version of Inkskape and the eggbot.py python file needs to be replaced. Also make sure your serial port is below 4 or below on the com ports.
Find all posts by this user
Quote this message in a reply
03-17-2020, 06:17 PM
Post: #13
RE: Having problems detecting the Arduino?: Checking things
Hello All,

I'm a newbie on this forum.


I just received my kit two weeks ago.
Now i'm trying to upload the code to the card. But this one remains silent.

That is to say that the Arduino IDE recognizes it, I upload and then nothing happens. when I enter the SM,2000,0,-200 command, nothing happens at all...

I tried to write a little code test :

Code:
void setup() {  
  Serial.begin(9600);

  Serial.print("Hello world");
}

upload success but in the the serial monitor, nothing appear...

Some one could help me ?

Thanks,
Find all posts by this user
Quote this message in a reply
03-17-2020, 06:51 PM
Post: #14
RE: Having problems detecting the Arduino?: Checking things
(03-17-2020 06:17 PM)c_g_nial Wrote:  Hello All,

I'm a newbie on this forum.


I just received my kit two weeks ago.
Now i'm trying to upload the code to the card. But this one remains silent.

That is to say that the Arduino IDE recognizes it, I upload and then nothing happens. when I enter the SM,2000,0,-200 command, nothing happens at all...

I tried to write a little code test :

Code:
void setup() {  
  Serial.begin(9600);

  Serial.print("Hello world");
}

upload success but in the the serial monitor, nothing appear...

Some one could help me ?

Thanks,

Are you setting the BAUDS speed to the correct value? When you upload the Sphere-o-bot code (where are you getting it from?), do you get any error or warning message?
Are you trying to control the Robot using the latest INKSCAPE portable version? https://www.jjrobots.com/wp-content/uplo...-o-bot.zip
Visit this user's website Find all posts by this user
Quote this message in a reply
03-17-2020, 08:00 PM
Post: #15
RE: Having problems detecting the Arduino?: Checking things
Hi,

Yes I set the speed of the serial monitor to 9600 like in the code.
I think upload succeed, there is no error on Arduino IDE. Tomorrow I will publish a screen shot of the upload report.
In Inkscape, when I try to control Sphere'o'bot I have a message like : "failed to connect to eggbotSad"
Find all posts by this user
Quote this message in a reply
03-18-2020, 09:31 AM
Post: #16
RE: Having problems detecting the Arduino?: Checking things
Hi,

Here is the log from Arduino IDE for upload :

Atmel SMART device 0x10010005 found
Device : ATSAMD21G18A
Chip ID : 10010005
Version : v2.0 [Arduino:XYZ] Dec 20 2016 15:36:39
Address : 8192
Pages : 3968
Page Size : 64 bytes
Total Size : 248KB
Planes : 1
Lock Regions : 16
Locked : none
Security : false
Boot Flash : true
BOD : true
BOR : true
Arduino : FAST_CHIP_ERASE
Arduino : FAST_MULTI_PAGE_WRITE
Arduino : CAN_CHECKSUM_MEMORY_BUFFER
Erase flash
done in 0.844 seconds

Write 26516 bytes to flash (415 pages)

[==== ] 15% (64/415 pages)
[========= ] 30% (128/415 pages)
[============= ] 46% (192/415 pages)
[================== ] 61% (256/415 pages)
[======================= ] 77% (320/415 pages)
[=========================== ] 92% (384/415 pages)
[==============================] 100% (415/415 pages)
done in 0.193 seconds

Verify 26516 bytes of flash with checksum.
Verify successful
done in 0.039 seconds
CPU reset.

I'm working on port COM 2. Upload seems OK

But nothing happens with serial monitor and inkscape...

ConfusedConfusedConfused
Find all posts by this user
Quote this message in a reply
03-18-2020, 04:16 PM
Post: #17
RE: Having problems detecting the Arduino?: Checking things
(03-18-2020 09:31 AM)c_g_nial Wrote:  Hi,

Here is the log from Arduino IDE for upload :

Atmel SMART device 0x10010005 found
Device : ATSAMD21G18A
Chip ID : 10010005
Version : v2.0 [Arduino:XYZ] Dec 20 2016 15:36:39
Address : 8192
Pages : 3968
Page Size : 64 bytes
Total Size : 248KB
Planes : 1
Lock Regions : 16
Locked : none
Security : false
Boot Flash : true
BOD : true
BOR : true
Arduino : FAST_CHIP_ERASE
Arduino : FAST_MULTI_PAGE_WRITE
Arduino : CAN_CHECKSUM_MEMORY_BUFFER
Erase flash
done in 0.844 seconds

Write 26516 bytes to flash (415 pages)

[==== ] 15% (64/415 pages)
[========= ] 30% (128/415 pages)
[============= ] 46% (192/415 pages)
[================== ] 61% (256/415 pages)
[======================= ] 77% (320/415 pages)
[=========================== ] 92% (384/415 pages)
[==============================] 100% (415/415 pages)
done in 0.193 seconds

Verify 26516 bytes of flash with checksum.
Verify successful
done in 0.039 seconds
CPU reset.

I'm working on port COM 2. Upload seems OK

But nothing happens with serial monitor and inkscape...

ConfusedConfusedConfused
Did you check the BAUDs rate on the Arduino IDE serial monitor? Try with 115200
Where did you get the Arduino code from?
Visit this user's website Find all posts by this user
Quote this message in a reply
03-19-2020, 12:29 PM
Post: #18
RE: Having problems detecting the Arduino?: Checking things
Try restarting your computer. It looks like the COM port is busy? Maybe Arduino IDE is using the port not letting you to control the Sphere-o-bot from Inkscape
Visit this user's website Find all posts by this user
Quote this message in a reply
03-19-2020, 01:51 PM (This post was last modified: 03-19-2020 03:14 PM by c_g_nial.)
Post: #19
RE: Having problems detecting the Arduino?: Checking things
Hi,

I restarted my computer. The behavior is still the same "Unable to find an Eggbot on any serial port. Sad"

On device manager, i see ARDUINO ZERO (COM1)


Are we sure that eggbot script is compatible with windows 64 bits ?

News : I'm still investigate on my problem : I print some trace on eggbot.py. It seems command "serialPort.write('v\r')" doesn't work.
I restart again my computer : no change.
I don't understand : eggbot.py is not able to write on port COM1 but Arduino IDE succeed... any ideas?
Find all posts by this user
Quote this message in a reply
03-19-2020, 05:31 PM
Post: #20
RE: Having problems detecting the Arduino?: Checking things
IT WORKS !!!!!!

I uninstall my inkscape version and install the 32bit version.

Now communication between inkscape and eggbot works well.

Thanks you for your help.

If necessary I could delete my message and only keep the conclusion. say me
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: