Forum Replies Created
-
AuthorPosts
-
Radu
KeymasterThanks Pedro, it looks interesting, I will look into it.
Radu
KeymasterMost likely it was some synchronisation issue. Great it is all ok now!
Radu
KeymasterHistory is repeating, over and over again.
Radu
KeymasterIf the voltage is too low, the unit will not function until the proper voltage is restored.
The minimum voltage required for the unit to work properly is 5V.EDIT: If the firmware doesn’t respond there is little we can do from software side as all code control is gone. I believe you might be referring to an external watchdog of some kind – waiting periodic confirmation from uC that all is ok. If such confirmations are missing over a given time, it would flush the unit’s power to reboot.
This would make sense, but making PCB modifications at this stage is not exactly easy. The current design has been verified for quite some time before readying it for production. So it all goes back to the question: is this something necessary? I was unable to replicate the scenario. In all my tests, if something went wrong, after 5 minutes the units rebooted to normal state (quite a different story before this mechanism was implemented – 2years ago).Yet if this is something that happens and it happens often, than I believe we should look for solutions.
-
This reply was modified 10 years, 3 months ago by
Radu.
Radu
KeymasterI merged it to the current Community forum. Would you like it back, as a separate forum?
Radu
KeymasterIn progress!
Radu
Keymasterhi Vinz!
Great to hear that. Let’s discuss the proper formatting and the JSON issue here if you wish.
You’ve indicated the minimum content for a valid HTML5 format:
<!doctype html><html lang=en> <head><meta charset=utf-8><title>blah</title></head> <body><p>I'm the content</p></body></html>
I agree, but we have a big problem: memory (RAM).
uRADMonitor model A uses the mega328p, which has a total of 2KB RAM. There is also 1KB of EEPROM (where HTML static text like the one you’ve indicated could be stored).BUT,
To send data over Ethernet we need to maintain a buffer. This is already 400bytes long (consuming almost a quarter of all available memory). Adding the doctype, the head, any metas, the title, body or any other formatting would consume precious memory, a total of 125Bytes that we don’t have (hashing, RSA, etc will eat any free memory, and we need those to secure comm links)
So the best bet might be to go with absolute minimum, letting the browsers go for default.What do you think?
Regarding the JSON:
Þ¿ýòü|ó¿s¿ ßó;÷ ö }‘° ß¿V{ï{ŽÿÝõ«þ‰~Ë~‘í Gó$cŸ½—Ýÿ ;úÝ —ß ne¿ û ß+ÖÓÿžóÄfÛã^û çùú± ýÀ"type":"1","detector":"SBM-20","cpm":18,"temperature":0.31,"uptime": 2463}}
What browser did you use? Do you see it in all browsers you have at hand?
(I tried in two and didn’t see this issue, so we need to see where this is coming from).Also with your spoofed DNS, I’m curious what do you see under Server IP in the embedded web-page?
-
This reply was modified 10 years, 4 months ago by
Radu. Reason: html issues
-
This reply was modified 10 years, 4 months ago by
Radu.
-
This reply was modified 10 years, 4 months ago by
Radu.
-
This reply was modified 10 years, 4 months ago by
Radu.
-
This reply was modified 10 years, 4 months ago by
Radu.
-
This reply was modified 10 years, 4 months ago by
Radu. Reason: html and json formatting issues
Radu
KeymasterWe can go for whatever option suits you best, but changing the firmware is not a complicated thing. You need a programmer like indicated by me or Mike in this topic, and the software. This takes max. 10minutes . Shipping it back and forth will take 1-2 months.
EDIT: Btw, I am writing an article on the blog to provide some instructions on how to update the firmware. Photos and step-by-step instructions, it should be ready the next few hours.
-
This reply was modified 10 years, 4 months ago by
Radu.
Radu
KeymasterThank you, Fokko. As soon as I finish the changes for the firmware (mainly LAN access – already working, security, automated device IDs and hopefully-if-possible OTA firmware update) , I will look into the mysql optimisations.
Also if anyone wants to help, I’m almost done with the dev server and I can provide access accounts there to change/test the environment in real time (data is simply cloned from the prod server).
Radu
Radu
KeymasterI’m happy to report that there is a watchdog already:
If the unit is unable to connect to the server within 5 minutes, it will self-reboot.
You can try again, just wait 5 minutes.
Radu
Radu
KeymasterSettings updated, now even unregistered visitors can see the attachments.
Radu
KeymasterHi Daniel,
I’ve just compiled the code for your 12000021, and will be sending it over email.
This new firmware comes with the following improvements:
– dhcp fix
– lan access via port 80 (just open the unit’s LAN IP in your browser)
– json data for lan access
– some other minor fixesI plan to write a quick article on the blog as a how to guide on how to update your firmware. Will be getting back here with the link when done.
Radu
Radu
KeymasterThanks Craig, I will take care of this asap.
Radu
KeymasterIt might have been related to this: https://www.uradmonitor.com/topic/networking-issues/
Radu
KeymasterYes, I’ve used a few like those myself, its just that shipping is slow for China items. There is also the one found by Mike on Amazon, see: https://www.uradmonitor.com/topic/the-new-firmware/ , shipping might be faster.
-
This reply was modified 10 years, 3 months ago by
-
AuthorPosts