So far the state of the project:
Finished / pros:
-Cheap and use very few parts
-Rechargeable, the LIC works really nice and it recharges quickly, also no dropping.
-The microcontroller manages the charging so no need to add a voltage regulator.
-It can be flashed with the usb cable, not standard though, UPDI needs to be feed intro the D+ signal of USB with a flashing solution like serial to UPDI, I know it isn't standard but it is very convenient and it works really well.
-Now charging works ok using a mosfet controlled by timer A .
-Sleep is implemented.
-Whatchdog is implemented to wake up from sleep every 4 sec. checks if device is charging and if the voltage is below 3.8v and above 2.2v to protect the LIC.
(also resets if hung)
To do / cons:
- Although using the usb to feed the UPDI signal is practical, I don't know if it would damage a computer if it is connected to it, it shouldn't since the UPDI is pulled up with a 30k resistor but still a concern.
In case of connecting it directly to USB by mistake, using the UPDI adapter to send the signal is ok.
I tested once and nothing happened but doing it repeatedly is another story.
- 4k of flash is a small amount, in my case I have to chop content of the game, someone with more knowledge I am sure can fit more, considering in using a bigger micro????.
WORK IN PROGRESS!
adore it Numerous unique microcontroller projects with tiny screens are available. The country's cutting-edge gaming services are another factor contributing to Canada's growing popularity of online casinos, in addition to its lenient gambling legislation. Because of its lenient gambling rules, which contrast with those of other nations like the US that still oppose it, Canada is one of the top 10 countries for online gambling. Visit my website https://worldnewsera.com/news/gambling-in-canada-why-are-online-casinos-on-the-rise/ to find out More about the author The ability to make money without ever leaving your home is a significant component of the attractiveness of online casinos. Customers may play their preferred casino games while unwinding at home when they put wagers online.