My Writings. My Thoughts.

Why are both NewSoftSerial and Serial not working with the Bluetooth Bee?

// January 15th, 2011 // 6 Comments » // Uncategorized

Argh, I don’t get it! Am I miss­ing some­thing? Here is the code using New­Soft­Se­r­ial to con­nect to the Blue­tooth Bee. #include <NewSoftSerial.h> int rx = 10; int tx = 9; New­Soft­Se­r­ial 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”);                 […]

Share

Step-by-Step Guide on using the Bluetooth Bee, Bees Shield & Arduino to communicate via bluetooth

// January 11th, 2011 // No Comments » // Bluetooth, Electronics, Parts

Finally! I got the Blue­tooth Bee to work with the Bees Shield (both from Seeed­Stu­dio)! First, plug in the Blue­tooth Bee into the ‘BEE2’ slot on the Bees Shield, and plug the Bees Shield into the Arduino. Tog­gle the switch on the Bees Shield from ‘Atmega’ to ‘USB’. Then, upload the fol­low­ing code to the Arduinoto […]

Share

Piezo Speakers

// December 31st, 2010 // No Comments » // Uncategorized

Some piezo speak­ers that I have. The 2 black ones are iden­ti­cal and have a lit­tle ‘+’ sign to indi­cate the right way to plug them in. The metal one with the part num­ber ‘14RM06C7’ has a longer pos­i­tive leg. Tested them all out using the excel­lent 3 speaker exam­ple included in Arduino-0021 in File […]

Share

Photoresistors & Photodiode(?)

// December 31st, 2010 // No Comments » // Electronics, Parts

These are some of the pho­tore­sis­tors I have as well as a golden pho­to­di­ode? The pho­tore­sis­tors behave as expected and range of val­ues 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 How­ever, while the pho­to­di­ode works as a diode, it does not change […]

Share

Piezo Sensors

// December 27th, 2010 // No Comments » // Electronics, Parts

I got a metal­lic disc type piezo sen­sor from a local elec­tron­ics store and tried it out using the Knock tuto­r­ial under Exam­ples -> Sen­sors -> Knock in Arduino-0021. How­ever it didn’t work as well as I expected and I had to lower the thresh­old value to about 10 in order for it to work. I […]

Share

A taste of things to come!

// December 27th, 2010 // No Comments » // Electronics, Parts

Pic­tures of my electronics pile!

Share

Hello world!

// December 31st, 2009 // No Comments » // Uncategorized

Ok, I had intended to start post­ing way ear­lier but let’s just say that var­i­ous things hap­pened… Any­ways, I have decided that while I have col­lected lots of elec­tron­ics stuff, I have yet to play with most of them. Hence, I have decided to start this blog off by post­ing about all the var­i­ous electronic-ky […]

Share

View Archives

My videos. Featured videos.