Atmel Crack
Moody Useless Machine Lamja. This is a project i did a while ago. I made one for my self and two as gifts. I decided to crack open the one I had left, to get some photos and video of the inside. I also didt remember how I connected the pins to the ATMGEGA 3. P. It uses two standard hobby servos, a home made ATMEGA 3. P PCB Board and a MOSFET to turn the power to the servos off in sleep mode. The switch is connected from an input pin trough a 4. Ohm resistor trough the switch and to ground. This will set the input pin to low when the switch is closed. I then use a interrupt to wake the microprocessor. The boxes in action Inside a box The PCB that I made has two power inputs. EBjs5tdbHV0/TeI-GLjJHcI/AAAAAAAAAE0/UVtnwokwviQ/s1600/13.JPG' alt='Atmel Crack' title='Atmel Crack' />Authorized electronic components distributor. Large instock quantities. New parts added daily. Ready for immediate shipment. ARM11 is a group of older 32bit RISC ARM processor cores licensed by ARM Holdings. The ARM11 core family consists of ARM1136JFS, ARM1156T2FS, ARM1176JZFS. Logo Creator Mega Pack. PiDuD4mmFcM/VlCZuibQbCI/AAAAAAAAAjs/qzF9ThJw9b0/s1600/atmel_studio%2Binstall.png' alt='Atmel Crack' title='Atmel Crack' />One 5. V for the microcontroller, and one 6. V for the servos. In this box I use 4 x 1,5. V batteries for power. This gets the 6. V connected. To get 5. V, I connected a diode from 6. V to 5. V. The voltage drop over the diode is 0. V, and I then got 5. V for the microcontroller. This seems to work OK. The switch is connected to S1. Arduino. The servo for the lid is connected to S0. Arduino. The servo for the switch is connected to S0. Arduino. MOSFET is conntrolled from Arduino pin 8 Thats why S0. PCB. The ATMGA 3. P is programmed on an Arduino. The MOSFET on the picture below is not in the same place as the new version of the PCB. The contruction was a bit tricky. One servo turns off the switch, and the other open the lid. The PCB board fits the wall at the one side And the the batteries at the bottom The lid uses two nails to allign the edge to the box. I use a rubber band attached to the inside of the lid. The rubber band attached I then use a piece of foam to hold the batteries firmly in the box. Wiring diagram Schematic diagram PCB bottom copper view from top PCB bottom copper view from bottom mirrored PCB top silk screen view from top PCB top silk screen view from bottom mirrored Partlist C1 2. C2 2. 2p. C3 1. C4 1. 0u. C5 1. C6 1. 0u. C7 1. K1 CMM 22 pol connector. Q1 IRLZ1. 4 or any MOSFET with same pin configuration. U1 ATMEGA 3. 28. P With Arduino bootloader. X1 1. 6MHz crystal. Rac Satnav 110 Software'>Rac Satnav 110 Software. Two straps wire as marked on the silk screen. S0. 5 and S0. 6 Wire or 3 pin header for connecting servos. Ohm The one connected to the switch1 diode 1. A for Connection from 6. V to 5. VSwitch onoff2 Hobby servos. Rubber band. Some connection wire. Battery 4 x 1,5. V AA case. AASome wooden sticks. Wood glue. 2 nails small1 piece of foam. Code include lt Servo. Servo myservo. 2 create servo object to control a servo. Servo myservo. 1 int pos 0 variable to store the servo positionint boxon 1 Predefined positions for a spesific boxservoint S1fra 1. Servo. 1int S1mid 1. Midint S1mid. 2 1. S1mid. 3 1. 64. S1til 2. Toint S2fra 1. From s. Servo. S2mid 1. 20. S2mid. Almost on the switchint S2til 7. PB5 myservo. 1. PB4 pin. Mode8, OUTPUT For the MOSFET pin. Mode2, INPUT For the switch interrupt digital. Write2, HIGH myservo. S2fra myservo. S1fra delay6. Write8, HIGH delay3. Write8, LOW Put all unused pins to input high to save power. Mode3, INPUT digital. Write3, HIGH pin. Mode4, INPUT digital. Write4, HIGH pin. Mode5, INPUT digital. Write5, HIGH pin. Mode6, INPUT digital. Write6, HIGH pin. Mode7, INPUT digital. Write7, HIGH pin. Mode9, INPUT digital. Write9, HIGH pin. Mode1. 0, INPUT digital. Write1. 0, HIGH pin. Mode1. 1, INPUT digital. Write1. 1, HIGH DDRC 0 Analog input 16 Port. C set to input high also PORTC 6. External interrupt INT0 EICRA0 The low level of INT0 generates an interrupt request EIMSK1 External Interrupt Request 0 Enable void loop if Did a mistake here. Write8, HIGH seq intrandom0,1. If you want random ifseq 0Sequense. Sequense. 1 ifseq 2Sequense. Sequense. 9 ifseq 4Sequense. Sequense. 5 ifseq 6Sequense. Sequense. 7 ifseq 8Sequense. Sequense. 2 ifseq 1. Sequense. 3 ifseq 1. Sequense. 10 ifseq 1. Sequense. 3 ifseq 1. Sequense. 8 ifseq 1. Sequense. 3 ifseq 1. Sequense. 6 ifseq 1. Sequense. 3 ifseq 1. Sequense. 4 seq ifseq 1. Write8, LOW boxondigital. Read2 else Set sleep mode, turn off MOSFET and servos setsleepmodeSLEEPMODEPWRDOWN sleepenable pin. Mode1. 2, INPUT digital. Write1. 2, HIGH pin. Mode1. 3, INPUT digital. Write1. 3, HIGH PRR 2. MCUCR 1lt lt BODS 1lt lt BODSE MCUCR 1lt lt BODSE EIMSK1 sleepmode ZZZzzz sleepdisable Awake again PRR 0 pin. Mode1. 2, OUTPUT pin. Portrait Professional 10 Crack Megaupload there. Mode1. 3, OUTPUT boxondigital. Read2 If pin 2 is low, box is on and bonxonflase FraFrom, TilTo Sorry for some Norwegian variablesvoid Sweepint srv, int fra, int til, int usec ifsrv 1 iffra lt til forpos fra pos lt til pos 1 myservo. Microsecondspos delay. Microsecondsusec else forpos fra pos til pos 1 myservo. Microsecondspos delay. Microsecondsusec ifsrv 2 iffra lt til forpos fra pos lt til pos 1 myservo. Microsecondspos delay. Microsecondsusec else forpos fra pos til pos 1 myservo. Microsecondspos delay. Microsecondsusec ISRINT0vect Step rising edge interrupt. Switch flipped. EIMSK0 Turn off interrupt boxondigital. Read2 Read the switch a couple of times to avoid a nasty non working thing some times. Read2 boxondigital. Read2 boxondigital. Read2 boxondigital. Read2 boxondigital. Read2 boxondigital. Read2 boxondigital. Read2 boxondigital. Read2 boxondigital. Read2 void Sequense. Sweep1, S1fra, S1mid, 3. Sweep1, S1mid, S1fra, 5. Sweep1, S1fra, S1til, 1. Sweep2, S2fra, S2mid, 1. Sweep2, S2mid, S2til, 5. Sweep2, S2til, S2fra, 5. Sweep1, S1til, S1fra, 5. Sequense. 2 delay8. Sweep1, S1fra, S1mid. Sweep1, S1mid. 2, S1mid. Sweep1, S1mid. 3, S1mid. Sweep1, S1mid. 2, S1mid. Sweep1, S1mid. 3, S1mid. Sweep1, S1mid. 2, S1mid. Sweep1, S1mid. 3, S1mid. Sweep1, S1mid. 2, S1fra, 3. Sweep1, S1fra, S1mid, 3. Sweep1, S1mid, S1til, 1. Sweep2, S2fra, S2mid, 1. Sweep2, S2mid, S2til, 5. Sweep2, S2til, S2fra, 5. Sweep1, S1til, S1fra, 5. Sequense. 3 delay5. Sweep1, S1fra, S1til, 1 delay1 Sweep2, S2fra, S2til, 1 delay4. Sweep2, S2til, S2fra, 1 delay2. Sweep1, S1til, S1fra, 1 delay4. Sequense. 4 delay5. Sweep1, S1fra, S1til, 1 delay1 Sweep2, S2fra, S2mid. Sweep2, S2mid. 2, S2til, 3. Sweep2, S2til, S2fra, 1 delay2. Sweep1, S1til, S1fra, 1 delay4. Sequense. 5 delay1. Sweep1, S1fra, S1til, 1 delay1 Sweep2, S2fra, S2til, 1 delay4. Sweep2, S2til, S2mid. Sweep2, S2mid. 2, S2til, 1 delay1. Sweep2, S2til, S2mid. Sweep2, S2mid. 2, S2til, 1 delay1. Sweep2, S2til, S2mid. Sweep2, S2mid. 2, S2til, 1 delay1. Sweep2, S2til, S2fra, 1 delay2. Sweep1, S1til, S1fra, 1 delay4. Sequense. 6 delay1. Sweep1, S1fra, S1til, 1 delay1 Sweep2, S2fra, S2til, 1 delay4. Sweep1, S1til, S1fra, 1.