[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

arduino microcontroller + simblee BLE module + PC bluetooth antenna

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 3
Thread images: 1

File: 13632-01.jpg (229KB, 600x600px) Image search: [Google]
13632-01.jpg
229KB, 600x600px
hi /g/, pls help

I have a SparkFun Simblee BLE Breakout - RFD77101

it's an arduino microcontroller with bluetooth module built-in

i also have an attachment that i can use to program the arduino microcontroller via serial port.

i'm trying to get it so that i can read data off the analog input pins and then transmit the data using the bluetooth module to my PC (which has a bluetooth antenna).

I'm writing an arduino program to upload to the arduino microcontroller to do this, and I'm also writing a Java program in Processing IDE to run on the PC's end that will get the data from the PC's bluetooth antenna and then it plots it in a window.

Basically I'm having trouble finding code for the arduino and Java programs to allow the arduino and PC to communicate via bluetooth.

I know there is a package simbleeCOM, and the simblee website gives example code that doesn't even compile properly (not sure if the syntax is incompatible with newer versions of Arduino or what). That, and I can't find Java code for Processing to complement it (read the data sent to the PC's bluetooth antenna to do stuff with).

I am just wondering if anyone on /g/ is aware of any tutorials or has any suggestions for what I'm trying to do.

Any advice would be appreciated.

lastly, there's these 2 lines of code I don't fully understand:

char payload[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
SimbleeCOM.send(payload, sizeof(payload));

any idea what it's sending with these? I don't really understand what setting a char type variable equal to a number (not in single quotes aka not '1' but 1) does. I've never defined a char like that. And all I'm trying to do is send the value on the analog input pins of the simblee arduino board to my PC via bluetooth

Thanks in advance, /g/.
>>
>>55662477
probably he's sending the ASCII char corresponding to the number
to most systems, chars are just 1-bit size numbers associated with the ASCII table so you can define them that way

can't help you with the rest
>>
>>55662496
oooo i understand
Thread posts: 3
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.