Close
0%
0%

Badge Modem

Connecting on wireless network and BBSing made on Hackaday Conference badge

Similar projects worth following
Badge is from 80' . In that time popular was BBSing era before internet for communication, etc...

Badge is communicate via UART to NodeMCU but you can use other ESP8266 chip. Modem communicate with AT commands.

My plan is to make shield for pins where you can just plug and play Wireless Card.
  • 1 × Badge from Belgrade Conference
  • 1 × ESP-12F

  • Prototype v2 Badge Modem

    bosko10/03/2018 at 11:02 0 comments

    Here is schematic of prototype version 2 of BadgeModem. In this prototype i was use ESP-12F and test was successful. I made it to be just simple plug and play. 

    Simple add modem to badge, load program and thats all.

    Schematic

    Closer look of prototype

  • Prototype of Badge Modem

    bosko06/20/2018 at 11:36 0 comments

    Here is schematic of BadgeModem. In this prototype i was use ESP-01 and test was successful. I made it to be just simple plug and play. 

    Simple add modem to badge, load program and thats all.

    Schematic

    Closer look of prototype

    Testing Badge Modem

  • Demo video

    bosko05/31/2018 at 17:22 0 comments

View all 3 project logs

  • 1
    BASIC Code
    5 a = 0
    10 if a > 0 then goto 70
    20 if a < 0 then goto 70
    30 r = uin 0
    40 chr r
    50 a = kin 0
    60 goto 10
    70 uout a
    75 a = 0
    80 goto 10
  • 2
    NodeJS Simple Server
    var net = require('net');
    var sockets = [];
    function cleanInput(data) {
    	return data.toString().replace(/(\r\n|\n|\r)/gm,"");
    }
    function receiveData(socket, data) {
    	var cleanData = cleanInput(data);
    	console.log("received " + cleanData);
    	if(cleanData === "@quit") {
    		socket.end('Goodbye!\n');
    	}
    	else {
    		for(var i = 0; i<sockets.length; i++) {
    			if (sockets[i] !== socket) {
    				sockets[i].write(data);
    			}
    		}
    	}
    }
    function closeSocket(socket) {
    	var i = sockets.indexOf(socket);
    	if (i != -1) {
    		sockets.splice(i, 1);
    	}
    }
    function newSocket(socket) {
    	sockets.push(socket);
    	socket.write("Hello Hackaday Badge\n");
    	socket.write('_  _ ____ ____ _  _ ____ ___  ____ _   _\n');
    	socket.write('|__| |__| |    |_/  |__| |  \\ |__|  \\_/ \n');
    	socket.write('|  | |  | |___ | \\_ |  | |__/ |  |   |  \n');                                          
    	socket.on('data', function(data) {
    		receiveData(socket, data);
    	})
    	socket.on('end', function() {
    		closeSocket(socket);
    	})
    }
    var server = net.createServer(newSocket);
    server.listen(8888);

View all instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates