My Writings. My Thoughts.
Why are both NewSoftSerial and Serial not working with the Bluetooth Bee?
// January 15th, 2011 // 6 Comments » // UncategorizedArgh, I don’t get it! Am I missing something? Here is the code using NewSoftSerial to connect to the Bluetooth Bee. #include <NewSoftSerial.h> int rx = 10; int tx = 9; NewSoftSerial myBlueBee(rx,tx); void setup(){ pinMode(rx,INPUT); pinMode(tx,OUTPUT); myBlueBee.begin(38400); // myBlueBee.print(“\r\n+STBD=115200\r\n”); // Set BAUDRATE // delay(1000); // myBlueBee.print(“\r\n+STNA=bluebee\r\n”); // Set DEVICE NAME // delay(1000); digitalWrite(13,LOW); myBlueBee.println(); myBlueBee.print(“\r\n+STWMOD=1\r\n”); […]
Step-by-Step Guide on using the Bluetooth Bee, Bees Shield & Arduino to communicate via bluetooth
// January 11th, 2011 // No Comments » // Bluetooth, Electronics, PartsFinally! I got the Bluetooth Bee to work with the Bees Shield (both from SeeedStudio)! First, plug in the Bluetooth Bee into the ‘BEE2’ slot on the Bees Shield, and plug the Bees Shield into the Arduino. Toggle the switch on the Bees Shield from ‘Atmega’ to ‘USB’. Then, upload the following code to the Arduinoto […]
Piezo Speakers
// December 31st, 2010 // No Comments » // UncategorizedSome piezo speakers that I have. The 2 black ones are identical and have a little ‘+’ sign to indicate the right way to plug them in. The metal one with the part number ‘14RM06C7’ has a longer positive leg. Tested them all out using the excellent 3 speaker example included in Arduino-0021 in File […]
Photoresistors & Photodiode(?)
// December 31st, 2010 // No Comments » // Electronics, PartsThese are some of the photoresistors I have as well as a golden photodiode? The photoresistors behave as expected and range of values are as shown void setup(){ Serial.begin(9600); } void loop(){ Serial.println(analogRead(0)); delay(100); } // big: 690–710 // medium: 720–740 // small: 740–780 However, while the photodiode works as a diode, it does not change […]
Piezo Sensors
// December 27th, 2010 // No Comments » // Electronics, PartsI got a metallic disc type piezo sensor from a local electronics store and tried it out using the Knock tutorial under Examples -> Sensors -> Knock in Arduino-0021. However it didn’t work as well as I expected and I had to lower the threshold value to about 10 in order for it to work. I […]
A taste of things to come!
// December 27th, 2010 // No Comments » // Electronics, PartsPictures of my electronics pile!
Hello world!
// December 31st, 2009 // No Comments » // UncategorizedOk, I had intended to start posting way earlier but let’s just say that various things happened… Anyways, I have decided that while I have collected lots of electronics stuff, I have yet to play with most of them. Hence, I have decided to start this blog off by posting about all the various electronic-ky […]





