Hackster is hosting Hackster Holidays, Ep. 7: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 7 on Friday!
Shahariar
Published © LGPL

CyDuino : An Arduino Dev Board with Lots of Goodies

Arduino clone board based on Cypress CY7C65211 configurable USB-Serial bridge controller with I/O + Sensors

IntermediateFull instructions provided5 hours1,510
CyDuino : An Arduino Dev Board with Lots of Goodies

Things used in this project

Story

Read more

Schematics

Sch

Code

CyDuino

C/C++
/*
CyDuino PinOut for OnBoard Goodies

===========OUTPUTS==============

D 12 Laser
(Invert PWM >> 255 makes LED Low)
D 11 Red Led 
D 10 Green Led
D  9 Blue Led
D  4 Buzzer

======== Sensors =================
A0   LDR
A1   IR Rcv
A3   Thermistor
A5   Peizo

======= Inputs ===============
D3 Push Switch (Direct -Active Low/Falling Edge) for Interrupt 1
D2 Touch Switch (Rising Edge) 

needs Pull-Up/Down 

======= Communication ===========

D8 IR Remote Decoder
D0 Bluetooth RX
D1 Bluetooth TX

===========================

*/



void setup()

{
 //pinMode(12,1);
}


void loop()

{
  //digitalWrite(12,0);
  //delay(250);
//digitalWrite(12,1);
 // delay(250);
 int i =analogRead(A0)/4;
 if (i<50)
 {
 analogWrite(9,0); 
 }
 else
{
 analogWrite(9,i); 
 } 

}

Credits

Shahariar
74 projects • 266 followers
"What Kills a 'Great life' is a 'Good Life', which is Living a Life Inside While Loop"

Comments