{"id":309,"date":"2014-06-06T16:47:19","date_gmt":"2014-06-06T16:47:19","guid":{"rendered":"http:\/\/www.thinkering.de\/cms\/?p=309"},"modified":"2017-02-20T08:18:20","modified_gmt":"2017-02-20T08:18:20","slug":"bluetooth-message-receiver","status":"publish","type":"post","link":"http:\/\/www.thinkering.de\/cms\/?p=309","title":{"rendered":"Bluetooth Message Receiver"},"content":{"rendered":"<p>I like developing Arduino projects without the usual hardware, by simply using the bare minimum that&#8217;s necessary. It&#8217;s really cheap, it can have very small dimensions and be embedded almost anywhere. You are flexible with power supplies and logic levels as well. Here is one example: simply put a Atmega 328 with UNO bootloader on a breadboard, power it up with 3.3V and you can connect efficient and cheap 3.3V components to it such as bluetooth modules and OLED displays. As you can see, the power source is a Sparkfun 3.3V step-up board, so that the whole setup can run from a single AA cell. A standard 6-pin header for the usual FTDI breakout boards is also built in.<br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\nBluetooth connectivity is given by connecting a HC-05 master\/slave BT-module. This thing can also be easily breadboarded if you solder wires only to the necessary terminals. For pinout and AT command set (for adjusting the baud rate etc.) <a href=\"http:\/\/www.brunwinkel.de\/elektronik\/module\/btm400_6b\/\" title=\"click.\" class=\"external external_icon\" rel=\"nofollow\">click.<\/a>  There are several modules out there that look alike (the HC-06 for example), but run different firmwares and therefore different AT command sets, so watch out for that.<br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<a href=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/06\/20121125_181420.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/06\/20121125_181420-300x225.jpg\" alt=\"20121125_181420\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-310\" srcset=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/06\/20121125_181420-300x225.jpg 300w, http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/06\/20121125_181420-1024x768.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n The OLED display used here has only 0.96&#8221; screen diagonal, but 128&#215;64 pixels and a very high contrast. It can display a lot of information on a small area. When using the fonts from Ladyada&#8217;s libraries (see below) you can display 8&#215;21 characters with the small font or 4&#215;10 characters with the big font.<br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\nWhen communicating over 4-pin SPI you only need 7 pins in total, unlike the 20-pin KS0108 GLCD. Some SMT jumper settings have to be made for the device to operate in 4-wire SPI mode, which can be accomplished with average soldering skills. It&#8217;s pretty much self-explanatory and depicted on the PCB if you use the same device as I did.  If you build the proper adapter, the display can be plugged directly next to the atmega 328 on a breadboard without using a single jumper wire (i used the pinout from the library!) for very quick and efficient prototyping.<br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n <a href=\"http:\/\/learn.adafruit.com\/monochrome-oled-breakouts\/arduino-library-and-examples\" title=\"Adafruits OLED and GFX libraries\" class=\"external external_icon\" rel=\"nofollow\">Adafruits OLED and GFX libraries<\/a> provide a great code base for the built-in SD1306 controller. Their boards have only the relevant pins broken out and the SPI-mode pre-selected for those who don&#8217;t like soldering.<br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<a href=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/06\/20121125_181229.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/06\/20121125_181229-300x225.jpg\" alt=\"20121125_181229\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-311\" srcset=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/06\/20121125_181229-300x225.jpg 300w, http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/06\/20121125_181229-1024x768.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I like developing Arduino projects without the usual hardware, by simply using the bare minimum that&#8217;s necessary. It&#8217;s really cheap, it can have very small dimensions and be embedded almost anywhere. You are flexible with power supplies and logic levels as well. Here is one example: simply put a Atmega 328 with UNO bootloader on &hellip; <a href=\"http:\/\/www.thinkering.de\/cms\/?p=309\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Bluetooth Message Receiver<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=\/wp\/v2\/posts\/309"}],"collection":[{"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=309"}],"version-history":[{"count":6,"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=\/wp\/v2\/posts\/309\/revisions"}],"predecessor-version":[{"id":920,"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=\/wp\/v2\/posts\/309\/revisions\/920"}],"wp:attachment":[{"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=309"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}