turn on your lights with Glbasic ;)

Previous topic - Next topic

Marmor

glbasic send commands to my maximite over wlan.
maximite wait for incomming commands and shut the lamp on /off
i make a ios/android app for so i can handle my lights with my tabs or phones.


erico

Great stuff Marmor!

So you are one step close to GLB your house! :D
I wonder what is that wheel doing on the table?

Marmor

its a part from  the tv - rack  ive build some times ago

bigsofty

Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

erico

I can´t watch that second video, it´s too private! :D

Marmor


erico

Your setup looks really great!
My current is made over a wooden door so to have a huge table :D

Back on subject.
Now that you can control lights, I wonder what is your next step?
I think Mentalthink has also done some experiences on this front as he messes with arduinos and so on. :good:


PS: that wheel gave me thoughts of moving robots somehow...

matchy

It's cool but perhaps more detail on how it works? Any chance of bluetooth?

Marmor

Hmm Bluetooth ...

I have some bluetooth modules which works fine with android but not ios !
whats a problem.


The wifly rn171/174 is cool (ok some problems with ultrafast data streaming)
but to send some bits and bytes its a great module.

It has a Serial port which i poll with the maximite at 57600 baud.
The Glb app use some socket commands to find the wifly in wlan and sends the commandos.
Maximite gets the commandos from wifly over serial and set the gpio pin for the relaycard.
Programming the maximite its a babystep because u can use also Basic here (MMbasic)

whats all ...


Bluetooth again :
Have anybody access to bluetooth in GLB on android ?

Also ive heard iphone 5 have a new BT chip on ?,can we access this or its also restricted by apple ?


Dear Apple why so closed ? i know you think different, but heh we need bluetooth without your super certificate for ;)



matchy

I am currently trying to connect glb to Android bluetooth module on Arduino. The app "Serial Bluetooth Mirror" connects fine to the module and apparently mirrors it on a TCP net port but haven't been successful yet with SOCK.

mentalthink

Very nice!!! I do something similar whit GLbasic and arduino, but I only send a bunch of data from the BT to the Windows Ce... really it's cool see a lot of letters appearing in the screen...

Nice work, the next is put a Triac and then control the intensity of the Light... :good: Be carefull here wew are specking about 220v or waht you have in your country...

Hemlos

truidicare had a bluetooth lib somewhere...i searched the forum, but no luck finding it...i might have missed the result.
Bing ChatGpt is pretty smart :O

matchy

I think you might mean the BT lib for iOS and not Android.