Arduino Workshop - Chapter 4 - Using EEPROM

  Рет қаралды 122,211

Core Electronics

Core Electronics

Күн бұрын

The full Arduino Workshop in step-by-step format can be found here core-electroni...
In this section, we'll learn about storing data in the non-volatile memory known as EEPROM. This allows data to be retained when power is disconnected and accessed later.
We're official retailers for Arduino in Australia - powered by makers, for makers! core-electroni...

Пікірлер: 76
@BGLENN-dp4tx
@BGLENN-dp4tx 5 жыл бұрын
Nice job. Thanks. BTW, relative to the size of 328 EEPROM -- In 1980, I purchased my first computer: Radio Shack TRS-80 desktop. It's TOTAL RAM was 4k-bytes. The computer cost me $1000 USD. To upgrade to 64K RAM, it was additional $400. I'm 70 years old now and it's very cool to watch & listen to your video information. Thanks.
@DragPlix
@DragPlix 3 жыл бұрын
using modern age pc's with dope specs and seeing how it all started gets me surprised like how fast we have grown...
@ranjithshetty7078
@ranjithshetty7078 3 жыл бұрын
Hi sir r u pilot?
@ferb1rahert
@ferb1rahert 6 сағат бұрын
I dreamed about watching this video. How much obsessed am I with this pl?
@akeemlouigarde4689
@akeemlouigarde4689 5 жыл бұрын
You did it man. I understood what was going on. I was able to give in my Lab report on time. Thank you.
@ste3937-i8n
@ste3937-i8n 2 жыл бұрын
thank!
@5megatron5
@5megatron5 2 жыл бұрын
¿me help!
@khomo12
@khomo12 2 ай бұрын
Very nice! Thank you!
@leeaudio027
@leeaudio027 3 жыл бұрын
Stupendous job ,your a great teacher!!!
@dawud5070
@dawud5070 8 ай бұрын
Thank you Bro
@EVERY.CIRCUIT
@EVERY.CIRCUIT 4 жыл бұрын
Nice, but how to save words such as "Ali" or large numbers such as 10000000?
@christgoodappiah2903
@christgoodappiah2903 Жыл бұрын
I really enjoy your tutorials. Always on point. But I will advise that you take your time in talking. You speak so fast. Please take your time in explanation. Thank you.
@nicolaslac1013
@nicolaslac1013 3 жыл бұрын
Hi, thank you for your job. Just a question about the variable. Do you think it's possible to store data from outside with a keypad and store it into EEPROM ? I've a function like : if (keypressed) ... first = num1 + keypressed; ( int num1 = 0; ) ... EEPROM.put(1, first); when later I call : EEPROM.get(1,first); it doesn't print the variable.
@nardjestec
@nardjestec 5 жыл бұрын
Very clear thank you.
@maxpolaris99
@maxpolaris99 6 жыл бұрын
Clear and to the point
@shambhusingh5094
@shambhusingh5094 2 жыл бұрын
How to do after 255 count, please explain
@naveenvaid4318
@naveenvaid4318 3 жыл бұрын
nice sir but if i want to 10 bit data save into eeprom in arduino uno if possible ...............
@jaa70
@jaa70 5 жыл бұрын
didn't work, I've written the code as it is on the video, and when I disconect power from arduino and re connect it, the counter start again from zero .....
@davidbolha
@davidbolha 3 жыл бұрын
Hi, Could you use the Arduino to reset/reprogram various BQXXXX ICs that are usually found in laptop batteries ? 🤔😕 Thanks &.... Best Regards,
@nagendraprasad332
@nagendraprasad332 4 жыл бұрын
Please make a video tutorial on gsm module with arduino
@sainitin2772
@sainitin2772 2 жыл бұрын
Thanks for the tutorial and can you please say which app did you use for screen recording
@ElectroMentor
@ElectroMentor 4 жыл бұрын
it was helpful thank for sharing !
@dhavalshukla6615
@dhavalshukla6615 2 жыл бұрын
Hi, nice video. I have been trying to store values read from EEPROM to a variable. for example storing values read from ssid and password from EEPROM. The problem being that the code doesn't seem to work. Here is the snippet: String ssid+=char(EEPROM.read(addr)); this is written in a for loop from 0 to 32 addresses. Idk why this is not working, any ideas and help will really be helpful.
@shantosutradhar1365
@shantosutradhar1365 4 жыл бұрын
very good, thanks
@harshdokania6616
@harshdokania6616 5 жыл бұрын
well explained..thanks
@Good-Enuff-Garage
@Good-Enuff-Garage Жыл бұрын
so the UNO has EEPROM but the DUE does not !?!?!?
@siddhantchaudhary4946
@siddhantchaudhary4946 5 жыл бұрын
Dae-ta is what it is
@Superspace8
@Superspace8 6 жыл бұрын
Great video thanks so much
@ΚωνσταντίνοςΡάπτης-φ4ξ
@ΚωνσταντίνοςΡάπτης-φ4ξ 2 жыл бұрын
Hi. How can I contact with you??
@Core-Electronics
@Core-Electronics 2 жыл бұрын
Come jump on the Core Electronic's Forums champ 😊 forum.core-electronics.com.au/
@Sarathkumar-lt8gi
@Sarathkumar-lt8gi 5 жыл бұрын
It is limited to 256 counts only. Can you tell me how to store more than 256. I have seen 'put' functions but that is also not working yet.
@cladisla
@cladisla 4 жыл бұрын
you can always use 2 or more addresses to store values and then join them together using code. For instance, if you want to store a 16-bit number, you write the HSBs (first part from the left) to address 1 and the LSBs to address 0. Then, when you want to get the data, you read both of them and paste them together accordingly. For instance: Data to be saved: 1100000000000001 Saved to address 1: 11000000 Saved to address 0: 00000001 To read it: variable = EEPROM.read(1)
@ousstst6069
@ousstst6069 6 жыл бұрын
can the eeprom be used to save a variable value (sensor value) and recover it after a power failure?
@kaoshavoc
@kaoshavoc 6 жыл бұрын
Yes, but honestly getting an SSD card reader is cheap easy, and you can remove it put the data on your pc real easy, but if it does not matter if you have the data very portable, then eeprom would be a great way to save the sensor data.
@ousstst6069
@ousstst6069 6 жыл бұрын
I tried to save the variable values of the sensor on leeprom it did not work, and I tried with a fix value it works. need help stp
@kaoshavoc
@kaoshavoc 6 жыл бұрын
you need to make sure the variable type will fit into the space allotted by eeprom. if you are saving larger data types into bytes of the eeprom, then you will have problems real bad. I suspect that the data type of your variable to be the issue. What data type is the variable you are trying to store?
@swathip1461
@swathip1461 3 жыл бұрын
@@ousstst6069 www.arduino.cc/en/Tutorial/LibraryExamples/EEPROMPut www.arduino.cc/en/Tutorial/LibraryExamples/EEPROMGet This is exactly what you need..
@birkhansonkan4236
@birkhansonkan4236 7 жыл бұрын
what happens when you reach the address limit of 255?
@diyhub2986
@diyhub2986 7 жыл бұрын
im thinking the same thoughts too.
@GlowingSteam
@GlowingSteam 6 жыл бұрын
Not to mention its a quick and easy method to burn your write cycles at the push of a button. Also I'm confused as to the methodology behind using an int with only 1 or 0 when booleans exist
@SteveandBobkiller1000050
@SteveandBobkiller1000050 5 жыл бұрын
@@GlowingSteam booleans are very special and are stored as 1s and 0s anyways by the compiler, easier to just use an int with only 1 or 0
@SteveandBobkiller1000050
@SteveandBobkiller1000050 5 жыл бұрын
I could be wrong about this
@thomaspatrick4564
@thomaspatrick4564 6 жыл бұрын
Elephant in the room is the FCC
@Palamatar
@Palamatar 5 жыл бұрын
Why?
@taranagnew436
@taranagnew436 6 жыл бұрын
would i need to add EEPROM to a project if i'm building a LED matrix ( where the user changes the image every so often)
@masaratech
@masaratech 5 жыл бұрын
it depends on the uC used and the size of your binary image/text
@anshdayal8835
@anshdayal8835 3 жыл бұрын
Your code is not working.
@vilziciuli7052
@vilziciuli7052 7 жыл бұрын
9 bit wil be writed.
@harikeshprajapati7662
@harikeshprajapati7662 5 жыл бұрын
how could you used the reset button to clear EEPROM
@chrisingram7277
@chrisingram7277 4 жыл бұрын
In the void setup, he adds an EEPROM.write(0,0); command so when he runs the program for a second time without pushing the counter button, it resets to zero again. I had to think about that one too.
@br52685
@br52685 6 ай бұрын
@@chrisingram7277 Could you explain this a bit more. I'm looking at the code, and not quite seeing *how* exactly this reset occurs.
@chrisingram7277
@chrisingram7277 6 ай бұрын
@@br52685 In the void setup he sets first sets the int variable "counter" to the count value counter = EEPROM.read(0); then he resets the counter value in the eprom to 0 EEPROM.write(0,0); then he starts the void loop which only writes an old counter value to the eprom when the button gets pushed EEPROM.write(0, counter); //write counter to address 0 that only happens if the button gets pushed otherwise the EEPROM value stays at 0 Hope this helps, thanks for the question, sometime in the last 4 years I had forgotten there was an EEPROM in our Arduino's
@br52685
@br52685 6 ай бұрын
@@chrisingram7277 Ahh that explains it---thx!
@matrixdexter270
@matrixdexter270 6 жыл бұрын
can you use the i2c on an eeprom
@masaratech
@masaratech 5 жыл бұрын
yes, many eeprom's support i2c protocol
@Jalecko
@Jalecko 2 жыл бұрын
well that was easy
@Melodyvibe2004
@Melodyvibe2004 3 жыл бұрын
Sir I am going to innovate a project related to sensors , so is it possible for you to send me the required codes for all those sensors?....
@mtalhakhalid1679
@mtalhakhalid1679 3 жыл бұрын
You can store your data in a perticular datatype like in char float String in arduino IDE why need eprom of arduino?
@vlektor
@vlektor 3 жыл бұрын
if you add an highscore function and reset the arduino the highscore is gone so you have to put the highscore on the EEPROM
@learnthebasicchannel8394
@learnthebasicchannel8394 6 жыл бұрын
how many RFID tag does atmega328p can have?
@kevinjacob7464
@kevinjacob7464 4 жыл бұрын
Why doesnt he have so many views?? Goddamit
@james-barnett
@james-barnett 3 жыл бұрын
It's better practice to use a 555 timer to stop the bouncing of the button rather than writing it in the program, that way it can be used universally.
@apriadizidan4859
@apriadizidan4859 Жыл бұрын
This is Elon musk
@bjordin9460
@bjordin9460 4 жыл бұрын
Mamtull
@mohitarora8754
@mohitarora8754 6 жыл бұрын
Take a breath bro.... You are going fast. You are explaining​ to beginners not to professional.
@robertbryce7626
@robertbryce7626 3 жыл бұрын
Could you possibly have talked any faster. Much came out as total gibberish.
@wolfgangboettcher3126
@wolfgangboettcher3126 4 жыл бұрын
Bleib locker ,eepromm speicher kenne zu gut machen Kritik und nicht zu gebrauchen verliere nicht dein Talent
Arduino Workshop - Chapter 5 - Chapter Overview
0:28
Core Electronics
Рет қаралды 8 М.
Using EEPROM with Arduino - Internal & External
31:54
DroneBot Workshop
Рет қаралды 196 М.
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 125 МЛН
小丑在游泳池做什么#short #angel #clown
00:13
Super Beauty team
Рет қаралды 40 МЛН
Фейковый воришка 😂
00:51
КАРЕНА МАКАРЕНА
Рет қаралды 7 МЛН
Поветкин заставил себя уважать!
01:00
МИНУС БАЛЛ
Рет қаралды 5 МЛН
Arduino Workshop - Chapter 5 - Interrupts
10:46
Core Electronics
Рет қаралды 185 М.
Arduino Workshop - Chapter 4 - Using Arrays
12:03
Core Electronics
Рет қаралды 141 М.
Arduino Workshop - Chapter Three - Creating Functions
10:35
Core Electronics
Рет қаралды 134 М.
Arduino Workshop - Chapter 4 - Bit Math
17:55
Core Electronics
Рет қаралды 62 М.
Mastering Arduino EEPROM: A Complete Guide for Beginners
11:23
No, Einstein Didn’t Solve the Biggest Problem in Physics
8:04
Sabine Hossenfelder
Рет қаралды 273 М.
Arduino and External EEPROM
7:58
Electricks
Рет қаралды 155 М.
Apple October Event LEAKS - 7 NEW Devices are COMING!
10:20
Max Tech
Рет қаралды 168 М.
Best Budget Weather Stations Under $200 And They're Accurate
2:57
The Weather Station Experts
Рет қаралды 39
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 125 МЛН