'
' ----- ShowHex: Send Hexadecimal value to PE Terminal -----------------------------------------
'
' Send a byte as hex to terminal on the programming lead
' Send a nibble as hex to terminal on the programming lead
' Alternate "D" entries cause a leading $ sign to be sent
'
' Entry: bByteToShow (byte) data to be transmitted
' Exit: bByteToShow (byte) unchanged
' Used: bTemp (byte)
'
ShowHexD:SerTxd("$") 'Alternate entry
ShowHex: bTemp = bByteToShow >> 4 'Get high nibble
GoSub SHexNib2 'Show it
Goto SHexNibl
ShowNibD:SerTxd("$") 'Alternate entry
SHexNibl:bTemp = bByteToShow And mskLoNibble
SHexNib2:bTemp = bTemp + "0" 'Convert to ASCII
If bTemp > "9" Then 'Separate out and
bTemp = bTemp + 7 ' correct over-decimal part.
EndIf
SerTxd(bTemp) 'Display it
Return
Or "7".That isn't sending hex characters - it is sending the value (in Picaxe terms) $37 (or 55 decimal)
'voice recognition chip 9600 baud
'c.1 output
'c.2 input
#picaxe 08m2
#no_data
pause 500
setfreq m8 ' 8mHz sets 9600 baud
pause 500
serout 1,T9600_8,($00,$AA,$00) ' wait mode
pause 400
sertxd ("Voice Recognition Module",13,10)
serout 1,T9600_8,($00,$AA,$22) ' import word group 2
pause 400
serout 1,T9600_8,($00,$AA,$37) ' compact mode
pause 400
sertxd ("READY",13,10)
do
serin 2,T9600_8,b0:sertxd (#b0,13,10)
loop
Best price I've found on this same module is 16USD + shipping if anyone wants one: https://www.aliexpress.com/item/1005001965765002.htmlthis is a fascinating module, thanks for posting.
Well, mine looks just like the one you sent a pinout for in your last message. I went and hooked everything up and no joy.BTW never fall for this module, it's Chinese language only: https://www.aliexpress.com/item/1005002316607927.html
I did that years ago, but found I wouldn't keep it up. Now I log everything I buy to a text file when I buy it starting with the date (preceded by "+ " if I've received it). I may also make notes on how it worked out.After finding myself ordering something I already had, I started a parts inventory in a spreadsheet.
+ 210226 ELLO computer ordered from knivd GB soldered up and working--no SD module
+ 210225 Car MP3 Decoder Board bluetooth Car MP3 amplifier 5V 12V USB FM TF Radio Audio aliex
+ 210222 F4_LCD_pc.brd for OTM8009A IPS 800*480 sent to JLCPCB; shipped 2/26-3/15
+ 210221 2pcs OTM8009A 4 inch TFT LCD SCREEN touch module IPS full view Ultra HD 800X480 F4 aliex
210221 Mini Smart Bluetooth Speaker Portable Bluetooth+FM MP3 aliex (by May 30)
egrep -i %1 \stuff\orders.txt
egrep "2102|2103|2104|2105" \stuff\orders.txt | egrep " 210" -v | sort
Uh oh. Where did you buy it from? If it's all Chinese then Lord help us.Well, mine looks just like the one you sent a pinout for in your last message. I went and hooked everything up and no joy.
I'm using terminal software through an FTDI cable and sending commands, I never get a reply. I did test my cable and all is good.
the other odd thing, when I power the module up a chinese language voice comes out of the speaker, i do not speak Chinese so not sure what is being said. I'll put some more time in figuring it out
This is the seller I got it from US based, HLK-V20.Try playing that Youtube clip I shared back in #18 so your chip can hear and possibly respond, in hopes that it may understand English commands too.
Sounds like you have a good one.Just powered one up. Mine spoke English. Said 'Welcome to Hi Link'...... I said 'hello lamp', It said 'Hi. How can I help you?' Saying 'Lights On' turned on a LED. 'Lights Off' Turned the LED off. I think I like this module.