BuzzBoard Open Source Development Board Discussion Thread


#22

Hello all,

Did anyone figure out the sound problem yet? I’m developing a high school IoT class and considering this platform as part of a class. I already use the Particle Photon, so I’m really interested in this because of the sound capability and app integration. But unless I can get that sound part sorted out it won’t be as attractive.

Thanks!


#23

I’m waiting feedback from the developers… They must fix the server where the audio recordings from the BuzzBoards are sent.


#24

Hi Kylix, I’m still trying to learn a bit of coding and working through the program to see if I can find the problem. I think it connects to the server OK but is failing somewhere in writing to server stage as it should give a warning for unable to connect to server. I have been writing out the other variables at the point of failure looking for a wrong number and get the following. count = -1, good_count = 0, aud_select = 1, send_select = 0 , samplez = 536915016, client = 536887856, MAX_BUF = 24, SAMPLE_BUF_SIZE / 2 = 1024. Still doesn’t mean too much to me at the moment but might help someone. I will keep trying whenever I get the time.


#25

Hi Kylix, I’ve been doing a little more digging and it seems the program is crashing in the module ‘AWS_STREAM’ seems to go into it ok but then just crashes out. I think I’m out of my depth now because it’s all to do with the DMA, way over my head.


#26

Unfortunately, I have no news yet from the developers. Maybe they’re not interested to solve this issue…


#27

Hi Kylix, well I must be getting closer I have had this line show up now and again in my events, not seen it before.
spark/device/app-hash 569C1277115683D68BBA6F59E4DF60D793421AB457E90D2CDB9CA7E3C2C13650 BuzzBoard-Hive-03 5/28/19 at 9:44:04 pm
I still think the problem is something to do with the DMA maybe a timing issue? I’ll try and get to where this line shows up again in the events because it is missing again at the moment, hopefully backtracking will produce it again.


#28

Hi Kylix, just out of interest can you try this file and see what output you get on serial monitor? It will be interesting to see if you get the same as me, I’ve been messing around so much I’m starting to get lost lol. Obviously you will need to unzip it first.

firmware.zip (31.2 KB)


#29

This is the latest serial output from my BuzzBoard 18-6-2019.

System firmware version: 1.2.1-rc.1
BuzzBoard FW version: 21
Setup
----- free memory: 45144
DeviceID: 260034000f47363336383437
SHT31D Serial #76042529
Connected to BQ27441!
MMA xlerometer init
----- free memory: 45104
Setup COMPLETE
State: 1
----- free memory: 45104
update params…
SHT31: T=24.50C, RH=49.26%
update params…
SHT31: T=24.56C, RH=49.18%
good: 0 total: 0
RSSI: 2, NG/OK: 0/0, wifi_rat: 1.00, A_NG/OK: 0/0, aud_rat: 1.00
State of Charge/Health: 100, 92
chg: 3, mA: 19 ,mW: 87
SHT30:
temp ©: 24.56RH (%): 49
State: 2
----- free memory: 40792
State: 2
----- free memory: 40672
State: 2
----- free memory: 40672
State: 2
----- free memory: 40672
State: 2
----- free memory: 37680
publishLocation
scanData={“w”:{“a”:[{“m”:“24:a7:dc:4d:3b:7a”,“s”:3,“c”:13},{“m”:“fa:59:71:51:3b:e1”,“s”:-26,“c”:1},{“m”:“20:0a:8e:a9:f3:c8”,“s”:-48,“c”:13}]}}
good: 0 total: 0
RSSI: -1, NG/OK: 0/0, wifi_rat: 1.00, A_NG/OK: 0/0, aud_rat: 1.00
publish
update params…
SHT31: T=24.43C, RH=49.16%
State of Charge/Health: 100, 92
chg: 2, mA: -9 ,mW: -40
State: 3
----- free memory: 37848
State: 3
----- free memory: 39064
State: 3
----- free memory: 40328
State: 3
----- free memory: 40328
stream starting
----- free memory: 40328
POST /write?db=AudioData HTTP/1.1
User-Agent: 260034000f47363336383437
Host: buzzboard-audio.osbeehives.com:8080
Accept: fw_21
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length:

----- free memory: 40328
size: 96
size 0: 1024
size 1: 1024
size 2: 1024
size 3: 1024
size 4: 1024
size 5: 1024
size 6: 1024
size 7: 1024
size 8: 1024
size 9: 1024
size 10: 1024
size 11: 1024
size 12: 1024
size 13: 1024
size 14: 1024
size 15: 1024
size 16: 1024
size 17: 1024
size 18: 1024
size 19: 1024
size 20: 1024
size 21: 1024
size 22: 1024
size 23: 1024
----- free memory: 15456
sizeof samplez: 4, 4
State: 6
----- free memory: 15456

aud_/send_select: 1 / 0, millis(22022)
success! 1, 1024

aud_/send_select: 2 / 1, millis(22184)
success! 2, 1024

aud_/send_select: 3 / 2, millis(22347)
success! 3, 1024

aud_/send_select: 4 / 3, millis(22509)
success! 4, 1024

aud_/send_select: 5 / 4, millis(22672)
success! 5, 1024

aud_/send_select: 6 / 5, millis(22834)
success! 6, 1024
State: 6
----- free memory: 15456

aud_/send_select: 7 / 6, millis(22997)
success! 7, 1024

aud_/send_select: 8 / 7, millis(23159)
success! 8, 1024

aud_/send_select: 9 / 8, millis(23322)
success! 9, 1024

aud_/send_select: 10 / 9, millis(23484)
success! 10, 1024

aud_/send_select: 11 / 10, millis(23647)
success! 11, 1024

aud_/send_select: 12 / 11, millis(23809)
success! 12, 1024
State: 6
----- free memory: 15456

aud_/send_select: 13 / 12, millis(23971)
success! 13, 1024

aud_/send_select: 14 / 13, millis(24134)
success! 14, 1024

aud_/send_select: 15 / 14, millis(24296)
success! 15, 1024

aud_/send_select: 16 / 15, millis(24459)
success! 16, 1024

aud_/send_select: 17 / 16, millis(24621)
success! 17, 1024

aud_/send_select: 18 / 17, millis(24784)
success! 18, 1024
State: 6
----- free memory: 15456

aud_/send_select: 19 / 18, millis(24946)
success! 19, 1024

aud_/send_select: 20 / 19, millis(25109)
success! 20, 1024

aud_/send_select: 21 / 20, millis(25271)
success! 21, 1024

aud_/send_select: 22 / 21, millis(25434)
success! 22, 1024

aud_/send_select: 23 / 22, millis(25596)
success! 23, 1024

aud_/send_select: 0 / 23, millis(25759)
success! 24, 1024
State: 6
----- free memory: 15456

aud_/send_select: 1 / 0, millis(25921)
success! 25, 1024

aud_/send_select: 2 / 1, millis(26084)
success! 26, 1024

aud_/send_select: 3 / 2, millis(26246)
success! 27, 1024

aud_/send_select: 4 / 3, millis(26409)
success! 28, 1024

aud_/send_select: 5 / 4, millis(26571)
success! 29, 1024

aud_/send_select: 6 / 5, millis(26734)
success! 30, 1024
State: 6
----- free memory: 15456

aud_/send_select: 7 / 6, millis(26896)
success! 31, 1024

aud_/send_select: 8 / 7, millis(27058)
success! 32, 1024

aud_/send_select: 9 / 8, millis(27221)
success! 33, 1024

aud_/send_select: 10 / 9, millis(27383)
success! 34, 1024

aud_/send_select: 11 / 10, millis(27546)
success! 35, 1024

aud_/send_select: 12 / 11, millis(27708)
success! 36, 1024
State: 6
----- free memory: 15456

aud_/send_select: 13 / 12, millis(27871)
success! 37, 1024

aud_/send_select: 14 / 13, millis(28033)
success! 38, 1024

aud_/send_select: 15 / 14, millis(28196)
success! 39, 1024

aud_/send_select: 16 / 15, millis(28358)
success! 40, 1024

aud_/send_select: 17 / 16, millis(28521)
success! 41, 1024

aud_/send_select: 18 / 17, millis(28683)
success! 42, 1024

aud_/send_select: 19 / 18, millis(28846)
success! 43, 1024
State: 6
----- free memory: 14192

aud_/send_select: 20 / 19, millis(29008)
success! 44, 1024

aud_/send_select: 21 / 20, millis(29171)
success! 45, 1024

aud_/send_select: 22 / 21, millis(29333)
success! 46, 1024

aud_/send_select: 23 / 22, millis(29496)
success! 47, 1024

aud_/send_select: 0 / 23, millis(29658)
success! 48, 1024

aud_/send_select: 1 / 0, millis(29821)
success! 49, 1024
State: 6
----- free memory: 15456

aud_/send_select: 2 / 1, millis(29983)
success! 50, 1024

aud_/send_select: 3 / 2, millis(30146)
success! 51, 1024

aud_/send_select: 4 / 3, millis(30308)
success! 52, 1024

aud_/send_select: 5 / 4, millis(30470)
success! 53, 1024

aud_/send_select: 6 / 5, millis(30633)
success! 54, 1024

aud_/send_select: 7 / 6, millis(30795)
success! 55, 1024
State: 6
----- free memory: 15456

aud_/send_select: 8 / 7, millis(30958)
success! 56, 1024

aud_/send_select: 9 / 8, millis(31120)
success! 57, 1024

aud_/send_select: 10 / 9, millis(31283)
success! 58, 1024

aud_/send_select: 11 / 10, millis(31445)
success! 59, 1024

aud_/send_select: 12 / 11, millis(31608)
success! 60, 1024

aud_/send_select: 13 / 12, millis(31770)
success! 61, 1024
row: 0
----- free memory: 16488
row: 1
----- free memory: 17520
row: 2
----- free memory: 18552
row: 3
----- free memory: 19584
row: 4
----- free memory: 20616
row: 5
----- free memory: 21648
row: 6
----- free memory: 22680
row: 7
----- free memory: 23712
row: 8
----- free memory: 24744
row: 9
----- free memory: 25776
row: 10
----- free memory: 26808
row: 11
----- free memory: 27840
row: 12
----- free memory: 28872
row: 13
----- free memory: 29904
row: 14
----- free memory: 30936
row: 15
----- free memory: 31968
row: 16
----- free memory: 33000
row: 17
----- free memory: 34032
row: 18
----- free memory: 35064
row: 19
----- free memory: 36096
row: 20
----- free memory: 37128
row: 21
----- free memory: 38160
row: 22
----- free memory: 39192
row: 23
----- free memory: 40224
aws stopping
testnum entries ; good/fails/overflows (x16) // total packets:
0 ; 61/0/0 // 61
OBC send
POST /write?db=AudioData HTTP/1.1
User-Agent: 260034000f47363336383437
Host: buzzboard-audio.osbeehives.com:8080
Accept: /
Connection: keep-alive
Content-Type: text/plain
Content-Length:

0

State: 8
----- free memory: 40328
Go to sleep… zzz