Abstract
This chapter describes about the examples of digital read/write and analog read/write with Arduino I/O package, its designing process and working.
Keywords: Analog read/write, Arduino I/O Package, Arduino, Digital read/write.
Author(s): Rajesh Singh, Anita Gehlot, Bhupendra Singh and Sushabhan Choudhury
Pp: 84-87 (4)
* (Excluding Mailing and Handling)
Author(s): Rajesh Singh, Anita Gehlot, Bhupendra Singh and Sushabhan Choudhury
Pp: 84-87 (4)
DOI: 10.2174/9781681087276118010011
* (Excluding Mailing and Handling)
This chapter describes about the examples of digital read/write and analog read/write with Arduino I/O package, its designing process and working.
Keywords: Analog read/write, Arduino I/O Package, Arduino, Digital read/write.
Cite this chapter as:
Rajesh Singh, Anita Gehlot, Bhupendra Singh, Sushabhan Choudhury ;Digital Read/Write and Analog Read/Write with Arduino I/O Package, Arduino Meets Matlab: Interfacing, Programs and Simulink (2018) 1: 84. https://doi.org/10.2174/9781681087276118010011
DOI https://doi.org/10.2174/9781681087276118010011 |
Publisher Name Bentham Science Publisher |
1 x Booting (53.61%) | 144ms |
1 x Application (46.38%) | 125ms |
Backtrace |
|
INSERT INTO visitor_ip_address (ip_address,visitor_agent,visitor_count, created_on,updated_on) VALUES ('60151156','',1,1737995725,1737995725)
ON DUPLICATE KEY UPDATE visitor_count=visitor_count + 1, updated_on=1737995725
Backtrace |
|
INSERT INTO visitor_ip_address_detail (ip_address,visitor_url,visitor_count, created_on,updated_on) VALUES ('60151156','/chapter/12494',1,1737995725,1737995725)
Backtrace |
|
(select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_journal_volume_trail WHERE to_ip >= 60151156 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 60151156) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_journal_volume_corporate WHERE to_ip >= 60151156 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 60151156) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_journal_volume_token WHERE to_ip >= 60151156 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 60151156) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_ebook_volume_trail WHERE to_ip >= 60151156 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 60151156) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_ebook_volume_corporate WHERE to_ip >= 60151156 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 60151156) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_ebook_volume_token WHERE to_ip >= 60151156 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 60151156) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_issue_trail WHERE to_ip >= 60151156 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 60151156) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_issue_corporate WHERE to_ip >= 60151156 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 60151156) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_issue_token WHERE to_ip >= 60151156 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 60151156) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_article_trail WHERE to_ip >= 60151156 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 60151156) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_article_corporate WHERE to_ip >= 60151156 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 60151156) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_article_token WHERE to_ip >= 60151156 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 60151156) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_chapter_trail WHERE to_ip >= 60151156 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 60151156) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_chapter_corporate WHERE to_ip >= 60151156 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 60151156) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_chapter_token WHERE to_ip >= 60151156 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 60151156) union (select `user_id`, `to_ip`, `from_ip` from (select user_id, to_ip, from_ip FROM user_access_disease_corporate WHERE to_ip >= 60151156 ORDER BY to_ip ASC LIMIT 1) as `tjv` where `from_ip` <= 60151156) limit 1
Bindings |
|
Backtrace |
|
select * from `chapter` where `chapter_id` = '12494' limit 1
Bindings |
|
Backtrace |
|
select CONCAT_WS(' ',au.first_name, ' ', ifnull(au.initials,''), ' ', au.last_name) as authors,
CONCAT(au.last_name, IFNULL(CONCAT(' ', au.initials), ''), ' ', au.first_name) AS authorsRIS, CONCAT_WS(' ',au.last_name, ' ', ifnull(au.initials,''), ' ', au.first_name) as authorsCiteAs , `au`.*, (GROUP_CONCAT(TRIM(BOTH ', ' FROM
CONCAT(ifnull(concat(af.institution,','),''), ifnull(concat(af.department,','),''), ifnull(concat(af.address,','),''), ifnull(concat(af.city,','),''), ifnull(concat(af.country,','),''), ifnull(concat(af.postal_code,','),''), ifnull(concat(af.phone,','),''), ifnull(concat(af.fax,','),'')))
SEPARATOR '|')) as `author_affiliation`, (GROUP_CONCAT(TRIM(BOTH ', ' FROM
CONCAT(ifnull(concat(af.web_view,','),'')))
SEPARATOR '|')) as `web_view` from `author` as `au` left join `author_affiliation` as `af` on `au`.`author_id` = `af`.`author_id` where `au`.`chapter_id` = '12494' group by `au`.`author_id` order by `au`.`article_id` asc, `au`.`sequence` asc
Bindings |
|
Backtrace |
|
select * from `keywords` where `chapter_id` = '12494'
Bindings |
|
Backtrace |
|
select * from `ebook` where `ebook_id` = 720 limit 1
Bindings |
|
Backtrace |
|
select count(*) as aggregate from `subject_ebook` as `se` inner join `ebook` as `e` on `e`.`ebook_id` = `se`.`ebook_id` inner join `ebook_volume` as `v` on `v`.`ebook_id` = `e`.`ebook_id` where subject_id IN (select subject_id FROM subject_ebook WHERE ebook_id=720)
and se.ebook_id!=720 and v.ebook_status='1'
Backtrace |
|
select distinct v.nid as volume_id,e.nid,e.title,v.issn,v.eissn,v.isbn,v.eisbn,e.ebook_id,
v.image_file_name,v.file_path,v.flyer_link,v.ebook_volume_id, v.volume_name,v.doi,v.year_id,v.introduction from `subject_ebook` as `se` inner join `ebook` as `e` on `e`.`ebook_id` = `se`.`ebook_id` inner join `ebook_volume` as `v` on `v`.`ebook_id` = `e`.`ebook_id` where subject_id IN (select subject_id FROM subject_ebook WHERE ebook_id=720)
and se.ebook_id!=720 and v.ebook_status='1' limit 10 offset 0
Backtrace |
|
select count(*) as aggregate from `subject_journal` as `sj` inner join `journal` as `j` on `j`.`journal_id` = `sj`.`journal_id` where subject_id IN (select subject_id FROM subject_ebook WHERE ebook_id=720)
Backtrace |
|
select distinct j.nid as
journal_nid,j.title,j.subtitle,j.issn,j.eissn,j.keyword,sj.journal_id,j.image_file_name,j.flyer_link from `subject_journal` as `sj` inner join `journal` as `j` on `j`.`journal_id` = `sj`.`journal_id` where subject_id IN (select subject_id FROM subject_ebook WHERE ebook_id=720) limit 10 offset 0
Backtrace |
|
select `e`.*, `a`.*, `y`.`year`, `e`.`ebook_volume_id` as `ebook_volume_id`, `a`.`ebook_volume_id` as `ebk_vol_id`, `e`.`ebook_id` as `ebk_ebook_id` from `ebook_volume` as `e` left join `author` as `a` on `e`.`ebook_volume_id` = `a`.`ebook_volume_id` left join `year` as `y` on `y`.`id` = `e`.`year_id` where `e`.`ebook_volume_id` = 2478 and `e`.`is_uploaded` = 1
Bindings |
|
Backtrace |
|
select count(*) rcd from `ebook_volume` where `ebook_id` = 720 and ebook_volume_id <> 2478 limit 1
Bindings |
|
Backtrace |
|
select count(*) as total_count, content_type_access_id as access_type from ebook_access
where content_type_id = '12494' and content_type = 'c'
and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual= 0) or
(from_date is null and to_date is null and perpetual= 1)
)
Backtrace |
|
select count(*) as total_count, content_type_access_id as access_type from ebook_access
where content_type_id = '2478' and content_type = 'v'
and
(
(from_date <= CURDATE() and to_date >= CURDATE() and perpetual= 0) or
(from_date is null and to_date is null and perpetual= 1)
)
Backtrace |
|
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN 111 THEN true ELSE false END as terms_popup,
"S" as content_download_type,
null as restricted_user_access_key,
null as restricted_user_access_type,
CASE j.track WHEN 0 THEN false ELSE true END as tracksAccessByVolume,"ebook_volume" as access_level,"" as chapter_id from `user_access_ebook_volume_trail` as `j` inner join `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <= 60151156 and j.to_ip >=60151156 )) and ((j.from_date <= 1737995725 and j.to_date >= 1737995725 and j.perpetual= 0) or (j.from_date is null and j.to_date is null and j.perpetual= 1)) and j.volume_id = 2478) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
false as terms_popup,
"S" as content_download_type,
null as restricted_user_access_key,
null as restricted_user_access_type,
CASE j.track WHEN 0 THEN false ELSE true END as tracksAccessByVolume,"ebook_volume" as access_level,"" as chapter_id from `user_access_ebook_volume_corporate` as `j` inner join `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <= 60151156 and j.to_ip >=60151156 )) and ((j.from_date <= 1737995725 and j.to_date >= 1737995725 and j.perpetual= 0) or (j.from_date is null and j.to_date is null and j.perpetual= 1)) and j.volume_id = 2478) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
false as terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN 0 THEN false ELSE true END as tracksAccessByVolume,"ebook_volume" as access_level,"" as chapter_id from `user_access_ebook_volume_token` as `j` inner join `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <= 60151156 and j.to_ip >=60151156 )) and ((j.from_date <= 1737995725 and j.to_date >= 1737995725 and j.perpetual= 0) or (j.from_date is null and j.to_date is null and j.perpetual= 1)) and j.volume_id = 2478)
Backtrace |
|
(select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Trial Access" as access_base_text,
CASE j.type WHEN 111 THEN true ELSE false END as terms_popup,
"S" as content_download_type,
null as restricted_user_access_key,
null as restricted_user_access_type,
CASE j.track WHEN 0 THEN false ELSE true END as tracksAccessByVolume,"chapter" as access_level, j.chapter_id from `user_access_chapter_trail` as `j` inner join `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <= 60151156 and j.to_ip >=60151156 )) and ((j.from_date <= 1737995725 and j.to_date >= 1737995725 and j.perpetual= 0) or (j.from_date is null and j.to_date is null and j.perpetual= 1)) and j.chapter_id = 12494) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Subscribed" as access_base_text,
false as terms_popup,
"S" as content_download_type,
null as restricted_user_access_key,
null as restricted_user_access_type,
CASE j.track WHEN 0 THEN false ELSE true END as tracksAccessByVolume,"chapter" as access_level, j.chapter_id from `user_access_chapter_corporate` as `j` inner join `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <= 60151156 and j.to_ip >=60151156 )) and ((j.from_date <= 1737995725 and j.to_date >= 1737995725 and j.perpetual= 0) or (j.from_date is null and j.to_date is null and j.perpetual= 1)) and j.chapter_id = 12494) union (select j.user_access_id,j.volume_id,j.user_id,j.from_ip,j.to_ip,j.type,j.track,"Token Based Access" as access_base_text,
false as terms_popup,
"R" as content_download_type,
j.uc_id as restricted_user_access_key,
"v" as restricted_user_access_type,
CASE j.track WHEN 0 THEN false ELSE true END as tracksAccessByVolume,"chapter" as access_level, j.chapter_id from `user_access_chapter_token` as `j` inner join `user_access_info` as `info` on `j`.`user_access_id` = `info`.`user_access_id` where ((j.from_ip <= 60151156 and j.to_ip >=60151156 )) and ((j.from_date <= 1737995725 and j.to_date >= 1737995725 and j.perpetual= 0) or (j.from_date is null and j.to_date is null and j.perpetual= 1)) and j.chapter_id = 12494)
Backtrace |
|
select b.banner_link, b.banner_name, b.banner_script, b.banner_remarks, b.banner_file_name, b.banner_placement, bd.content_type, bd.content_id from `tbl_banner` as `b` inner join `tbl_banner_detail` as `bd` on `bd`.`banner_id` = `b`.`banner_id` inner join `users` as `u` on `u`.`id` = `b`.`updated_by` where `b`.`banner_ebook` = 1 and `bd`.`content_type` = 'B' and `bd`.`content_id` = 2478 and `b`.`banner_from_date` <= 1737995725 and `b`.`banner_to_date` >= 1737995725 and `b`.`banner_status` = 'A' order by `b`.`banner_id` desc
Bindings |
|
Backtrace |
|
select count(*) as aggregate from `uc_cart_products` where cart_id='cc6cae1d891ab6251c7aa469a2a44e73'
Backtrace |
|
200
[]
[]
0 of 0array:16 [▼ "x-https" => array:1 [▶ 0 => "1" ] "host" => array:1 [▶ 0 => "beta.benthamscience.com" ] "priority" => array:1 [▶ 0 => "u=0, i" ] "accept-encoding" => array:1 [▶ 0 => "gzip, deflate, br, zstd" ] "sec-fetch-dest" => array:1 [▶ 0 => "document" ] "sec-fetch-user" => array:1 [▶ 0 => "?1" ] "sec-fetch-mode" => array:1 [▶ 0 => "navigate" ] "sec-fetch-site" => array:1 [▶ 0 => "none" ] "accept" => array:1 [▶ 0 => "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" ] "user-agent" => array:1 [▶ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "upgrade-insecure-requests" => array:1 [▶ 0 => "1" ] "sec-ch-ua-platform" => array:1 [▶ 0 => ""Windows"" ] "sec-ch-ua-mobile" => array:1 [▶ 0 => "?0" ] "sec-ch-ua" => array:1 [▶ 0 => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" ] "cache-control" => array:1 [▶ 0 => "no-cache" ] "pragma" => array:1 [▶ 0 => "no-cache" ] ]
[]
0 of 0array:5 [▼ "content-type" => array:1 [▶ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [▶ 0 => "no-cache, private" ] "date" => array:1 [▶ 0 => "Mon, 27 Jan 2025 16:35:25 GMT" ] "set-cookie" => array:2 [▶ 0 => "XSRF-TOKEN=eyJpdiI6Ilo2N0V5VkJYby9obEQzVVcyV2JnTXc9PSIsInZhbHVlIjoiNHFjTUQwQngzYmZHMjIrZEJBMHJ5WGhlcjk1VTZxeEZGWi9ORFY1R1RZOGJPNWhMMDB0UU1MUk5TUUJYUWlMYys4dVZwTVU5VVN3MDNoY01Yb1V1Ky81V2d6dVN6dXlyR0tFc3BuQXJDTDlZSlgrM1RmMnNmOWU1STF6MGEzZW8iLCJtYWMiOiJkMTc1ZTU5ZWIyNTA1YzcxZTkyMGU5NjRiNGRlNDkyNmZkM2YzOTc0OGVkM2E5MzVjM2IzZTZhYjVmYTEzZjc2IiwidGFnIjoiIn0%3D; expires=Thu, 30 Jan 2025 04:35:25 GMT; Max-Age=216000; path=/; secure; samesite=strict ◀XSRF-TOKEN=eyJpdiI6Ilo2N0V5VkJYby9obEQzVVcyV2JnTXc9PSIsInZhbHVlIjoiNHFjTUQwQngzYmZHMjIrZEJBMHJ5WGhlcjk1VTZxeEZGWi9ORFY1R1RZOGJPNWhMMDB0UU1MUk5TUUJYUWlMYys4dVZwT ▶" 1 => "eurekaselectnew_session=eyJpdiI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WhMMDB0UU1MUk5TUUJYUWlMYys4dVZwT ▶" 1 => "eurekaselectnew_session=eyJpdiI6InkwamhuOEVROEl1L0xQQ0lPVWtObGc9PSIsInZhbHVlIjoieUJ3RzlCd0xKejM2NnAvUERkY29LOFozdnhtem9pVmJZd2hibmRtdlRLODJic1Z5d1k5d0VPdUhwOVR4Qm1NbGpmVzQ1N3NqU2lvWTV4dHZNNng3UGxaVmhYbmJMNzlyN2g0NEFJNVlHZmF2THhmSGsrV2Jld015Yy9LbkJrMDgiLCJtYWMiOiI3YTg1NjI5ZjgzM2E3MzhjOTJkNmNmOGRlZjY2OGFmNjYxZDMxNzM3NzAzNDEwY2E4NjI3Mjc2MGM3MDA1YWQzIiwidGFnIjoiIn0%3D; path=/; secure; httponly ◀eurekaselectnew_session=eyJpdiI6InkwamhuOEVROEl1L0xQQ0lPVWtObGc9PSIsInZhbHVlIjoieUJ3RzlCd0xKejM2NnAvUERkY29LOFozdnhtem9pVmJZd2hibmRtdlRLODJic1Z5d1k5d0VPdUhwOVR4 ▶" ] ]
0 of 0array:5 [▼ "_token" => "qv7h16CoYe7f6BQFRpmnwaE5zRacO3tvdC2Oldba" "uc_cart_id" => "cc6cae1d891ab6251c7aa469a2a44e73" "_previous" => array:1 [▶ "url" => "https://beta.benthamscience.com/chapter/12494" ] "_flash" => array:2 [▶ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]