7 Cup , A quick Indian dessert

7 Cup gets its name because its made of 7 cups of ingredients. Its one of the burfi sweets  which can be easily made.

Skill level: Beginner – Will come out well even if you don’t follow all the instructions

What you need:

1. Cashew – 1 Cup
2. Besan flour- 1 Cup
3. Milk – 1 Cup
4. Sugar – 3 Cups
5. Ghee – 1 Cup

Prep work:

1.Break the cashew in a mixie or blender
2.Boil the milk and cool it down
3.Slightly roast the Gram flour in Kadai

Cooking:

1. Heat pan in medium heat setting
2. Pour the boiled milk
3. Put the Besan (Gram) flour slowly while stirring the milk. Make sure the flour doesn’t form blobs in the milk.
4. Add 3 cups of sugar
5. Add 1 cup of broken finely broken cashews
6. Add 1/2 cup of ghee
7. Keep stirring till the mixture comes along with the stirrer
8. Add the rest of the ghee
9. Lower the heat
10. Keep stirring
11. when you see some sides of the sweet burning (Turning brown) – Switch off the stove
12. Keep stirring
13. Grease a plate with a bit of ghee
14. Transfer the contents from the pan to the plate
15. Flatten the sweet paste till you get the breadth you want
16. Let it cool for a while (Turns from hot to Warm)
17. Cut to the shapes you feel like (Use a knife or template)
18. Let it cool for an hour
19. Separate the pieces
20. Enjoy your sweets ! Share with friends and the happiness multiplies !

Posted in Cooking, Desserts | Tagged , , | Leave a comment

ADC and Pico – Trimmer, LDR and Thermistor

Next is ADC ! We are connecting variable resistances which change based on light, temperature and manual control to test


# import machine, imports the Pico's functions and definitions
import machine
# imports time based functions
import utime
# Potentiometer to GPIO 26
potentiometer = machine.ADC(26)
# LDR GPIO 27
LDR = machine.ADC(27)
# Thermistor to GOIP 28
thermistor = machine.ADC(28)

conversion_factor = 100 / (65535) # Trying to get a percentage, else add VCC / 65535 (16 BIT max)

while True: #runs infinite 
 potScore = round(potentiometer.read_u16() * conversion_factor,0)
 print("Potentiometer score :" , int(potScore))
 
 LDRScore = round(LDR.read_u16() * conversion_factor,0)
 print("LDR score :" , int(LDRScore/2))
 
 tempScore = round(thermistor.read_u16() * conversion_factor,0)
 print("Temperature score :" , int(tempScore))
 
 #delay for 2 seconds
 utime.sleep(2)

Move the trimmer, shine some light on the LDR and light a matchstick near the thermistor. You will see the numbers change on the serial monitor.

Posted in Electronics, raspberrypipico | Tagged , | Leave a comment

Reset and main.py

Pico doesn’t have a reset button on board and the tutorials start off as running the code by pressing the “run” button the thonny IDE.

To add a reset button please follow this post . It says to add push switch with one lead to Pin 30 – RUN pin and the other lead to ground.

To run a code on boot, rename the code as main.py and save it on the Pico and it will run on boot independent of the computer/IDE.

Posted in Electronics, raspberrypipico | Tagged , | Leave a comment

Playing Simon on Pico

So we had some practice with LEDs and Switches till now, This means we have input and output now ! Game time ! In this post I am going to document a quick write of Simon Says ( like game) on the Pico

Game elements consists of red, blue, yellow & green LEDs and buttons. We are going to consider simple rules

  1. The game starts when all 4 LEDs blink at the same time thrice
  2. Each level will have a sequence of length corresponding to that level, for example Level 1 will have only one LED lit whereas Level 5 will have a sequence of five LEDs lit
  3. Once sequence is flashed on LEDs, player has to enter the same sequence using the corresponding color buttons
  4. If the player enters the sequence correctly, the game moves to next level till all levels are complete
  5. If the player completes all levels successfully, the Green LED will have a solid glow
  6. If the player incorrectly enters any sequence, the Red LED will have a solid glow
  7. Press reset for starting over
Continue reading
Posted in Electronics, raspberrypipico | Tagged , , , | Leave a comment

Pico, LED and Switch

After finishing up the onboard LED blink program, the next I did was to connect an LED and a switch as shown below

The LED is connected to GPIO 15 and switch to GPIO 14. Please run the code below

Continue reading
Posted in Electronics, raspberrypipico | Tagged , , | Leave a comment

Getting started with Raspberry Pi Pico

I was intrigued by Raspberry Pi Pico and the collaboration with makers. I was looking for an excuse to get started with MicroPython & CircuitPython. So here are my note on the same! The initial getting started notes are going to be based of the Getting started with Micropython with Raspberry Pi Pico. There is a PDF version of the book as well.

Plugin the Raspberry Pi Pico to the computer, the Pico should show up as a disk drive. Please download the latest stable release of MicroPython and then copy the .uf2 file into the Pico Drive. The drive will automatically disappear, this means that the MicroPython is successfully installed.

Continue reading
Posted in Electronics, raspberrypipico | Tagged , , | 1 Comment

Hello World

After a lot of fragmented places and books where I keep fairly incomplete logs of my work, this is an attempt to get better than the previous attempts. What you would see here is work logs & notes from my hobbies, to help myself and like minded people in the future.

Posted in Uncategorized | Leave a comment

7400 Contest !

The 7400 Contest had loads of awesome entries !

My entries Tic Tac Toe won a first place and Mathemagic won a third place !

Thanks a lot to dangerous prototypes for running the contest !

Now for the prizes !!!

Unfortunately, will be busy for the next two months 🙁 – All experiments on hold !!!!!!

Edit : Here are some pictures!

1. Components form Protostack.com

2. Analog Discovery from Digilent!!

 

 

Posted in Electronics | Tagged | Leave a comment

Tic_Tac_toe

First of all thanks to DangerousPrototypes! its because of you guys I worked on logic gates after college – else its usually the usual microelectronic stuff! 🙂

This build is a simple ‘Tic Tac Toe’ game. I ended up using 30 Logic ICs ! 🙂

Lets see the video first, then lets see the design

Video:

 

Design document:

<PDF alert> This document: Tic_Tac_Toe has all the block diagrams and circuit diagram used.

 

Pictures:

In the middle of the build

Tic Tac Toe

Tic Tac Toe

 

Do leave a comment if you have any queries!

PS:  The casing is ugly 😛 Trying to build a good case for this project!

<Edit> Won a first place in the 7400 contest !

 

Posted in Electronics | Tagged , | 10 Comments

Random LED POV

CKT

Working:
The main aim of this project was to generate a random (Somewhat ) LED blinking using Ic 555.

When browsing I came across an article to use Ic4026 to add some amount of randomness, But that was not enough . So an AND gate to ‘and’ the outputs from two different astable multivirators (Ic 555 Circuits) and that was given as a clock source for the IC 4026. This made sure that the pattern would not be the same always.

One could change the patterns using the two potentiometers (trimmers).These potentiometers ensured that the frequency of the output has changed and thus the clock input to 4026 was altered.

Note : Only five output pins were selected from the set of outputs in a 4026 based on distinct blinking combination.

To make the whole setup spin , One small computer cooling fan was taken and a 9V battery was mounted(Glued) onto it ( In the center) . Now the circuit was mounted over the battery. Now when the fan rotated — The battery rotated along with it and so did the circuit — producing beautiful patterns of light.

Video:

Posted in Electronics | Tagged | 1 Comment