π
<-
Chat plein-écran
[^]

Lua ASI not detecting device

Pour TI-Nspire OS 3.0 ou ultérieur.

Lua ASI not detecting device

Unread postby volkov » 04 Feb 2023, 00:02

I was trying to follow this: https://ticalc.org/archives/files/filei ... 46659.html
,but since i don’t have an arduino micro/leonardo, I wanted to try making this with an esp32 ( cp2102 usb2uart bridge ). I was able to change the vid / pid of the device to match the values in the README ( 0x0451 and 0xBEF3 ) but the device isn’t detected by the nspire. Maybe it’s my cable that’s faulty, but it seems fine ( i checked that every pin is connected properly to the other side with a multimeter ). has anyone else tried this, even with an arduino micro/leonardo?
Also used tried this to look for connections: https://ticalc.org/archives/files/filei ... 46657.html

Ti-Nspire CX II-T
Software version 5.4
Lua API version 2.7 ( asi library is included since 2.7 )
User avatar
volkov
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Level up: 0%
 
Posts: 5
Joined: 03 Feb 2023, 23:39
Gender: Not specified
Calculator(s):
MyCalcs profile
GitHub: Volkov08

Re: Lua ASI not detecting device

Unread postby Adriweb » 04 Feb 2023, 00:08

It would be interesting to try on a recent OS (like 5.4 or 6.0) on a CX II, a previously-known-working configuration ("Arduino Leonardo (after faking the USB VID+PID with the MSP432 values : 0x0451 and 0xBEF3)") to make sure that this still works... it has been many years since we've (Jim, critor, and I) have messed with this...
Image

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 80.2%
 
Posts: 14616
Images: 1218
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

Re: Lua ASI not detecting device

Unread postby volkov » 04 Feb 2023, 10:30

I could try that on monday/tuesday, ill just need to buy an arduino micro(which is essentially the leonardo, both use the atmega32u4) and a friend of mine could lend me his cx II, ill ask him.
User avatar
volkov
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Level up: 0%
 
Posts: 5
Joined: 03 Feb 2023, 23:39
Gender: Not specified
Calculator(s):
MyCalcs profile
GitHub: Volkov08

Re: Lua ASI not detecting device

Unread postby volkov » 15 Feb 2023, 18:36

Sooo, I got a CX on version 4.3 (I assume that’s about the one you also used originally) hooked up to an arduino micro/leonardo as described previously, still no results. here are a few pics of the setup and important information: https://imgur.com/a/hI93PKi
User avatar
volkov
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Level up: 0%
 
Posts: 5
Joined: 03 Feb 2023, 23:39
Gender: Not specified
Calculator(s):
MyCalcs profile
GitHub: Volkov08

Re: Lua ASI not detecting device

Unread postby Adriweb » 16 Feb 2023, 10:48

So, I asked Jim, and he said it could be the USB adapter that's the issue, OTG may be tricky... if you have a OTG adapter mini-USB <=> USB, you could check with a keyboard or mouse on the CX II (not the CX) that it works fine, first ?
Image

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 80.2%
 
Posts: 14616
Images: 1218
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

Re: Lua ASI not detecting device

Unread postby volkov » 16 Feb 2023, 12:49

I don’t have a CX II available sadly, I could try with CX or CX II-T though
User avatar
volkov
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Level up: 0%
 
Posts: 5
Joined: 03 Feb 2023, 23:39
Gender: Not specified
Calculator(s):
MyCalcs profile
GitHub: Volkov08

Re: Lua ASI not detecting device

Unread postby Adriweb » 16 Feb 2023, 12:50

Yeah that's what I mean, there's no difference for this anyway
Image

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 80.2%
 
Posts: 14616
Images: 1218
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

Re: Lua ASI not detecting device

Unread postby volkov » 18 Feb 2023, 19:08

Got it working by swapping the mini port out for a mini-a. now detects the esp32, arduino, and keyboard, although it’ll only communicate with the arduino (the keyboard behaves as expected with the cx, but the esp32 might not work due to using usb 1.1 instead of 2.0) i’ll be able to test everything on the cx II on wednesday
User avatar
volkov
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Level up: 0%
 
Posts: 5
Joined: 03 Feb 2023, 23:39
Gender: Not specified
Calculator(s):
MyCalcs profile
GitHub: Volkov08

Re: Lua ASI not detecting device

Unread postby Adriweb » 18 Feb 2023, 19:09

Great! Let us know :)
Image

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 80.2%
 
Posts: 14616
Images: 1218
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb


Return to Nspire-Lua

Who is online

Users browsing this forum: No registered users and 18 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1607 utilisateurs:
>1585 invités
>17 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)